1 2015-04-17 Roland McGrath <roland@hack.frob.com>
3 Add preliminary port to Google Native Client on ARM.
4 * abi-tags (.*-.*-nacl.*): New entry.
5 * sysdeps/arm/nacl: New directory.
6 * sysdeps/nacl: New directory.
8 2015-04-16 David S. Miller <davem@davemloft.net>
10 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
15 * sysdeps/tile/configure.ac: New file.
16 * sysdeps/tile/configure: Regenerated.
18 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
21 conditionals for weak_alias and libc_hidden_weak.
22 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23 libc_hidden_weak and weak_alias.
24 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26 and weak_alias for static one.
28 2015-04-15 David S. Miller <davem@davemloft.net>
30 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
35 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36 Use signed comparision instead of substraction to avoid
38 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
40 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
41 Do not expect precise return values. Only the sign matters.
42 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
43 * wcsmbs/test-wcsncmp.c: New File.
44 * string/test-strncmp.c: Add wcsncmp support.
46 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49 * math/w_log1p.c: New file.
50 * math/w_log1pf.c: Likewise.
51 * math/w_log1pl.c: Likewise.
52 * math/Makefile (libm-calls): Add w_log1p.
53 * math/s_log1pl.c (log1pl): Remove weak_alias.
54 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
55 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
56 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
57 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
58 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
59 [NO_LONG_DOUBLE] (log1pl): Likewise.
60 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
61 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
62 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
63 (log1p): Remove long_double_symbol.
64 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
65 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
66 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
67 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
68 remove weak_alias for corresponding log1p function.
69 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
70 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
71 * sysdeps/ia64/fpu/w_log1p.c: New file.
72 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
73 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
74 * math/libm-test.inc (log1p_test_data): Add errno expectations.
76 2015-04-10 Joseph Myers <joseph@codesourcery.com>
79 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
80 decimal exponent by 1.
81 * stdlib/tst-strtod-round-data: Add more tests.
82 * stdlib/tst-strtod-round.c (tests): Regenerated.
84 2015-04-09 Joseph Myers <joseph@codesourcery.com>
86 * math/auto-libm-test-in: Add more tests of clog and clog10.
87 * math/auto-libm-test-out: Regenerated.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
91 2015-04-09 Roland McGrath <roland@hack.frob.com>
93 * Makeconfig (module-cppflags): Exclude all .v.i files.
94 (skip-module-cppflags): Variable removed.
96 * configure.ac (libc_config_ok): Initialize before reading
97 preconfigure scripts, not after.
98 * configure: Regenerated.
100 * test-skeleton.c (TIMEOUT): Move #define to top level.
101 (main): Grok environment variable TEST_DIRECT. If set, print
102 test expectation details into that file and then behave as if
105 2015-04-09 Florian Weimer <fweimer@redhat.com>
107 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
110 2015-04-08 David S. Miller <davem@davemloft.net>
112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
114 2015-04-08 Joseph Myers <joseph@codesourcery.com>
116 * math/auto-libm-test-in: Add more tests of atanh.
117 * math/auto-libm-test-out: Regenerated.
118 * sysdeps/i386/fpu/libm-test-ulps: Update.
119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
121 * math/auto-libm-test-in: Add more tests of atan.
122 * math/auto-libm-test-out: Regenerated.
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126 2015-04-08 Florian Weimer <fweimer@redhat.com>
128 * elf/pldd.c (main): Rewrite to use struct
129 scratch_buffer instead of extend_alloca.
130 * elf/pldd-xx.c (find_maps): Likewise.
131 * grp/initgroups.c: Include <scratch_buffer.h> instead of
133 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
134 scratch_buffer instead of extend_alloca.
135 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
136 grp/compat-initgroups.c.
137 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
138 Rewrite to use struct scratch_buffer instead of extend_alloca.
139 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
140 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
142 2015-04-08 Joseph Myers <joseph@codesourcery.com>
144 * math/auto-libm-test-in: Add more tests of cbrt.
145 * math/auto-libm-test-out: Regenerated.
146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
148 * math/auto-libm-test-in: Add more tests of cabs.
149 * math/auto-libm-test-out: Regenerated.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
155 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
156 (__ieee754_atan2): Set FE_TONEAREST mode for internal
158 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
160 * math/auto-libm-test-out: Regenerated.
161 * sysdeps/i386/fpu/libm-test-ulps: Update.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
165 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
166 (atan): Set FE_TONEAREST mode for internal computations.
167 * math/auto-libm-test-in: Add more tests of atan.
168 * math/auto-libm-test-out: Regenerated.
170 2015-04-07 James Cowgill <james410@cowgill.org.uk>
173 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
175 2015-04-07 Florian Weimer <fweimer@redhat.com>
177 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
179 2015-04-07 Florian Weimer <fweimer@redhat.com>
181 * include/scratch_buffer.h: New file.
182 * malloc/scratch_buffer_grow.c: Likewise.
183 * malloc/scratch_buffer_grow_preserve.c: Likewise.
184 * malloc/scratch_buffer_set_array_size.c: Likewise.
185 * malloc/tst-scratch_buffer.c: Likewise.
186 * malloc/Makefile (routines): Add scratch_buffer_grow.
187 (tests): Add test case.
188 * malloc/Versions (GLIBC_PRIVATE): Export
189 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
190 __libc_scratch_buffer_set_array_size.
192 2015-04-06 Richard Henderson <rth@redhat.com>
194 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
195 * sysdeps/alpha/fpu/libm-test-ulps: Update.
197 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
198 unsigned int before printing.
200 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
203 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
204 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
206 2015-04-02 Florian Weimer <fweimer@redhat.com>
208 * include/libc-internal.h (libc_max_align_t): Define.
210 2015-04-02 Andreas Schwab <schwab@suse.de>
213 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
215 2015-04-02 Mel Gorman <mgorman@suse.de>
218 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
219 as well as the main arena.
221 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
224 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
225 sharing L2 cache to 2 for Silvermont/Knights Landing.
227 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
230 * config.make.in (have-protected-data): New.
231 * configure.ac: Check linker support for protected data symbol.
232 * configure: Regenerated.
233 * elf/Makefile (modules-names): Add tst-protected1moda and
234 tst-protected1modb if $(have-protected-data) is yes.
235 (tests): Add tst-protected1a and tst-protected1b if
236 $(have-protected-data) is yes.
237 ($(objpfx)tst-protected1a): New.
238 ($(objpfx)tst-protected1b): Likewise.
239 (tst-protected1modb.so-no-z-defs): Likewise.
240 * elf/tst-protected1a.c: New file.
241 * elf/tst-protected1b.c: Likewise.
242 * elf/tst-protected1mod.h: Likewise.
243 * elf/tst-protected1moda.c: Likewise.
244 * elf/tst-protected1modb.c: Likewise.
246 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
249 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
250 indicates it is called from do_lookup_x on relocation against
251 protected data, skip the data definion in the executable from
253 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
254 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
255 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
256 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
257 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
259 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
260 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
261 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
262 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
263 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
264 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
266 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
268 * sysdeps/nptl/pthread.h: Remove duplicate definition of
269 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
271 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
273 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
275 * sysdeps/x86_64/nptl/tls.h: Ditto.
277 2015-03-27 Roland McGrath <roland@hack.frob.com>
279 * dlfcn/tststatic.c (main): Converted to ...
281 (TEST_FUNCTION): New macro.
282 Include test-skeleton.c.
284 2015-03-26 Alan Modra <amodra@gmail.com>
286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
287 Don't segfault if ifunc resolver returns a NULL. Do set plt to
288 zero for undefined weak.
289 (elf_machine_plt_conflict): Similarly.
291 2015-03-25 Joseph Myers <joseph@codesourcery.com>
293 * math/auto-libm-test-in: Add more tests of acosh, asinh and
295 * math/auto-libm-test-out: Regenerated.
296 * sysdeps/i386/fpu/libm-test-ulps: Update.
297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
299 * math/auto-libm-test-in: Add another test of asin.
300 * math/auto-libm-test-out: Regenerated.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
304 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
306 (LLL_EBX_REG): Likewise.
307 (LLL_ENTER_KERNEL): Likewise.
309 * math/auto-libm-test-in: Add more tests of asin.
310 * math/auto-libm-test-out: Regenerated.
311 * sysdeps/i386/fpu/libm-test-ulps: Update.
312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
316 libc_do_syscall_args): New structure.
317 (INTERNAL_SYSCALL_MAIN_0): New macro.
318 (INTERNAL_SYSCALL_MAIN_1): Likewise.
319 (INTERNAL_SYSCALL_MAIN_2): Likewise.
320 (INTERNAL_SYSCALL_MAIN_3): Likewise.
321 (INTERNAL_SYSCALL_MAIN_4): Likewise.
322 (INTERNAL_SYSCALL_MAIN_5): Likewise.
323 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
324 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
325 Replace conditional definitions by conditional definitions of ....
326 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
327 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
328 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
329 (libpthread-sysdep_routines): Add libc-do-syscall.
330 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
331 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
332 to __NR_futex not 240.
334 2015-03-25 Alan Modra <amodra@gmail.com>
336 * NEWS: Advertise TLS optimization.
337 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
338 (DT_PPC_NUM): Increment.
339 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
340 (CHECK_STATIC_TLS): Use here.
341 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
344 * sysdeps/powerpc/dl-tls.c: New file.
345 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
346 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
347 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
348 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
353 2015-03-25 Alan Modra <amodra@gmail.com>
355 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
356 for overlapping .opd entries" to "support...".
357 * sysdeps/powerpc/powerpc64/configure: Regenerate
359 2015-03-25 Joseph Myers <joseph@codesourcery.com>
361 * math/auto-libm-test-in: Add more tests of acos.
362 * math/auto-libm-test-out: Regenerated.
363 * sysdeps/i386/fpu/libm-test-ulps: Update.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366 * math/auto-libm-test-in: Add more tests of expm1.
367 * math/auto-libm-test-out: Regenerated.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371 2015-03-24 Joseph Myers <joseph@codesourcery.com>
373 * math/auto-libm-test-in: Add more tests of cosh and sinh.
374 * math/auto-libm-test-out: Regenerated.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
378 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
381 * math/auto-libm-test-in: Add more tests of log2.
382 * math/auto-libm-test-out: Regenerated.
383 * sysdeps/i386/fpu/libm-test-ulps: Update.
384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
386 2015-03-23 Roland McGrath <roland@hack.frob.com>
388 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
389 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
390 _IO_IS_APPENDING bit in READ_WRITE instead.
392 2015-03-23 Florian Weimer <fweimer@redhat.com>
394 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
395 (__determine_cpumask_size): Replace extend_alloca with a
396 variable-length array. Do not treat res == 0 as an error.
398 2015-03-23 Florian Weimer <fweimer@redhat.com>
401 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
402 and integer overflow.
403 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
404 (main): Add integer overflow tests.
405 * manual/pattern.texi (Calling Wordexp): Document additional use
408 2015-03-23 Alan Modra <amodra@gmail.com>
410 * config.h.in: Remove HAVE_ASM_PPC_REL16.
411 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
412 and false branch of conditional.
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
416 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
420 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
421 unused declaration of _hurd_intr_rpc_msg_in_trap.
422 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
423 defined instead of whether it is non-zero.
424 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
425 input constraint instead of both input and output constraint. Use ecx
426 clobber instead of %ecx.
427 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
428 mutex_unlock): Use a statement expression instead of an expression list.
429 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
430 type to vm_size_t instead of vm_address_t.
431 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
432 defined instead of whether it is non-zero.
433 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
434 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
435 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
436 comparisons with mapaddr.
437 * nscd/nscd-client.h: Include <time.h>.
438 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
439 9th parameter to __vm_region instead of int.
440 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
441 * scripts/check-local-headers.sh (exclude): Add device/,
442 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
445 2015-03-19 Roland McGrath <roland@hack.frob.com>
447 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
448 to account for alignment padding.
449 * sysdeps/arm/memmove.S: Likewise.
451 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
453 * sysdeps/unix/sysv/linux/generic/README: New file.
455 2015-03-18 Joseph Myers <joseph@codesourcery.com>
458 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
459 (futex_abstimed_wait)
460 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
461 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
462 of lll_futex_timed_wait.
464 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
467 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
469 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
476 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
477 entries with Static TLS too. Skip entries past the end of the
478 allocated DTV, from Alan Modra.
479 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
480 Static TLS DTV entry set up from...
481 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
482 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
483 * nptl/allocatestack.c (init_one_static_tls): ... and here...
484 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
486 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
487 that the slot we find is associated with the given map before
488 using its generation count.
489 * nptl_db/db_info.c: Include ldsodefs.h.
490 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
491 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
492 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
493 (link_map::l_tls_offset): New struct field.
494 (dtv_t::counter): Likewise.
495 (rtld_global): New struct.
496 (_rtld_global): New rtld variable.
497 (dl_tls_dtv_slotinfo_list): New rtld global field.
498 (dtv_slotinfo_list): New struct.
499 (dtv_slotinfo): Likewise.
500 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
501 (td_lookup): Rename to...
502 (td_mod_lookup): ... this. Use new mod parameter instead of
504 * nptl_db/td_thr_tlsbase.c: Include link.h.
505 (dtv_slotinfo_list, dtv_slotinfo): New functions.
506 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
507 addresses even if the DTV is out of date or missing them.
508 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
509 index zero-length arrays.
510 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
511 (td_lookup): Make it a macro implemented in terms of...
512 (td_mod_lookup): ... this declaration.
513 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
514 (DB_MAIN_VARIABLE): Likewise.
516 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
519 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
521 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
523 * stdlib/setenv.c (__add_to_environ): Revert previous change.
525 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
528 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
529 (atomic_add, atomic_increment_and_test)
530 (atomic_decrement_and_test): Fix 64-bit arithmetic.
532 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
534 * stdlib/setenv.c (__add_to_environ):
535 Dump core quickly if setenv (..., NULL, ...) is called.
537 2015-03-13 Roland McGrath <roland@hack.frob.com>
539 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
540 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
541 all the necessary asm magic in one place.
542 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
545 2015-03-13 Carlos O'Donell <carlos@redhat.com>
548 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
549 traced file mtime. Use consistent log message.
550 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
551 (register_traced_file): Call install_watches. Always set mtime.
552 (invalidate_cache): Iterate over all trace files. Call install_watches.
553 (inotify_check_files): Don't inline. Handle watching parent
554 directories and configuration file movement in and out.
555 (handle_inotify_events): New function.
556 (main_loop_poll): Call handle_inotify_events.
557 (main_loop_epoll): Likewise.
558 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
559 (struct traced_file): Use array of inotify fds. Add parent directory,
561 (struct database_dyn): Remove unused file_mtime.
562 (init_traced_file): New inline function.
563 (define_traced_file): New macro.
564 * nss/nss_db/db-init.c: Use define_traced_file.
565 (_nss_db_init): Use init_traced_file.
566 * nss/nss_files/files-init.c: Use define_traced_file.
567 (_nss_files_init): Use init_traced_file.
569 2015-03-12 Joseph Myers <joseph@codesourcery.com>
571 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
572 [_LIBC]: Do not include <stdlib.h>.
573 [!_LIBC] (abort): Remove declaration.
574 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
575 _FP_STATIC_ASSERT instead of conditionally calling abort.
576 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
577 (_FP_EXTEND_CNAN): Likewise.
578 (FP_TRUNC): Likewise.
579 (__FP_CLZ): Likewise.
580 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
582 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
584 * manual/string.texi (XPG basename): Fix prototype.
586 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
589 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
590 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
591 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
592 (__setcontext): Likewise.
593 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
594 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
595 Call rt_sigprocmask syscall one time to set new signal mask
596 and retrieve the current signal mask instead of two calls.
597 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
598 (__swapcontext): Likewise.
599 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
600 * stdlib/tst-setcontext2.c: New file.
602 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
604 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
606 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
609 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
612 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
615 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
617 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
619 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
620 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
622 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
623 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
624 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
625 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
626 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
627 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
629 * nptl_db/td_symbol_list.c (td_lookup): Remove
630 HAVE_ASM_GLOBAL_DOT_NAME code.
631 * sysdeps/powerpc/powerpc64/configure.ac: Remove
632 HAVE_ASM_GLOBAL_DOT_NAME check.
633 * sysdeps/powerpc/powerpc64/configure: Regenerate.
634 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
635 (DOT_LABEL): Remove define.
636 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
637 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
638 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
639 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
640 (__TLS_GET_ADDR): Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
642 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
644 2015-03-11 Carlos O'Donell <carlos@redhat.com>
647 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
648 (_FPU_SETCW): Initialize cw from fpsr before storing.
649 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
650 (fesetexceptflag): Rewrite using fpu_control.h.
651 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
653 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
656 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
658 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
660 2015-03-11 Joseph Myers <joseph@codesourcery.com>
662 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
663 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
668 2015-03-10 Roland McGrath <roland@hack.frob.com>
670 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
672 * Makefile (summarize-tests): New canned sequence, factored out of
673 commands for targets tests and xtests. Display summary lines that
674 don't start with PASS: or XFAIL: rather than ones that do start with
675 ERROR: or FAIL:. Make the commands fail if any summary lines fail
676 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
677 do start with ERROR: or FAIL:.
678 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
679 (except for [$(build-shared) = yes]).
680 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
681 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
682 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
683 * nptl/Makefile: Revert 2015-03-04 changes.
684 [$(CXX) empty] (tests-unsupported): New variable.
685 * debug/Makefile: Likewise.
687 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
688 gnulib file. Replace __attribute with __attribute__ throughout.
690 2015-03-10 Carlos O'Donell <carlos@redhat.com>
692 * sysdeps/hppa/fpu/libm-test-ulps: Update.
694 2015-03-10 Joseph Myers <joseph@codesourcery.com>
697 * math/auto-libm-test-in: Add another test of pow.
698 * math/auto-libm-test-out: Regenerated.
700 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
702 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
703 $(config-cflags-nofma).
705 2015-03-10 Joseph Myers <joseph@codesourcery.com>
707 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
708 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
709 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
710 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
711 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
712 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
713 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
714 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
715 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
716 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
717 Add comment on closing #endif.
719 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
721 * posix/wordexp.c (CHAR_IN_SET): New macro.
722 (parse_param): Use it.
724 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726 * sysdeps/powerpc/fpu/libm-test-ulps: update.
728 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
731 * posix/wordexp.c (parse_param): Fix buffer overflow.
732 * posix/wordexp-test.c (test_case): Add test case.
734 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
737 * posix/wordexp.c (parse_backtick): Fix off-by-one.
738 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
740 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
743 * posix/wordexp-test.c (test_case): Add test for BZ #18043
744 (do_bz18043): Delete.
746 (testit): Refactor to have words at the edge of unreadable page.
748 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
751 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
752 Cleanup read-only streams as well.
753 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
755 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
757 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
760 2015-03-07 Joseph Myers <joseph@codesourcery.com>
762 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
764 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
765 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
766 * soft-fp/op-common.h (_FP_DECL): Likewise.
768 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
770 * elf/ifuncdep2.c (global): Replace
771 __attribute__((visibility("protected"))) with
772 asm (".protected global").
773 * elf/ifuncmod1.c (global): Likewise.
774 * elf/ifuncmod5.c (global): Likewise.
776 2015-03-06 Joseph Myers <joseph@codesourcery.com>
778 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
779 <asm/sfp-machine.h> instead of <sfp-machine.h>.
781 2015-03-06 Roland McGrath <roland@hack.frob.com>
783 * manual/install.texi (Configuring and compiling):
784 Document test-wrapper-env-only.
785 * INSTALL: Regenerated.
787 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
790 * posix/wordexp.c (parse_param): Fix buffer overflow.
791 * posix/wordexp-test.c (do_bz18043): Add test case.
793 2015-03-06 Vincent Bernat <vincent@bernat.im>
795 * time/tst-strptime2.c (do_test): Ensure failing tests are
797 * time/tst-strptime3.c (do_test): Likewise.
799 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
801 Fix aio_error thread-safety.
802 * sysdeps/pthread/aio_error.c: New file
803 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
806 2015-03-06 Florian Weimer <fweimer@redhat.com>
808 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
809 (group_number, vfprintf): Use it.
810 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
812 (WORK_BUFFER_SIZE): New enum constant.
813 (process_arg, vfprintf): Use it.
815 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
817 * manual/errno.texi (Error Messages): Complete example function
818 by adding missing #define.
819 (program_invocation_name): Add statement indicating GNU
820 extension and reference which header file declares the variable.
821 (program_invocation_short_name): Likewise.
823 2015-03-06 Mike Frysinger <vapier@gentoo.org>
825 * manual/errno.texi (Error Messages): Delete strerror ISO C89
828 2015-03-05 Roland McGrath <roland@hack.frob.com>
830 * Makeconfig (test-wrapper-env-only): New variable.
831 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
832 then use that with $(test-wrapper-env-only) rather than using
833 $(test-wrapper-env) $(run-program-env) $($*-ENV).
835 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
838 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
839 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
840 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
841 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
842 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
843 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
844 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
845 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
847 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
848 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
856 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
861 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
862 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
864 2015-03-04 Roland McGrath <roland@hack.frob.com>
866 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
867 (ETH_ALEN): New macro.
868 (struct ether_addr): Use it for length of ether_addr_octet.
870 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
871 (setdb): Don't call __nss_configure_lookup for "rpc".
872 (do_test): Don't call test_rpc.
873 (output_rpcent, test_rpc): Functions moved ...
874 * sunrpc/test-rpcent.c: ... to this new file.
875 * sunrpc/Makefile (tests): Add it.
877 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
879 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
880 * nptl/tst-signal6.c: Likewise.
881 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
882 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
884 * configure.ac (libc_cv_cxx_link_ok): New check.
885 Reset CXX to empty if it fails to link.
886 * configure: Regenerated.
887 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
888 bug-atexit3-lib only if $(CXX) is nonempty.
889 * nptl/Makefile (tests): Likewise for tst-cancel24.
890 (tests, tests-static): Likewise for tst-cancel24-static.
891 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
892 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
893 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
894 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
896 2015-03-04 Andreas Schwab <schwab@suse.de>
899 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
900 for non-GCC compilers.
901 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
904 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
907 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
908 integer before bitwise and assembly operations.
909 (feclearexcept): Likewise.
910 * math/test-fenvinline.c: New file.
911 * math/Makefile: Add test-fenvinline test.
913 2015-03-03 Alan Modra <amodra@gmail.com>
916 * scripts/localplt.awk: Strip off symbol version.
917 * NEWS: Mention bug fix.
919 2015-03-02 Roland McGrath <roland@hack.frob.com>
921 * sysdeps/pthread/timer_routines.c
922 (timer_free_list, thread_free_list, thread_active_list): Make static.
924 2015-03-02 Joseph Myers <joseph@codesourcery.com>
927 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
928 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
931 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
933 * sysdeps/unix/sysv/linux/sh/kernel-features.h
934 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
937 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
940 * posix/fnmatch_loop.c (END): Detect invalid pattern.
941 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
943 2015-03-02 Andreas Schwab <schwab@suse.de>
945 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
948 2015-03-02 Florian Weimer <fweimer@redhat.com>
950 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
953 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
956 * locale/findlocale.c (_nl_find_locale): Introduce const
957 version of loc_name and drop unsafe type casts.
959 2015-02-27 Roland McGrath <roland@hack.frob.com>
961 * dlfcn/tststatic2.c (main): Converted to ...
963 (TEST_FUNCTION): New macro.
964 Include test-skeleton.c.
966 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
969 * elf/Makefile (tests): Add vismain only if PIE is enabled.
970 (tests-pie): Add vismain.
971 (CFLAGS-vismain.c): New.
972 * elf/vismain.c: Add comments for PIE requirement.
974 2015-02-27 Joseph Myers <joseph@codesourcery.com>
978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
979 0x1p-56L as threshold for just returning the argument.
980 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
981 0x1p-32L as threshold for just returning the argument.
982 * math/auto-libm-test-in: Add more tests of atanh.
983 * math/auto-libm-test-out: Regenerated.
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
987 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
989 * string/bcopy.c (bcopy): Call memmove for performance.
991 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
993 * string/bzero.c (__bzero): Call memset for performance.
995 2015-02-27 John David Anglin <dave.anglin@bell.net>
998 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1001 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1003 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1005 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1007 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1008 (__kernel_standard): Use CSTR macro when setting exc.name.
1009 * sysdeps/ieee754/Makefile [$(subdir) = math]
1010 (CFLAGS-k_standard.c): Remove variable.
1012 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1013 setting p and q from "else if" to "else".
1015 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1017 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1019 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1021 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1023 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1028 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1029 return pi/2 for arguments below 0x1p-113L.
1030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1031 return pi/2 for arguments below 0x1p-106L.
1032 * math/auto-libm-test-in: Add more tests of acos.
1033 * math/auto-libm-test-out: Regenerated.
1036 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1038 (__ieee754_asin): Force underflow exception for results with small
1040 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1042 (__ieee754_asinf): Force underflow exception for results with
1043 small absolute value.
1044 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1045 (__ieee754_asin): Force underflow exception for results with small
1047 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1048 (__ieee754_asinf): Force underflow exception for results with
1049 small absolute value.
1050 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1051 (__ieee754_asinl): Force underflow exception for results with
1052 small absolute value.
1053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1054 (__ieee754_asinl): Force underflow exception for results with
1055 small absolute value.
1056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1057 (__ieee754_asinl): Force underflow exception for results with
1058 small absolute value.
1059 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1061 * math/auto-libm-test-in: Do not mark underflow exceptions as
1062 possibly missing for bug 16351.
1063 * math/auto-libm-test-out: Regenerated.
1066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1067 of power of 2 down when low part has opposite sign.
1068 * math/libm-test.inc (logb_test_data): Add more tests.
1070 2015-02-26 Andreas Schwab <schwab@suse.de>
1073 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1074 over collating symbol inside a bracket expression. Minor cleanup.
1075 * posix/tst-fnmatch3.c (do_test): Add test case.
1077 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1081 Adjust exponent of power of 2 down when low part has opposite
1083 * math/libm-test.inc (ilogb_test_data): Add more tests.
1085 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1088 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1089 the previous change.
1092 * locale/findlocale.c (_nl_find_locale): Retry archive search
1093 after alias expansion.
1095 2015-02-25 Roland McGrath <roland@hack.frob.com>
1097 * iconv/tst-iconv3.c (main): Converted to ...
1098 (do_test): ... this.
1099 (TEST_FUNCTION): New macro.
1100 Include test-skeleton.c.
1102 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1103 (convert): Make function static.
1104 (test_unalign): Likewise. Add const to argument pointee types.
1105 (main): Replace with static function do_test.
1106 Print "Succeeded." only if RET is zero.
1107 (TEST_FUNCTION): New macro.
1108 Include test-skeleton.c.
1110 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1111 returns a null pointer.
1113 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1116 to __memcpy_ppc only for static builds.
1118 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1122 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1123 * math/auto-libm-test-in: Add more tests of asinh.
1124 * math/auto-libm-test-out: Regenerated.
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1128 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1131 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1132 and ip6_mtuinfo definitions here.
1133 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1134 in this define too. Update comment.
1136 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1138 * elf/sprof.c (load_shobj): Tweak error message to match others.
1140 2015-02-24 Kevin Easton <kevin@guarana.org>
1142 [BZ #16145] (partial fix)
1143 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1144 to reduce lock contention.
1146 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1148 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1149 (struct timex): Update time comment.
1150 (ADJ_SETOFFSET): Define.
1152 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1156 2**56 not 2**28 as threshold for log (2x) formula.
1157 * math/auto-libm-test-in: Add more tests of acosh.
1158 * math/auto-libm-test-out: Regenerated.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1164 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1165 parenthesis around the buf assignment.
1166 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1168 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1171 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1172 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1173 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1174 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1175 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1176 * math/libm-test.inc (scalb_test_data): Add more tests.
1178 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1181 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1182 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1184 2015-02-24 Eric Rannaud <e@nanocritical.com>
1187 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1188 * io/bits/fcntl2.h (open): Use it.
1190 * io/open.c (__libc_open): Likewise.
1191 * io/open64.c (__libc_open64): Likewise.
1192 * io/open64_2.c (__open64_2): Likewise.
1193 * io/open_2.c (__open_2): Likewise.
1194 * io/openat.c (__openat): Likewise.
1195 * io/openat64.c (__openat64): Likewise.
1196 * io/openat64_2.c (__openat64_2): Likewise.
1197 * io/openat_2.c (__openat_2): Likewise.
1198 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1199 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1200 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1201 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1202 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1203 (__open_nocancel): Likewise.
1204 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1205 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1208 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1211 * resolv/gethnamaddr.c (getanswer): Skip logging if
1212 RES_USE_DNSSEC is set.
1213 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1215 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1217 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1219 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1221 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1222 201304L, for Unicode 7.
1224 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1227 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1228 shared library. Add gmon-start.os otherwise.
1229 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1230 $(objpfx)gmon-start.os if builing shared library.
1231 ($(objpfx)g$(static-start-installed-name)): Likewise.
1233 2015-02-23 Andreas Schwab <schwab@suse.de>
1235 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1237 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1240 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1241 (enlarge_userbuf): Likewise.
1243 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1245 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1246 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1247 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1248 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1250 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1252 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1253 expression inside statement expression.
1255 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1257 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1258 <sysdeps/nptl/lowlevellock.h> and remove macros and
1259 functions that are now defined there.
1260 (SYS_futex): Remove.
1261 (lll_compare_and_swap): Remove.
1262 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1264 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1267 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1268 instead of scandirat.
1269 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1270 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1271 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1273 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1274 (__scandirat): Declare. Use libc_hidden_proto.
1275 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1277 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1279 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1282 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1284 (__ieee754_atan2): For results with small absolute value, force
1285 underflow exception and remove excess range and precision from
1287 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1289 (__ieee754_atan2f): For results with small absolute value, force
1290 underflow exception and remove excess range and precision from
1292 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1294 (__atan): For results with small absolute value, force underflow
1295 exception and remove excess range and precision from return value.
1296 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1298 (__atanf): For results with small absolute value, force underflow
1299 exception and remove excess range and precision from return value.
1300 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1302 (__ieee754_atan2): Force underflow exception for results with
1303 small absolute value.
1304 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1306 (atan): Force underflow exception for results with small absolute
1308 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1309 (__atanf): Force underflow exception for results with small
1311 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1313 (__atanl): Force underflow exception for results with small
1315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1316 (__atanl): Force underflow exception for results with small
1318 * sysdeps/x86/fpu/bits/mathinline.h
1319 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1320 (__ieee754_atan2): Only define inline for long double.
1321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1322 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1323 * math/auto-libm-test-in: Do not mark underflow exceptions as
1324 possibly missing for bug 15319. Add more tests of atan2.
1325 * math/auto-libm-test-out: Regenerated.
1326 * math/libm-test.inc (casin_test_data): Do not mark underflow
1327 exceptions as possibly missing for bug 15319.
1328 (casinh_test_data): Likewise.
1329 * sysdeps/i386/fpu/libm-test-ulps: Update.
1331 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1333 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1334 * sysdeps/mips/bits/endian.h: Fix comments.
1336 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1339 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1340 (hdestroy_r): Likewise.
1341 (hsearch_r): Likewise.
1342 (__hcreate_r): Declare and use libc_hidden_proto.
1343 (__hdestroy_r): Likewise.
1344 (__hsearch_r): Likewise.
1345 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1346 (hcreate): Call __hcreate_r instead of hcreate_r.
1347 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1348 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1349 as weak alias of __hcreate_r.
1350 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1352 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1354 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1356 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1357 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1358 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1359 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1361 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1363 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1364 arena_lock into a single arena_get.
1366 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1368 * dl-reloc.c: Inlucde libc-internal.h.
1369 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1370 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1371 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1372 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1373 (grow_heap): Likewise.
1374 * malloc/malloc.c: Include libc-internal.h.
1375 (do_check_malloc): Call powerof2.
1376 (sysmalloc): Use pagesize. Call ALIGN_UP.
1377 (systrim): Use pagesize.
1378 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1379 (__libc_valloc): Use pagesize.
1380 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1382 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1385 * include/sys/resource.h (__getrlimit64): Declare. Use
1387 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1388 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1389 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1391 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1393 [!getrlimit64] (getrlimit64): Define as weak alias of
1394 __getrlimit64. Use libc_hidden_weak.
1395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1396 using __getrlimit64 not __new_getrlimit64.
1397 (__GI_getrlimit64): Likewise.
1398 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1400 (__GI_getrlimit64): Likewise.
1401 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1403 (getrlimit): Add __getrlimit64 alias.
1404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1406 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1408 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1409 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1411 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1413 * libio/fileops.c: Add missing sys/mman.h
1414 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1416 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1418 * manual/math.texi (Errors in Math Functions): Clarify goals
1419 regarding inexact and underflow exceptions.
1421 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1423 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1424 * sysdeps/mips/memset.S: Ditto.
1426 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1428 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1430 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1433 (__v1longjmp): Remove versioned symbol.
1434 (__v1siglongjmp): Remove alias and versioned symbol.
1435 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1436 (__v2siglongjmp): Likewise.
1438 2015-02-16 Torvald Riegel <triegel@redhat.com>
1440 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1442 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1444 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1446 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1449 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1450 zero result does not depend on the sign resulting from
1452 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1454 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1455 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1457 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1458 * math/libm-test.inc (remquo_test_data): Add more tests.
1460 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1462 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1463 Problem reported by J William Piggott.
1465 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1468 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1469 products 4 * y and 2 * y where those would overflow.
1470 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1472 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1473 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1474 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1475 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1476 * math/libm-test.inc (remquo_test_data): Add more tests.
1478 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1480 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1481 [defined _COMPILING_NEWLIB].
1482 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1483 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1485 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1486 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1488 2015-02-16 Torvald Riegel <triegel@redhat.com>
1490 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1493 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1496 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1497 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1498 HOST_STACK_END_ADDR): Likewise.
1500 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1502 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1503 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1504 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1506 2015-02-13 Roland McGrath <roland@hack.frob.com>
1508 * sysdeps/generic/c++-types.data: New file.
1509 * sysdeps/generic/ld.abilist: New file.
1510 * sysdeps/generic/libBrokenLocale.abilist: New file.
1511 * sysdeps/generic/libanl.abilist: New file.
1512 * sysdeps/generic/libc.abilist: New file.
1513 * sysdeps/generic/libcrypt.abilist: New file.
1514 * sysdeps/generic/libdl.abilist: New file.
1515 * sysdeps/generic/libm.abilist: New file.
1516 * sysdeps/generic/libpthread.abilist: New file.
1517 * sysdeps/generic/libresolv.abilist: New file.
1518 * sysdeps/generic/librt.abilist: New file.
1520 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1524 Compute absolute value of x as modified by fmod, not original
1526 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1527 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1528 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1529 RUN_TEST_ffI_f1_mod8.
1530 (remquo_test_data): Add more tests.
1532 2015-02-13 Roland McGrath <roland@hack.frob.com>
1534 * sysdeps/init_array/pt-crti.S: New file.
1536 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1540 __builtin_fmaf instead of relying on contraction of a * b + c.
1542 2015-02-12 J William Piggott <elseifthen@gmx.com>
1545 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1548 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1552 __builtin_fma instead of relying on contraction of a * b + c.
1554 2015-02-12 Roland McGrath <roland@hack.frob.com>
1556 * Makeconfig (ASFLAGS): Add -Werror=undef.
1557 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1558 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1559 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1561 * Makeconfig (after-link): New variable.
1562 (+link-pie, +link-pie-tests): Use it.
1563 (+link-static, +link-static-tests): Likewise.
1564 (+link, +link-tests): Likewise.
1565 * Makerules (build-module, build-module-asneeded): Likewise.
1566 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1568 * elf/Makefile ($(objpfx)ld.so): Likewise.
1570 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1573 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1574 both struct timeval and struct timespec.
1576 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1579 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1581 (__ieee754_exp2l): Do not multiply small fractional parts by
1583 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1585 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1586 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1587 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1588 * math/auto-libm-test-in: Add more tests of exp2.
1589 * math/auto-libm-test-out: Regenerated.
1591 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1593 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1596 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1601 2015-02-12 Andreas Schwab <schwab@suse.de>
1604 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1605 Filter out elision flags from value returned in kind.
1606 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1607 * nptl/tst-pthread-mutexattr.c: New file.
1609 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1611 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1612 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1613 into gnu-gnu, and update comment to refer to abi-tags.
1615 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1619 (__sincos): Set errno to EDOM for infinite argument.
1620 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1621 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1622 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1623 (__sincosl): Set errno to EDOM for infinite argument.
1624 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1625 (__sincosl): Set errno to EDOM for infinite argument.
1626 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1627 (__sincosl): Set errno to EDOM for infinite argument.
1628 * math/libm-test.inc (sincos_test_data): Test errno setting.
1630 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1632 * string/strxfrm_l.c: Remove #define STRCMP.
1633 * string/strcoll_l.c: Remove #define STRLEN.
1634 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1635 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1637 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1639 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1640 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1641 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1642 * sysdeps/mips/mips64/Makefile: ... here.
1643 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1644 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1645 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1646 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1647 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1648 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1649 * sysdeps/mips/mips64/n64/Implies: Likewise.
1651 2015-02-10 Roland McGrath <roland@hack.frob.com>
1653 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1654 <sys/time.h>, <string.h>, and <errno.h>.
1655 (dest_offset, dest_address, value, zero): Remove unused variables.
1656 (ldouble): Remove typedef.
1657 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1658 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1660 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1661 (check): Function removed.
1663 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1664 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1665 Don't call set_sigaction_FP and remove_sigaction_FP here.
1666 (ldouble_test): Just use 'long double' as macro argument, no need for
1667 the 'ldouble' typedef.
1668 (do_test): Set up SIGFPE handler at start, using plain signal rather
1669 than sigaction. Fix code style.
1671 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1677 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1679 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1680 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1682 * sysdeps/powerpc/configure.ac: Remove file.
1683 * sysdeps/powerpc/configure: Likewise.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1686 [sysdep_routines]: Remove wordcopy-power6 object.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1688 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1690 (__memmove_ppc32): Likewise.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1694 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1695 Remove preprocessor.
1697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1698 [sysdep_routines]: Remove wide chars objects.
1699 [wcsmbs]: New rule for wide char objects.
1701 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1702 Remove wordcopy-power6 obejct.
1703 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1704 Use local call for wordcopy and memcpy symbols.
1705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1707 implementation for loader.
1708 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1711 Remove wordcopy-power7 object.
1712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1714 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1715 (_wordcopy_fwd_dest_aligned): Likewise.
1716 (_wordcopy_bwd_aligned): Likewise.
1717 (_wordcopy_bwd_dest_aligned): Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1720 Rewrite to call __memmove_ppc instead of include default
1723 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1724 Remove wide chars objects.
1725 [wcsmbs]: New rule for wide char objects.
1727 2015-02-09 Andreas Schwab <schwab@suse.de>
1730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1731 in terms of __O_DIRECTORY.
1733 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1735 * time/getdate.c: Include <stdbool.h>.
1736 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1738 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1741 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1743 Add ersatz _Static_assert on older C hosts
1744 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1745 pre-C11 C platform that is not known to support _Static_assert.
1747 2015-02-07 Richard Braun <rbraun@sceen.net>
1749 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1751 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1753 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1755 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1756 priority against unexistent AIO_PRIO_DELTA_MAX.
1757 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1759 * misc/fchflags.c (fchflags): Likewise.
1760 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1761 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1762 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1763 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1764 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1766 [__USE_MISC] (chflags, fchflags): Declare functions.
1767 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1768 EINVAL when nfds is greater than FD_SETSIZE.
1769 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1770 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1772 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1773 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1774 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1776 * hurd/hurd/signal.h (_hurd_self_sigstate,
1777 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1778 Explicit casts from void *.
1779 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1780 * abi-tags: Rename gnu-gnu os into gnu.
1783 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1784 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1785 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1786 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1787 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1788 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1791 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1792 duplicates ADDR->sun_path with sockaddr LEN limitation.
1793 * sysdeps/mach/hurd/connect.c: Include <string.h>
1794 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1795 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1796 * sysdeps/mach/hurd/sendto.c: Likewise.
1797 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1798 implementing it by hand.
1800 2015-02-06 Roland McGrath <roland@hack.frob.com>
1802 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1803 Use sfi_breg on ldr.
1804 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1807 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1809 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1810 Test SIGSETXID only if it's defined.
1812 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1814 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1815 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1817 * nptl/tst-align2.c: Moved ...
1818 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1819 * nptl/Makefile (tests): Remove tst-align2.
1820 * sysdeps/unix/sysv/linux/Makefile
1821 [$(subdir) = nptl] (tests): Add tst-align-clone.
1822 * nptl/tst-getpid1.c: Moved ...
1823 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1824 * nptl/tst-getpid2.c: Moved ...
1825 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1826 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1827 * sysdeps/unix/sysv/linux/Makefile
1828 [$(subdir) = nptl] (tests): ... here.
1829 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1830 * sysdeps/unix/sysv/linux/Makefile
1831 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1833 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1834 Drop trailing \n from perror argument. Use return rather than exit.
1836 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1838 * nptl/tst-cancel21.c (do_test): Likewise.
1839 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1840 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1841 [!SA_SIGINFO]: Make it a stub test.
1843 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1844 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1846 * posix/tst-getlogin.c: Move to ...
1847 * login/tst-getlogin.c: ... here.
1848 * posix/Makefile (tests): Move tst-getlogin to ...
1849 * login/Makefile (tests): ... here.
1851 * libio/tst-atime.c (do_test): Move local variables SV and E
1852 inside [ST_NOATIME] conditional.
1854 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1856 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1858 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1859 (wait_code): New function replaces macro.
1860 Call nanosleep rather than syscall.
1862 * nptl/pt-system.c: Rewritten. Put everything under
1863 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1864 Use IFUNC to redirect when possible.
1866 * nptl/pt-longjmp.c: Rewritten. Put everything under
1867 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1868 Use IFUNC to redirect when possible.
1870 * nptl/pt-fork.c: Rewritten. Put everything under
1871 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1872 Use IFUNC to redirect when possible.
1873 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1875 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1876 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1877 unconditionally nowadays. This included the only reference to
1878 __vdso_clock_gettime that appears outside libc proper.
1879 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1880 Remove version set (containing only __vdso_clock_gettime).
1881 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1882 Add attribute_hidden.
1883 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1884 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1885 libc_hidden_data_def.
1886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1889 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1890 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1891 setrpcent, and getrpcport to ...
1892 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1893 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1894 getrpcbynumber_r, and getrpcent_r to ...
1895 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1896 * inet/getrpcbyname.c: Moved ...
1897 * sunrpc/getrpcbyname.c: ... here.
1898 * inet/getrpcbyname_r.c: Moved ...
1899 * sunrpc/getrpcbyname_r.c: ... here.
1900 * inet/getrpcbynumber.c: Moved ...
1901 * sunrpc/getrpcbynumber.c: ... here.
1902 * inet/getrpcbynumber_r.c: Moved ...
1903 * sunrpc/getrpcbynumber_r.c: ... here.
1904 * inet/getrpcent.c: Moved ...
1905 * sunrpc/getrpcent.c: ... here.
1906 * inet/getrpcent_r.c: Moved ...
1907 * sunrpc/getrpcent_r.c: ... here.
1908 * inet/Makefile (routines): Move those to ...
1909 * sunrpc/Makefile (routines): ... here.
1910 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1911 the $(subdirs) list.
1912 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1913 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1914 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1915 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1917 * elf/Makefile (routines): Include $(all-dl-routines), not just
1919 (rtld-routines): Likewise. Use = rather than :=.
1920 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1921 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1922 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1923 * sysdeps/arm/Makefile: Likewise.
1924 * sysdeps/i386/Makefile: Likewise.
1925 * sysdeps/x86_64/Makefile: Likewise.
1926 * sysdeps/hppa/Makefile [$(subdir) = elf]
1927 (sysdep_routines, sysdep-rtld-routines): Don't add
1928 $(sysdep-dl-routines) to these.
1929 * sysdeps/ia64/Makefile: Likewise.
1930 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1931 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1932 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1933 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1934 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1935 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1936 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1937 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1938 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1939 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1940 these; sysdep-dl-routines alone is enough.
1942 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1945 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1946 where multiplication results in zero and third argument is finite
1948 * math/auto-libm-test-in: Add more tests of fma.
1949 * math/auto-libm-test-out: Regenerated.
1951 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1952 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1953 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1954 (_FP_CMP_EQ): Likewise.
1955 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1957 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1958 extra argument CHECK_NAN. Redefine as wrapper around
1961 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1963 * version.h (RELEASE): Set to "stable".
1964 (VERSION): Set to "2.21"
1965 * include/features.h (__GLIBC_MINOR__): Set to 21.
1967 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1969 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1970 Paul Eggert <eggert@cs.ucla.edu>
1973 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1975 size in bytes. Store needed elements in wpmax. Use needed size
1976 in bytes for extend_alloca.
1978 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1980 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1981 binutls 2.25, and texinfo 5.2.
1982 * INSTALL: Regenerate.
1983 * sysdeps/nios2/configure: Regenerate.
1984 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1985 * manual/contrib.texi: Update.
2009 * po/pt_BR.po: Update.
2018 * po/zh_CN.po: Update.
2019 * po/zh_TW.po: Update.
2021 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2022 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2023 * sysdeps/hppa/dl-irel.h: Remove #warning.
2024 * sysdeps/hppa/entry.h: Provide prototype for
2025 __canonicalize_funcptr_for_compare and cast argument.
2026 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2027 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2028 * sysdeps/hppa/sotruss-lib.c: New file.
2029 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2030 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2031 (atomic_compare_and_exchange_bool_acq): Likewise.
2032 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2033 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2035 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2036 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2037 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2039 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2041 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2042 called function in non-PIC case.
2044 2015-01-31 David S. Miller <davem@davemloft.net>
2046 * sysdeps/sparc/sparc32/bits/atomic.h
2047 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2048 unlock not after it.
2049 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2050 volatile register usage warnings from the compiler.
2052 * sysdeps/sparc/nptl/sem_init.c: Delete.
2053 * sysdeps/sparc/nptl/sem_post.c: Delete.
2054 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2055 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2056 * sysdeps/sparc/sparc32/sem_init.c: New file.
2057 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2058 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2059 padding explicitly initialized.
2060 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2061 padding for in-semaphore spinlock.
2062 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2063 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2064 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2065 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2066 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2067 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2068 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2069 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2071 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2072 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2074 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2078 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2079 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2081 (index_AVX_Fast_Unaligned_Load): Likewise.
2082 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2083 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2084 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2085 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2086 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2087 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2088 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2089 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2090 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2092 2015-01-29 Andreas Schwab <schwab@suse.de>
2094 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2096 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2099 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2101 2015-01-28 Martin Sebor <msebor@redhat.com>
2103 * math/README.libm-test: Clarify. Add "How to read the test output."
2105 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2107 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2110 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2112 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2113 (__HAVE_64B_ATOMICS): Define to 0.
2115 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2118 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2119 value to set as new flag.
2122 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2123 and use _ARCH_PPCSQ instead.
2124 (__ieee754_sqrt): Likewise.
2125 (__ieee754_sqrtf): Likewise.
2126 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2127 _ARCH_PPCSQ is defined.
2128 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2130 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2131 _ARCH_PPCSQ is defined.
2132 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2134 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2136 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2138 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2139 bug (GCC BZ #64739).
2141 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2143 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2144 Mark _retval as used.
2145 (lll_futex_wake_unlock): Likewise.
2146 (lll_futex_timed_wait_requeue_pi): Likewise.
2148 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2149 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2152 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2155 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2156 (__bswap_64): Mark as __always_inline.
2158 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2161 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2162 when none of the search directories exist.
2164 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2167 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2168 power8 in .machine directive.
2171 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2172 set dependency from opd value.
2174 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2177 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2180 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2183 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2185 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2187 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2188 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2189 Replace 1UL with (uint64_t) 1.
2190 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2193 2015-01-23 Roland McGrath <roland@hack.frob.com>
2195 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2196 (if_freenameindex): Likewise.
2198 * resource/getrlimit64.c: Add missing libc_hidden_def.
2200 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2202 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2204 (_FP_FMA): Likewise.
2205 (_FP_TO_INT_ROUND): Likewise.
2206 (_FP_FROM_INT): Likewise.
2208 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2212 Make code racy and cancel safe.
2214 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2216 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2217 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2220 * pwd/tst-getpw.c: Rewrite.
2223 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2224 (modules-names): Add moddummy1 and moddummy2.
2225 ($(objpfx)tst-rec-dlopen): Define.
2226 * dlfcn/moddummy1.c: New file.
2227 * dlfcn/moddummy2.c: New file.
2228 * dlfcn/tst-rec-dlopen.c: New file.
2229 * elf/dl-cache.c (_dl_load_cache_lookup):
2230 Return char*. Copy result with alloca/strcpy/strdup.
2231 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2232 returns char*. Free cached. If not saving realname
2234 * elf/dl-open.c (dl_open_worker): Do not assert that
2235 _r_debug->r_state is RT_CONSISTENT.
2236 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2239 2015-01-21 Torvald Riegel <triegel@redhat.com>
2240 Carlos O'Donell <carlos@redhat.com>
2243 * nptl/sem_waitcommon.c: New file.
2244 * nptl/sem_wait.c: Include sem_waitcommon.c.
2245 (__sem_wait_cleanup, do_futex_wait): Remove.
2246 (__new_sem_wait): Adapt.
2247 (__new_sem_trywait): New function.
2248 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2249 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2250 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2251 (sem_timedwait): Adapt.
2252 * nptl/sem_post.c (__new_sem_post): Adapt.
2253 (futex_wake): New function.
2254 (__old_sem_post): Add release MO fence.
2255 * nptl/sem_open.c (sem_open): Adapt.
2256 * nptl/sem_init.c (__new_sem_init): Adapt.
2257 (futex_private_if_supported): New function.
2258 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2259 (__old_sem_getvalue): Add using previous code.
2260 * sysdeps/nptl/internaltypes.h: Adapt.
2261 * nptl/tst-sem13.c (do_test): Adapt.
2262 * nptl/tst-sem11.c (main): Adapt.
2263 * nptl/sem_trywait.c: Remove.
2264 * nptl/DESIGN-sem.txt: Remove.
2265 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2266 (gen-as-const-headers): Remove structsem.sym.
2267 * nptl/structsem.sym: Remove.
2268 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2269 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2270 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2271 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2272 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2273 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2274 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2275 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2276 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2277 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2278 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2279 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2280 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2281 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2282 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2283 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2284 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2285 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2286 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2287 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2288 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2289 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2291 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2293 * INSTALL: Regenerated.
2295 * po/libc.pot: Regenerated.
2297 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2298 Sandra Loosemore <sandra@codesourcery.com>
2299 Andrew Jenner <andrew@codesourcery.com>
2300 Joseph Myers <joseph@codesourcery.com>
2301 Nathan Sidwell <nathan@codesourcery.com>
2303 * NEWS: Mention new Nios II port.
2304 * sysdeps/nios2/Implies: New file.
2305 * sysdeps/nios2/Makefile: New file.
2306 * sysdeps/nios2/Subdirs: New file.
2307 * sysdeps/nios2/Versions: New file.
2308 * sysdeps/nios2/__longjmp.S: New file.
2309 * sysdeps/nios2/abort-instr.h: New file.
2310 * sysdeps/nios2/backtrace.c: New file.
2311 * sysdeps/nios2/bits/endian.h: New file.
2312 * sysdeps/nios2/bits/fenv.h: New file.
2313 * sysdeps/nios2/bits/link.h: New file.
2314 * sysdeps/nios2/bits/setjmp.h: New file.
2315 * sysdeps/nios2/bsd-_setjmp.S: New file.
2316 * sysdeps/nios2/bsd-setjmp.S: New file.
2317 * sysdeps/nios2/configure: New generated file.
2318 * sysdeps/nios2/configure.ac: New file.
2319 * sysdeps/nios2/crti.S: New file.
2320 * sysdeps/nios2/crtn.S: New file.
2321 * sysdeps/nios2/dl-init.c: New file.
2322 * sysdeps/nios2/dl-machine.h: New file.
2323 * sysdeps/nios2/dl-sysdep.h: New file.
2324 * sysdeps/nios2/dl-tls.h: New file.
2325 * sysdeps/nios2/dl-trampoline.S: New file.
2326 * sysdeps/nios2/gccframe.h: New file.
2327 * sysdeps/nios2/gmp-mparam.h: New file.
2328 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2329 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2330 * sysdeps/nios2/ldsodefs.h: New file.
2331 * sysdeps/nios2/libc-tls.c: New file.
2332 * sysdeps/nios2/libm-test-ulps: New file.
2333 * sysdeps/nios2/machine-gmon.h: New file.
2334 * sysdeps/nios2/math-tests.h: New file.
2335 * sysdeps/nios2/math_private.h: New file.
2336 * sysdeps/nios2/memusage.h: New file.
2337 * sysdeps/nios2/nptl/Makefile: New file.
2338 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2339 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2340 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2341 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2342 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2343 * sysdeps/nios2/nptl/tls.h: New file.
2344 * sysdeps/nios2/preconfigure: New file.
2345 * sysdeps/nios2/s_fma.c: New file.
2346 * sysdeps/nios2/s_fmaf.c: New file.
2347 * sysdeps/nios2/setjmp.S: New file.
2348 * sysdeps/nios2/sfp-machine.h: New file.
2349 * sysdeps/nios2/sotruss-lib.c: New file.
2350 * sysdeps/nios2/stackguard-macros.h: New file.
2351 * sysdeps/nios2/stackinfo.h: New file.
2352 * sysdeps/nios2/start.S: New file.
2353 * sysdeps/nios2/sysdep.h: New file.
2354 * sysdeps/nios2/tls-macros.h: New file.
2355 * sysdeps/nios2/tst-audit.h: New file.
2356 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2357 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2358 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2359 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2360 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2361 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2362 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2363 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2364 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2365 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2366 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2367 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2368 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2369 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2370 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2371 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2372 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2373 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2374 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2375 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2376 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2377 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2378 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2379 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2380 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2381 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2382 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2383 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2384 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2385 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2386 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2387 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2388 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2390 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2391 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2392 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2393 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2394 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2395 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2396 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2397 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2398 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2399 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2401 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2404 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2405 (getutent): Use weak_alias in non SHARED case
2406 and default_symbol_version in SHARED case.
2407 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2408 (getutent_r, pututline): Likewise.
2409 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2410 (getutid): Likewise.
2411 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2412 (getutid_r): Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2414 (getutline): Likewise.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2416 (getutline_r): Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2418 (updwtmp): Likewise.
2420 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2423 * sysdeps/s390/s390-32/memcmp.S
2424 (memcmp_g5): Rename to __memcmp_g5.
2425 * sysdeps/s390/s390-32/memcpy.S
2426 (memcpy_g5): Rename to __memcpy_g5.
2427 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2428 (memcpy_mvcle) Rename to __memcpy_mvcle.
2429 * sysdeps/s390/s390-32/memset.S
2430 (memset_g5): Rename to __memset_g5.
2431 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2432 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2433 and use prefixed functions.
2434 * sysdeps/s390/s390-32/multiarch/memcmp.S
2435 (memcmp_z196): Rename to __memcmp_z196.
2436 (memcmp_z10): Rename to __memcmp_z10.
2437 (memcmp): Set alias to __memcmp_g5.
2438 (bcmp): Set alias to __memcmp_g5.
2439 * sysdeps/s390/s390-32/multiarch/memcpy.S
2440 (memcpy_z196): Rename to __memcpy_z196.
2441 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2442 (memcpy_z10): Rename to __memcpy_z10.
2443 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2444 (memcpy): Set alias to __memcpy_g5.
2445 * sysdeps/s390/s390-32/multiarch/memset.S
2446 (memset_z196): Rename to __memset_z196.
2447 Jump to __memset_mvcle instead of memset_mvcle.
2448 (memset_z10): Rename to __memset_z10.
2449 Jump to __memset_mvcle instead of memset_mvcle.
2450 (memset_mvcle) Rename to __memset_mvcle.
2451 (memset): Set alias to __memset_g5.
2452 * sysdeps/s390/s390-64/memcmp.S
2453 (memcmp_z900): Rename to __memcmp_z900.
2454 * sysdeps/s390/s390-64/memcpy.S
2455 (memcpy_z900): Rename to __memcpy_z900.
2456 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2457 (memcpy_mvcle) Rename to __memcpy_mvcle.
2458 * sysdeps/s390/s390-64/memset.S
2459 (memset_z900): Rename to __memset_z900.
2460 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2461 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2462 and use prefixed functions.
2463 * sysdeps/s390/s390-64/multiarch/memcmp.S
2464 (memcmp_z196): Rename to __memcmp_z196.
2465 (memcmp_z10): Rename to __memcmp_z10.
2466 (memcmp): Set alias to __memcmp_z900.
2467 (bcmp): Set alias to __memcmp_z900.
2468 * sysdeps/s390/s390-64/multiarch/memcpy.S
2469 (memcpy_z196): Rename to __memcpy_z196.
2470 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2471 (memcpy_z10): Rename to __memcpy_z10.
2472 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2473 (memcpy): Set alias to __memcpy_z900.
2474 * sysdeps/s390/s390-64/multiarch/memset.S
2475 (memset_z196): Rename to __memset_z196.
2476 Jump to __memset_mvcle instead of memset_mvcle.
2477 (memset_z10): Rename to __memset_z10.
2478 Jump to __memset_mvcle instead of memset_mvcle.
2479 (memset_mvcle) Rename to __memset_mvcle.
2480 (memset): Set alias to __memset_z900.
2482 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2485 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2486 __fesetenv instead of fesetenv.
2488 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2493 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2495 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2498 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2499 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2501 strncmp-power8 object.
2502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2503 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2504 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2507 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2511 trailing byte check.
2513 2015-01-13 David S. Miller <davem@davemloft.net>
2515 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2517 2015-01-13 Roland McGrath <roland@hack.frob.com>
2519 * login/logout.c (logout): Use memset rather than bzero.
2520 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2521 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2522 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2523 (_gethtbyaddr): Likewise.
2524 * locale/programs/simple-hash.c (bcopy): Macro removed.
2526 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2528 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2529 Add strcmp-power8 object.
2530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2531 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2533 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2534 __strcmp_power8 implementation.
2535 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2538 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2539 Add strncpy-power8 and stpncpy-power8 objects.
2540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2541 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2543 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2544 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2545 __stpncpy_power8 implementation.
2546 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2547 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2548 __strncpy_power8 implementation.
2549 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2550 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2553 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2554 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2555 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2557 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2558 strncat-power8 object.
2559 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2560 __strcat_power8 implementation.
2561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2562 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2563 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2564 optimized strcat for power8.
2566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2567 strcpy-power8 and stpcpy-power8 objects.
2568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2569 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2572 multiarch stpcpy implementation for POWER8.
2573 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2574 multiarch strcpy implementation for POWER8.
2575 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2576 __strcpy_power8 function.
2577 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2579 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2583 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2586 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2587 weights and rules. Use do_xfrm_cached if data fits in cache,
2588 do_xfrm otherwise. Moved former main loop to...
2589 * (do_xfrm_cached): New function.
2590 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2591 find_idx, find_position and stack_push.
2592 * (find_idx): New function.
2593 * (find_position): Likewise.
2594 * localedata/sort-test.sh: Added test run for do_xfrm.
2595 * localedata/xfrm-test.c (main): Added command line option
2596 -nocache to run the test with strings that are too large for
2599 2015-01-13 Torvald Riegel <triegel@redhat.com>
2601 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2602 variable to lll_futex_wake call, not the value itself.
2604 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2608 twom64. Adjust value to 0x1p-64L.
2609 (__scalblnl): Only return standard underflowing result for K <=
2610 -64 not K <= -63; adjust exponent for underflowing result by 64
2612 * math/libm-test.inc (scalbn_test_data): Add more tests.
2613 (scalbln_test_data): Likewise.
2616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2618 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2620 * math/libm-test.inc (scalbn_test_data): Add more tests.
2621 (scalbln_test_data): Likewise.
2623 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2624 Stefani Seibold <stefani@seibold.net>
2626 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2627 (sysdep_routines): Add dl-vdso here, ...
2628 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2629 (sysdep_routines): ... not here.
2630 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2631 fallback when vDSO is not presented.
2632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2633 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2634 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2635 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2636 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2638 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2639 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2640 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2642 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2643 fallback configurable symbol when vDSO is not available.
2644 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2645 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2646 be able to redefine fallback symbol when vDSO is not available.
2647 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2648 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2650 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2652 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2653 (TLS_INIT_TP): Add tm_capable initialization.
2654 (TLS_DEFINE_INIT_TP): Likewise.
2655 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2657 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2658 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2660 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2661 transactoion is lock elision is built and TCB tm_capable is set.
2662 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2664 (INTERNAL_SYSCALL_NCS): Likewise.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2666 (INTERNAL_SYSCALL_NCS): Likewise.
2667 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2669 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2671 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2672 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2673 and remove it for 32 bits case.
2674 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2677 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2678 Disable lock elision with rdlocks if elision is not available.
2680 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2681 (sysdep_routines): Add lock elision objects.
2682 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2683 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2684 [pthread_mutex_t] (__elision): Add field.
2685 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2687 elision definitions for powerpc.
2688 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2689 implementation of lock elision for powerpc.
2690 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2691 implementation of timed lock elision for powerpc.
2692 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2693 implementation of trylock with lock elision for powerpc.
2694 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2695 implementaion of unlock for lock elision for powerpc.
2696 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2697 automatic enable lock elision for mutexes.
2698 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2699 transaction execution definitions for powerpc.
2700 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2702 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2703 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2704 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2705 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2708 2015-01-09 Roland McGrath <roland@hack.frob.com>
2710 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2711 for #include of <shm-directory.h>.
2713 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2716 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2718 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2721 * NEWS: Mention bug fix.
2722 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2723 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2724 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2726 2015-01-09 Torvald Riegel <triegel@redhat.com>
2728 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2730 2015-01-09 Torvald Riegel <triegel@redhat.com>
2732 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2734 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2736 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2737 pointer and cast to uintptr_t.
2739 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2741 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2743 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2745 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2747 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2750 2015-01-08 Roland McGrath <roland@hack.frob.com>
2752 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2753 <nptl/pthreadP.h> instead.
2754 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2756 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2758 [__SIGRTMIN] (init): Function removed.
2759 [__SIGRTMIN] (initialized): Variable removed.
2760 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2761 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2762 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2763 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2764 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2765 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2766 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2767 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2768 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2769 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2770 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2771 * sysdeps/nptl/allocrtsig.c: New file.
2772 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2773 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2774 * sysdeps/generic/testrtsig.h: File removed.
2776 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2777 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2779 * nptl/nptl-init.c (pthread_functions): Conditionalize
2780 .ptr__nptl_setxid initialization on [SIGSETXID].
2782 * sysdeps/nptl/sys/procfs.h: New file.
2783 * nptl_db/Makefile (headers): Add it.
2784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2786 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2787 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2788 * nptl/pthread_attr_setaffinity.c: Include it.
2789 * nptl/pthread_setattr_default_np.c: Likewise.
2790 * nptl/check-cpuset.h: New file.
2792 2015-01-08 Richard Henderson <rth@redhat.com>
2794 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2795 (CFLAGS-tst-execstack-prog.c): Likewise.
2796 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2798 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2799 Sandra Loosemore <sandra@codesourcery.com>
2800 Andrew Jenner <andrew@codesourcery.com>
2801 Joseph Myers <joseph@codesourcery.com>
2802 Nathan Sidwell <nathan@codesourcery.com>
2804 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2805 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2806 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2807 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2808 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2809 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2810 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2811 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2812 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2813 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2814 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2815 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2816 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2817 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2818 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2819 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2820 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2822 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2825 timespec struct member in syscall macro.
2826 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2827 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2828 first timeval struct member in syscall macro.
2829 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2831 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2834 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2835 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2836 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2837 __feupdateenv and define as weak alias of __feupdateenv. Use
2839 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2841 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2842 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2843 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2844 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2846 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2847 __feupdateenv and define as weak alias of __feupdateenv. Use
2849 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2851 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2852 __feupdateenv and define as weak alias of __feupdateenv. Use
2854 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2856 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2857 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2858 (__feupdateenv): Likewise.
2859 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2860 __feupdateenv and define as weak alias of __feupdateenv. Use
2862 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2863 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2865 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2867 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2869 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2870 __feupdateenv instead of feupdateenv.
2871 (default_libc_feupdateenv_test): Likewise.
2872 (libc_feresetround_ctx): Likewise.
2874 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2879 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2881 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2882 COLL_SYM in a couple of places to avoid uninitialized variable
2883 wanings on tilegx gcc 4.8.2.
2885 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2887 * sysdeps/aarch64/strcpy.S: New file.
2888 * sysdeps/aarch64/stpcpy.S: New file.
2891 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2893 * sysdeps/aarch64/strrchr.S: New file.
2896 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2899 * stdlib/setenv.c: Fix memory leak when setting large,
2902 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2905 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2906 and tabs from buffer before parsing fstab entry.
2907 * misc/tst-mntent.c (main): Add test for mount entry with
2908 trailing spaces and tabs.
2910 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2913 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2914 * math/fesetround.c (fesetround): Rename to __fesetround and
2915 define as weak alias of __fesetround. Use libm_hidden_weak.
2916 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2917 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2918 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2919 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2920 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2921 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2922 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2923 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2924 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2925 __fesetround_inline.
2926 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2927 __fesetround_inline instead of __fesetround.
2928 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2929 __fesetround and define as weak alias of __fesetround. Use
2930 libm_hidden_weak. Call __fesetround_inline instead of
2932 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2933 __fesetround and define as weak alias of __fesetround. Use
2935 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2937 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2938 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2939 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2940 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2941 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2942 __fesetround and define as weak alias of __fesetround. Use
2944 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2945 __fesetround instead of fesetround.
2946 (default_libc_feholdexcept_setround): Likewise.
2947 (libc_feholdsetround_ctx): Likewise.
2948 (libc_feholdsetround_noex_ctx): Likewise.
2951 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2952 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2953 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2954 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2955 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2956 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2957 define as weak alias of __fesetenv. Use libm_hidden_weak.
2958 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2959 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2960 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2961 define as weak alias of __fesetenv. Use libm_hidden_weak.
2962 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2963 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2964 define as weak alias of __fesetenv. Use libm_hidden_weak.
2965 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2967 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2968 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2970 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2971 define as weak alias of __fesetenv. Use libm_hidden_weak.
2972 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2973 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2974 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2975 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2976 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2977 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2978 __fesetenv instead of fesetenv.
2979 (libc_feresetround_noex_ctx): Likewise.
2980 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2981 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2982 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2983 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2984 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2985 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2986 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2987 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2988 (__feupdateenv): Likewise.
2989 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2990 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2991 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2992 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2994 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2997 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2998 addresses have been freed.
3000 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3002 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3005 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3007 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3008 Clean up check_pf allocation pattern. addresses
3010 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3013 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3014 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3015 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3016 * nptl/pthread_join.c (pthread_join): Likewise.
3017 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3018 * sysdeps/posix/waitid.c (__waitid): Likewise.
3019 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3020 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3021 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3022 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3025 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3026 (__libc_pread64): Likewise.
3027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3028 (__libc_pwrite): Likewise.
3029 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3030 (__libc_pwrite64): Likewsie.
3031 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3032 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3033 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3034 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3035 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3036 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3037 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3041 (__libc_pread64): Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3045 (__libc_pwrite64): Likewise.
3046 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3047 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3048 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3049 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3050 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3051 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3052 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3053 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3054 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3055 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3056 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3057 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3058 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3059 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3060 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3061 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3064 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3066 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3067 (CFLAGS-test-double.c): Likewise.
3068 (CFLAGS-test-ldouble.c): Likewise.
3069 (CPPFLAGS-test-ifloat.c): Likewise.
3070 (CPPFLAGS-test-idouble.c): Likewise.
3071 (CPPFLAGS-test-ildoubl.c): Likewise.
3072 (CFLAGS-test-test-fenv.c): Remove variable.
3073 (CFLAGS-test-misc.c): Likewise.
3075 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3078 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3079 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3080 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3081 CLOCKS_PER_SEC == 1000000.
3082 * time/clocktest.c (main): Replace %ld with %jd and cast to
3085 2015-01-05 Roland McGrath <roland@hack.frob.com>
3087 * sysdeps/generic/unwind-resume.h: New file.
3088 * sysdeps/gnu/unwind-resume.c: Include it.
3089 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3090 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3092 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3093 global rather than static.
3094 (_Unwind_Resume): Update user.
3095 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3096 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3097 rather than static. Add __attribute__ ((cold)).
3098 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3099 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3100 * sysdeps/arm/arm-unwind-resume.S: New file.
3101 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3102 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3103 * sysdeps/arm/Makefile [$(subdir) = csu]
3104 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3105 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3106 Add rt-arm-unwind-resume.
3108 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3109 Add pt-arm-unwind-resume.
3110 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3111 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3113 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3116 * include/fenv.h (__feholdexcept): Declare. Use
3118 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3119 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3120 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3121 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3122 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3123 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3124 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3125 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3126 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3127 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3128 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3129 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3130 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3131 (feholdexcept): Likewise.
3132 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3133 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3134 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3135 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3136 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3137 __feholdexcept instead of feholdexcept.
3138 (default_libc_feholdexcept_setround): Likewise.
3140 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3142 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3143 to avoid using stl/str to align destination.
3145 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3147 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3149 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3152 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3153 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3154 Define as weak alias not strong alias.
3156 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3158 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3159 bltzal with addiupc.
3160 (RTLD_START): Ditto.
3162 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3164 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3165 for __vdso_* functions in declarations.
3166 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3168 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3169 INTERNAL_VSYSCALL): Use struct return types to check for error.
3171 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3172 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3173 function with cast from llround().
3174 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3175 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3178 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3181 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3182 Define as weak alias not strong alias.
3185 * ctype/ctype-c99.c: New file. isblank implementation moved from
3187 * ctype/ctype-extn.c: ... here.
3188 (__isblank_l): Move to ...
3189 * ctype/ctype-c99_l.c: ... here. New file.
3190 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3191 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3193 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3194 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3195 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3196 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3197 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3200 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3201 (posix_fadvise64): Define as weak alias not strong alias.
3202 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3203 (posix_fallocate64): Likewise.
3204 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3206 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3207 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3208 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3209 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3210 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3212 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3215 * NEWS: Mention bug fix.
3216 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3217 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3218 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3219 (HOST_STACK_END_ADDR): Likewise.
3221 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3224 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3225 * math/fegetround.c (fegetround): Rename to __fegetround and
3226 define as weak alias of __fegetround. Use libm_hidden_weak.
3227 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3228 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3229 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3230 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3231 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3232 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3233 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3234 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3235 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3236 Undefine after rather than before function definition; use
3237 parentheses around function name in definition.
3238 (__fegetround): Also undefine macro after function definition.
3239 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3240 __fegetround and define as weak alias of __fegetround. Use
3241 libm_hidden_weak. Do not undefine as macro.
3242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3244 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3245 __fegetround and define as weak alias of __fegetround. Use
3247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3248 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3249 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3250 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3251 __fegetround and define as weak alias of __fegetround. Use
3253 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3254 __fegetround instead of fegetround.
3257 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3258 Condition macro definition on [__USE_MISC].
3261 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3262 (struct sigaction): Change type of sa_flags field to int.
3265 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3266 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3269 * nptl/version.c (banner): Use single year in copyright notice.
3271 * NEWS: Update copyright dates.
3272 * catgets/gencat.c (print_version): Likewise.
3273 * csu/version.c (banner): Likewise.
3274 * debug/catchsegv.sh: Likewise.
3275 * debug/pcprofiledump.c (print_version): Likewise.
3276 * debug/xtrace.sh (do_version): Likewise.
3277 * elf/ldconfig.c (print_version): Likewise.
3278 * elf/ldd.bash.in: Likewise.
3279 * elf/pldd.c (print_version): Likewise.
3280 * elf/sotruss.sh: Likewise.
3281 * elf/sprof.c (print_version): Likewise.
3282 * iconv/iconv_prog.c (print_version): Likewise.
3283 * iconv/iconvconfig.c (print_version): Likewise.
3284 * locale/programs/locale.c (print_version): Likewise.
3285 * locale/programs/localedef.c (print_version): Likewise.
3286 * login/programs/pt_chown.c (print_version): Likewise.
3287 * malloc/memusage.sh (do_version): Likewise.
3288 * malloc/memusagestat.c (print_version): Likewise.
3289 * malloc/mtrace.pl: Likewise.
3290 * manual/libc.texinfo: Likewise.
3291 * nptl/version.c (banner): Likewise.
3292 * nscd/nscd.c (print_version): Likewise.
3293 * nss/getent.c (print_version): Likewise.
3294 * nss/makedb.c (print_version): Likewise.
3295 * posix/getconf.c (main): Likewise.
3296 * scripts/test-installation.pl: Likewise.
3297 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3299 2015-01-02 Will Newton <will.newton@linaro.org>
3301 * sysdeps/arm/armv7/configure: Removed.
3302 * sysdeps/arm/armv7/configure.ac: Likewise.
3304 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3306 * All files with FSF copyright notices: Update copyright dates
3307 using scripts/update-copyrights.
3308 * intl/plural.c: Regenerated.
3309 * locale/programs/charmap-kw.h: Likewise.
3310 * locale/programs/locfile-kw.h: Likewise.
3312 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3314 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3316 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3319 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3320 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3321 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3322 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3323 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3324 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3325 define as weak alias of __fegetenv. Use libm_hidden_weak.
3326 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3327 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3328 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3329 define as weak alias of __fegetenv. Use libm_hidden_weak.
3330 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3331 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3332 define as weak alias of __fegetenv. Use libm_hidden_weak.
3333 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3335 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3338 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3339 define as weak alias of __fegetenv. Use libm_hidden_weak.
3340 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3341 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3342 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3343 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3344 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3345 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3346 __fegetenv instead of fegetenv.
3347 (libc_feholdsetround_noex_ctx): Likewise.
3349 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3351 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3352 (Elf_MIPS_ABIFlags_v0): New structure.
3353 (EF_MIPS_FP64): Define.
3354 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3355 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3356 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3357 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3358 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3359 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3360 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3361 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3362 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3363 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3364 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3365 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3366 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3367 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3368 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3369 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3370 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3371 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3372 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3373 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3374 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3375 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3377 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3379 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3380 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3381 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3382 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3383 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3384 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3385 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3386 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3387 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3388 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3389 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3390 record the current FP ABI extension.
3391 (mips-mode-switch): Define to show if kernel headers support mode
3393 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3394 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3395 supported SYSV ABI version to 3.
3396 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3399 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3400 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3404 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3406 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3408 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3409 __fegetround and redefine to call __fegetround. Remove condition
3410 on [!__NO_MATH_INLINES].
3411 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3413 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3414 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3417 instead of <fenv_libc.h>.
3418 (__llrintl): Call fegetround instead of __fegetround.
3419 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3420 instead of <fenv_libc.h>.
3421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3422 (__lrintl): Call fegetround instead of __fegetround.
3423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3424 instead of <fenv_libc.h>.
3425 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3426 (__rintl): Call fegetround instead of __fegetround.
3428 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3433 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3436 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3437 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3438 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3440 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3442 * sysdeps/i386/tls-macros.h: Include <features.h>.
3443 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3447 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3448 define for GCC >= 5.0.
3450 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3452 * math/test-fenv.c (test_single_exception, set_single_exc,
3453 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3454 feexcp_mask_test, feenable_test, fe_single_test): Add
3455 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3456 case where they are not used.
3457 * math/libm-test.inc: Likewise.
3458 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3459 unused in the absence of FP rounding/exception support.
3460 * stdio-common/tst-printf-round.c: Likewise.
3461 * stdlib/tst-strtod-round.c: Likewise.
3462 * stdlib/tst-strtod-underflow.c: Likewise.
3464 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3467 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3468 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3469 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3470 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3472 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3473 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3474 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3476 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3477 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3479 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3481 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3482 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3483 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3485 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3487 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3488 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3489 (__feraiseexcept): Likewise.
3490 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3491 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3493 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3494 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3496 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3497 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3498 Use libm_hidden_def.
3499 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3501 (feraiseexcept): Define as weak not strong alias. Use
3503 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3504 New inline function. Factored out of ...
3505 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3506 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3507 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3509 * math/w_acos.c (__acos): Likewise.
3510 * math/w_asin.c (__asin): Likewise.
3511 * math/w_ilogb.c (__ilogb): Likewise.
3512 * math/w_j0.c (y0): Likewise.
3513 * math/w_j1.c (y1): Likewise.
3514 * math/w_jn.c (yn): Likewise.
3515 * math/w_log.c (__log): Likewise.
3516 * math/w_log10.c (__log10): Likewise.
3517 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3518 * sysdeps/aarch64/fpu/math_private.h
3519 (libc_feupdateenv_test_aarch64): Likewise.
3520 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3521 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3522 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3523 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3524 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3525 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3526 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3527 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3528 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3529 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3531 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3534 * io/test-utime.c (main): Replace %ld with %jd and cast to
3536 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3537 * nptl/tst-mutex5.c: Include <stdint.h>.
3538 (do_test): Replace %ld with %jd and cast to intmax_t.
3539 * posix/tst-regex.c (run_test): Likewise.
3540 (run_test_backwards): Likewise.
3541 * rt/tst-clock.c: Include <stdint.h>.
3542 (clock_test): Replace %ld with %jd and cast to intmax_t.
3543 * rt/tst-cpuclock1.c: Include <stdint.h>.
3544 (do_test): Replace %lu with %ju and cast to uintmax_t.
3545 * rt/tst-cpuclock2.c: Include <stdint.h>.
3546 (do_test): Replace %lu with %ju and cast to uintmax_t.
3547 * rt/tst-mqueue1.c: Include <stdint.h>.
3548 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3549 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3551 * rt/tst-mqueue4.c (do_test): Likewise.
3552 * rt/tst-timer4.c: Include <stdint.h>.
3553 (check_ts): Replace %ld with %jd and cast to intmax_t.
3554 (do_test): Likewise.
3555 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3556 and cast to intmax_t.
3557 * sysdeps/pthread/tst-timer.c (main): Likewise.
3558 * time/clocktest.c (main): Likewise.
3559 * time/tst-posixtz.c (do_test): Likewise.
3560 * timezone/tst-timezone.c (main): Likewise.
3562 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3563 H.J. Lu <hongjiu.lu@intel.com>
3565 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3566 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3570 version if bit_Fast_Unaligned_Load is set.
3571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3578 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3579 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3580 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3582 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3583 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3584 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3585 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3587 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3589 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3590 instead of #if to avoid a Wundef warning.
3591 * stdlib/tst-limits.c (do_test): Likewise.
3593 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3594 parallel other exception macros.
3595 (fegetenv): Convert from macro to extern inline so that it applies
3596 retroactively to inline functions already seen by the compiler.
3597 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3599 * posix/Makefile (before-compile): Use $(objpfx) for
3600 posix-conf-vars-def.h.
3602 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3604 * posix/getconf.c (main): Use size_t for type of I.
3605 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3608 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3609 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3610 * posix/posix-envs.def: Likewise.
3611 * sysdeps/posix/sysconf.c: Likewise.
3612 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3613 (specs): Remove array.
3614 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3617 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3618 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3619 (__sysconf): Use CONF_IS_* macros.
3621 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3622 ($(objpfx)posix-conf-vars-def.h): New target.
3623 * posix/posix-conf-vars.list: New file.
3624 * posix/posix-conf-vars.h: New file.
3625 * posix/confstr.c: Include posix-conf-vars.h.
3626 (confstr): Use CONF_IS_* macros.
3627 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3629 * scripts/gen-posix-conf-vars.awk: New file.
3631 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3633 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3634 fegetround): Add no-op macros to avoid linknamespace issues.
3636 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3637 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3639 * sysdeps/unix/sysv/linux/tile/sysdep.h
3640 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3641 assembly-specific section to avoid a redefinition warning.
3643 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3644 long before casting to pointer to avoid a cast warning.
3646 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3648 * sysdeps/tile/tilegx/Implies: New file.
3650 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3652 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3654 2014-12-23 Florian Weimer <fweimer@redhat.com>
3656 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3658 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3662 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3663 <kernel-features.h>.
3664 (__utimes) [__NR_utimes]: Make code unconditional.
3665 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3667 (__ASSUME_UTIMES): Do not undefine.
3668 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3669 (__ASSUME_UTIMES): Likewise.
3670 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3671 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3672 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3673 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3675 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3677 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3679 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3682 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3683 alias to weak alias for j0l, y0l.
3684 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3685 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3688 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3691 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3693 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3694 to zero if not already defined.
3696 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3699 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3700 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3701 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3702 (char *) casts added.
3703 * sysdeps/ieee754/k_standardf.c: New file.
3704 * sysdeps/ieee754/k_standardl.c: Likewise.
3705 * math/Makefile (libm-support): Remove k_standard.
3706 (libm-calls): Add k_standard.
3708 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3710 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3711 Optimize to avoid an unnecessary FPCR read.
3713 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3715 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3716 Optimize to reduce FPCR/FPSR accesses.
3718 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3720 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3721 Call libc_fetestexcept_aarch64.
3723 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3725 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3726 Call libc_fesetround_aarch64.
3728 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3731 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3732 (__bind): Do not define as weak alias.
3733 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3735 (__getsockname): Do not define as weak alias.
3737 2014-12-22 Will Newton <will.newton@linaro.org>
3739 * manual/install.texi: Document that we require bison 2.7
3741 * INSTALL: Regenerate.
3742 * configure.ac: Use AC_CHECK_PROG_VER instead of
3743 AC_PATH_PROG when checking for bison and check for
3744 version 2.7 or above.
3745 * configure: Regenerate.
3747 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3750 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3751 * sysdeps/tile/ffsll.c (ffsll): To here.
3753 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3755 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3757 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3759 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3761 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3762 hidden ___tls_get_addr.
3763 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3764 hidden __tls_get_addr.
3765 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3766 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3769 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3771 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3774 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3776 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3777 from "call _dl_init@PLT".
3778 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3780 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3782 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3785 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3787 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3789 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3792 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3795 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3797 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3799 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3800 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3801 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3802 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3803 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3805 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3807 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3808 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3809 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3810 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3811 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3813 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3815 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3817 * string/strncat.c (STRNCAT): Simplify implementation.
3819 2014-12-19 David S. Miller <davem@davemloft.net>
3821 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3822 access the quad as both a long double and as a series of 4 words.
3824 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3825 link_map->l_info array access.
3827 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3829 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3831 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3832 * math/atest-exp2.c (TIMEOUT): Likewise.
3833 * math/atest-sincos.c (TIMEOUT): Likewise.
3835 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3837 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3838 -Wno-error with -fno-builtin-lround.
3840 2014-12-19 Torvald Riegel <triegel@redhat.com>
3842 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3843 Contains futex constants and functions moved over from ...
3844 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3845 <lowlevellock-futex.h>.
3846 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3847 (lll_timedwait_tid): Add comments and parentheses around macro
3850 2014-12-19 Torvald Riegel <triegel@redhat.com>
3852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3853 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3854 (__lll_private_flag): Remove.
3855 (lll_futex_wait): Likewise.
3856 (lll_futex_timed_wait): Likewise.
3857 (lll_futex_wake): Likewise.
3858 (lll_futex_requeue): Likewise.
3859 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3860 (__lll_timedwait_tid): Spell out argument names.
3861 (lll_timedwait_tid): Add comments and parentheses around macro
3863 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3864 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3866 2014-12-19 Torvald Riegel <triegel@redhat.com>
3868 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3869 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3870 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3871 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3872 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3873 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3874 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3875 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3876 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3877 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3878 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3879 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3880 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3881 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3882 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3883 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3884 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3885 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3886 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3888 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3890 * sysdeps/x86_64/x32/Makefile: New file.
3892 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3894 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3895 1L with (mp_limb_t) 1.
3897 2014-12-17 Roland McGrath <roland@hack.frob.com>
3899 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3900 * nptl/libc_pthread_init.c: ... here.
3901 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3902 * nptl/register-atfork.c: ... here.
3904 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3905 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3906 Use assert_perror to check its return value.
3907 (__gai_create_helper_thread): Likewise.
3909 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3911 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3913 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3916 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3918 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3920 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3922 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3924 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3925 (profil_counter): Likewise.
3926 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3927 (profil_counter): Likewise.
3928 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3930 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3932 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3933 (profil_counter): Likewise.
3934 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3936 [!__profil_counter] (profil_counter): Define as weak alias of
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3939 (profil_counter): Rename to __profil_counter.
3940 [!__profil_counter] (profil_counter): Define as weak alias of
3942 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3943 (profil_counter): Rename to __profil_counter.
3944 [!__profil_counter] (profil_counter): Define as weak alias of
3946 * sysdeps/posix/profil.c: Update comment referring to
3948 (__profil): Use __profil_counter instead of profil_counter.
3949 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3950 __profil_counter. Use __profil_counter_ushort and
3951 __profil_counter_uint in definitions.
3952 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3953 instead of profil_counter_uint and profil_counter_ushort.
3956 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3957 define as weak alias of __inet_makeaddr.
3958 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3959 as weak alias of __inet_addr.
3960 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3961 as weak alias of __inet_pton. Use libc_hidden_weak.
3962 * include/arpa/inet.h (__inet_pton): Declare. Use
3964 (inet_makeaddr): Don't use libc_hidden_proto.
3965 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3966 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3967 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3968 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3970 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3971 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3973 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3975 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3977 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3979 * stdio-common/bug-vfprintf-nargs.c (do_test):
3980 Cast value to intptr_t to avoid format warning
3981 for usage with PRIdPTR printing macro.
3983 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3985 * libio/tst-widetext.c (do_test):
3986 Use format type %td instead of %Zd for ptrdiff_t
3987 in order to avoid format warning.
3989 2014-12-17 Andreas Schwab <schwab@suse.de>
3991 * nscd/mem.c (gc): Add size_t cast to match printf format.
3993 2014-12-16 Roland McGrath <roland@hack.frob.com>
3995 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3996 (init): Apply PTR_MANGLE to pointers before storing them.
3997 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4000 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4003 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4004 define as weak alias of __memrchr.
4005 (__memrchr): Do not define as strong alias of memrchr.
4006 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4008 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4009 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4010 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4013 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4014 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4015 (if_indextoname): Rename to __if_indextoname and define as weak
4016 alias of __if_indextoname. Use libc_hidden_weak.
4017 (if_freenameindex): Rename to __if_freenameindex and define as
4018 weak alias of __if_freenameindex.
4019 (if_nameindex): Rename to __if_nameindex and define as weak alias
4021 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4022 __if_nametoindex and define as weak alias of __if_nametoindex.
4023 Use libc_hidden_weak.
4024 (if_freenameindex): Rename to __if_freenameindex and define as
4025 weak alias of __if_freenameindex.
4026 (if_nameindex): Rename to __if_nameindex and define as weak alias
4028 (if_indextoname): Rename to __if_indextoname and define as weak
4029 alias of __if_indextoname. Use libc_hidden_weak.
4030 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4031 __if_nametoindex and define as weak alias of __if_nametoindex.
4032 Use libc_hidden_weak.
4033 (if_freenameindex): Rename to __if_freenameindex and define as
4034 weak alias of __if_freenameindex. Use libc_hidden_weak.
4035 (if_nameindex_netlink): Use __if_freenameindex instead of
4037 (if_nameindex): Rename to __if_nameindex and define as weak alias
4038 of __if_nameindex. Use libc_hidden_weak.
4039 (if_indextoname): Rename to __if_indextoname and define as weak
4040 alias of __if_indextoname. Use libc_hidden_weak.
4041 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4043 [!_ISOMAC] (__if_freenameindex): Likewise.
4044 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4046 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4048 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4049 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4050 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4051 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4052 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4053 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4054 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4056 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4058 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4059 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4061 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4063 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4064 subscript above bounds'
4066 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4069 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4071 * libio/tst-fopenloc.c: Use test-skeleton.c.
4073 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4074 (entry): Rename to ITEM.
4075 (do_test, comp): Adjust.
4077 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4079 2014-12-16 Torvald Riegel <triegel@redhat.com>
4081 * string/tester.c: Include <libc-internal.h>.
4082 (test_memset): Ignore -Wmemset-transposed-args.
4084 2014-12-16 Torvald Riegel <triegel@redhat.com>
4086 * misc/tst-mntent2.c (do_test): Fix warning.
4088 2014-12-16 Torvald Riegel <triegel@redhat.com>
4090 * elf/tst-unique4lib.cc(a): Mark as used.
4092 2014-12-16 Florian Weimer <fweimer@redhat.com>
4095 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4098 2014-12-16 Allan McRae <allan@archlinux.org>
4100 * stdio-common/Makefile (tests): Re-add bug26.
4102 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4105 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4108 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4110 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4111 (__lll_lock_wait): Likewise.
4112 (__lll_timedlock_wait): Likewise.
4113 (__lll_timedwait_tid): Likewise.
4114 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4115 (__lll_robust_timedlock_wait): Likewise.
4116 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4117 (lll_cond_trylock): Likewise.
4118 (__lll_lock): Likewise.
4119 (__lll_robust_lock): Likewise.
4120 (__lll_cond_lock): Likewise.
4121 (lll_robust_cond_lock): Likewise.
4122 (__lll_timedlock): Likewise.
4123 (__lll_robust_timedlock): Likewise.
4124 (__lll_unlock): Likewise.
4125 (__lll_robust_unlock): Likewise.
4126 (lll_wait_tid): Likewise.
4127 (lll_timedwait_tid): Likewise.
4129 2014-12-15 Torvald Riegel <triegel@redhat.com>
4131 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4133 2014-12-15 Torvald Riegel <triegel@redhat.com>
4135 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4137 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4139 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4140 * stdio-common/tst-sprintf.c: Likewise.
4142 2014-12-15 Torvald Riegel <triegel@redhat.com>
4144 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4146 2014-12-15 Jeff Law <law@redhat.com>
4149 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4150 on the heap. (CVE-2012-3406)
4151 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4152 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4153 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4155 2014-12-15 Will Newton <will.newton@linaro.org>
4157 * manual/install.texi: Bump required version of texinfo
4159 * INSTALL: Regenerated.
4160 * configure.ac: Check for makeinfo version 4.7 and above.
4161 * configure: Regenerated.
4163 2014-12-12 Roland McGrath <roland@hack.frob.com>
4165 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4166 PREFIX, string constant to insert between directory and name.
4167 * sysdeps/posix/shm_open.c: Update caller.
4168 * sysdeps/posix/shm_unlink.c: Likewise.
4169 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4170 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4171 (SEM_SHM_PREFIX): New macro.
4172 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4173 [$(have-thread-library) = no].
4174 * nptl/Makefile (libpthread-routines): Add shm-directory.
4175 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4176 * sysdeps/nptl/shm-directory.h: New file.
4177 * sysdeps/posix/shm-directory.c
4178 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4179 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4180 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4182 (__where_is_shmfs): Function removed.
4183 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4185 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4187 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4189 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4190 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4191 unconditional for use inside libpthread.
4192 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4194 2014-12-12 Roland McGrath <roland@hack.frob.com>
4196 * nptl/pthread_getaffinity.c: New file.
4197 * nptl/pthread_setaffinity.c: New file.
4198 * nptl/pthread_getname.c: New file.
4199 * nptl/pthread_setname.c: New file.
4201 * nptl/pthread_create.c (START_THREAD_DEFN)
4202 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4204 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4205 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4207 * resolv/res_send.c (send_vc): Disable warning resplen may
4208 be used uninitialized.
4210 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4213 (ATTR_NULL): New define checks ATTR against NULL.
4214 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4215 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4217 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4221 (mem2mem_check): Revert my previous change.
4222 (malloc_check_get_size): Revert my previous change.
4223 (mem2chunk_check): Revert my previous change.
4225 2014-12-11 Roland McGrath <roland@hack.frob.com>
4227 * sysdeps/posix/shm-directory.c: New file.
4228 * sysdeps/posix/shm-directory.h: New file.
4229 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4230 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4231 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4232 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4233 Transmute EPERM to EACCES.
4234 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4236 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4237 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4239 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4241 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4242 pointer and cast to uintptr_t.
4243 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4244 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4245 Add cast to avoid warning.
4246 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4248 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4250 * nptl/semaphore.h: Move to ...
4251 * sysdeps/pthread/semaphore.h: ... here.
4252 * Makefile (installed-headers): Change nptl/semaphore.h to
4253 sysdeps/pthread/semaphore.h.
4255 2014-12-11 Roland McGrath <roland@hack.frob.com>
4257 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4258 generated error format strings.
4260 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4261 -Wformat-extra-args warnings for scanf formats.
4262 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4263 test of zero-length format (duh).
4264 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4265 corner-case scanf format test.
4266 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4267 generated fprintf format string.
4268 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4269 corner-case sprintf format tests.
4270 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4271 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4272 -Wformat-extra-args warnings throughout.
4273 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4274 (CFLAGS-scanf4.c): Likewise.
4275 (CFLAGS-scanf7.c): Likewise.
4276 (CFLAGS-tst-sprintf.c): Likewise.
4277 (CFLAGS-tst-printf.c): Likewise.
4278 (CFLAGS-tst-printfsz.c): Likewise.
4280 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4282 * include/cpio.h: New file.
4283 * include/fmtmsg.h: Likewise.
4285 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4286 corresponding format argument to size_t.
4287 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4289 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4290 corresponding format argument to size_t.
4291 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4293 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4294 corresponding format argument to size_t.
4295 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4296 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4297 (CFLAGS-tst-mbswcs2.c): Likewise.
4298 (CFLAGS-tst-mbswcs3.c): Likewise.
4299 (CFLAGS-tst-mbswcs4.c): Likewise.
4300 (CFLAGS-tst-mbswcs5.c): Likewise.
4301 (CFLAGS-tst-trans.c): Likewise
4303 2014-12-11 Roland McGrath <roland@hack.frob.com>
4305 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4306 rather than assuming they won't contain any '%'s.
4308 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4310 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4311 inhibit_loop_to_libcall to avoid recursive calls.
4312 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4313 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4315 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4317 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4320 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4322 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4323 integer value instead of boolean.
4325 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4327 * malloc/malloc.c: Fix powerof2 check.
4329 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4331 * locale/programs/locfile.h (maybe_swap_uint32):
4332 Remove inline and add unused attribute.
4334 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4337 Truncating assembler expression to a .long expression.
4339 2014-12-11 Andreas Schwab <schwab@suse.de>
4341 * elf/rtld.c (struct map_args): Constify str member.
4342 (do_preload): Constify fname argument.
4344 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4346 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4347 constants definition.
4349 2014-12-11 Andreas Schwab <schwab@suse.de>
4352 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4353 FORCE_ELISION instead of DO_ELISION.
4354 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4356 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4359 * iconvdata/gconv-modules: Remove duplicate entry.
4361 2014-12-11 Will Newton <will.newton@linaro.org>
4363 Merge gettext 0.19.3 into intl/.
4365 This involves a number of cosmetic changes to comments
4366 and ANSI function definitions and prototypes throughout
4367 all the files. The gettext copyright header is used but
4368 with the date ranges taken from the glibc copy.
4370 * NEWS: Add gettext merge to 2.21.
4371 * intl/bindtextdom.c: Switch to gettext copyright.
4372 Use ANSI definitions and prototypes.
4373 Use gl_* locking primitives rather than __libc_* ones.
4374 Use __builtin_expect rather than __glibc_likely/unlikely.
4375 * intl/dcgettext.c: Switch to gettext copyright.
4376 Use ANSI definitions and prototypes.
4377 * intl/dcigettext.c: Switch to gettext copyright.
4378 Use ANSI definitions and prototypes.
4379 (INTDIV0_RAISES_SIGFPE): New define.
4380 Use gl_* locking primitives rather than __libc_* ones.
4381 Include eval-plural.h instead of plural-eval.c.
4382 Use __builtin_expect rather than __glibc_likely/unlikely.
4383 * intl/dcngettext.c: Switch to gettext copyright.
4384 Use ANSI definitions and prototypes.
4385 * intl/dgettext.c: Likewise.
4386 * intl/dngettext.c: Likewise.
4387 * intl/plural-eval.c: Renamed to...
4388 * intl/eval-plural.h: ...this.
4389 * intl/explodename.c: Switch to gettext copyright.
4390 Use ANSI definitions and prototypes.
4391 (_nl_explode_name): Use strchr instead of __rawmemchr.
4392 * intl/finddomain.c: Switch to gettext copyright.
4393 Use ANSI definitions and prototypes.
4394 Use gl_* locking primitives rather than __libc_* ones.
4395 (_nl_find_domain): Use malloc rather than alloca for
4396 allocation of temporary locale name.
4397 * intl/gettext.c: Switch to gettext copyright.
4398 Use ANSI definitions and prototypes.
4399 * intl/gettextP.h: Switch to gettext copyright.
4400 Use ANSI definitions and prototypes.
4401 Use gl_* locking primitives rather than __libc_* ones.
4402 * intl/gmo.h: Switch to gettext copyright.
4403 (struct sysdep_string): Move struct segment_pair outside of
4405 * intl/hash-string.c: Use ANSI definitions and prototypes.
4406 * intl/hash-string.h: Switch to gettext copyright.
4407 Use ANSI definitions and prototypes.
4408 * intl/l10nflist.c: Switch to gettext copyright.
4409 Use ANSI definitions and prototypes.
4410 (_nl_normalize_codeset): Avoid integer overflow.
4411 * intl/loadinfo.h: Switch to gettext copyright.
4412 Use ANSI definitions and prototypes.
4413 (LIBINTL_DLL_EXPORTED): New define.
4414 (PATH_SEPARATOR): New define.
4415 * intl/loadmsgcat.c: Switch to gettext copyright.
4416 * intl/localealias.c: Switch to gettext copyright.
4417 Use ANSI definitions and prototypes.
4418 (_nl_expand_alias): Use PATH_SEPARATOR.
4419 * intl/ngettext.c: Switch to gettext copyright.
4420 Use ANSI definitions and prototypes.
4421 * intl/plural-exp.c: Likewise.
4422 * intl/plural-exp.h: Switch to gettext copyright.
4423 Use ANSI definitions and prototypes.
4424 (struct expression): Move definition of enum operator outside
4425 of struct definition.
4426 * intl/plural.c: Regenerate.
4427 * intl/plural.y: Switch to gettext copyright.
4428 Use ANSI definitions and prototypes.
4430 * intl/textdomain.c: Switch to gettext copyright.
4431 Use ANSI definitions and prototypes.
4432 Use gl_* locking primitives rather than __libc_* ones.
4434 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4436 * debug/warning-nop.c: Add used atrribute.
4438 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4440 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4442 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4443 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4444 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4446 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4447 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4450 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4451 Undefine after defining function. Define as weak alias of
4452 __wcschr. Use libc_hidden_weak.
4453 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4454 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4455 (libc_hidden_def): Also define __GI___wcschr alias.
4456 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4457 __wcschr and define as weak alias of __wcschr.
4458 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4460 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4461 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4462 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4463 libc_hidden_weak. Do not use libc_hidden_def.
4464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4465 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4466 __GI___wcschr alias.
4467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4468 [IS_IN (libc)] (wcschr): Define as macro expanding to
4470 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4471 [IS_IN (libc)] (__wcschr_power6): Likewise.
4472 [IS_IN (libc)] (__wcschr_power7): Likewise.
4473 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4475 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4477 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4478 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4479 __wcschr and define as weak alias of __wcschr. Use
4480 libc_hidden_builtin_def.
4481 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4482 as weak alias of __wcschr. Use libc_hidden_weak.
4483 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4485 * time/era.c (_nl_init_era_entries): Likewise.
4486 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4488 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4489 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4491 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4493 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4494 format for long int variable.
4496 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4499 * manual/search.texi: (Array Sort Function): Remove claim how to make
4502 2014-12-10 Andreas Schwab <schwab@suse.de>
4505 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4506 user-controlled locks.
4508 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4510 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4513 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4515 * configure.ac (--disable-werror): New configure option.
4516 (enable_werror): New AC_SUBST.
4517 * configure: Regenerated.
4518 * config.make.in (enable-werror): New variable.
4519 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4521 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4522 * manual/install.texi (Configuring and compiling): Document
4524 * INSTALL: Regenerated.
4525 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4526 (CFLAGS-tst-chk2.c): Likewise.
4527 (CFLAGS-tst-chk3.c): Likewise.
4528 (CFLAGS-tst-chk4.cc): Likewise.
4529 (CFLAGS-tst-chk5.cc): Likewise.
4530 (CFLAGS-tst-chk6.cc): Likewise.
4531 (CFLAGS-tst-lfschk1.c): Likewise.
4532 (CFLAGS-tst-lfschk2.c): Likewise.
4533 (CFLAGS-tst-lfschk3.c): Likewise.
4534 (CFLAGS-tst-lfschk4.cc): Likewise.
4535 (CFLAGS-tst-lfschk5.cc): Likewise.
4536 (CFLAGS-tst-lfschk6.cc): Likewise.
4538 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4539 (main): Disable -Wdeprecated-declarations around calls to
4540 register_printf_function.
4542 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4543 (do_test): Disable -Wdiv-by-zero around some calls to
4544 fwrite_unlocked and fread_unlocked.
4546 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4547 (DIAG_POP_NEEDS_COMMENT): Likewise.
4548 (_DIAG_STR1): Likewise.
4549 (_DIAG_STR): Likewise.
4550 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4551 * stdio-common/bug21.c: Include <libc-internal.h>.
4552 (do_test): Disable -Wformat around call to sscanf.
4553 * stdio-common/scanf14.c: Include <libc-internal.h>.
4554 (main): Disable -Wformat around some calls to scanf functions.
4556 2014-12-09 Torvald Riegel <triegel@redhat.com>
4558 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4560 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4563 stack variable alignment.
4565 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4568 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4569 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4570 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4571 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4572 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4573 __getrlimit instead of getrlimit.
4574 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4575 __gettimeofday instead of gettimeofday.
4576 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4578 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4580 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4581 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4583 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4584 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4586 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4589 for wide-character tests.
4591 2014-12-04 Roland McGrath <roland@hack.frob.com>
4593 * io/openat64.c: #include <libc-internal.h>
4594 (__openat64): Prototypify. Use ignore_value on MODE.
4595 * io/openat.c: Likewise.
4596 * misc/reboot.c: #include <libc-internal.h>
4597 (reboot): Prototypify. Use ignore_value on HOWTO.
4598 * misc/ptrace.c: #include <libc-internal.h>
4599 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4601 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4603 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4604 XPG4, UNIX98 and XOPEN2K.
4605 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4607 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4609 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4611 * libio/fileops.c: Use ISO C style for function definitions.
4612 * libio/iofopen.c: Likewise.
4613 * libio/wfileops.c: Likewise.
4616 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4618 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4619 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4620 (fgets_func): Function pointer to fgets and fgetws.
4621 (do_ftell_test): Add test to verify ftell value after read
4623 (do_test): Set fgets_func.
4625 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4626 O_TRUNC flag for w and w+ modes.
4627 (do_rewind_test): Likewise.
4628 (do_ftell_test): Likewise.
4629 (do_write_test): Likewise.
4632 * libio/fileops.c (do_ftell): Seek only when there are
4634 * libio/wfileops.c (do_ftell_wide): Likewise.
4635 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4637 (do_one_test): Call it.
4639 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4641 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4642 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4643 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4645 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4646 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4647 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4649 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4651 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4653 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4656 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4657 as weak alias of __getifaddrs. Use libc_hidden_weak.
4658 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4659 __freeifaddrs. Use libc_hidden_weak.
4660 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4661 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4662 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4663 __freeifaddrs. Use libc_hidden_weak.
4664 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4665 __getifaddrs and define as weak alias of __getifaddrs. Use
4667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4668 __freeifaddrs. Use libc_hidden_weak.
4669 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4671 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4672 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4674 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4677 * sysdeps/mips/start.S (__start): Use indirect jump to call
4680 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4682 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4684 * nptl/tst-mutex1.c: Include <stdbool.h>.
4685 [!ATTR] (ATTR_NULL): New macro.
4686 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4687 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4688 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4690 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4694 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4695 Change conditional to [__USE_MISC].
4698 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4700 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4702 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4704 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4706 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4707 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4708 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4709 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4710 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4711 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4712 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4713 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4714 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4716 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4718 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4721 Remove strpbrk objects.
4722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4723 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4724 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4725 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4726 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4727 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4730 Remove strcspn objects.
4731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4732 (__libc_ifunc_impl_list): Remove strcspn implementation.
4733 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4734 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4735 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4736 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4739 Remove strspn objetcs.
4740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4741 (__libc_ifunc_impl_list): Remove strspn implementation.
4742 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4743 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4744 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4745 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4747 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4751 (mem2mem_check): Add a terminator to the chain of checking blocks.
4752 (malloc_check_get_size): Use it here.
4753 (mem2chunk_check): Ditto.
4755 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4757 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4758 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4760 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4762 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4764 * nptl/nptl-init.c: Include libc-internal.h.
4765 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4767 * elf/ldconfig.c (search_dir): Expand comment.
4769 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4771 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4773 (linknamespace-symlist-stdlibs-tests): Likewise.
4774 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4775 instead of $(objpfx)symlist-stdlibs.
4776 (linknamespace-libs-isoc): New variable.
4777 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4778 (linknamespace-libs-ISO): New variable.
4779 (linknamespace-libs-ISO99): Likewise.
4780 (linknamespace-libs-ISO11): Likewise.
4781 (linknamespace-libs-XPG3): Likewise.
4782 (linknamespace-libs-XPG4): Likewise.
4783 (linknamespace-libs-POSIX): Likewise.
4784 (linknamespace-libs-UNIX98): Likewise.
4785 (linknamespace-libs-XOPEN2K): Likewise.
4786 (linknamespace-libs-POSIX2008): Likewise.
4787 (linknamespace-libs-XOPEN2K8): Likewise.
4788 ($(objpfx)symlist-stdlibs): Replace by
4789 $(linknamespace-symlist-stdlibs-tests). Use
4790 $(linknamespace-libs-$*) as set of libraries.
4791 ($(linknamespace-header-tests)): Update dependencies. Use
4792 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4793 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4794 * conform/linknamespace.pl: Remove comment about considering
4795 definitions of symbols from irrelevant libraries.
4797 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4800 * elf/dl-tls.c: Include <atomic.h>.
4801 (oom): Remove #ifdef SHARED/#endif.
4802 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4803 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4804 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4806 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4807 * nptl/Makefile (tests): Add tst-stack4.
4808 (modules-names): Add tst-stack4mod.
4809 ($(objpfx)tst-stack4): New.
4810 (tst-stack4mod.sos): Likewise.
4811 ($(objpfx)tst-stack4.out): Likewise.
4812 ($(tst-stack4mod.sos)): Likewise.
4814 * nptl/tst-stack4.c: New file.
4815 * nptl/tst-stack4mod.c: Likewise.
4817 2014-11-27 J. Brown <jb999@gmx.de>
4819 * sysdeps/x86/bits/string.h: Add recent CPUs.
4821 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4823 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4826 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4829 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4832 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4834 * nscd/connections.c: Include libc-internal.h because of macro
4837 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4839 * string/bits/string3.h (__warn_memset_zero_len): Don't
4840 declare for gcc newer than 5.0.
4841 (memset): Don't test for zero-length __LEN for gcc newer than
4844 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4846 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4847 size_t for %zu format.
4849 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4850 difference, not %ju.
4852 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4854 * include/libc-internal.h (ignore_value): New macro.
4855 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4858 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4861 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4862 pthread_cleanup_push to void *.
4864 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4870 instead of 1L << 52.
4872 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4873 * libio/bug-rewind2.c (do_test): Likewise.
4875 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4876 * debug/test-strcpy_chk-ifunc.c: Likewise.
4877 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4878 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4879 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4880 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4881 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4882 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4883 * Rules [$(multi-arch) = no] (tests): Do not filter out
4885 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4886 * debug/Makefile (tests-ifunc): Remove variable.
4887 (tests): Do not add $(tests-ifunc).
4888 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4889 (tests): Do not add $(tests-ifunc).
4890 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4891 [TEST_IFUNC]: Remove conditionals.
4892 * string/test-string.h (TEST_IFUNC): Remove macro.
4893 [TEST_IFUNC]: Remove conditionals.
4895 * string/test-strchr.c [!WIDE] (L): New macro.
4896 [WIDE] (L): Likewise.
4897 (check1): Use CHAR instead of char. Use L on string and character
4900 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4902 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4904 * sysdeps/powerpc/bits/atomic.h
4905 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4906 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4907 (atomic_exchange_and_add_acq): Likewise.
4908 (atomic_exchange_and_add_rel): Likewise.
4909 * sysdeps/powerpc/powerpc32/bits/atomic.h
4910 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4911 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4912 * sysdeps/powerpc/powerpc64/bits/atomic.h
4913 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4914 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4916 2014-11-26 Torvald Riegel <triegel@redhat.com>
4918 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4919 Change synchronization of __sched_fifo_min_prio and
4920 __sched_fifo_max_prio.
4921 * nptl/pthread_mutexattr_getprioceiling.c
4922 (pthread_mutexattr_getprioceiling): Likewise.
4923 * nptl/pthread_mutexattr_setprioceiling.c
4924 (pthread_mutexattr_setprioceiling): Likewise.
4925 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4926 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4929 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4931 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4934 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4936 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4937 third argument const.
4939 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4941 fnmatch: work around GCC compiler warning bug with uninit var
4942 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4943 This works around a bug with x86-64 GCC 4.9.2 and earlier
4944 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4945 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4946 used uninitialized in this function [-Wmaybe-uninitialized]".
4948 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4950 * posix/bug-regex31.c (main): Return RES not 0.
4952 2014-11-25 Anton Blanchard <anton@samba.org>
4954 * sysdeps/powerpc/bits/atomic.h
4955 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4957 2014-11-24 Sterling Augustine <saugustine@google.com>
4959 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4961 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4964 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4966 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4969 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4970 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4972 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4973 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4975 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4977 * string/strncpy.c (strncpy): Improve performance by using memset.
4979 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4981 * string/strcpy.c (strcpy):
4982 Improve performance by using strlen and memcpy.
4984 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4986 * string/strcoll_l.c (get_next_seq): __always_inline.
4987 * string/strcoll_l.c (do_compare): __always_inline.
4989 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4991 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4993 * include/mqueue.h: Likewise.
4994 * include/stdlib.h: Likewise.
4996 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4997 (get_null_defines): Adjust.
4998 * sunrpc/Makefile: Adjust comment.
4999 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5000 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5001 (CFLAGS-interp.c): Likewise.
5002 (CFLAGS-ldconfig.c): Likewise.
5003 (CPPFLAGS-.os): Likewise.
5004 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5005 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5006 * extra-modules.mk (extra-modules.mk): Likewise.
5007 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5008 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5009 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5010 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5011 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5012 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5013 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5014 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5015 * iconvdata/Makefile (CPPFLAGS): Likewise.
5016 (cpp-srcs-left): Add libof for all iconvdata routines.
5017 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5018 * include/assert.h: Likewise.
5019 * include/ctype.h: Likewise.
5020 * include/errno.h: Likewise.
5021 * include/libc-symbols.h: Likewise.
5022 * include/math.h: Likewise.
5023 * include/netdb.h: Likewise.
5024 * include/resolv.h: Likewise.
5025 * include/stdio.h: Likewise.
5026 * include/stdlib.h: Likewise.
5027 * include/string.h: Likewise.
5028 * include/sys/stat.h: Likewise.
5029 * include/wctype.h: Likewise.
5030 * intl/l10nflist.c: Likewise.
5031 * libidn/idn-stub.c: Likewise.
5032 * libio/libioP.h: Likewise.
5033 * nptl/libc_multiple_threads.c: Likewise.
5034 * nptl/pthreadP.h: Likewise.
5035 * posix/regex_internal.h: Likewise.
5036 * resolv/res_hconf.c: Likewise.
5037 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5038 * sysdeps/arm/memmove.S: Likewise.
5039 * sysdeps/arm/sysdep.h: Likewise.
5040 * sysdeps/generic/_itoa.h: Likewise.
5041 * sysdeps/generic/symbol-hacks.h: Likewise.
5042 * sysdeps/gnu/errlist.awk: Likewise.
5043 * sysdeps/gnu/errlist.c: Likewise.
5044 * sysdeps/i386/i586/memcpy.S: Likewise.
5045 * sysdeps/i386/i586/memset.S: Likewise.
5046 * sysdeps/i386/i686/memcpy.S: Likewise.
5047 * sysdeps/i386/i686/memmove.S: Likewise.
5048 * sysdeps/i386/i686/mempcpy.S: Likewise.
5049 * sysdeps/i386/i686/memset.S: Likewise.
5050 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5051 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5052 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5053 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5054 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5055 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5056 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5066 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5067 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5068 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5069 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5070 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5071 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5076 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5079 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5080 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5090 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5093 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5096 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5097 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5101 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5104 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5105 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5106 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5107 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5108 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5112 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5113 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5114 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5115 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5116 * sysdeps/posix/closedir.c: Likewise.
5117 * sysdeps/posix/opendir.c: Likewise.
5118 * sysdeps/posix/readdir.c: Likewise.
5119 * sysdeps/posix/rewinddir.c: Likewise.
5120 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5121 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5122 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5123 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5124 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5129 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5131 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5132 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5133 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5135 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5136 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5137 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5139 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5140 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5141 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5142 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5146 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5148 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5155 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5156 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5157 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5158 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5159 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5160 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5161 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5162 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5163 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5164 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5166 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5167 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5168 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5172 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5173 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5178 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5179 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5180 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5181 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5183 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5184 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5185 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5186 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5187 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5189 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5191 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5192 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5193 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5194 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5195 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5197 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5199 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5200 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5201 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5202 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5203 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5204 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5206 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5207 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5208 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5209 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5210 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5211 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5212 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5216 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5218 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5219 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5221 * sysdeps/unix/alpha/sysdep.S: Likewise.
5222 * sysdeps/unix/alpha/sysdep.h: Likewise.
5223 * sysdeps/unix/make-syscalls.sh: Likewise.
5224 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5225 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5226 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5227 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5228 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5229 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5230 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5231 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5232 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5233 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5235 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5237 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5238 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5239 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5240 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5241 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5242 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5243 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5244 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5245 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5246 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5247 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5248 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5249 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5250 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5253 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5254 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5258 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5262 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5263 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5264 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5265 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5266 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5267 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5274 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5275 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5276 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5277 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5278 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5280 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5282 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5283 * sysdeps/x86_64/memcpy.S: Likewise.
5284 * sysdeps/x86_64/memmove.c: Likewise.
5285 * sysdeps/x86_64/memset.S: Likewise.
5286 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5288 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5289 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5290 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5293 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5294 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5295 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5296 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5298 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5303 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5305 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5306 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5307 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5310 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5311 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5312 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5313 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5314 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5315 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5316 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5317 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5318 * sysdeps/x86_64/strcmp.S: Likewise.
5320 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5322 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5323 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5324 * elf/rtld-Rules: Likewise.
5325 * elf/setup-vdso.h: Likewise.
5326 * include/assert.h: Likewise.
5327 * include/bits/stdlib-float.h: Likewise.
5328 * include/errno.h: Likewise.
5329 * include/sys/stat.h: Likewise.
5330 * include/unistd.h: Likewise.
5331 * sysdeps/aarch64/setjmp.S: Likewise.
5332 * sysdeps/alpha/setjmp.S: Likewise.
5333 * sysdeps/arm/__longjmp.S: Likewise.
5334 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5335 * sysdeps/arm/setjmp.S: Likewise.
5336 * sysdeps/arm/sysdep.h: Likewise.
5337 * sysdeps/generic/_itoa.h: Likewise.
5338 * sysdeps/generic/dl-sysdep.h: Likewise.
5339 * sysdeps/generic/ldsodefs.h: Likewise.
5340 * sysdeps/i386/dl-tls.h: Likewise.
5341 * sysdeps/i386/setjmp.S: Likewise.
5342 * sysdeps/m68k/setjmp.c: Likewise.
5343 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5344 * sysdeps/mach/hurd/opendir.c: Likewise.
5345 * sysdeps/posix/getcwd.c: Likewise.
5346 * sysdeps/posix/opendir.c: Likewise.
5347 * sysdeps/posix/profil.c: Likewise.
5348 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5350 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5351 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5352 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5355 * sysdeps/s390/dl-tls.h: Likewise.
5356 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5357 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5358 * sysdeps/sh/sh3/setjmp.S: Likewise.
5359 * sysdeps/sh/sh4/setjmp.S: Likewise.
5360 * sysdeps/unix/alpha/sysdep.h: Likewise.
5361 * sysdeps/unix/arm/sysdep.S: Likewise.
5362 * sysdeps/unix/i386/sysdep.S: Likewise.
5363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5364 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5365 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5368 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5369 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5370 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5372 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5373 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5374 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5375 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5382 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5383 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5387 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5391 * sysdeps/x86_64/setjmp.S: Likewise.
5393 * include/math.h: Use IS_IN instead of IS_IN_libm.
5394 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5403 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5404 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5405 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5406 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5407 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5408 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5409 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5410 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5414 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5415 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5416 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5417 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5418 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5419 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5421 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5422 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5423 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5425 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5437 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5438 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5439 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5440 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5441 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5442 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5448 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5450 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5451 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5456 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5457 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5458 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5461 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5463 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5465 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5466 * nptl/pthreadP.h: Likewise.
5467 * nptl_db/structs.def: Likewise.
5468 * sysdeps/arm/sysdep.h: Likewise.
5469 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5470 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5471 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5472 * sysdeps/unix/alpha/sysdep.h: Likewise.
5473 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5475 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5477 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5478 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5480 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5481 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5482 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5483 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5484 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5485 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5486 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5491 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5494 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5495 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5496 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5497 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5498 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5500 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5501 * nptl/pthreadP.h: Likewise.
5502 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5503 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5505 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5506 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5507 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5508 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5509 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5510 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5511 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5512 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5513 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5520 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5523 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5524 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5525 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5527 * dlfcn/dladdr.c: Use IS_IN.
5528 * dlfcn/dladdr1.c: Likewise.
5529 * dlfcn/dlclose.c: Likewise.
5530 * dlfcn/dlerror.c: Likewise.
5531 * dlfcn/dlinfo.c: Likewise.
5532 * dlfcn/dlmopen.c: Likewise.
5533 * dlfcn/dlopen.c: Likewise.
5534 * dlfcn/dlsym.c: Likewise.
5535 * dlfcn/dlvsym.c: Likewise.
5537 * include/ifaddrs.h: Use IS_IN.
5538 * inet/check_pf.c: Likewise.
5539 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5540 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5542 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5544 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5545 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5547 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5548 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5551 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5553 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5555 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5556 * include/libc-symbols.h (IS_IN_LIB): New macro.
5557 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5558 * include/netdb.h: Likewise.
5559 * include/stap-probe.h: Remove all uses of IN_LIB.
5561 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5562 instead of IN_MODULE.
5563 * include/libc-symbols.h (IN_MODULE): Define using
5565 (PASTE_NAME, PASTE_NAME1): New macros.
5566 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5568 (STAP_PROBE_ASM): Likewise.
5570 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5572 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5573 __mach_init in dlopened libc.
5575 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5577 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5578 * sysdeps/arm/preconfigure: Regenerate.
5580 2014-11-21 Roland McGrath <roland@hack.frob.com>
5582 * nptl/pthread_create.c (__pthread_create_2_1): Set
5583 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5584 when copying values from IATTR into PD.
5586 2014-11-21 Will Newton <will.newton@linaro.org>
5587 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5589 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5590 Refactor inline-asm. Also add comment.
5592 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5593 ElfW macro instead of hardcoded Elf64 types.
5594 (la_aarch64_gnu_pltenter): Likewise.
5595 * sysdeps/aarch64/dl-machine.h
5596 (elf_machine_runtime_setup): Use ElfW(Addr).
5598 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5599 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5600 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5601 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5602 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5603 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5604 (R_AARCH64_TLS_DTPMOD): This.
5605 (R_AARCH64_TLS_DTPREL64): Rename to ...
5606 (R_AARCH64_TLS_DTPREL): This.
5607 (R_AARCH64_TLS_TPREL64): Rename to ...
5608 (R_AARCH64_TLS_TPREL): This.
5609 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5610 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5611 R_AARCH64_TLS_TPREL64.
5612 (elf_machine_rela): Likewise.
5614 2014-11-21 Torvald Riegel <triegel@redhat.com>
5616 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5617 by setting it to 0. 64b atomics are not supported currently.
5619 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5622 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5623 search domain names.
5625 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5629 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5631 * posix/tst-getaddrinfo5.c: New.
5632 * posix/Makefile (tests): Add it.
5634 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5638 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5639 after parsing line but before break_if_match.
5640 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5641 if there is a protocol mismatch.
5643 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5645 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5646 because the potential race is on the user-supplied stream.
5648 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5650 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5651 string literal if not passed a buffer.
5652 * manual/job.texi (ctermid): Update reasoning, note deviation
5653 from posix, suggest mtasurace when not passed a buffer, for
5654 future non-preliminary safety notes.
5656 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5658 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5659 of not passing it a buffer.
5660 Reported by Peng Haitao.
5662 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5664 * manual/Makefile ($(objpfx)stamp-summary): Require
5665 check-safety.sh to pass.
5666 * manual/check-safety.sh: Wish for verification that every
5667 @deftypefn and @deftypefun is followed by a @safety remark.
5669 2014-11-20 Roland McGrath <roland@hack.frob.com>
5671 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5673 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5674 PTHREAD_CANCEL_ASYNCHRONOUS.
5675 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5678 * nptl/default-sched.h: New file.
5679 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5680 * nptl/pthread_create.c: Include it.
5681 (__pthread_create_2_1): Use collect_default_sched instead of making
5682 Linux syscalls here directly.
5684 2014-11-20 Torvald Riegel <triegel@redhat.com>
5686 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5687 __pthread_once): Use C11 atomics.
5689 2014-11-20 Torvald Riegel <triegel@redhat.com>
5691 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5693 2014-11-20 Torvald Riegel <triegel@redhat.com>
5695 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5696 atomic_thread_fence_acquire, atomic_thread_fence_release,
5697 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5698 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5699 atomic_compare_exchange_weak_relaxed,
5700 atomic_compare_exchange_weak_acquire,
5701 atomic_compare_exchange_weak_release,
5702 atomic_exchange_acquire, atomic_exchange_release,
5703 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5704 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5705 atomic_fetch_and_acquire,
5706 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5708 2014-11-20 Torvald Riegel <triegel@redhat.com>
5710 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5711 USE_ATOMIC_COMPILER_BUILTINS): Define.
5712 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5714 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5715 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5716 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5717 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5718 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5719 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5720 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5721 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5722 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5723 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5724 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5726 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5728 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5730 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5732 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5734 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5736 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5738 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5740 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5742 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5744 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5746 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5747 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5748 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5750 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5753 2014-11-19 Roland McGrath <roland@hack.frob.com>
5755 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5756 the sched_priority value here. It was already checked when the user
5757 called pthread_attr_setschedparam.
5759 * nptl/tst-bad-schedattr.c: New file.
5760 * nptl/Makefile (tests): Add it.
5762 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5763 Florian Weimer <fweimer@redhat.com>
5764 Joseph Myers <joseph@codesourcery.com>
5765 Adam Conrad <adconrad@0c3.net>
5766 Andreas Schwab <schwab@suse.de>
5767 Brooks <bmoses@google.com>
5770 * wordexp-test.c (__dso_handle): Add prototype.
5771 (__register_atfork): Likewise.
5772 (__app_register_atfork): New function.
5773 (registered_forks): New global.
5774 (register_fork): New function.
5775 (test_case): Add 3 new tests for WRDE_CMDSUB.
5776 (main): Call __app_register_atfork.
5777 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5778 fork count is non-zero fail the test.
5779 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5781 (parse_dollars): Remove check for WRDE_NOCMD.
5782 (parse_dquote): Likewise.
5784 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5786 * Makeconfig (built-modules): List non-library modules to be
5788 (module-cppflags): Include libc-modules.h for
5789 everything except shlib-versions.v.i.
5791 (before-compile): Add libc-modules.h.
5792 ($(common-objpfx)libc-modules.h,
5793 $(common-objpfx)libc-modules.stmp): New targets.
5794 (common-generated): Add libc-modules.h and libc-modules.stmp.
5795 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5796 * include/libc-symbols.h: Don't include libc-modules.h.
5797 * include/libc-modules.h: Remove file.
5798 * scripts/gen-libc-modules.awk: New script to generate
5800 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5801 Depend on libc-modules.stmp.
5803 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5805 * Makeconfig (in-module): Get value of libof set for the
5807 (CPPFLAGS): Use $(in-module).
5808 * Makerules: Don't suffix routine names for nonlib.
5809 * include/libc-modules.h: New file.
5810 * include/libc-symbols.h: Include libc-modules.h
5811 (IS_IN): New macro to replace IS_IN_* macros.
5812 * elf/Makefile: Set libof-* for each routine.
5813 * elf/rtld-Rules: Likewise.
5814 * extra-modules.mk: Likewise.
5815 * iconv/Makefile: Likewise.
5816 * iconvdata/Makefile: Likewise.
5817 * locale/Makefile: Likewise.
5818 * malloc/Makefile: Likewise.
5819 * nss/Makefile: Likewise.
5820 * sysdeps/gnu/Makefile: Likewise.
5821 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5822 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5823 * sysdeps/s390/s390-64/Makefile: Likewise.
5824 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5825 CPPFLAGS for nscd instead of nonlib.
5827 2014-11-18 Roland McGrath <roland@hack.frob.com>
5829 * nptl/createthread.c: New file.
5831 * nptl/createthread.c: Moved ...
5832 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5834 * nptl/createthread.c: Add proper top-line comment.
5835 (do_clone): Folded into ...
5836 (create_thread): ... here. Take new arguments STOPPED_START and
5837 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5838 increment __nptl_threads, do event-reporting logic, do
5839 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5840 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5841 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5842 just send SIGCANCEL.
5843 * nptl/pthread_create.c: Forward-declare create_thread before
5844 including createthread.c.
5845 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5846 declaration, and new macro START_THREAD_SELF to replace argument.
5847 Remove return statement.
5848 (report_thread_creation): New function.
5849 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5850 synchronization logic, and __nptl_nthreads increment here, around
5851 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5852 PD->parent_cancelhandling here, before create_thread. When
5853 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5854 __deallocate_stack, and ENOMEM translation here.
5856 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5859 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5860 (mptwo): Rename to __mptwo.
5861 (__inv): Use __mptwo instead of mptwo.
5862 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5863 (mptwo): Rename to __mptwo.
5864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5865 of mpone and __mptwo instead of mptwo.
5866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5869 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5870 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5871 of mpone and __mptwo instead of mptwo.
5872 (__mpranred): Use __mpone instead of mpone.
5873 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5875 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5876 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5877 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5878 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5879 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5880 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5881 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5882 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5883 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5884 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5885 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5886 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5887 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5888 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5889 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5890 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5891 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5892 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5893 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5895 2014-11-18 Tom de Vries <tom@codesoucery.com>
5897 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5898 replace BSD Handler xref with BSD Signal Handling.
5900 2014-11-17 Richard Henderson <rth@redhat.com>
5902 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5903 (_FP_PACK_RAW_2): Remove.
5904 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5905 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5906 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5907 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5908 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5909 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5910 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5911 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5912 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5913 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5914 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5915 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5916 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5917 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5918 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5919 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5921 2014-11-14 Roland McGrath <roland@hack.frob.com>
5923 * signal/signal.h [__USE_MISC]
5924 (struct sigvec): Remove type.
5925 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5926 (sigvec): Remove declaration.
5927 * sysdeps/posix/sigvec.c: Moved ...
5928 * signal/sigvec.c: ... here, replacing old file.
5929 (struct sigvec): New type, copied from old signal.h definition.
5930 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5931 (__sigvec): Convert definition to prototype.
5932 (sigvec): Replace weak_alias with compat_symbol.
5933 * signal/Versions (libc: GLIBC_2.21): New version set.
5934 * include/signal.h: Remove __sigvec declaration.
5935 * sysdeps/unix/bsd/sigvec.c: Remove file.
5936 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5937 * manual/signal.texi (BSD Handler): Remove subsection.
5938 Move siginterrupt up to ...
5939 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5940 (Blocking in BSD): Fold subsection into its parent.
5941 * NEWS: Mention sigvec removal.
5943 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5945 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5946 (DLA_FMS): Make definition conditional only on [__FMA4__].
5947 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5950 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5951 Make definition conditional only on [PROF].
5952 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5954 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5955 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5957 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5959 * include/signal.h (__sigpause): Move declaration above call to
5961 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5963 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5964 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5966 2014-11-14 David S. Miller <davem@davemloft.net>
5968 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5969 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5971 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5973 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5974 * configure: Regenerated.
5975 * manual/install.texi (Tools for Compilation): Document a
5976 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5977 compiler verified to work.
5978 * INSTALL: Regenerated.
5980 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5981 redeclare with asm name.
5982 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5983 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5984 including <string.h>.
5985 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5986 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5987 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5988 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5989 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5990 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5991 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5993 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5995 * stdlib/strtol.c (__strtol): Use prototype definition.
5998 * stdlib/strtol.c (SYM__): New macro.
6000 (__strtol): Likewise.
6001 (strtol): Rename to __strtol and define as weak alias of
6002 __strtol. Use libc_hidden_weak.
6004 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6006 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6007 Use numbered labels in inline assembly.
6009 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6011 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6012 Add setjmp LIBC_PROBE.
6013 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6015 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6016 Add longjmp, longjmp_target LIBC_PROBE.
6017 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6020 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6023 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6024 to get rid of unused variable warning.
6026 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6028 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6029 Check for unwind_backtrace == NULL only in SHARED case.
6030 (__backchain_backtrace): Compile only in SHARED case.
6031 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6033 (__backchain_backtrace): Declare as static.
6035 2014-11-12 Roland McGrath <roland@hack.frob.com>
6037 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6038 (__libc_multiple_threads_ptr): Variable moved ...
6039 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6041 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6043 * conform/GlibcConform.pm: New file.
6044 * conform/conformtest.pl: Use GlibcConform module.
6045 * conform/linknamespace.pl: New file.
6046 * conform/list-header-symbols.pl: Likewise.
6047 * conform/Makefile (linknamespace-symlists-base): New variable.
6048 (linknamespace-symlists-tests): Likewise.
6049 (linknamespace-header-base): Likewise.
6050 (linknamespace-header-tests): Likewise.
6051 (tests-special): Add new tests.
6052 ($(linknamespace-symlists-tests)): New rule.
6053 (linknamespace-libs): New variable.
6054 ($(objpfx)symlist-stdlibs): New rule.
6055 ($(linknamespace-header-tests)): Likewise.
6056 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6057 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6058 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6059 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6060 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6061 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6062 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6063 (test-xfail-ISO/math.h/linknamespace): Likewise.
6064 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6065 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6066 (test-xfail-ISO/time.h/linknamespace): Likewise.
6067 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6068 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6069 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6070 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6071 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6072 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6073 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6074 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6075 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6076 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6077 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6078 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6079 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6080 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6081 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6082 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6083 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6084 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6085 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6086 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6087 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6088 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6089 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6090 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6091 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6092 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6093 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6094 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6095 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6096 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6097 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6098 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6099 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6100 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6101 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6102 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6103 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6104 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6105 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6106 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6107 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6108 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6109 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6110 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6111 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6112 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6113 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6114 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6115 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6116 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6117 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6118 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6119 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6120 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6121 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6122 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6123 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6124 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6125 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6126 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6127 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6128 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6129 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6130 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6131 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6132 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6133 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6134 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6135 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6136 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6137 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6138 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6139 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6140 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6141 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6142 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6143 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6144 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6145 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6146 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6147 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6148 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6149 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6150 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6151 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6152 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6153 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6154 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6155 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6156 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6157 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6158 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6159 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6160 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6161 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6162 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6163 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6164 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6165 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6166 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6167 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6168 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6169 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6170 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6171 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6172 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6173 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6174 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6175 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6176 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6177 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6178 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6179 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6180 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6181 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6182 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6183 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6184 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6185 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6186 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6187 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6188 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6189 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6190 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6191 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6192 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6193 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6194 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6195 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6196 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6197 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6198 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6199 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6200 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6201 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6202 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6203 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6204 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6205 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6206 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6207 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6208 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6209 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6210 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6211 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6212 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6213 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6214 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6215 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6216 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6219 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6223 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6224 (memmem): Rename to __memmem and define as weak alias of
6225 __memmem. Use libc_hidden_weak.
6226 (__memmem): Use libc_hidden_def.
6227 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6228 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6232 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6233 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6234 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6235 and define as weak alias of __fgets_unlocked. Use
6237 (__fgets_unlocked): Use libc_hidden_def.
6238 * include/stdio.h (__fgets_unlocked): Declare. Use
6240 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6241 __fgets_unlocked instead of fgets_unlocked.
6242 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6243 (GET_NPROCS_CONF_PARSER): Likewise.
6244 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6245 (GET_NPROCS_CONF_PARSER): Likewise.
6248 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6249 weak alias of __wmemset. Use libc_hidden_weak.
6250 (__wmemset): Use libc_hidden_def.
6251 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6252 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6256 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6257 with asm name __mempcpy.
6258 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6261 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6262 and define as weak alias of __rawmemchr.
6263 (__rawmemchr): Do not define as strong alias of rawmemchr.
6266 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6268 (qsort): Call __qsort_r instead of qsort_r.
6269 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6270 (__qsort_r): Declare. Call libc_hidden_proto.
6271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6273 * nscd/gai.c (__qsort_r): Define to qsort_r.
6274 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6275 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6276 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6279 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6280 define as weak alias of __malloc_info.
6283 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6284 as weak alias of __rewinddir. Don't use libc_hidden_def.
6285 (__rewinddir): Use libc_hidden_def.
6286 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6287 as weak alias of __rewinddir. Don't use libc_hidden_def.
6288 (__rewinddir): Use libc_hidden_def.
6289 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6290 weak alias of __rewinddir. Don't use libc_hidden_def.
6291 (__rewinddir): Use libc_hidden_def.
6292 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6293 (__rewinddir): Use libc_hidden_proto.
6294 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6296 (__getcwd): Use __rewinddir instead of rewinddir.
6299 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6300 alias of __fileno. Use libc_hidden_weak.
6301 (__fileno): Use libc_hidden_def.
6302 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6303 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6305 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6307 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6308 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6310 (fread_unlocked): Don't use libc_hidden_ver.
6311 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6312 and define as weak alias of __fread_unlocked. Don't use
6314 (__fread_unlocked): Use libc_hidden_def.
6315 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6316 (ftello): Don't use libc_hidden_proto.
6317 (__ftello): Declare. Use libc_hidden_proto.
6318 (fread_unlocked): Don't use libc_hidden_proto.
6319 (__fread_unlocked): Declare. Use libc_hidden_proto.
6320 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6321 and __ftello instead of fileno, fread_unlocked and ftello.
6323 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6325 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6329 (_dl_start_user): Likewise.
6330 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6332 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6333 Siddhesh Poyarekar <siddhesh@redhat.com>
6335 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6336 Move argv and envp down instead of moving argc up.
6337 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6339 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6342 * test-skeleton.c (main): Return successful if one of
6343 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6344 * string/tst-strcoll-overflow.c: Define expected status.
6346 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6349 * locale/iso-639.def: Define Bhili and Tulu language codes.
6351 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6353 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6355 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6358 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6360 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6362 * configure.ac: Updated check of minimal required version to
6364 * manual/install.texi (Tools for Compilation): Updated version
6366 * configure: Regenerated.
6367 * INSTALL: Likewise.
6369 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6371 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6374 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6376 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6377 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6378 (__waitpid): Don't define as alias. Use libc_hidden_def not
6380 (waitpid): Define as alias of __waitpid.
6381 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6383 (__waitpid): Don't define as alias. Use libc_hidden_def not
6385 (waitpid): Define as alias of __waitpid.
6386 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6387 __libc_waitpid alias.
6388 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6389 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6391 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6393 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6395 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6397 (__waitpid): Don't define as alias. Use libc_hidden_def not
6399 (waitpid): Define as alias of __waitpid.
6401 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6403 * manual/llio.texi: Add comment that write safety has been
6406 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6407 (localplt-build-dso): Add elf/ld.so.
6408 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6409 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6412 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6417 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6418 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6419 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6420 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6421 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6422 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6423 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6424 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6425 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6427 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6429 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6432 * include/libc-symbols.h (INTUSE): Remove macro.
6434 (INTVARDEF): Likewise.
6435 (_INTVARDEF): Likewise.
6436 (INTDEF2): Likewise.
6437 (INTVARDEF2): Likewise.
6438 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6439 rtld_hidden_def instead of INTVARDEF.
6440 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6441 (_dl_starting_up_internal): Remove declaration.
6442 (_dl_starting_up): Use rtld_hidden_proto.
6443 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6445 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6446 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6448 * elf/dl-writev.h (_dl_writev): Likewise.
6449 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6450 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6451 _dl_starting_up_internal.
6453 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6455 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6458 2014-11-05 Will Newton <will.newton@linaro.org>
6460 * benchtests/Makefile: (bench-malloc): Add malloc thread
6461 scalability benchmark.
6462 * benchtests/bench-malloc-threads.c: New file.
6464 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6466 * sysdeps/aarch64/strchrnul.S: New file.
6468 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6470 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6472 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6483 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6485 * catgets/test-gencat.c: Use test-skeleton.c.
6486 * catgets/tst-catgets.c: Likewise.
6487 * csu/tst-empty.c: Likewise.
6488 * elf/tst-audit2.c: Likewise.
6489 * elf/tst-global1.c: Likewise.
6490 * elf/tst-pathopt.c: Likewise.
6491 * elf/tst-piemod1.c: Likewise.
6492 * elf/tst-tls10.c: Likewise.
6493 * elf/tst-tls11.c: Likewise.
6494 * elf/tst-tls12.c: Likewise.
6495 * gnulib/tst-gcc.c: Likewise.
6496 * iconvdata/tst-e2big.c: Likewise.
6497 * iconvdata/tst-loading.c: Likewise.
6498 * iconv/tst-iconv1.c: Likewise.
6499 * iconv/tst-iconv2.c: Likewise.
6500 * inet/test-inet6_opt.c: Likewise.
6501 * inet/tst-gethnm.c: Likewise.
6502 * inet/tst-network.c: Likewise.
6503 * inet/tst-ntoa.c: Likewise.
6504 * intl/tst-codeset.c: Likewise.
6505 * intl/tst-gettext2.c: Likewise.
6506 * intl/tst-gettext3.c: Likewise.
6507 * intl/tst-ngettext.c: Likewise.
6508 * intl/tst-translit.c: Likewise.
6509 * io/test-stat.c: Likewise.
6510 * libio/test-fmemopen.c: Likewise.
6511 * libio/tst-freopen.c: Likewise.
6512 * libio/tst-sscanf.c: Likewise.
6513 * libio/tst-ungetwc1.c: Likewise.
6514 * libio/tst-ungetwc2.c: Likewise.
6515 * libio/tst-widetext.c: Likewise.
6516 * localedata/tst-ctype.c: Likewise.
6517 * localedata/tst-digits.c: Likewise.
6518 * localedata/tst-leaks.c: Likewise.
6519 * localedata/tst-mbswcs1.c: Likewise.
6520 * localedata/tst-mbswcs2.c: Likewise.
6521 * localedata/tst-mbswcs3.c: Likewise.
6522 * localedata/tst-mbswcs4.c: Likewise.
6523 * localedata/tst-mbswcs5.c: Likewise.
6524 * localedata/tst-setlocale.c: Likewise.
6525 * localedata/tst-trans.c: Likewise.
6526 * localedata/tst-wctype.c: Likewise.
6527 * localedata/tst-xlocale1.c: Likewise.
6528 * login/tst-grantpt.c: Likewise.
6529 * malloc/tst-calloc.c: Likewise.
6530 * malloc/tst-malloc.c: Likewise.
6531 * malloc/tst-mallocstate.c: Likewise.
6532 * malloc/tst-mcheck.c: Likewise.
6533 * malloc/tst-mtrace.c: Likewise.
6534 * malloc/tst-obstack.c: Likewise.
6535 * math/atest-exp2.c: Likewise.
6536 * math/atest-exp.c: Likewise.
6537 * math/atest-sincos.c: Likewise.
6538 * math/test-matherr.c: Likewise.
6539 * math/test-misc.c: Likewise.
6540 * math/test-powl.c: Likewise.
6541 * math/tst-definitions.c: Likewise.
6542 * misc/tst-dirname.c: Likewise.
6543 * misc/tst-efgcvt.c: Likewise.
6544 * misc/tst-fdset.c: Likewise.
6545 * misc/tst-hsearch.c: Likewise.
6546 * misc/tst-mntent2.c: Likewise.
6547 * nptl/tst-sem7.c: Likewise.
6548 * nptl/tst-sem8.c: Likewise.
6549 * nptl/tst-sem9.c: Likewise.
6550 * nss/test-netdb.c: Likewise.
6551 * posix/tst-fnmatch.c: Likewise.
6552 * posix/tst-getlogin.c: Likewise.
6553 * posix/tst-gnuglob.c: Likewise.
6554 * posix/tst-mmap.c: Likewise.
6555 * pwd/tst-getpw.c: Likewise.
6556 * resolv/tst-inet_ntop.c: Likewise.
6557 * rt/tst-timer.c: Likewise.
6558 * stdio-common/test-fseek.c: Likewise.
6559 * stdio-common/test-popen.c: Likewise.
6560 * stdio-common/test-vfprintf.c: Likewise.
6561 * stdio-common/tst-cookie.c: Likewise.
6562 * stdio-common/tst-fileno.c: Likewise.
6563 * stdio-common/tst-gets.c: Likewise.
6564 * stdio-common/tst-obprintf.c: Likewise.
6565 * stdio-common/tst-perror.c: Likewise.
6566 * stdio-common/tst-sprintf2.c: Likewise.
6567 * stdio-common/tst-sprintf3.c: Likewise.
6568 * stdio-common/tst-sprintf.c: Likewise.
6569 * stdio-common/tst-swprintf.c: Likewise.
6570 * stdio-common/tst-tmpnam.c: Likewise.
6571 * stdio-common/tst-unbputc.c: Likewise.
6572 * stdio-common/tst-wc-printf.c: Likewise.
6573 * stdlib/tst-environ.c: Likewise.
6574 * stdlib/tst-fmtmsg.c: Likewise.
6575 * stdlib/tst-limits.c: Likewise.
6576 * stdlib/tst-rand48-2.c: Likewise.
6577 * stdlib/tst-rand48.c: Likewise.
6578 * stdlib/tst-random2.c: Likewise.
6579 * stdlib/tst-random.c: Likewise.
6580 * stdlib/tst-strtol.c: Likewise.
6581 * stdlib/tst-strtoll.c: Likewise.
6582 * stdlib/tst-tls-atexit.c: Likewise.
6583 * stdlib/tst-xpg-basename.c: Likewise.
6584 * string/test-ffs.c: Likewise.
6585 * string/tst-bswap.c: Likewise.
6586 * string/tst-inlcall.c: Likewise.
6587 * string/tst-strtok.c: Likewise.
6588 * string/tst-strxfrm.c: Likewise.
6589 * sysdeps/x86_64/tst-audit10.c: Likewise.
6590 * sysdeps/x86_64/tst-audit3.c: Likewise.
6591 * sysdeps/x86_64/tst-audit4.c: Likewise.
6592 * sysdeps/x86_64/tst-audit5.c: Likewise.
6593 * time/tst-ftime_l.c: Likewise.
6594 * time/tst-getdate.c: Likewise.
6595 * time/tst-mktime3.c: Likewise.
6596 * time/tst-mktime.c: Likewise.
6597 * time/tst-posixtz.c: Likewise.
6598 * time/tst-strptime2.c: Likewise.
6599 * time/tst-strptime3.c: Likewise.
6600 * wcsmbs/tst-btowc.c: Likewise.
6601 * wcsmbs/tst-mbrtowc.c: Likewise.
6602 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6603 * wcsmbs/tst-wchar-h.c: Likewise.
6604 * wcsmbs/tst-wcpncpy.c: Likewise.
6605 * wcsmbs/tst-wcrtomb.c: Likewise.
6606 * wcsmbs/tst-wcsnlen.c: Likewise.
6607 * wcsmbs/tst-wcstof.c: Likewise.
6609 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6612 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6614 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6616 (_dl_mcount): Use rtld_hidden_proto.
6617 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6619 * elf/rtld.c (_rtld_global_ro): Likewise.
6622 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6623 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6624 of _dl_init_internal.
6625 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6626 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6627 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6628 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6629 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6630 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6631 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6632 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6633 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6634 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6635 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6636 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6638 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6639 * sysdeps/tile/dl-start.S (_start): Likewise.
6640 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6641 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6644 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6645 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6646 (rtld_progname): Make macro definition unconditional.
6647 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6649 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6650 (dl_main): Likewise.
6651 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6652 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6653 instead of _dl_argv_internal.
6654 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6655 __GI__dl_argv instead of INTUSE(_dl_argv).
6656 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6657 __GI__dl_argv instead of _dl_argv_internal.
6659 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6660 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6662 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6663 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6665 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6666 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6668 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6669 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6671 2014-11-04 Andreas Schwab <schwab@suse.de>
6673 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6675 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6678 mtvsrd instruction in binary form.
6680 2014-11-03 Andreas Schwab <schwab@suse.de>
6683 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6684 for less than MB_LEN_MAX use a local buffer of that size.
6685 * libio/tst-fputws.c: New file.
6686 * libio/Makefile (tests): Add tst-fputws.
6688 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6690 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6691 the size of the fpu_fr.fpu_dregs[] array.
6693 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6695 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6696 (__nanosleep): Do not define as alias.
6697 (nanosleep): Define as alias of __nanosleep.
6698 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6699 __libc_nanosleep name.
6701 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6703 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6704 install.texi in comment.
6706 2014-10-31 Torvald Riegel <triegel@redhat.com>
6708 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6709 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6710 ... add here and use lwsync or sync ...
6711 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6712 ... and add here using lwsync.
6714 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6716 * elf/dl-machine-reject-phdr.h: New file.
6717 * elf/dl-load.c: #include that.
6718 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6719 if that returned true.
6721 2014-10-31 Roland McGrath <roland@hack.frob.com>
6724 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6725 gen-as-const-headers chunk. Add a big scare comment after the last
6726 safe place to touch before-compile.
6728 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6730 * manual/install.texi (Tools for Compilation): Update autoconf
6731 version requirements.
6732 * INSTALL: Regenerated.
6734 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6735 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6736 (__libc_pselect): Likewise.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6744 2014-10-31 Torvald Riegel <triegel@redhat.com>
6746 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6747 correct barrier instruction.
6748 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6750 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6753 2014-10-30 Roland McGrath <roland@hack.frob.com>
6755 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6756 after defining inlines. Instead, just use parens to defeat macro
6757 expansion of __isctype in its declaration.
6759 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6761 * include/sys/uio.h (__libc_readv): Remove declaration.
6762 (__libc_writev): Likewise.
6763 * misc/readv.c (__libc_readv): Rename to __readv.
6764 (__readv): Do not define as alias.
6765 (readv): Define as alias of __readv.
6766 * misc/writev.c (__libc_writev): Rename to __writev.
6767 (__writev): Do not define as alias.
6768 (writev): Define as alias of __writev.
6769 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6770 (__readv): Do not define as alias.
6771 (readv): Define unconditionally as alias of __readv.
6772 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6773 (__writev): Do not define as alias.
6774 (writev): Define unconditionally as alias of __writev.
6775 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6777 (writev): Do not define __libc_writev name.
6779 2014-10-30 Roland McGrath <roland@hack.frob.com>
6781 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6782 (convert_charseq): New function, broken out of ...
6783 (use_from_charmap): ... here. Call it.
6784 (use_to_charmap): Use convert_charseq and free instead of duplicating
6785 its code with a variable-length stack struct.
6787 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6789 * include/fcntl.h (__libc_creat): Remove declaration.
6790 * io/creat.c (__libc_creat): Rename to creat.
6791 (creat): Do not define as alias.
6792 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6793 of creat instead of __libc_creat.
6794 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6796 (creat): Do not define as alias.
6797 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6799 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6804 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6806 * manual/llio.texi: Add comments discussing why write() may be
6807 considered MT-unsafe on Linux.
6809 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6811 * dl-load.c (local_strdup): Remove.
6812 (expand_dynamic_string_token): Use __strdup.
6813 (decompose_rpath): Likewise.
6814 (_dl_map_object): Likewise.
6816 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6819 * sysdeps/generic/unwind-dw2-fde.c
6820 (__register_frame_info_bases_internal): Do not declare.
6821 (__register_frame_info_table_bases_internal): Likewise.
6822 (__deregister_frame_info_bases_internal): Likewise.
6823 (__register_frame_info_bases): Declare and use hidden_proto before
6824 definition. Use hidden_def instead of INTDEF.
6825 (__register_frame_info_table_bases): Likewise.
6826 (__deregister_frame_info_bases): Likewise.
6827 (__register_frame_info): Do not use INTUSE.
6828 (__register_frame): Likewise.
6829 (__register_frame_info_table): Likewise.
6830 (__register_frame_table): Likewise.
6831 (__deregister_frame_info): Likewise.
6832 (__deregister_frame): Likewise.
6834 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6837 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6839 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6841 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6844 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6848 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6849 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6850 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6851 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6852 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6853 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6854 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6855 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6856 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6857 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6858 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6859 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6861 (setfsuid): Likewise.
6862 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6863 (setfsuid): Likewise.
6864 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6865 (setfsuid): Likewise.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6868 (setfsuid): Likewise.
6869 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6870 (setfsuid): Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6873 (setfsuid): Likewise.
6875 2014-10-27 Andreas Schwab <schwab@suse.de>
6878 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6879 check for Slow_SSE4_2 feature bit.
6880 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6881 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6882 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6883 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6885 2014-10-24 Roland McGrath <roland@hack.frob.com>
6887 * configure.ac: Validate compiler version with a empirical test of
6888 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6890 * configure: Regenerated.
6892 * inet/htons.c (htons): Prototypify.
6893 * inet/htonl.c (htonl): Likewise.
6895 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6897 * string/strncat.c (strncat): Improve performance by using strlen.
6899 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6901 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6903 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6905 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6906 Call libc_fetestexcept_aarch64.
6908 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6910 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6911 Call libc_feholdexcept_aarch64.
6913 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6915 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6916 Call get_rounding_mode.
6918 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6920 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6923 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6925 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6928 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6932 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6933 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6934 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6935 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6936 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6937 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6938 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6939 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6940 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6941 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6942 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6943 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6944 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6945 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6946 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6947 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6948 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6949 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6950 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6951 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6952 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6953 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6954 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6955 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6956 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6957 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6959 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6960 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6961 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6962 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6963 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6964 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6965 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6968 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6969 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6970 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6971 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6973 (geteuid): Likewise.
6976 (getresgid): Likewise.
6977 (getresuid): Likewise.
6978 (getgroups): Likewise.
6979 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6980 (geteuid): Likewise.
6983 (getresgid): Likewise.
6984 (getresuid): Likewise.
6985 (getgroups): Likewise.
6986 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6987 (geteuid): Likewise.
6990 (getresgid): Likewise.
6991 (getresuid): Likewise.
6992 (getgroups): Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6995 (geteuid): Likewise.
6998 (getresgid): Likewise.
6999 (getresuid): Likewise.
7000 (getgroups): Likewise.
7001 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7002 (geteuid): Likewise.
7005 (getresgid): Likewise.
7006 (getresuid): Likewise.
7007 (getgroups): Likewise.
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7010 (geteuid): Likewise.
7013 (getgroups): Likewise.
7016 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7017 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7018 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7019 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7021 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7022 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7023 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7024 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7025 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7028 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7030 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7033 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7037 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7040 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7045 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7047 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7050 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7052 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7055 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7057 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7058 Remove unused include.
7060 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7062 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7063 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7064 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7065 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7067 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7068 Helge Deller <deller@gmx.de>
7071 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7072 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7073 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7075 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7078 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7079 Remove macro definition.
7080 (__ashrdi3_v_glibc20): Likewise.
7081 (__lshrdi3_v_glibc20): Likewise.
7082 (__cmpdi2_v_glibc20): Likewise.
7083 (__ucmpdi2_v_glibc20): Likewise.
7084 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7085 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7086 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7087 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7088 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7089 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7091 2014-10-22 Roland McGrath <roland@hack.frob.com>
7093 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7094 old GNU extension [0] syntax.
7095 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7096 alloca rather than an array member with variable length.
7097 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7098 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7099 (parse_opt): ... here. Likewise use alloca there.
7100 Validate the -i argument before checking for rootness.
7101 (send_shutdown): New function, broken out of ...
7102 (parse_opt): ... here.
7104 2014-10-22 Roland McGrath <roland@hack.frob.com>
7106 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7107 macro to get at the _rt_local_ro field.
7108 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7109 ([PIC] case) or _dl_hwcap ([!PIC] case).
7110 * sysdeps/arm/setjmp.S: Likewise.
7112 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7113 * sysdeps/arm/configure.ac: New check to define it.
7114 * sysdeps/arm/configure: Regenerated.
7115 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7116 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7117 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7118 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7119 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7120 Use move/movt pair instead of a load.
7121 (LDST_GLOBAL): Macro removed.
7122 (LDR_GLOBAL): New macro replaces it.
7123 (LDR_HIDDEN): New macro.
7124 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7125 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7127 * setjmp/tst-setjmp-static.c: New file.
7128 * setjmp/Makefile (tests): Add it.
7129 (tests-static): New variable.
7131 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7134 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7136 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7139 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7141 2014-10-21 Roland McGrath <roland@hack.frob.com>
7143 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7145 2014-10-20 Roland McGrath <roland@hack.frob.com>
7147 * io/fts.c (dirent_not_directory): New function.
7148 (fts_build): Call it.
7150 2014-10-20 Roland McGrath <roland@hack.frob.com>
7152 * nptl/version.c (__nptl_main): Use normal __write rather than
7154 (banner): Update copyright years.
7156 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7158 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7159 * nptl/pthread_cond_timedwait.c: Likewise.
7160 * nptl/pthread_mutex_timedlock.c: Likewise.
7161 * nptl/sem_timedwait.c: Likewise.
7163 * sysdeps/nptl/bits/libc-lock.h
7164 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7165 (__libc_lock_init_recursive): Return void, not 0.
7166 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7167 (__libc_rwlock_init): Likewise.
7168 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7170 2014-10-20 Torvald Riegel <triegel@redhat.com>
7173 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7174 (__pthread_once_slow): ... here.
7175 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7176 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7178 2014-10-20 Torvald Riegel <triegel@redhat.com>
7181 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7182 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7183 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7184 * nptl/pthread_once.c (__pthread_once): Likewise.
7187 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7190 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7192 (writev): Use __libc_writev as strong name.
7193 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7194 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7196 2014-10-17 Roland McGrath <roland@hack.frob.com>
7198 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7200 * sysdeps/i386/nptl/tls.h
7201 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7202 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7204 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7205 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7206 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7207 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7208 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7209 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7211 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7212 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7214 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7216 (__pthread_mutex_init): ... here. Call it.
7217 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7218 Conditionalize PI cases on [__NR_futex].
7219 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7220 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7221 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7223 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7224 conditional on [SIGSETXID].
7225 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7226 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7227 is defined. Likewise for SIGSETXID.
7228 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7229 Conditionalize definitions on [SIGSETXID].
7230 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7231 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7232 unblocking on [SIGCANCEL].
7234 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7235 [__NR_set_robust_list].
7237 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7239 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7240 (do_compare): Likewise.
7242 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7245 * string/strcoll_l.c: Don't include stdio.h.
7246 (coll_seq): Remove members idxarr and rulearr.
7247 (get_next_seq_cached): Remove function.
7248 (get_next_seq): Likewise.
7249 (get_next_seq_nocache): Rename to get_next_seq.
7250 (do_compare): Remove function.
7251 (do_compare_nocache): Rename to do_compare.
7252 (STRCOLL): Remove weight and rules cache.
7254 2014-10-16 Roland McGrath <roland@hack.frob.com>
7256 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7257 * sysdeps/arm/sfp-machine.h: ... to here.
7258 * sysdeps/arm/Implies: Remove arm/soft-fp.
7260 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7262 * conform/data/sys/utsname.h-data (*_t): Allow.
7263 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7264 [POSIX] (WEXITED): Do not expect constant.
7265 [POSIX] (WSTOPPED): Likewise.
7266 [POSIX] (WNOHANG): Likewise.
7267 [POSIX] (WNOWAIT): Likewise.
7268 [POSIX] (siginfo_t): Do not expect type or elements.
7269 [POSIX] (pid_t): Do not expect type.
7270 [POSIX] (signal.h): Do not allow header.
7271 [POSIX] (sys/resource.h): Likewise.
7272 [POSIX] (si_*): Do not allow pattern.
7273 [POSIX] (W*): Likewise.
7274 [POSIX] (P_*): Likewise.
7275 [POSIX] (BUS_*): Likewise.
7276 [POSIX] (CLD_*): Likewise.
7277 [POSIX] (FPE_*): Likewise.
7278 [POSIX] (ILL_*): Likewise.
7279 [POSIX] (POLL_*): Likewise.
7280 [POSIX] (SEGV_*): Likewise.
7281 [POSIX] (SI_*): Likewise.
7282 [POSIX] (TRAP_*): Likewise.
7283 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7286 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7289 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7290 infinite loop when __recvmsg returns 0.
7292 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7294 * CANCEL-FCT-WAIVE: Remove file.
7295 * CANCEL-FILE-WAIVE: Likewise.
7298 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7299 instead of INTVARDEF.
7300 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7301 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7302 rtld_hidden_data_def instead of INTVARDEF.
7303 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7304 * elf/dl-deps.c (expand_dst): Likewise.
7305 * elf/dl-load.c (_dl_dst_count): Likewise.
7306 (_dl_dst_substitute): Likewise.
7307 (decompose_rpath): Likewise.
7308 (_dl_init_paths): Likewise.
7309 (open_path): Likewise.
7310 (_dl_map_object): Likewise.
7311 * elf/rtld.c (dl_main): Likewise.
7312 (process_dl_audit): Likewise.
7313 (process_envvars): Likewise.
7314 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7316 (__libc_enable_secure): Use rtld_hidden_proto.
7318 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7321 (add_path): New function broken out of _dl_rtld_di_serinfo.
7322 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7324 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7326 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7327 parentheses around macro arguments.
7328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7331 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7335 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7339 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7340 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7343 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7344 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7345 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7349 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7357 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7358 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7359 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7360 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7361 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7362 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7363 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7365 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7366 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7367 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7370 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7371 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7372 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7373 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7374 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7375 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7376 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7377 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7379 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7386 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7387 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7388 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7389 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7390 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7391 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7392 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7393 (_FP_FRAC_SRS_1): Likewise.
7394 (_FP_FRAC_CLZ_1): Likewise.
7395 (_FP_MUL_MEAT_1_imm): Likewise.
7396 (_FP_MUL_MEAT_1_wide): Likewise.
7397 (_FP_MUL_MEAT_1_hard): Likewise.
7398 (_FP_SQRT_MEAT_1): Likewise.
7399 (_FP_FRAC_ASSEMBLE_1): Likewise.
7400 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7401 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7402 (__FP_CLZ_2): Likewise.
7403 (_FP_MUL_MEAT_2_wide): Likewise.
7404 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7405 (_FP_MUL_MEAT_2_gmp): Likewise.
7406 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7407 (_FP_SQRT_MEAT_2): Likewise.
7408 (_FP_FRAC_ASSEMBLE_2): Likewise.
7409 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7410 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7411 (_FP_FRAC_CLZ_4): Likewise.
7412 (_FP_MUL_MEAT_4_wide): Likewise.
7413 (_FP_MUL_MEAT_4_gmp): Likewise.
7414 (_FP_SQRT_MEAT_4): Likewise.
7415 (_FP_FRAC_ASSEMBLE_4): Likewise.
7416 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7417 * soft-fp/op-common.h (_FP_CMP): Likewise.
7418 (_FP_CMP_EQ): Likewise.
7419 (_FP_CMP_UNORD): Likewise.
7420 (_FP_TO_INT): Likewise.
7421 (_FP_FROM_INT): Likewise.
7422 [!__FP_CLZ] (__FP_CLZ): Likewise.
7423 (_FP_DIV_HELP_imm): Likewise.
7424 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7426 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7431 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7432 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7437 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7438 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7439 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7440 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7441 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7442 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7444 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7447 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7448 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7451 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7455 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7456 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7457 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7458 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7459 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7460 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7461 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7462 (FP_UNPACK_RAW_SP): Likewise.
7463 (FP_PACK_RAW_S): Likewise.
7464 (FP_PACK_RAW_SP): Likewise.
7465 (FP_UNPACK_S): Likewise.
7466 (FP_UNPACK_SP): Likewise.
7467 (FP_UNPACK_SEMIRAW_S): Likewise.
7468 (FP_UNPACK_SEMIRAW_SP): Likewise.
7469 (FP_PACK_S): Likewise.
7470 (FP_PACK_SP): Likewise.
7471 (FP_PACK_SEMIRAW_S): Likewise.
7472 (FP_PACK_SEMIRAW_SP): Likewise.
7473 (_FP_SQRT_MEAT_S): Likewise.
7474 (FP_CMP_S): Likewise.
7475 (FP_CMP_EQ_S): Likewise.
7476 (FP_CMP_UNORD_S): Likewise.
7477 (FP_TO_INT_S): Likewise.
7478 (FP_FROM_INT_S): Likewise.
7480 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7482 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7483 (FP_EX_INVALID_IMZ): Likewise.
7484 (FP_EX_INVALID_IMZ_FMA): Likewise.
7485 (FP_EX_INVALID_ISI): Likewise.
7486 (FP_EX_INVALID_ZDZ): Likewise.
7487 (FP_EX_INVALID_IDI): Likewise.
7488 (FP_EX_INVALID_SQRT): Likewise.
7489 (FP_EX_INVALID_CVI): Likewise.
7490 (FP_EX_INVALID_VC): Likewise.
7491 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7492 "invalid" exceptions.
7493 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7494 (_FP_ADD_INTERNAL): Likewise.
7495 (_FP_MUL): Likewise.
7496 (_FP_FMA): Likewise.
7497 (_FP_DIV): Likewise.
7498 (_FP_CMP_CHECK_NAN): Likewise.
7499 (_FP_SQRT): Likewise.
7500 (_FP_TO_INT): Likewise.
7501 (FP_EXTEND): Likewise.
7503 2014-10-09 Allan McRae <allan@archlinux.org>
7505 * po/fr.po: Update French translation from translation project.
7507 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7510 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7512 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7513 (__cxa_atexit): Use libc_hidden_proto.
7514 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7517 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7519 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7520 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7521 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7522 [!_ISOMAC] (__iswctype_internal): Likewise.
7523 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7524 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7526 (fcntl): Remove __fcntl_internal alias.
7527 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7528 __connect_internal alias.
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7532 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7533 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7535 (_FP_CHECK_FLUSH_ZERO): New macro.
7536 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7537 (_FP_CMP): Likewise.
7538 (_FP_CMP_EQ): Likewise.
7539 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7541 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7542 (FP_TRUNC): Likewise.
7544 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7545 treated as invalid conversion, not as normal exponent.
7547 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7548 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7549 (_FP_CMP_EQ): Likewise.
7550 (_FP_CMP_UNORD): Likewise.
7551 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7552 (FP_CMP_EQ_D): Likewise.
7553 (FP_CMP_UNORD_D): Likewise.
7554 * soft-fp/extended.h (FP_CMP_E): Likewise.
7555 (FP_CMP_EQ_E): Likewise.
7556 (FP_CMP_UNORD_E): Likewise.
7557 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7558 (FP_CMP_EQ_Q): Likewise.
7559 (FP_CMP_UNORD_Q): Likewise.
7560 * soft-fp/single.h (FP_CMP_S): Likewise.
7561 (FP_CMP_EQ_S): Likewise.
7562 (FP_CMP_UNORD_S): Likewise.
7563 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7564 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7565 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7566 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7567 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7568 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7569 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7570 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7571 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7572 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7573 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7574 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7575 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7577 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7579 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7580 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7582 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7584 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7585 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7586 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7587 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7589 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7591 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7592 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7594 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7596 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7597 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7598 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7599 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7602 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7603 a subnormal result, set the underflow exception if trapping on
7604 underflow is enabled.
7605 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7606 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7607 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7609 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7610 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7611 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7612 * soft-fp/extendxftf2.c (__extendxftf2): Use
7613 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7615 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7616 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7617 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7618 FP_HANDLE_EXCEPTIONS.
7619 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7620 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7621 FP_HANDLE_EXCEPTIONS.
7622 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7623 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7624 FP_HANDLE_EXCEPTIONS.
7625 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7626 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7627 FP_HANDLE_EXCEPTIONS.
7629 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7632 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7633 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7635 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7636 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7638 (__adjtimex): Define using libc_hidden_ver.
7639 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7641 (ntp_gettime): Call __adjtimex directly.
7642 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7644 (ntp_gettimex): Call __adjtimex directly.
7645 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7646 __adjtimex_internal alias.
7648 2014-10-08 Roland McGrath <roland@hack.frob.com>
7651 * nscd/nscd.c (more_help): Rewrite list of tables collection
7652 using xstrdup and asprintf.
7654 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7656 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7657 Roland McGrath <roland@hack.frob.com>
7659 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7660 (do_lookup_unique): ... local function 'enter' here; update callers.
7662 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7664 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7665 compat_symbol calls on [SHARED].
7666 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7667 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7669 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7670 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7671 (oldsetrlimit): Remove.
7672 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7674 (lchown): New syscall entry.
7675 (oldsetrlimit): Remove.
7676 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7678 (oldsetrlimit): Remove.
7679 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7682 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7683 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7684 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7685 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7686 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7687 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7689 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7694 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7697 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7698 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7699 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7700 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7702 (__old_sem_post): Likewise.
7704 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7706 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7707 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7708 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7709 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7710 Use INLINE_VSYSCALL macro.
7711 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7712 __vdso_clock_gettime.
7713 * sysdeps/unix/sysv/linux/tile/init-first.c
7714 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7715 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7716 __vdso_clock_gettime.
7718 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7719 to set up frame more cleanly.
7721 * sysdeps/tile/memcmp.c: New file.
7723 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7725 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7726 * sysdeps/tile/tilegx/strcasestr.c: New file.
7727 * sysdeps/tile/tilegx/strnlen.c: New file.
7728 * sysdeps/tile/tilegx/strstr.c: New file.
7730 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7732 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7734 * nptl/tst-setuid3.c: Write errors to stdout.
7736 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7739 (preload): New functions broken out of _dl_map_object_deps.
7740 (_dl_map_object_deps): Remove a nested function. Update call sites.
7742 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7745 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7746 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7748 2014-10-01 Steve Ellcey <sellcey@mips.com>
7750 * sysdeps/mips/strcmp.S: New.
7752 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7755 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7757 (mkdirat): Likewise.
7758 (readlinkat): Likewise.
7759 (renameat): Likewise.
7760 (symlinkat): Likewise.
7761 (unlinkat): Likewise.
7762 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7763 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7764 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7765 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7766 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7767 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7768 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7770 2014-09-30 Will Newton <will.newton@linaro.org>
7772 * math/math.h: Define long double math functions if
7773 _LIBC_TEST is defined.
7774 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7776 * localedata/Makefile: Move assignment to tests-special
7777 into an ifdef testing run-built-tests.
7778 * timezone/Makefile: Likewise.
7780 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7782 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7783 with $(BASH) not $(SHELL).
7785 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7786 Matthew LeGendre <legendre1@llnl.gov>
7789 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7792 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7794 * stdio-common/printf_fp.c
7795 (hack_digit): New function, broken out of ...
7796 (__printf_fp): ... local function here. Update call sites.
7797 hack_digit now takes an additional parameter that is a pointer
7798 to a struct of the referenced locals. Those locals moved inside
7799 the struct and references updated.
7801 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7803 * aclocal.m4: Require autoconf 2.69.
7804 * configure: Regenerated.
7805 * sysdeps/aarch64/configure: Likewise.
7806 * sysdeps/alpha/configure: Likewise.
7807 * sysdeps/arm/armv7/configure: Likewise.
7808 * sysdeps/arm/configure: Likewise.
7809 * sysdeps/ia64/configure: Likewise.
7810 * sysdeps/mach/configure: Likewise.
7811 * sysdeps/mips/configure: Likewise.
7812 * sysdeps/s390/configure: Likewise.
7813 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7816 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7818 * sysdeps/ia64/configure.ac: Likewise.
7820 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7823 specify symbol version for ld.so. Do not include entry for
7825 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7830 * Makeconfig [$(build-shared) = yes]
7831 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7833 [$(build-shared) = yes && $(soversions.mk-done) = t]
7834 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7835 [$(build-shared) = yes && $(soversions.mk-done) = t]
7836 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7838 [$(build-shared) = yes && $(soversions.mk-done) = t]
7839 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7841 [$(build-shared) = yes && $(soversions.mk-done) = t]
7842 (common-generated): Don't append gnu/lib-names.h and
7843 gnu/lib-names.stmp here.
7844 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7845 (lib-names-h-abi): New variable.
7846 [$(build-shared) = yes && $(soversions.mk-done) = t]
7847 (lib-names-stmp-abi): Likewise.
7848 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7849 abi-variants] (before-compile): Append
7850 $(common-objpfx)$(lib-names-h-abi).
7851 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7852 abi-variants] (common-generated): Append gnu/lib-names.h.
7853 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7854 abi-variants] (install-others-nosubdir): Depend on
7855 $(inst_includedir)/$(lib-names-h-abi).
7856 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7857 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7858 [$(build-shared) = yes && $(soversions.mk-done) = t]
7859 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7860 [$(build-shared) = yes && $(soversions.mk-done) = t]
7861 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7862 [$(build-shared) = yes && $(soversions.mk-done) = t]
7863 (common-generated): Append $(lib-names-h-abi) and
7864 $(lib-names-stmp-abi).
7865 * scripts/lib-names.awk: Do not handle multi being set.
7866 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7868 (abi-lp64_be-ld-soname): Likewise.
7869 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7871 (abi-hard-ld-soname): Likewise.
7872 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7873 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7875 (abi-o32_hard-ld-soname): Likewise.
7876 (abi-o32_soft_2008-ld-soname): Likewise.
7877 (abi-o32_hard_2008-ld-soname): Likewise.
7878 (abi-n32_soft-ld-soname): Likewise.
7879 (abi-n32_hard-ld-soname): Likewise.
7880 (abi-n32_soft_2008-ld-soname): Likewise.
7881 (abi-n32_hard_2008-ld-soname): Likewise.
7882 (abi-n64_soft-ld-soname): Likewise.
7883 (abi-n64_hard-ld-soname): Likewise.
7884 (abi-n64_soft_2008-ld-soname): Likewise.
7885 (abi-n64_hard_2008-ld-soname): Likewise.
7886 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7888 (abi-64-v2-ld-soname): Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7891 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7893 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7895 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7897 (abi-64-ld-soname): Likewise.
7898 (abi-x32-ld-soname): Likewise.
7899 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7901 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7903 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7906 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7907 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7908 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7910 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7911 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7912 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7913 syscall entry for GLIBC_2.2 symbol version.
7914 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7917 (setrlimit): Likewise.
7918 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7921 2014-09-23 Will Newton <will.newton@linaro.org>
7923 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7924 _LINUX_ARM_SYSDEP_H include guard too.
7925 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7928 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7930 * sysdeps/unix/sysv/linux/eventfd.c:
7931 Make first argument unsigned.
7932 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7933 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7935 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7937 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7938 * socket/sys/socket.h: Likewise
7939 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7941 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7943 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7945 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7947 * time/tst-ftime.c: New test.
7948 * time/Makefile (tests): Add tst-ftime.
7950 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7952 * soft-fp/extended.h: Fix comment formatting.
7953 * soft-fp/op-1.h: Likewise.
7954 * soft-fp/op-2.h: Likewise.
7955 * soft-fp/op-4.h: Likewise.
7956 * soft-fp/op-8.h: Likewise.
7957 * soft-fp/op-common.h: Likewise.
7958 * soft-fp/soft-fp.h: Likewise.
7960 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7962 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7965 * Makeconfig (soversions-default-setname): Remove variable.
7966 ($(common-objpfx)soversions.i): Don't pass default_setname to
7968 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7969 oldest_abi to abi-versions.awk.
7970 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7971 * config.make.in (oldest-abi): Remove variable.
7972 * configure.ac (--enable-oldest-abi): Remove configure option.
7973 * configure: Regenerated.
7974 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7976 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7977 * scripts/soversions.awk: Do not handle default_setname variable.
7978 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7980 * sysdeps/mach/hurd/configure: Regenerated.
7981 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7983 * sysdeps/unix/sysv/linux/configure: Regenerated.
7985 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7987 * elf/Makefile (CFLAGS-interp.c): Remove.
7988 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7990 * elf/interp.c: Include generated runtime-linker.h
7992 * Makerules (lib%.so): Don't include $(+interp) in
7994 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7995 * dlfcn/eval.c: Remove file.
7997 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8001 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8005 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8007 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8008 Jakub Jelinek <jakub@redhat.com>
8011 * libio/stdio.h: Check definition of __fortify_function
8012 instead of __extern_always_inline to include bits/stdio2.h.
8013 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8014 check if __extern_always_inline is defined.
8015 [__USE_MISC || __USE_XOPEN]: Likewise.
8016 [__USE_ISOC99] Likewise.
8017 * misc/sys/cdefs.h (__fortify_function): Define only if
8018 __extern_always_inline is defined.
8019 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8020 __extern_always_inline and __extern_inline only for g++-4.3
8021 and newer or a compatible gcc.
8023 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8026 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8027 last change to handle zero prefix length.
8029 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8031 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8034 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8037 2014-09-13 Allan McRae <allan@archlinux.org>
8039 * po/ru.po: Update Russian translation from translation project.
8041 2014-09-12 Roland McGrath <roland@hack.frob.com>
8043 * locale/programs/locale.c (show_locale_vars): Inline local function
8044 into its sole call site. Clean up some style nits.
8045 (print_item): New function, broken out of ...
8046 (show_info): ... local function here. Clean up style nits.
8048 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8050 (set_class_defaults): ... local function set_default here.
8051 Define set_default as a macro locally to pass constant parameters.
8052 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8053 rather than a shared local.
8055 * stdlib/rpmatch.c (try): New function, broken out of ...
8056 (rpmatch): ... local function here. Also, prototypify definition.
8058 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8060 * scripts/soversions.awk: Do not handle configuration names.
8061 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8062 vendor and os variables to soversions.awk.
8063 * configure.ac: Do not modify gnu-* host_os.
8064 * configure: Regenerated
8065 * shlib-versions: Remove first column with configuration names.
8066 * nptl/shlib-versions: Likewise.
8067 * nptl_db/shlib-versions: Likewise.
8068 * sysdeps/hppa/shlib-versions: Likewise.
8069 * sysdeps/m68k/shlib-versions: Likewise.
8070 * sysdeps/mach/hurd/shlib-versions: Likewise.
8071 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8072 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8073 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8074 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8075 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8077 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8078 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8081 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8082 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8083 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8084 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8085 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8086 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8087 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8088 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8091 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8094 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8096 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8098 * shlib-versions: Remove OS-specific entries. Moved to files in
8100 * sysdeps/mach/hurd/shlib-versions: New file.
8101 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8103 * nptl/shlib-versions: Remove architecture-specific entries.
8104 Moved to files in sysdeps.
8105 * shlib-versions: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8108 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8109 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8110 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8113 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8114 (UDP_NO_CHECK6_RX): Likewise.
8116 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8118 * sysdeps/posix/sysconf.c (__sysconf): Spell
8119 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8121 2014-08-12 Florian Weimer <fweimer@redhat.com>
8123 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8125 * iconv/Versions (__gconv_transliterate): Export for use from
8127 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8128 (struct __gconv_trans_data, __gconv_trans_fct,
8129 __gconv_trans_context_fct, __gconv_trans_query_fct,
8130 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8132 (struct __gconv_step_data): Remove __trans member.
8133 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8134 longer hidden. Remove unused trans_data argument.
8135 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8136 (__gconv_translit_find): Remove declaration.
8137 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8139 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8140 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8141 trans_data argument. Add hidden definition.
8142 (__gconv_translit_find): Remove.
8143 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8144 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8145 * iconv/skeleton.c: Remove transliteration initialization.
8146 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8147 __gconv_step_data initialization.
8148 * libio/iofwide.c (__libio_translit_): Remove.
8149 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8150 * wcsmbs/btowc.c (__btowc): Likewise.
8151 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8152 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8153 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8154 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8155 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8156 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8157 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8158 * wcsmbs/wctob.c (wctob): Likewise.
8160 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8163 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8164 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8166 * sysdeps/x86/Makefile: Adjust.
8168 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8169 Roland McGrath <roland@hack.frob.com>
8171 * locale/weight.h: Add include guard.
8172 (findidx): Make static rather than auto; take new parameters
8173 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8174 * locale/weightwc.h: Likewise.
8175 * posix/fnmatch_loop.c
8176 (FCT): Change type of EXTRA from int32_t to wint_t.
8177 Don't include either header inside the function.
8178 Call FINDIDX rather than findidx, and pass new arguments.
8179 #undef FINDIDX at the end of the file.
8180 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8181 FINDIDX before including fnmatch_loop.c for the non-wide version.
8182 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8183 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8184 for the wide version.
8185 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8186 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8187 Pass new arguments to findidx.
8188 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8189 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8190 Don't #include it inside the function. Pass new arguments to findidx.
8191 * posix/regex_internal.h
8192 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8193 (re_string_elem_size_at): Don't #include it inside the function.
8194 Pass new arguments to findidx.
8195 * string/strcoll_l.c: #include WEIGHT_H at top level.
8196 (get_next_seq): Don't #include it inside the function.
8197 Pass new arguments to findidx.
8198 (get_next_seq_nocache): Likewise.
8199 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8200 (STRXFRM): Don't #include it inside the function.
8201 Pass new arguments to findidx.
8203 2014-09-11 Florian Weimer <fweimer@redhat.com>
8206 * malloc/malloc.c (unlink): Turn asserts into a call to
8209 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8212 * libio/wfileops (do_ftell_wide): Free OUT.
8214 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8216 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8218 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8221 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8222 group if the current group is empty.
8224 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226 * benchtests/bench-memset.c (test_main): Add more test from size
8227 from 32 to 512 bytes.
8228 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8229 Add POWER8 memset object.
8230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8231 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8232 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8234 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8236 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8237 multiarch POWER8 memset optimization.
8238 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8239 POWER8 memset optimization.
8241 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8242 Remove bzero multiarch objects.
8243 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8244 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8246 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8248 [__bzero]: Redefine to specific name.
8249 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8250 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8251 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8253 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8254 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8256 2014-09-10 Florian Weimer <fweimer@redhat.com>
8258 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8259 warnings into errors.
8261 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8262 __cxa_thread_atexit_impl prototype.
8264 2014-09-09 Steve Ellcey <sellcey@mips.com>
8266 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8267 Fix capitalization of error message.
8269 2014-09-09 Steve Ellcey <sellcey@mips.com>
8271 * sysdeps/mips/preconfigure: Modify ABI tests.
8273 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8275 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8277 2014-09-07 Roland McGrath <roland@hack.frob.com>
8278 Carlos O'Donell <carlos@systemhalted.org>
8280 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8281 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8282 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8283 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8284 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8285 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8286 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8287 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8288 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8289 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8290 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8291 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8292 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8293 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8294 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8295 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8296 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8297 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8298 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8299 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8300 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8301 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8302 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8303 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8304 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8305 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8306 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8307 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8308 Deconditionalize the code that was previously under [RESET_PID].
8309 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8310 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8311 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8312 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8315 2014-09-08 Allan McRae <allan@archlinux.org>
8317 * version.h (RELEASE): Set to "development".
8318 (VERSION): Set to "2.20.90"
8320 2014-09-07 Allan McRae <allan@archlinux.org
8322 * version.h (RELEASE): Set to "stable".
8323 (VERSION): Set to "2.20"
8324 * include/features.h (__GLIBC_MINOR__): Set to 20.
8326 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8329 * po/ko.po: Update Korean translation from translation project.
8331 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8334 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8335 macro for handling signed relocations.
8337 2014-09-03 Florian Weimer <fweimer@redhat.com>
8340 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8341 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8343 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8344 * iconvdata/ibm935.c (BODY): Likewise.
8345 * iconvdata/ibm937.c (BODY): Likewise.
8346 * iconvdata/ibm939.c (BODY): Likewise.
8347 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8349 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8351 * iconvdata/run-iconv-test.sh: New test loop for checking for
8354 2014-09-02 Khem Raj <raj.khem@gmail.com>
8356 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8359 2014-09-01 Allan McRae <allan@archlinux.org>
8361 * po/eo.po: Update Esperanto translation from translation project.
8363 * po/ca.po: Update Catalan translation from translation project.
8365 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8367 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8370 2014-08-27 Mark Wielaard <mjw@redhat.com>
8373 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8374 to call set_thread_area instead of hand written asm.
8375 (__NR_set_thread_area): Removed define.
8376 (TLS_FLAG_WRITABLE): Likewise.
8377 (__ASSUME_SET_THREAD_AREA): Remove check.
8378 (TLS_EBX_ARG): Remove define.
8379 (TLS_LOAD_EBX): Likewise.
8381 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8383 Simplify atomicity of socket creation in bind.
8385 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8386 looking up the name after linking the file.
8388 2014-08-27 Allan McRae <allan@archlinux.org>
8390 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8392 2014-08-26 Florian Weimer <fweimer@redhat.com>
8395 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8396 trans_compare, open_translit, __gconv_translit_find):
8397 Remove module loading code.
8399 2014-08-26 Allan McRae <allan@archlinux.org>
8401 * po/vi.po: Update Vietnamese translation from translation project.
8403 * po/uk.po: Update Ukrainian translation from translation project.
8405 * po/fr.po: Update French translation from translation project.
8407 * po/ru.po: Update Russian translation from translation project.
8409 * po/pl.po: Update Polish translation from translation project.
8411 * po/cs.po: Update Czech translation from translation project.
8413 * po/de.po: Update German translation from translation project.
8415 * po/bg.po: Update Bulgarian translation from translation project.
8417 * po/sv.po: Update Sweedish translation from translation project.
8419 * po/nl.po: Update Dutch translation from translation project.
8421 * po/es.po: Update Spanish translation from translation project.
8423 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8425 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8427 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8428 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8429 (CPPFLAGS-iconvconfig): Likewise.
8430 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8432 * include/libc-symbols.h: Remove unnecessary check for
8434 * nptl/pthreadP.h: Likewise.
8435 * sysdeps/aarch64/setjmp.S: Likewise.
8436 * sysdeps/alpha/setjmp.S: Likewise.
8437 * sysdeps/arm/sysdep.h: Likewise.
8438 * sysdeps/i386/setjmp.S: Likewise.
8439 * sysdeps/m68k/setjmp.c: Likewise.
8440 * sysdeps/posix/getcwd.c: Likewise.
8441 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8442 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8443 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8444 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8445 * sysdeps/sh/sh3/setjmp.S: Likewise.
8446 * sysdeps/sh/sh4/setjmp.S: Likewise.
8447 * sysdeps/unix/alpha/sysdep.h: Likewise.
8448 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8450 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8451 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8456 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8457 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8459 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8461 * sysdeps/x86_64/setjmp.S: Likewise.
8463 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8466 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8468 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8469 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8471 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8473 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8476 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8477 and __x86_64__ when disabling x87 inline functions.
8479 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8482 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8483 asm statement with __cpuid_count.
8485 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8487 * configure.ac: Change __ehdr_start code to dereference the struct.
8488 Run readelf on the output to look for relocations.
8489 * configure: Regenerated.
8491 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8494 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8496 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8498 2014-08-12 Roland McGrath <roland@hack.frob.com>
8500 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8502 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8505 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8506 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8508 2014-08-12 Sean Anderson <seanga2@gmail.com>
8510 * malloc/malloc.c: Fix typo in comment.
8512 2014-08-09 Allan McRae <allan@archlinux.org>
8514 * Regenerate libc.po.
8516 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8518 * intl/tst-gettext2.sh: Check every lang file for creation.
8520 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8522 * sysdeps/aarch64/fpu/math_private.h
8523 (libc_feholdsetround_noex_aarch64_ctx): New function.
8525 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8527 * sysdeps/arm/armv6/strcpy.S (strcpy):
8528 Fix performance issue in misaligned cases.
8530 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8532 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8533 Move definition from termios.h.
8534 (struct termio): Likewise.
8535 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8536 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8537 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8538 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8540 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8541 Move definition to ioctl-types.h
8542 (struct termio): Likewise.
8543 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8544 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8545 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8546 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8549 2014-08-05 Richard Henderson <rth@redhat.com>
8551 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8553 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8555 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8556 Use __feraiseexcept.
8557 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8558 Protect libm symbols with IS_IN_libm.
8560 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8562 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8564 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8566 2014-08-04 Will Newton <will.newton@linaro.org>
8568 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8571 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8573 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8574 variants for each function.
8576 2014-08-04 Roland McGrath <roland@hack.frob.com>
8578 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8580 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8581 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8583 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8584 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8585 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8586 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8587 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8588 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8589 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8590 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8591 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8592 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8593 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8597 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8599 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8600 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8601 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8603 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8604 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8605 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8606 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8607 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8609 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8610 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8611 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8612 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8613 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8615 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8619 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8620 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8621 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8622 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8623 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8624 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8625 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8626 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8627 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8628 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8629 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8631 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8633 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8634 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8635 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8637 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8638 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8640 2014-08-04 Roland McGrath <roland@hack.frob.com>
8642 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8643 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8644 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8645 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8646 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8647 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8649 2014-08-04 Roland McGrath <roland@hack.frob.com>
8651 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8652 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8653 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8654 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8656 2014-08-04 Roland McGrath <roland@hack.frob.com>
8658 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8659 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8660 (__libc_vfork): Define function under this name.
8661 (__vfork): Define as an alias.
8662 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8663 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8665 2014-08-04 Roland McGrath <roland@hack.frob.com>
8667 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8668 that was previously under [RESET_PID].
8669 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8671 2014-08-04 Andreas Schwab <schwab@suse.de>
8673 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8675 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8677 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8680 2014-08-01 Roland McGrath <roland@hack.frob.com>
8682 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8684 2014-08-01 Richard Henderon <rth@redhat.com>
8686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8687 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8688 typo in exact zero test.
8689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8690 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8693 2014-08-01 Roland McGrath <roland@hack.frob.com>
8695 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8696 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8697 * sysdeps/arm/sysdep.h: ... here.
8698 [!__ASSEMBLER__]: Include <stdint.h>.
8700 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8702 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8703 (HAVE_WCTYPE_H): Likewise.
8704 (HAVE_ISWCTYPE): Likewise.
8705 (ENABLE_NLS): Likewise.
8706 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8707 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8709 * posix/regex_internal.c: Check if DEBUG is defined and is
8712 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8713 (HAVE_MBSRTOWCS): Likewise.
8714 * posix/fnmatch.c: Include string.h unconditionally.
8716 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8718 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8721 2014-07-31 Roland McGrath <roland@hack.frob.com>
8723 * sysdeps/generic/safe-fatal.h: New file.
8724 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8725 * nptl/forward.c: Include it.
8726 (__pthread_unwind): Use __safe_fatal as default action, rather
8727 than a bogus use of INTERNAL_SYSCALL that could never work.
8729 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8730 * configure.ac (libc_cv_builtin_trap): New test.
8731 * configure: Regenerated.
8732 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8733 (ABORT_INSTRUCTION): Define using __builtin_trap.
8735 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8736 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8737 * sysdeps/nptl/nptl-signals.h: New file.
8738 * nptl/pthreadP.h: Include <nptl-signals.h>.
8740 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8742 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8743 (ONE_DIRECTION): Define.
8744 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8745 (ONE_DIRECTION): Define.
8746 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8747 (ONE_DIRECTION): Define.
8749 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8751 * sysdeps/s390/Makefile: Delete file.
8752 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8753 * sysdeps/s390/__longjmp.c: Delete file.
8754 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8755 Remove fields __flags and __reserved.
8756 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8758 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8759 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8760 * sysdeps/s390/rtld-setjmp.S: Likewise.
8761 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8762 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8763 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8764 * sysdeps/s390/s390-32/setjmp.S: ... here.
8766 (__sigsetjmp): Remove setting __flags field.
8767 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8768 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8769 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8770 * sysdeps/s390/s390-64/setjmp.S: ... here.
8772 (__sigsetjmp): Remove setting __flags field.
8773 * sysdeps/s390/setjmp.S: Delete file.
8774 * sysdeps/s390/sigjmp.c: Likewise.
8775 * sysdeps/s390/v1-longjmp.c: Likewise.
8776 * sysdeps/s390/v1-setjmp.h: Likewise.
8777 * sysdeps/s390/v1-sigjmp.c: Likewise.
8778 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8779 Remove v1-longjmp_chk.
8780 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8781 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8782 Include debug/longjmp_chk.c and add versioning.
8783 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8784 Include nptl/pt-longjmp.c and add versioning.
8785 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8786 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8787 Include __longjmp.c.
8788 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8790 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8791 (__getcontext): Remove setting __flags field.
8793 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8794 Don't restore upper high grps.
8795 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8797 (__swapcontext): Remove setting uc_flags field.
8798 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8800 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8801 Include __longjmp.c.
8802 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8804 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8805 (__getcontext): Remove setting __flags field.
8807 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8808 (__swapcontext): Remove setting uc_flags field.
8809 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8810 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8811 Remove fields uc_high_gprs and __reserved.
8812 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8813 New file with reverted content.
8814 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8817 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8820 2014-07-31 Andreas Schwab <schwab@suse.de>
8822 * config.h.in (HAVE_IFUNC): Define to 0.
8823 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8826 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8829 memmove-avx-unaligned, memcpy-avx-unaligned and
8830 mempcpy-avx-unaligned.
8831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8832 Add tests for AVX memcpy functions.
8833 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8834 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8836 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8837 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8839 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8840 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8842 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8843 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8844 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8846 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8849 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8852 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8855 * manual/llio.texi: Add section about open file description locks.
8856 * manual/examples/ofdlocks.c: Example of open file description
8858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8859 F_OFD_SETLK, and F_OFD_SETLKW.
8861 2014-07-23 Allan McRae <allan@archlinux.org>
8863 * po/es.po: Update Spanish translation from translation project.
8865 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8867 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8869 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8872 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8873 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8874 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8876 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8879 * math/fesetenv.c (__fesetenv)
8880 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8881 * math/feupdateenv.c (__feupdateenv)
8882 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8884 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8885 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8886 (__ASSUME_SOCKETCALL): Do not define.
8888 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8889 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8890 (__ASSUME_SOCKETCALL): Do not define.
8891 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8892 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8893 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8894 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8895 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8896 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8897 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8898 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8900 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8901 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8902 (__ASSUME_SOCKETCALL): Do not define.
8903 (__ASSUME_IPC64): Define unconditionally.
8904 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8905 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8906 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8907 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8908 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8909 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8910 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8913 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8914 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8915 (__ASSUME_SOCKETCALL): Do not define.
8916 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8917 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8918 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8919 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8920 (__ASSUME_REQUEUE_PI): Define unconditionally.
8921 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8922 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8923 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8924 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8925 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8926 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8928 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8929 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8930 (__ASSUME_SOCKETCALL): Do not define.
8931 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8932 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8933 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8934 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8935 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8936 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8938 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8939 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8940 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8941 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8942 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8943 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8944 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8945 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8946 (__ASSUME_GETCPU_SYSCALL): Likewise.
8948 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8949 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8950 cases for individual architectures.
8951 * sysdeps/gnu/configure: Regenerated.
8952 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8953 LIBC_SLIBDIR_RTLDDIR.
8954 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8955 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8956 LIBC_SLIBDIR_RTLDDIR.
8957 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8959 LIBC_SLIBDIR_RTLDDIR.
8960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8962 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8963 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8965 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8966 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8968 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8969 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8971 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8973 * sysdeps/aarch64/shlib-versions: Move to ...
8974 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8975 * sysdeps/alpha/shlib-versions: Move to ...
8976 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8977 * sysdeps/arm/shlib-versions: Move to ...
8978 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8979 * sysdeps/hppa/shlib-versions: Move all contents except for
8980 libgcc_s entry to ...
8981 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8983 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8984 * sysdeps/ia64/shlib-versions: Move to ...
8985 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8987 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8988 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8989 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8990 * sysdeps/microblaze/shlib-versions: Move to ...
8991 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8992 * sysdeps/mips/shlib-versions: Move to ...
8993 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8995 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8996 * sysdeps/tile/shlib-versions: Move to ...
8997 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8998 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9000 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9001 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9003 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9005 2014-07-17 Will Newton <will.newton@linaro.org>
9007 * sysdeps/arm/bits/atomic.h
9008 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9009 (__arch_compare_and_exchange_bool_16_int): Likewise.
9010 (__arch_compare_and_exchange_bool_64_int): Likewise.
9012 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9013 into an #else block.
9015 2014-07-16 Roland McGrath <roland@hack.frob.com>
9017 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9018 just Linux configurations. Test empirically that the compiler sets
9019 __ARM_EABI__, rather than using the tuple to decide.
9020 * sysdeps/arm/preconfigure: Regenerated.
9021 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9022 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9023 contents appended ...
9024 * sysdeps/arm/configure.ac: ... here.
9025 * sysdeps/arm/configure: Regenerated.
9027 2014-07-15 Roland McGrath <roland@hack.frob.com>
9029 * nptl/pthread_kill.c: New file.
9030 * nptl/pthread_sigmask.c: New file.
9031 * nptl/pthread_sigqueue.c: New file.
9033 * sysdeps/nptl/lowlevellock.h: New file.
9034 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9035 * sysdeps/nptl/lowlevellock-futex.h: New file.
9037 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9038 Remove dead declarations.
9040 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9042 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9043 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9045 * sysdeps/x86_64/configure.ac: Likewise.
9046 * sysdeps/i386/configure: Regenerated.
9047 * sysdeps/x86_64/configure: Likewise.
9048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9049 memset-avx2 only if config-cflags-avx2 is yes.
9050 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9051 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9053 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9054 only if HAVE_AVX2_SUPPORT is defined.
9055 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9057 2014-07-14 Alan Modra <amodra@gmail.com>
9060 * elf/elf.h (DT_PPC64_NUM): Correct value.
9061 * NEWS: Add to fixed bug list.
9063 2014-07-13 Jim Meyering <meyering@fb.com>
9066 regex: don't deref NULL upon heap allocation failure
9067 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9068 failure in one more place.
9069 To trigger the segfault, configure grep -with-included-regex,
9070 build it, and run these commands:
9071 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9073 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9075 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9077 2014-07-11 Richard Henderson <rth@redhat.com>
9079 * sysdeps/aarch64/libm-test-ulps: Update.
9081 2014-07-10 Florian Weimer <fweimer@redhat.com>
9084 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9085 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9086 (__nptl_setxid): Initialize error member. Call
9087 __nptl_setxid_error.
9088 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9089 * nptl/descr.h (struct xid_command): Add error member.
9090 * nptl/tst-setuid3.c: New file.
9091 * nptl/Makefile (tests): Add it.
9093 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9097 (__lll_trylock): Use __lll_base_trylock.
9098 (__lll_cond_trylock): Likewise.
9100 2014-07-10 Roland McGrath <roland@hack.frob.com>
9102 * nptl/pthread_create.c (start_thread): Use atomic_or and
9103 lll_futex_wake directly rather than lll_robust_dead.
9104 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9105 (lll_robust_dead): Macro removed.
9106 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9107 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9108 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9109 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9110 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9111 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9112 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9113 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9114 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9115 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9116 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9117 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9118 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9119 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9120 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9122 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9123 Use atomic_compare_and_exchange_val_acq directly rather than
9125 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9126 (__lll_robust_trylock, lll_robust_trylock): Removed.
9127 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9128 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9129 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9130 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9131 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9132 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9133 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9134 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9135 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9136 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9137 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9138 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9139 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9140 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9142 2014-07-02 Florian Weimer <fweimer@redhat.com>
9144 * manual/locale.texi (Locale Names): New section documenting
9145 locale name syntax. Adjust menu and node chaining accordingly.
9146 (Choosing Locale): Reference Locale Names, Locale Categories.
9147 Mention setting LC_ALL=C. Reflect that name syntax is now
9149 (Locale Categories): New section title. Reference Locale Names.
9150 LC_ALL is an environment variable, but not a category.
9151 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9152 description, now in Locale Name. Reference that section. Locale
9153 name syntax is now documented.
9155 2014-07-02 Florian Weimer <fweimer@redhat.com>
9158 * locale/findlocale.c (name_present, valid_locale_name): New
9160 (_nl_find_locale): Use the loc_name variable to store name
9161 candidates. Call name_present and valid_locale_name to check and
9162 validate locale names. Return an error if the locale is invalid.
9164 2014-07-02 Florian Weimer <fweimer@redhat.com>
9166 * locale/setlocale.c (setlocale): Use strdup for allocating
9167 composite name copy.
9169 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9171 Sync up with gnulib.
9172 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9173 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9174 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9175 and _GL_ARG_NONNULL.
9176 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9177 [!_LIBC]: Include code for Windows and Cygwin.
9178 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9179 Include prototype for int strerror_r.
9180 [!_LIBC] (is_open): New function.
9181 (flush_stdout): New function.
9182 (print_errno_message): Use it.
9184 (error_at_line): Likewise.
9185 (error_tail) Add function attribute macros. Use
9188 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9190 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9192 * io/ftw.c: Include sys/param.h unconditionally.
9194 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9197 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9199 (freecache): New function to free CACHE on exit.
9201 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9204 2014-07-09 David S. Miller <davem@davemloft.net>
9206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9208 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9209 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9210 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9211 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9212 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9213 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9214 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9215 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9216 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9217 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9218 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9219 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9220 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9222 2014-07-09 Andreas Schwab <schwab@suse.de>
9224 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9226 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9227 (do_test): Likewise.
9229 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9231 2014-07-09 Will Newton <will.newton@linaro.org>
9233 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9234 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9235 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9236 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9237 * sysdeps/hppa/start.S (_start): Likewise.
9239 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9241 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9243 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9246 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9248 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9249 after checking that it is non-NULL.
9251 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9253 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255 * sysdeps/powerpc/memmove.c: Remove file.
9256 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9257 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9258 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9259 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9260 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9261 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9262 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9263 string memmove instead of removed powerpc one.
9265 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9266 [weak_alias]: Fix compiler warning due trailing data.
9267 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9268 [weak_alias]: Likewise.
9269 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9270 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9272 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9273 (__libc_ifunc_impl_list): Add memmove functions.
9275 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9279 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9281 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9283 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9285 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9287 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9289 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9291 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9293 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9295 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9297 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9299 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9301 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9303 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9305 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9307 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9309 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9312 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9315 to avoid alignment traps in non-cacheable memory.
9316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9320 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9321 file: multiarch power7 memmove.
9322 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9323 multiarch default memmove.
9324 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9325 multiarch memove for powerpc32/power4.
9327 * string/bcopy.c: Use full path to include memmove.c.
9328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9330 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9331 bcopy for powerpc64.
9332 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9333 bcopy for powerpc64.
9334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9335 and memmove implementations.
9336 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9337 optimized multiarch memmove for POWER7/powerpc64.
9338 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9339 default multiarch memmove for powerpc64.
9340 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9341 multiarch for powerpc64.
9342 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9343 for POWER7/powerpc64.
9344 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9345 memmove for POWER7/powerpc64.
9347 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9350 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9351 __ELF_NATIVE_CLASS equal to 64.
9353 2014-07-07 Roland McGrath <roland@hack.frob.com>
9355 * sysdeps/nptl/lowlevellock.h: File removed.
9357 * NEWS: NPTL is no longer an add-on!
9358 * nptl/internaltypes.h: Moved ...
9359 * sysdeps/nptl/internaltypes.h: ... here.
9360 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9361 * sysdeps/nptl/fork.c: Likewise.
9362 * sysdeps/nptl/gai_misc.h: Likewise.
9363 * sysdeps/nptl/librt-cancellation.c: Likewise.
9364 * sysdeps/nptl/jmp-unwind.c: Likewise.
9365 * sysdeps/nptl/setxid.h: Likewise.
9366 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9367 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9368 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9369 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9370 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9371 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9372 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9373 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9374 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9375 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9376 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9377 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9378 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9379 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9380 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9381 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9382 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9383 * nptl/Makeconfig: Moved ...
9384 * sysdeps/nptl/Makeconfig: ... here.
9385 * nptl/configure: File removed.
9386 * nptl/ANNOUNCE: File removed.
9387 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9388 * sysdeps/unix/sysv/linux/configure: Regenerated.
9390 * nptl/Makefile (routines): Add libc_pthread_init,
9391 libc_multiple_threads, register-atfork and unregister-atfork.
9392 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9393 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9394 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9395 pthread-pi-defines.sym, structsem.sym.
9396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9397 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9398 [$(subdir) = nptl] (tests): Add tst-setgetname.
9399 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9400 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9401 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9402 [!LIBC_SIGACTION]: Remove aliases.
9403 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9404 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9405 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9406 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9407 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9408 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9409 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9410 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9411 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9412 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9413 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9414 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9415 __libc_allocate_rtsig_private.
9416 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9417 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9418 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9419 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9420 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9421 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9422 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9423 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9424 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9425 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9426 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9427 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9428 * nptl/internaltypes.h: ... here.
9429 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9430 * sysdeps/nptl/jmp-unwind.c: ... here.
9431 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9432 * nptl/libc-lowlevellock.c: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9434 * nptl/libc_multiple_threads.c: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9436 * nptl/libc_pthread_init.c: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9438 * nptl/lowlevelbarrier.sym: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9440 * nptl/lowlevelcond.sym: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9442 * nptl/lowlevellock.c: ... here.
9443 * nptl/lowlevellock.h: Moved ...
9444 * sysdeps/nptl/lowlevellock.h: ... here.
9445 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9446 * nptl/lowlevelrobustlock.c: ... here.
9447 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9448 * nptl/lowlevelrobustlock.sym: ... here.
9449 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9450 * nptl/lowlevelrwlock.sym: ... here.
9451 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9452 * nptl/pt-fork.c: ... here.
9453 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9454 * nptl/pthread-pi-defines.sym: ... here.
9455 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9456 * nptl/pthread_attr_getaffinity.c: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9458 * nptl/pthread_attr_setaffinity.c: ... here.
9459 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9460 * nptl/pthread_mutex_cond_lock.c: ... here.
9461 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9463 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9464 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9465 * nptl/pthread_once.c: ... here, replacing old file.
9466 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9467 * nptl/pthread_yield.c: ... here.
9468 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9469 * nptl/register-atfork.c: ... here.
9470 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9471 * nptl/sem_post.c: ... here.
9472 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9473 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9474 * nptl/sem_timedwait.c: ... here.
9475 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9476 * nptl/sem_trywait.c: ... here.
9477 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9478 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9479 * nptl/sem_wait.c: ... here.
9480 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9481 * nptl/structsem.sym: ... here.
9482 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9483 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9484 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9485 * nptl/unregister-atfork.c: ... here.
9486 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9487 * nptl/unwindbuf.sym: ... here.
9488 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9489 * sysdeps/nptl/fork.c: ... here.
9490 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9491 * sysdeps/nptl/fork.h: ... here.
9492 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9493 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9494 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9496 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9498 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9500 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9501 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9502 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9503 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9504 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9505 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9506 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9507 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9508 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9509 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9510 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9512 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9513 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9514 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9515 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9516 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9518 * sysdeps/unix/sysv/linux/raise.c: ... here.
9519 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9520 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9522 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9524 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9526 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9528 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9529 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9530 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9531 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9532 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9533 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9535 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9537 * sysdeps/generic/memcopy.h: Add comment for
9538 MEMCPY_OK_FOR_FWD_MEMMOVE.
9540 2014-07-04 Will Newton <will.newton@linaro.org>
9542 * string/memchr.c: Merge from gnulib.
9543 [_LIBC]: Remove conditionals.
9544 (__ptr_t): Remove define.
9545 (LONG_MAX_32_BITS): Likewise.
9546 (LONG_MAX): Likewise.
9547 (MEMCHR): Use ANSI prototype and optimize algorithm.
9549 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9551 2014-07-03 Roland McGrath <roland@hack.frob.com>
9553 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9554 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9556 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9557 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9558 in a bare environment with no <stdlib.h> installed.
9559 * sysdeps/nptl/configure: Regenerated.
9561 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9563 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9564 AC_EGREP_CPP for kernel header checks, so they only succeed if
9565 including <linux/version.h> actually works right.
9566 * sysdeps/unix/sysv/linux/configure: Regenerated.
9568 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9569 value so it's not diagnosed as unused.
9571 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9572 thing) with "ifeq ($(subdir),rt)".
9574 2014-07-03 Richard Henderson <rth@redhat.com>
9576 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9577 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9578 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9580 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9581 (math_force_eval): New.
9583 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9584 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9586 * sysdeps/alpha/fpu/s_round.c: Remove file.
9587 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9589 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9590 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9591 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9592 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9593 (_dl_start, print_statistics): Likewise.
9594 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9595 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9597 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9598 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9599 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9600 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9602 (HP_SMALL_TIMING_AVAIL): Define.
9603 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9604 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9605 (HP_SMALL_TIMING_AVAIL): Define.
9606 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9607 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9609 * sysdeps/aarch64/hp-timing.h: New file.
9611 * sysdeps/generic/hp-timing.h: Remove dead comment.
9612 * sysdeps/generic/hp-timing-common.h: New file.
9613 * sysdeps/alpha/hp-timing.h: Include it.
9614 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9615 * sysdeps/i386/i686/hp-timing.h: Likewise.
9616 * sysdeps/ia64/hp-timing.h: Likewise.
9617 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9618 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9619 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9620 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9621 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9622 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9625 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9626 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9627 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9628 * elf/rtld.c (_dl_start_final): Likewise.
9629 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9630 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9631 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9632 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9633 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9635 (HP_TIMING_DIFF_INIT): Remove.
9636 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9638 (HP_TIMING_DIFF_INIT): Remove.
9639 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9640 * sysdeps/i386/i686/hp-timing.c: Remove file.
9641 * sysdeps/x86_64/hp-timing.c: Remove file.
9642 * sysdeps/ia64/hp-timing.c: Remove file.
9643 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9644 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9646 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9648 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9649 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9650 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9651 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9652 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9653 (HP_TIMING_ACCUM): Remove.
9654 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9655 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9656 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9658 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9659 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9660 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9661 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9662 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9663 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9664 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9665 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9667 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9669 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9671 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9673 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9675 Sync up with gettext.
9676 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9677 [_MSC_VER]: Include malloc.h
9678 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9679 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9680 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9681 TEMP_FAILURE_RETRY. Cast return of alloca.
9682 [!_LIBC] Call gl_rwlock_init.
9683 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9685 2014-07-02 Roland McGrath <roland@hack.frob.com>
9687 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9688 before checking its value.
9690 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9692 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9694 * debug/memcpy_chk.c: Don't include pagecopy.h.
9695 * debug/mempcpy_chk.c: Likewise.
9696 * string/memcpy.c: Likewise.
9697 * string/memmove.c: Likewise.
9698 * sysdeps/powerpc/memmove.c: Likewise.
9699 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9700 definition of PAGE_COPY_FWD_MAYBE here...
9701 * sysdeps/generic/pagecopy.h: ... from here.
9702 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9704 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9705 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9711 (__libc_ifunc_impl_list): Likewise.
9712 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9713 multiarch strcat for PPC64.
9714 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9715 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9717 2014-07-02 Roland McGrath <roland@hack.frob.com>
9719 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9721 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9723 * intl/loadmsgcat.c: Remove declaration of
9724 get_sysdep_segment_value.
9725 (get_sysdep_segment_value): Use ISO C style.
9726 (_nl_load_domain): Use ISO C style. Get rid of redundant
9727 semicolon. Fix typo and formatting in comment.
9728 (_nl_unload_domain): Use ISO C style.
9730 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9732 2014-07-02 Will Newton <will.newton@linaro.org>
9734 * malloc/obstack.c: Merge from gnulib master.
9735 [HAVE_CONFIG_H]: Remove conditional code.
9736 [!_LIBC]: Include config.h.
9737 [!ELIDE_CODE]: Don't include inttypes.h, include
9738 stdint.h unconditionally.
9739 (print_and_abort): Mark as _Noreturn.
9740 (_obstack_allocated_p): Mark as __attribute_pure__.
9741 (obstack_free): Rename to __obstack_free.
9742 [!__attribute__]: Remove conditional code.
9743 * malloc/obstack.h: Merge from gnulib master.
9744 [__cplusplus]: Move conditional down.
9745 [!__attribute_pure__]: Define __attribute_pure__ here
9746 if it is not already defined.
9747 (_obstack_memory_used): Mark as __attribute_pure__.
9748 [!__obstack_free]: Define as obstack_free.
9749 [__GNUC__]: Remove check for ancient NeXT gcc.
9751 2014-07-02 Will Newton <will.newton@linaro.org>
9752 Paul Eggert <eggert@cs.ucla.edu>
9754 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9756 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9758 * resolv/gethnamaddr.c: Add comment warning that the file is
9761 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9763 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9766 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9767 entry for aio_cancel and aio_cancel64.
9768 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9769 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9770 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9771 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9772 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9773 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9774 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9775 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9776 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9777 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9778 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9779 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9780 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9782 2014-07-01 Roland McGrath <roland@hack.frob.com>
9784 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9785 * nptl/pthread_mutex_lock.c: Likewise.
9786 * nptl/pthread_mutex_timedlock.c: Likewise.
9787 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9789 2014-07-01 Richard henderson <rth@redhat.com>
9791 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9792 (__isnan, __isnanl): Remove.
9793 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9795 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9797 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9799 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9801 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9803 * resolv/nss_dns/dns-host.c (getanswer_r)
9804 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9806 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9808 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9809 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9811 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9812 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9814 2014-07-01 Roland McGrath <roland@hack.frob.com>
9816 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9817 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9819 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9820 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9822 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9823 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9825 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9826 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9828 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9829 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9830 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9831 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9833 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9834 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9835 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9839 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9841 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9842 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9844 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9850 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9851 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9852 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9854 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9862 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9865 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9866 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9867 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9868 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9869 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9871 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9873 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9874 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9875 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9878 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9882 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9884 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9885 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9887 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9889 * sysdeps/arm/libm-test-ulps: Regenerated.
9891 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9892 Roland McGrath <roland@hack.frob.com>
9894 * test-skeleton.c (signal_handler): Kill the whole process group
9895 before killing the child individually.
9896 (main): Report any failure on `setpgid'.
9898 2014-06-30 Roland McGrath <roland@hack.frob.com>
9900 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9901 from _TLS_H to _ARM_NPTL_TLS_H.
9902 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9903 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9905 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9908 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9909 (__expm1l): Return argument unchanged when small but not
9912 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9914 (_FP_UNPACK_RAW_1_P): Likewise.
9915 (_FP_PACK_RAW_1): Likewise.
9916 (_FP_PACK_RAW_1_P): Likewise.
9917 (_FP_MUL_MEAT_1_wide): Likewise.
9918 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9919 (_FP_MUL_MEAT_1_hard): Likewise.
9920 (_FP_DIV_MEAT_1_imm): Likewise.
9921 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9922 (_FP_DIV_MEAT_1_udiv): Likewise.
9923 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9924 (_FP_UNPACK_RAW_2): Likewise.
9925 (_FP_UNPACK_RAW_2_P): Likewise.
9926 (_FP_PACK_RAW_2): Likewise.
9927 (_FP_PACK_RAW_2_P): Likewise.
9928 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9929 (_FP_MUL_MEAT_2_wide): Likewise.
9930 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9931 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9932 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9933 (_FP_MUL_MEAT_2_gmp): Likewise.
9934 (_FP_DIV_MEAT_2_udiv): Likewise.
9935 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9936 (_FP_FRAC_SRL_4): Likewise.
9937 (_FP_FRAC_SRST_4): Likewise.
9938 (_FP_FRAC_SRS_4): Likewise.
9939 (_FP_UNPACK_RAW_4): Likewise.
9940 (_FP_UNPACK_RAW_4_P): Likewise.
9941 (_FP_PACK_RAW_4): Likewise.
9942 (_FP_PACK_RAW_4_P): Likewise.
9943 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9944 (_FP_MUL_MEAT_4_wide): Likewise.
9945 (_FP_MUL_MEAT_4_gmp): Likewise.
9946 (umul_ppppmnnn): Likewise.
9947 (_FP_DIV_MEAT_4_udiv): Likewise.
9948 (__FP_FRAC_ADD_4): Likewise.
9949 (__FP_FRAC_SUB_3): Likewise.
9950 (__FP_FRAC_SUB_4): Likewise.
9951 (__FP_FRAC_DEC_3): Likewise.
9952 (__FP_FRAC_DEC_4): Likewise.
9953 (__FP_FRAC_ADDI_4): Likewise.
9954 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9955 (_FP_FRAC_SRL_8): Likewise.
9956 (_FP_FRAC_SRS_8): Likewise.
9958 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9960 (FP_UNPACK_RAW_EP): Likewise.
9961 (FP_PACK_RAW_E): Likewise.
9962 (FP_PACK_RAW_EP): Likewise.
9963 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9964 (_FP_ISSIGNAN): Likewise.
9965 (_FP_ADD_INTERNAL): Likewise.
9966 (_FP_FMA): Likewise.
9967 (_FP_CMP): Likewise.
9968 (_FP_SQRT): Likewise.
9969 (_FP_TO_INT): Likewise.
9970 (_FP_FROM_INT): Likewise.
9971 (FP_EXTEND): Likewise.
9972 (_FP_DIV_MEAT_N_loop): Likewise.
9974 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9976 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9979 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9982 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9983 result with correct sign in case of exponents that produce
9984 overflow except for X very close to 1.
9986 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9988 mktime: merge #if/#ifdef usage from glibc
9989 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9990 as that works with both Glibc's and Gnulib's style.
9991 See thread starting at Siddhesh Poyarekar's bug report at:
9992 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9994 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9996 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9997 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9998 * sysdeps/tile/tilegx/memmove.c: Remove file.
10000 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10002 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10003 abi-name definition.
10004 * scripts/soversions.awk: Do not handle or generate ABI lines.
10005 * shlib-versions: Remove ABI entries.
10006 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10007 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10009 2014-06-27 Roland McGrath <roland@hack.frob.com>
10011 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10012 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10013 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10014 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10019 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10022 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10024 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10026 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10027 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10028 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10029 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10030 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10031 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10032 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10035 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10037 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10039 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10045 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10052 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10059 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10064 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10067 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10068 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10072 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10074 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10075 Identical file removed.
10076 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10078 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10080 Identical file removed.
10081 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10082 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10083 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10085 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10087 Identical file removed.
10088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10089 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10091 Identical file removed.
10092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10093 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10094 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10095 Identical file removed.
10096 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10097 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10098 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10099 Identical file removed.
10100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10102 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10104 Identical file removed.
10105 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10107 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10108 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10109 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10111 Identical file removed.
10112 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10114 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10116 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10117 Identical file removed.
10118 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10120 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10122 Identical file removed.
10123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10125 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10126 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10127 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10129 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10130 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10134 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10136 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10137 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10138 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10139 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10140 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10142 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10145 * nscd/nscd.c (monitor_child): Return exit status of child
10146 instead of return value from wait syscall.
10148 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10150 * configure.ac (libc_commonpagesize): Remove variable.
10151 (libc_relro_required): Likewise.
10152 (libc_cv_z_relro): Remove configure test.
10153 * configure: Regenerated.
10154 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10156 (libc_relro_required): Likewise.
10157 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10158 (libc_relro_required): Likewise.
10159 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10160 (libc_relro_required): Likewise.
10161 * sysdeps/arm/preconfigure: Regenerated.
10162 * sysdeps/ia64/preconfigure: Remove file.
10163 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10165 (libc_relro_required): Likewise.
10169 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10170 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10171 recompute overflowing results in original rounding mode.
10172 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10173 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10174 recompute overflowing results in original rounding mode.
10175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10176 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10177 recompute overflowing results in original rounding mode.
10178 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10179 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10180 recompute overflowing results in original rounding mode.
10181 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10182 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10183 recompute overflowing results in original rounding mode.
10184 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10185 (libc_feholdsetround_ctx): New macro.
10186 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10190 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10192 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10193 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10194 corresponding .cpsetup call.
10196 2014-06-26 Roland McGrath <roland@hack.frob.com>
10198 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10199 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10200 * sysdeps/arm/Makefile [$(subdir) = csu]
10201 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10202 (static-only-routines): Add aeabi_read_tp here.
10203 (shared-only-routines): Add libc-aeabi_read_tp here.
10204 (CFLAGS-libc-start.c): Add -fexceptions here.
10205 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10206 (sysdep_routines, static-only-routines, shared-only-routines):
10207 Don't add to these here.
10208 (CFLAGS-libc-start.c): Likewise.
10210 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10211 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10212 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10213 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10214 * sysdeps/arm/Makefile [$(subdir) = rt]
10215 (librt-sysdep_routines, librt-shared-only-routines):
10216 Append rt-aeabi_unwind_cpp_pr1 here.
10217 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10218 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10219 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10220 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10221 Append nptl-aeabi_unwind_cpp_pr1 here.
10222 (tests): Filter out tst-cleanupx4 here.
10223 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10224 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10225 Don't do those here.
10227 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10229 * scripts/list-sources.sh: Do not handle ports specially.
10231 2014-06-26 Roland McGrath <roland@hack.frob.com>
10233 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10234 * sysdeps/arm/feupdateenv.c: Likewise.
10236 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10238 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10240 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10241 trailing whitespace removed.
10242 * scripts/config.guess: Update to version 2014-03-23.
10243 * scripts/config.sub: Update to version 2014-05-01
10244 * scripts/install-sh: Update to version 2013-12-25.23.
10245 * scripts/move-if-change: Update from gnulib.
10247 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10249 * debug/memmove_chk.c: Remove pagecopy.h include.
10251 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10253 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10254 identical to gnulib mktime.
10256 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10258 * configure.ac: Do not test for machine being rs6000. Do not test
10259 for powerpc*-*soft.
10260 * configure: Regenerated.
10263 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10265 * configure: Regenerated.
10266 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10267 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10268 Remove configure test.
10269 * sysdeps/arm/configure: Regenerated.
10270 * sysdeps/nptl/configure.ac: Do not check
10271 libc_cv_asm_cfi_directives.
10272 * sysdeps/nptl/configure: Regenerated.
10273 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10274 * sysdeps/x86_64/nptl/configure: Remove generated file.
10275 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10277 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10279 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10281 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10282 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10283 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10286 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10287 instead of whether it is defined.
10288 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10289 * sysdeps/hppa/dl-machine.h: Likewise.
10290 * sysdeps/ia64/dl-machine.h: Likewise.
10291 * sysdeps/m68k/dl-machine.h: Likewise.
10292 * sysdeps/microblaze/dl-machine.h: Likewise.
10293 * sysdeps/mips/dl-machine.: Likewise.
10294 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10295 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10296 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10297 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10298 * sysdeps/sh/dl-machine.h: Likewise.
10299 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10300 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10301 * sysdeps/tile/dl-machine.h: Likewise.
10302 * sysdeps/x86_64/dl-machine.h: Likewise.
10304 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10306 (verify_persistent_db): Likewise.
10308 2014-06-26 Roland McGrath <roland@hack.frob.com>
10310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10311 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10313 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10316 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10319 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10321 Identical file removed.
10322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10323 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10331 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10334 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10341 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10343 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10345 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10347 Identical file removed.
10348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10349 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10354 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10359 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10368 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10371 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10376 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10378 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10380 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10382 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10383 * sysdeps/unix/sysv/linux/s390/Versions
10384 (libpthread: GLIBC_2.19): New version set.
10385 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10386 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10387 (librt: GLIBC_2.3.3): New version set.
10388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10389 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10390 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10391 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10392 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10393 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10394 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10395 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10396 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10397 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10398 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10399 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10400 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10401 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10402 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10403 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10404 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10405 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10406 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10407 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10408 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10409 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10410 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10411 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10412 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10414 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10416 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10418 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10419 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10421 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10422 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10424 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10426 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10428 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10430 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10434 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10435 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10436 (__libc_vfork): Define the function under this name.
10437 [!NOT_IN_libc] (__vfork): Make this an alias.
10438 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10440 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10441 (__libc_vfork): Define the function under this name.
10442 [!NOT_IN_libc] (__vfork): Make this an alias.
10443 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10444 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10445 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10446 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10448 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10450 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10451 code that was previously under [RESET_PID].
10452 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10453 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10454 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10456 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10457 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10458 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10459 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10460 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10461 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10462 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10463 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10464 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10465 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10466 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10468 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10470 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10472 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10474 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10476 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10477 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10480 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10486 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10487 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10488 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10489 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10490 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10491 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10492 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10493 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10494 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10496 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10498 2014-06-25 Roland McGrath <roland@hack.frob.com>
10500 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10501 that was previously under [RESET_PID].
10502 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10504 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10506 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10507 not undefine and redefine.
10508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10509 [O_CLOEXEC]: Make code unconditional.
10510 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10511 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10512 <kernel-features.h>.
10513 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10514 conditional variable definition.
10515 (shm_open) [O_CLOEXEC]: Make code unconditional.
10516 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10519 * configure.ac (USE_REGPARMS): Don't define here.
10520 * configure: Regenerated.
10521 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10522 * sysdeps/i386/configure: Regenerated.
10524 * nptl/createthread.c: Don't include kernel-features.h.
10525 * nptl/pthread_cancel.c: Likewise.
10526 * nptl/pthread_condattr_setclock.c: Likewise.
10527 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10528 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10529 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10530 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10531 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10532 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10533 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10535 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10536 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10537 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10538 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10539 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10540 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10541 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10542 * nscd/gai.c: Likewise.
10543 * nss/nss_db/db-open.c: Likewise.
10544 * sysdeps/generic/ldsodefs.h: Likewise.
10545 * sysdeps/sh/nptl/tls.h: Likewise.
10546 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10547 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10548 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10549 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10550 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10551 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10552 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10553 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10554 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10555 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10556 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10557 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10558 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10559 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10560 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10561 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10562 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10563 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10564 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10565 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10567 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10568 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10569 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10570 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10571 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10574 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10575 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10576 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10577 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10578 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10579 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10580 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10581 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10582 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10583 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10584 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10585 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10586 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10587 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10588 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10589 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10590 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10591 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10592 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10593 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10594 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10595 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10596 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10597 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10598 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10599 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10600 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10601 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10603 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10626 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10627 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10628 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10629 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10630 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10632 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10633 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10634 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10635 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10636 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10637 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10638 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10639 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10640 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10641 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10642 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10643 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10644 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10645 * sysdeps/unix/sysv/linux/system.c: Likewise.
10646 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10647 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10648 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10649 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10650 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10651 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10652 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10654 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10655 * configure: Regenerated.
10656 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10658 * configure.ac (base_machine): Do not set specially for particular
10660 * configure: Regenerated.
10661 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10662 settings from configure.ac.
10663 * sysdeps/i386/preconfigure: New file.
10664 * sysdeps/s390/preconfigure: Likewise.
10665 * sysdeps/sh/preconfigure: Likewise.
10666 * sysdeps/sparc/preconfigure: Likewise.
10668 2014-06-25 Roland McGrath <roland@hack.frob.com>
10670 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10671 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10672 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10673 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10674 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10675 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10676 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10677 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10678 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10679 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10680 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10681 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10682 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10683 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10684 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10685 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10686 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10687 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10688 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10690 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10691 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10692 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10693 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10694 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10695 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10696 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10697 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10698 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10699 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10700 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10701 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10702 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10703 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10704 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10705 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10706 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10707 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10708 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10709 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10710 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10711 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10712 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10713 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10715 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10717 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10720 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10721 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10722 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10723 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10725 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10727 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10730 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10732 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10735 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10738 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10740 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10743 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10749 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10755 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10760 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10762 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10766 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10768 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10771 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10774 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10779 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10783 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10788 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10791 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10793 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10796 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10798 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10800 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10802 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10804 * timezone/checktab.awk: Update from tzcode 2014e.
10805 * timezone/private.h: Likewise.
10806 * timezone/tzfile.h: Likewise.
10807 * timezone/zdump.c: Likewise.
10808 * timezone/zic.c: Likewise.
10810 * sysdeps/unix/sysv/linux/kernel-features.h
10811 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10812 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10813 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10814 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10815 Remove conditional code.
10817 2014-06-25 Will Newton <will.newton@linaro.org>
10819 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10820 (_dl_arm_cap_flags): Add HWCAP2 values.
10821 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10822 (_DL_HWCAP_COUNT): Increase to 37.
10823 (_DL_HWCAP_LAST): New define.
10824 (_DL_HWCAP2_LAST): New define.
10825 (_dl_procinfo): Add support for printing
10827 (_dl_string_hwcap): Use _dl_hwcap_string.
10829 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10833 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10835 * README: Do not mention ports directory.
10837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10839 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10840 <kernel-features.h>.
10841 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10842 conditional variable definition.
10843 (__futimes): Update comment.
10844 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10845 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10848 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10849 arguments close to 0.
10850 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10852 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10854 * math/auto-libm-test-in: Add more tests of exp10.
10855 * math/auto-libm-test-out: Regenerated.
10856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10858 * sysdeps/unix/sysv/linux/kernel-features.h
10859 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10860 * sysdeps/unix/sysv/linux/readv.c: Do not include
10861 <kernel-features.h>.
10862 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10863 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10864 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10866 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10868 * sysdeps/unix/sysv/linux/writev.c: Do not include
10869 <kernel-features.h>.
10870 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10871 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10872 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10874 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10877 2014-06-25 Will Newton <will.newton@linaro.org>
10879 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10880 comment changes throughout the file. Remove checks
10881 for HAVE_*_H definitions that are not required.
10882 (__gen_tempname): Call abort if an unknown kind value is
10885 2014-06-25 Andreas Schwab <schwab@suse.de>
10888 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10889 scalbln, scalblnf, scalblnl in libc.
10891 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10894 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10895 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10896 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10898 2014-06-24 Roland McGrath <roland@hack.frob.com>
10900 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10901 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10902 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10903 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10905 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10906 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10908 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10909 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10910 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10911 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10912 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10913 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10914 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10915 * sysdeps/x86/bits/semaphore.h: ... here.
10916 * sysdeps/x86/nptl/elide.h: Moved ...
10917 * sysdeps/x86/elide.h: ... here.
10918 * sysdeps/x86_64/nptl/Implies: File removed.
10919 * sysdeps/i386/nptl/Implies: File removed.
10921 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10924 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10925 return the argument for normal arguments with exponent below -64.
10926 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10928 * math/auto-libm-test-in: Add another test of expm1.
10929 * math/auto-libm-test-out: Regenerated.
10932 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10933 calling __erfcl for arguments at least 16.
10934 * math/auto-libm-test-in: Add more tests of erf.
10935 * math/auto-libm-test-out: Regenerated.
10937 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10938 individual architectures.
10939 * sysdeps/unix/sysv/linux/configure: Regenerated.
10940 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10941 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10942 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10943 (ldd_rewrite_script): Define variable.
10944 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10949 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10950 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10951 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10952 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10953 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10954 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10955 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10956 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10958 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10961 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10962 Rename member __data.d to __data.__elision_data.
10964 2014-06-24 Wilco <wdijkstr@arm.com>
10966 * NEWS: Add 16918 to fixed bug list.
10968 2014-06-24 Wilco <wdijkstr@arm.com>
10970 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10972 2014-06-24 Wilco <wdijkstr@arm.com>
10974 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10975 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10976 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10977 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10978 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10979 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10980 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10983 2014-06-24 Wilco <wdijkstr@arm.com>
10985 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10987 2014-06-24 Wilco <wdijkstr@arm.com>
10989 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10990 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10991 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10992 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10994 2014-06-24 Wilco <wdijkstr@arm.com>
10997 * sysdeps/arm/feupdateenv.c (feupdateenv):
10998 Rewrite to reduce FPSCR accesses and fix return value.
11000 2014-06-24 Wilco <wdijkstr@arm.com>
11002 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11003 Optimize to avoid unnecessary FPSCR writes.
11004 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11005 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11006 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11007 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11009 2014-06-24 Wilco <wdijkstr@arm.com>
11011 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11012 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11013 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11014 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11015 Call libc_fetestexcept_vfp.
11016 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11017 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11018 __SOFTFP__ ifdef so that they can be built for softfp.
11020 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11022 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11023 argument type signed char.
11025 * Makerules (check-abi): Dump diff of symlist if the test
11028 2014-06-23 Roland McGrath <roland@hack.frob.com>
11030 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11033 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11034 Remove unused variable ST.
11036 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11041 small arguments before calling __expm1.
11042 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11043 small arguments before calling __expm1f.
11044 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11045 small arguments before calling __expm1l.
11046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11048 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11049 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11050 spurious underflow for some cosh tests.
11051 * math/auto-libm-test-out: Regenerated.
11052 * sysdeps/i386/fpu/libm-test-ulps: Update.
11055 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11056 (__ieee754_y1): Set errno if return value overflows.
11057 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11058 (__ieee754_y1f): Set errno if return value overflows.
11059 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11060 (__ieee754_y1l): Set errno if return value overflows.
11061 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11062 (__ieee754_y1l): Set errno if return value overflows.
11063 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11064 * math/auto-libm-test-out: Regenerated.
11066 * math/gen-auto-libm-tests.c: Document use of
11067 ignore-zero-inf-sign.
11068 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11069 (input_flags): Add ignore-zero-inf-sign.
11070 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11071 * math/gen-libm-test.pl (generate_testfile): Handle
11072 ignore-zero-inf-sign.
11073 * math/auto-libm-test-in: Mark some cpow tests with
11074 ignore-zero-inf-sign and some with xfail-rounding.
11075 * math/auto-libm-test-out: Regenerated.
11076 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11077 * sysdeps/i386/fpu/libm-test-ulps: Update.
11078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11081 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11082 overflowing or underflowing operations take place with sign of
11084 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11085 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11086 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11087 (__ieee754_pow): Recompute overflowing and underflowing results in
11088 original rounding mode.
11089 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11090 (__powl_helper): Allow negative argument X and scale negated value
11091 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11092 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11093 overflowing or underflowing operations take place with sign of
11095 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11097 * math/auto-libm-test-in: Add more tests of pow.
11098 * math/auto-libm-test-out: Regenerated.
11099 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11100 (pow_tonearest_test_data): Remove.
11101 (pow_test_tonearest): Likewise.
11102 (pow_towardzero_test_data): Likewise.
11103 (pow_test_towardzero): Likewise.
11104 (pow_downward_test_data): Likewise.
11105 (pow_test_downward): Likewise.
11106 (pow_upward_test_data): Likewise.
11107 (pow_test_upward): Likewise.
11108 (main): Don't call removed functions.
11109 * sysdeps/i386/fpu/libm-test-ulps: Update.
11110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11112 2014-06-23 Roland McGrath <roland@hack.frob.com>
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11288 2014-06-23 Will Newton <will.newton@linaro.org>
11289 Wilco <wdijkstr@arm.com>
11291 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11292 implementation. Include get-rounding-mode.h.
11293 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11294 [!libc_feholdsetround_noex_ctx]: Define
11295 libc_feholdsetround_noex_ctx.
11296 [!libc_feholdsetround_noexf_ctx]: Define
11297 libc_feholdsetround_noexf_ctx.
11298 [!libc_feholdsetround_noexl_ctx]: Define
11299 libc_feholdsetround_noexl_ctx.
11300 (libc_feholdsetround_ctx): New function.
11301 (libc_feresetround_ctx): New function.
11302 (libc_feholdsetround_noex_ctx): New function.
11303 (libc_feresetround_noex_ctx): New function.
11305 2014-06-23 Roland McGrath <roland@hack.frob.com>
11307 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11308 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11309 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11310 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11311 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11312 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11314 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11315 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11316 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11317 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11318 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11319 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11320 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11321 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11322 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11323 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11326 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11329 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11331 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11334 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11335 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11336 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11337 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11338 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11340 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11343 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11344 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11346 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11347 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11348 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11349 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11351 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11353 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11354 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11355 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11356 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11357 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11358 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11359 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11360 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11362 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11365 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11366 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11367 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11369 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11371 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11373 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11375 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11378 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11380 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11382 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11385 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11386 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11389 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11391 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11392 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11393 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11394 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11395 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11396 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11397 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11398 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11400 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11401 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11402 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11403 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11404 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11405 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11406 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11407 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11408 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11409 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11410 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11416 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11420 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11422 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11423 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11424 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11425 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11426 (IPV6_PMTUDISC_INTERFACE): Likewise.
11427 (IPV6_PMTUDISC_OMIT): Likewise.
11429 2014-06-23 Andreas Schwab <schwab@suse.de>
11431 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11432 Remove unused errout label.
11434 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11436 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11437 macro: hardware supports Vector Crypto instructions.
11439 2014-06-23 Will Newton <will.newton@linaro.org>
11441 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11442 rather than __builtin_expect.
11444 * elf/dl-lookup.c (undefined_msg): Remove variable.
11445 (_dl_lookup_symbol_x): Replace undefined_msg with string
11448 * elf/dl-lookup.c (do_lookup_unique): New function.
11449 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11450 to a separate function.
11452 2014-06-23 Andreas Schwab <schwab@suse.de>
11455 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11456 before reading the next line.
11458 2014-06-23 Will Newton <will.newton@linaro.org>
11460 * test-skeleton.c (signal_handler): Use printf and %m
11461 rather than perror. Use printf rather than fprintf to
11462 stderr. Use puts rather than fputs to stderr.
11465 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11467 * nscd/nscd.c (thread_info_t): Remove typedef.
11468 (thread_info): Remove variable.
11470 2014-06-21 Allan McRae <allan@archlinux.org>
11472 * NEWS: Mention CVE-2014-4043.
11474 2014-06-20 Roland McGrath <roland@hack.frob.com>
11476 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11477 * nptl/smp.h: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11481 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11482 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11483 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11484 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11486 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11487 * nptl/stack-aliasing.h: New file.
11488 * sysdeps/i386/i686/stack-aliasing.h: New file.
11489 * sysdeps/i386/i686/nptl/Makefile: File removed.
11490 * sysdeps/x86_64/stack-aliasing.h: New file.
11491 * sysdeps/x86_64/nptl/Makefile
11492 (CFLAGS-pthread_create.c): Variable removed.
11494 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11495 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11497 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11498 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11501 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11504 (__ASSUME_SIGFRAME_V2): Remove macro.
11505 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11506 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11507 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11508 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11509 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11510 Declare as function. Remove conditional macro definitions.
11511 (__default_rt_sa_restorer): Likewise.
11512 (__default_sa_restorer_v1): Remove declaration.
11513 (__default_sa_restorer_v2): Likewise.
11514 (__default_rt_sa_restorer_v1): Likewise.
11515 (__default_rt_sa_restorer_v2): Likewise.
11516 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11517 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11518 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11520 2014-06-20 Roland McGrath <roland@hack.frob.com>
11522 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11523 (libpthread-routines): Add sysdep.
11524 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11525 * sysdeps/unix/sysv/linux/sparc/Versions
11526 (libpthread: GLIBC_2.3.3): New version set.
11527 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11528 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11529 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11531 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11532 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11534 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11535 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11536 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11537 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11538 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11539 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11540 * sysdeps/sparc/nptl/sem_init.c: ... here.
11541 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11542 * sysdeps/sparc/nptl/sem_post.c: ... here.
11543 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11544 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11545 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11546 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11547 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11548 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11549 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11550 (libpthread-routines): Add cpu_relax.
11551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11553 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11554 (librt: GLIBC_2.3.3): New version set.
11555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11556 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11557 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11558 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11561 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11564 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11566 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11568 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11570 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11572 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11575 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11579 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11583 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11587 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11591 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11598 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11604 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11606 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11615 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11617 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11618 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11619 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11620 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11621 * nscd/nscd.c: Likewise.
11622 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11623 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11624 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11625 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11627 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11628 <kernel-features.h>.
11629 (init_mq_netlink): Remove conditional have_sock_cloexec
11630 definitions. Remove code conditional on have_sock_cloexec < 0.
11631 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11632 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11633 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11634 <kernel-features.h>.
11635 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11636 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11638 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11641 Add tests for memset_chk and memset.
11643 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11646 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11649 * elf/tst-dl-iter-static.c: New file.
11650 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11652 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11655 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11657 * sysdeps/unix/sysv/linux/kernel-features.h
11658 (__ASSUME_F_GETOWN_EX): Remove macro.
11659 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11660 <kernel-features.h>.
11661 (miss_F_GETOWN_EX): Remove variable or macro.
11662 (do_fcntl): Do not check miss_F_GETOWN_EX.
11663 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11668 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11669 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11671 * sysdeps/unix/sysv/linux/kernel-features.h
11672 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11673 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11674 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11675 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11677 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11680 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11681 Fix calculation of the symbol's value.
11682 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11683 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11684 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11685 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11686 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11687 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11688 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11689 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11690 (modules-names): Add `tst-armtlsdescmod',
11691 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11692 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11693 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11694 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11695 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11696 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11697 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11698 ($(objpfx)tst-armtlsdescloc): New dependency.
11699 ($(objpfx)tst-armtlsdescextnow): Likewise.
11700 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11701 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11702 TLS scheme support.
11703 * sysdeps/arm/configure: Regenerate.
11705 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11707 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11708 (__atfct_seterrno_2): Likewise.
11709 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11710 <kernel-features.h>.
11711 (__ASSUME_ATFCTS): Do not undefine and redefine.
11712 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11713 (__have_atfcts): Remove conditional definition.
11714 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11715 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11716 unreachable if [__ASSUME_ATFCTS].
11717 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11718 not undefine and redefine.
11719 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11720 <kernel-features.h>.
11721 (faccessat) [__NR_faccessat]: Make code unconditional.
11722 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11723 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11724 <kernel-features.h>.
11725 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11726 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11727 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11728 <kernel-features.h>.
11729 (fchownat) [__NR_fchownat]: Make code unconditional.
11730 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11731 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11732 <kernel-features.h>.
11733 (futimesat) [__NR_futimesat]: Make code unconditional.
11734 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11735 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11736 <kernel-features.h>.
11737 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11738 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11739 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11740 <kernel-features.h>.
11741 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11742 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11743 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11744 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11745 <kernel-features.h>.
11746 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11747 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11748 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11749 <kernel-features.h>.
11750 (linkat) [__NR_linkat]: Make code unconditional.
11751 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11752 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11753 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11754 <kernel-features.h>.
11755 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11756 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11757 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11758 <kernel-features.h>.
11759 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11760 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11761 * sysdeps/unix/sysv/linux/openat.c: Do not include
11762 <kernel-features.h>.
11763 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11764 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11765 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11766 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11767 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11768 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11769 <kernel-features.h>.
11770 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11771 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11772 result of INLINE_SYSCALL directly, not via int variable.
11773 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11774 <kernel-features.h>.
11775 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11776 (renameat) [__NR_renameat]: Make code unconditional.
11777 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11778 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11779 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11782 (__ASSUME_ATFCTS): Do not undefine and redefine.
11783 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11784 <kernel-features.h>.
11785 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11786 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11787 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11788 <kernel-features.h>.
11789 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11790 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11791 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11792 (__ASSUME_ATFCTS): Do not undefine and redefine.
11793 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11794 <kernel-features.h>.
11795 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11796 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11797 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11798 <kernel-features.h>.
11799 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11800 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11802 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11804 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11806 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11809 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11810 constructed tree before returning error.
11811 * posix/bug-regexp36.c: Expand test case.
11813 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11816 * math/libm-test.inc (scalbln_test_date):
11817 Add errno expectations.
11818 * math/w_scalblnf.c: New File.
11819 Add wrapper which checks for setting errno to ERANGE.
11820 Add weak_alias for corresponding scalbln function.
11821 * math/w_scalbln.c: Likewise.
11822 * math/w_scalblnl.c: Likewise.
11823 * math/Makefile (libm-calls): Add w_scalbln.
11824 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11825 Remove weak_alias for corresponding scalbln function.
11826 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11828 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11830 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11831 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11832 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11833 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11834 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11835 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11836 Remove long_double_symbol for scalblnl function in libm, libc.
11837 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11838 Add wrapper which checks for setting errno to ERANGE.
11839 Add long_double_symbol for scalblnl function in libm, libc.
11840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11841 Remove long_double_symbol for scalblnl in libm.
11842 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11843 Add wrapper which checks for setting errno to ERANGE.
11844 Add long_double_symbol for scalblnl function in libm.
11845 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11846 Do not use wrapper because of own implementation.
11848 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11850 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11851 3 bytes for __pad1 for x32.
11852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11854 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11855 H.J. Lu <hongjiu.lu@intel.com>
11857 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11858 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11859 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11860 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11861 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11863 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11866 * posix/regcomp.c (parse_expression): Deallocate partially
11867 constructed tree before returning error.
11868 * posix/Makefile.c (tests): Add bug-regex36.
11869 (generated): Add bug-regex36.mtrace.
11870 (tests-special): Add $(objpfx)bug-regex36-mem.out
11871 (bug-regex36-ENV): New variable.
11872 ($(objpfx)bug-regex36-mem.out): New rule.
11873 * posix/bug-regex36.c: New file.
11875 2014-06-19 Will Newton <will.newton@linaro.org>
11877 * malloc/malloc.c (systrim): If extra is zero then return
11880 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11884 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11886 * sysdeps/aarch64/strchr.S: New file.
11888 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11892 from arguments -2 or below.
11893 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11894 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11896 2014-06-18 Andreas Schwab <schwab@suse.de>
11899 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11900 of a bracket expr not to run off the end of the string.
11901 * posix/Makefile (tests): Add tst-fnmatch3.
11902 * posix/tst-fnmatch3.c: New file.
11904 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11906 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11907 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11908 [$(cross-compiling) = no]: Likewise.
11909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11910 [$(cross-compiling) = no]: Likewise.
11912 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11915 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11916 double, adjusted for any remainder from the high double.
11917 * math/libm-test.inc (nearbyint): Add tests.
11920 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11922 * nptl/sysdeps/powerpc/Makefile: Moved ...
11923 * sysdeps/powerpc/nptl/Makefile: ... here.
11924 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11925 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11926 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11927 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11928 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11929 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11930 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11931 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11932 * nptl/sysdeps/powerpc/tls.h: Moved ...
11933 * sysdeps/powerpc/nptl/tls.h: ... here.
11935 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11938 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11939 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11940 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11941 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11942 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11943 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11944 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11945 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11946 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11948 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11950 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11952 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11954 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11957 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11960 2014-06-16 Florian Weimer <fweimer@redhat.com>
11963 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11964 non-executed part of the test.
11966 2014-06-16 Andreas Schwab <schwab@suse.de>
11968 * string/bits/string2.h (strdup, strndup): Update feature guard.
11970 2014-06-14 David S. Miller <davem@davemloft.net>
11972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11974 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11976 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11977 that was previously under [RESET_PID].
11978 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11980 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11981 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11982 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11983 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11984 (__libc_vfork): New strong alias.
11985 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11987 2014-06-14 Andi Kleen <ak@linux.intel.com>
11989 * sysdeps/generic/elide.h: New file.
11991 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11993 * Makefile (installed-headers): Adjust path of pthread.h header.
11995 2014-06-13 Roland McGrath <roland@hack.frob.com>
11997 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11998 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11999 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12000 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12002 * nptl/sysdeps/s390/Makefile: Moved ...
12003 * sysdeps/s390/nptl/Makefile: ... here.
12004 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12005 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12006 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12007 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12008 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12009 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12010 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12011 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12012 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12013 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12014 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12015 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12016 * nptl/sysdeps/s390/tls.h: Moved ...
12017 * sysdeps/s390/nptl/tls.h: ... here.
12019 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12020 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12022 2014-06-13 David S. Miller <davem@davemloft.net>
12024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12027 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12031 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12032 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12033 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12034 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12035 Remove RESET_PID cpp guards.
12036 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12037 Remove RESET_PID cpp guards.
12038 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12040 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12042 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12045 2014-06-13 Andi Kleen <ak@linux.intel.com>
12047 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12052 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12053 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12054 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12057 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12058 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12062 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12063 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12068 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12069 (pthread_rwlock_rdlock): Add elision.
12070 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12071 (pthread_rwlock_wrlock): Add elision.
12072 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12073 (pthread_rwlock_trywrlock): Add elision.
12074 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12075 (pthread_rwlock_tryrdlock): Add elision.
12076 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12077 (pthread_rwlock_tryrdlock): Add elision unlock.
12078 * nptl/sysdeps/pthread/pthread.h:
12079 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12080 (PTHREAD_RWLOCK_INITIALIZER,
12081 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12082 Handle new elision field.
12083 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12084 * sysdeps/arm/nptl/bits/pthreadtypes.h
12085 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12086 * sysdeps/sh/nptl/bits/pthreadtypes.h
12087 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12088 * sysdeps/tile/nptl/bits/pthreadtypes.h
12089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12090 * sysdeps/a/nptl/bits/pthreadtypes.h
12091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12092 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12094 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12096 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12098 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12100 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12102 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12104 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12106 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12108 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12109 (elision_init): Set try_xbegin to zero when no RTM.
12110 * sysdeps/x86/nptl/bits/pthreadtypes.h
12111 (pthread_rwlock_t): Change __pad1 to __rwelision.
12112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12114 2014-06-13 Andi Kleen <ak@linux.intel.com>
12116 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12117 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12118 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12119 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12121 2014-06-13 Meador Inge <meadori@codesourcery.com>
12124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12125 that the cached result has been set before returning it.
12127 2014-06-12 Roland McGrath <roland@hack.frob.com>
12129 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12130 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12132 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12133 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12134 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12136 * nptl/sysdeps/sparc/Makefile: Moved ...
12137 * sysdeps/sparc/nptl/Makefile: ... here.
12138 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12139 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12140 * nptl/sysdeps/sparc/tls.h: Moved ...
12141 * sysdeps/sparc/nptl/tls.h: ... here.
12142 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12143 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12144 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12145 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12146 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12147 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12148 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12149 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12150 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12151 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12152 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12153 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12154 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12155 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12156 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12157 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12158 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12161 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12162 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12164 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12165 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12167 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12168 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12171 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12173 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12174 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12176 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12177 (struct list_links): Type removed.
12178 (struct thread_node, struct timer_node): Replace struct list_links
12179 with struct list_head.
12180 (list_unlink_ip): Likewise.
12181 * sysdeps/pthread/timer_routines.c
12182 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12183 (list_append, list_insbefore): Likewise.
12184 (list_init): Function removed.
12185 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12186 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12187 * sysdeps/pthread/Makefile: ... here, new file.
12189 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12190 * sysdeps/nptl/Implies: ... here.
12191 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12192 * nptl/sysdeps/pthread/list.h: Moved ...
12193 * include/list.h: ... here.
12194 * nptl/sysdeps/pthread/createthread.c: Moved ...
12195 * nptl/createthread.c: ... here.
12196 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12197 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12198 * nptl/pt-longjmp.c: ... here.
12199 * nptl/sysdeps/pthread/Makefile: Moved ...
12200 * sysdeps/nptl/Makefile: ... here.
12201 * nptl/sysdeps/pthread/Subdirs: Moved ...
12202 * sysdeps/nptl/Subdirs: ... here.
12203 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12204 * sysdeps/nptl/aio_misc.h: ... here.
12205 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12206 * sysdeps/nptl/bits/libc-lock.h: ... here.
12207 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12208 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12209 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12210 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12211 * nptl/sysdeps/pthread/configure: Moved ...
12212 * sysdeps/nptl/configure: ... here.
12213 * nptl/sysdeps/pthread/configure.ac: Moved ...
12214 * sysdeps/nptl/configure.ac: ... here.
12215 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12216 * sysdeps/nptl/gai_misc.h: ... here.
12217 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12218 * sysdeps/nptl/librt-cancellation.c: ... here.
12219 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12220 * sysdeps/nptl/malloc-machine.h: ... here.
12221 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12222 * sysdeps/nptl/pthread-functions.h: ... here.
12223 * nptl/sysdeps/pthread/pthread.h: Moved ...
12224 * sysdeps/nptl/pthread.h: ... here.
12225 * nptl/sysdeps/pthread/setxid.h: Moved ...
12226 * sysdeps/nptl/setxid.h: ... here.
12227 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12228 * sysdeps/nptl/sigfillset.c: ... here.
12229 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12230 * sysdeps/nptl/tcb-offsets.h: ... here.
12231 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12232 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12233 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12234 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12235 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12236 * sysdeps/pthread/allocalim.h: ... here.
12237 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12238 * sysdeps/pthread/bits/sigthread.h: ... here.
12239 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12240 * sysdeps/pthread/flockfile.c: ... here.
12241 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12242 * sysdeps/pthread/ftrylockfile.c: ... here.
12243 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12244 * sysdeps/pthread/funlockfile.c: ... here.
12245 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12246 * sysdeps/pthread/posix-timer.h: ... here.
12247 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12248 * sysdeps/pthread/timer_create.c: ... here.
12249 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12250 * sysdeps/pthread/timer_delete.c: ... here.
12251 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12252 * sysdeps/pthread/timer_getoverr.c: ... here.
12253 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12254 * sysdeps/pthread/timer_gettime.c: ... here.
12255 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12256 * sysdeps/pthread/timer_routines.c: ... here.
12257 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12258 * sysdeps/pthread/timer_settime.c: ... here.
12259 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12260 * sysdeps/pthread/tst-timer.c: ... here.
12261 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12262 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12264 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12265 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12267 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12268 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12269 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12270 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12271 Update #include target.
12272 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12273 * sysdeps/i386/i686/nptl/Makefile: ... here.
12274 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12275 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12276 Update #include target.
12277 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12278 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12279 * nptl/sysdeps/i386/Makefile: Moved ...
12280 * sysdeps/i386/nptl/Makefile: ... here.
12281 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12282 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12283 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12284 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12285 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12286 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12287 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12288 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12289 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12290 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12291 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12292 * nptl/sysdeps/i386/tls.h: Moved ...
12293 * sysdeps/i386/nptl/tls.h: ... here.
12295 * sysdeps/sh/Makefile [$(subdir) = csu]
12296 (gen-as-const-headers): Add tcb-offsets.sym.
12297 * nptl/sysdeps/sh/Makefile: File removed.
12298 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12299 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12300 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12301 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12302 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12303 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12304 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12305 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12306 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12307 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12308 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12309 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12310 * nptl/sysdeps/sh/tls.h: Moved ...
12311 * sysdeps/sh/nptl/tls.h: ... here.
12312 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12313 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12314 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12315 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12316 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12317 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12318 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12319 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12320 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12321 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12323 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12324 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12325 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12327 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12329 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12331 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12333 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12335 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12338 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12341 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12347 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12348 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12349 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12350 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12351 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12352 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12353 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12354 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12355 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12356 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12357 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12358 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12359 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12361 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12363 * posix/spawn_faction_addopen.c: Include string.h.
12365 2014-06-11 Roland McGrath <roland@hack.frob.com>
12367 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12368 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12369 * nptl/sysdeps/x86_64/Makefile: Moved ...
12370 * sysdeps/x86_64/nptl/Makefile: ... here.
12371 * nptl/sysdeps/x86_64/configure: Moved ...
12372 * sysdeps/x86_64/nptl/configure: ... here.
12373 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12374 * sysdeps/x86_64/nptl/configure.ac: ... here.
12375 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12376 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12377 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12378 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12379 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12380 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12381 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12382 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12383 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12384 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12385 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12386 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12387 * nptl/sysdeps/x86_64/tls.h: Moved ...
12388 * sysdeps/x86_64/nptl/tls.h: ... here.
12389 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12390 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12391 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12392 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12394 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12396 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12400 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12402 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12404 [POSIX] (off_t): Likewise.
12405 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12406 [POSIX] (S_ISBLK): Require macro.
12407 [POSIX] (S_ISCHR): Likewise.
12408 [POSIX] (S_ISDIR): Likewise.
12409 [POSIX] (S_ISFIFO): Likewise.
12410 [POSIX] (S_ISREG): Likewise.
12411 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12413 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12415 [POSIX] (time_t): Likewise.
12416 [POSIX] (timer_t): Likewise.
12418 2014-06-11 Florian Weimer <fweimer@redhat.com>
12421 * posix/spawn_int.h (struct __spawn_action): Make the path string
12422 non-const to support deallocation.
12423 * posix/spawn_faction_addopen.c
12424 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12425 * posix/spawn_faction_destroy.c
12426 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12427 path in all spawn_do_open actions.
12428 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12429 posix_spawn_file_actions_addopen.
12431 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12433 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12434 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12435 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12436 conditional code always true.
12437 (__libc_vfork): New alias.
12439 2014-06-11 Roland McGrath <roland@hack.frob.com>
12441 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12442 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12444 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12446 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12447 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12449 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12450 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12452 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12453 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12455 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12457 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12458 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12459 multiarch strcmp for PPC64.
12460 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12463 multiarch optimizations.
12464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12465 (__libc_ifunc_impl_list): Likewise.
12467 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12469 * benchtests/scripts/validate_benchout.py: New script.
12470 * benchtests/Makefile (bench-func): Call it.
12471 * benchtests/scripts/benchout.schema.json: New file.
12473 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12475 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12476 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12477 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12478 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12479 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12480 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12481 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12482 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12483 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12484 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12485 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12486 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12487 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12488 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12489 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12490 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12594 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12595 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12596 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12597 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12600 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12603 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12605 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12607 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12609 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12611 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12613 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12616 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12619 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12621 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12624 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12626 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12627 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12628 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12629 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12630 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12632 2014-06-10 Wilco <wdijkstr@arm.com>
12634 * math/test-fenv-return.c: New file.
12635 * math/Makefile: Add new test test-fenv-return.
12637 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12640 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12641 when x - 1 is zero.
12642 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12643 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12644 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12645 0.0L for an argument of 1.0L.
12646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12648 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12649 value when x - 1 is zero.
12650 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12651 * sysdeps/i386/fpu/libm-test-ulps: Update.
12652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12657 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12659 2014-06-09 Roland McGrath <roland@hack.frob.com>
12661 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12662 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12664 2014-06-09 Roland McGrath <roland@hack.frob.com>
12666 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12667 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12669 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12670 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12672 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12673 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12675 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12676 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12678 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12679 if not already defined.
12680 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12681 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12682 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12683 (TLS_INIT_TP): Use it.
12684 (TLS_DEFINE_INIT_TP): New macro.
12685 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12687 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12689 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12691 [POSIX] (IXANY): Likewise.
12692 [POSIX] (OLCUC): Likewise.
12693 [POSIX || POSIX2008] (CBAUD): Do not allow.
12694 [POSIX || POSIX2008] (DEFECHO): Likewise.
12695 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12696 [POSIX || POSIX2008] (ECHOKE): Likewise.
12697 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12698 [POSIX || POSIX2008] (EXTA): Likewise.
12699 [POSIX || POSIX2008] (EXTB): Likewise.
12700 [POSIX || POSIX2008] (FLUSHO): Likewise.
12701 [POSIX || POSIX2008] (LOBLK): Likewise.
12702 [POSIX || POSIX2008] (PENDIN): Likewise.
12703 [POSIX || POSIX2008] (SWTCH): Likewise.
12704 [POSIX || POSIX2008] (VDISCARD): Likewise.
12705 [POSIX || POSIX2008] (VDSUSP): Likewise.
12706 [POSIX || POSIX2008] (VLNEXT): Likewise.
12707 [POSIX || POSIX2008] (VREPRINT): Likewise.
12708 [POSIX || POSIX2008] (VSTATUS): Likewise.
12709 [POSIX || POSIX2008] (VWERASE): Likewise.
12710 (B*): Change to B[0123456789]*.
12711 * conform/data/time.h-data [POSIX || UNIX98]
12712 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12713 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12714 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12715 [POSIX] (tm_*): Do not allow.
12717 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12719 * Makefile (install): Don't set LANGUAGE.
12720 * Makefile.in (install): Likewise.
12721 * assert/Makefile (test-assert-ENV): Remove variable.
12722 (test-assert-perr-ENV): Likewise.
12723 * elf/Makefile (neededtest4-ENV): Likewise.
12724 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12725 [$(cross-compiling) = no]: Don't set LANGUAGE.
12726 * io/ftwtest-sh (LANG): Remove variable.
12727 * libio/Makefile (tst-widetext-ENV): Likewise.
12728 * manual/install.texi (Running make install): Don't refer to
12729 environment settings for make install.
12730 * INSTALL: Regenerated.
12731 * nptl/tst-tls6.sh: Don't set LANG.
12732 * posix/globtest.sh (LANG): Remove variable.
12733 * string/Makefile (tester-ENV): Likewise.
12734 (inl-tester-ENV): Likewise.
12735 (noinl-tester-ENV): Likewise.
12736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12737 [$(cross-compiling) = no]: Don't set LANGUAGE.
12738 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12739 without explicit environment settings.
12741 2014-06-06 Roland McGrath <roland@hack.frob.com>
12743 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12744 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12745 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12746 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12748 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12750 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12751 other files in the crypt directory.
12752 * crypt/crypt.c: Remove duplicate includes.
12753 * crypt/crypt-entry.c: Likewise.
12754 * crypt/crypt_util.c: Likewise.
12756 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12758 * Makeconfig (run-program-env): New variable.
12759 (run-program-prefix-before-env): Likewise.
12760 (run-program-prefix-after-env): Likewise.
12761 (run-program-prefix): Define in terms of new variables.
12762 (built-program-cmd-before-env): New variable.
12763 (built-program-cmd-after-env): Likewise.
12764 (built-program-cmd): Define in terms of new variables.
12765 (test-program-prefix-before-env): New variable.
12766 (test-program-prefix-after-env): Likewise.
12767 (test-program-prefix): Define in terms of new variables.
12768 (test-program-cmd-before-env): New variable.
12769 (test-program-cmd-after-env): Likewise.
12770 (test-program-cmd): Define in terms of new variables.
12771 * Rules (make-test-out): Use $(run-program-env).
12772 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12773 (help): Do not mention environment variables. Mention
12774 --timeoutfactor option.
12775 (timeoutfactor): New variable.
12776 (blacklist_exports): Remove function.
12777 (exports): Remove variable.
12778 (command): Do not include ${exports}.
12779 * manual/install.texi (Configuring and compiling): Do not mention
12780 test wrappers preserving environment variables. Mention that last
12781 assignment to a variable must take precedence.
12782 * INSTALL: Regenerated.
12783 * benchtests/Makefile (run-bench): Use $(run-program-env).
12784 * catgets/Makefile ($(objpfx)test1.cat): Use
12785 $(built-program-cmd-before-env), $(run-program-env) and
12786 $(built-program-cmd-after-env).
12787 ($(objpfx)test2.cat): Do not specify environment variables
12789 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12790 $(run-program-env) and $(built-program-cmd-after-env).
12791 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12792 $(run-program-env) and $(test-program-cmd-after-env).
12793 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12795 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12796 run_program_env and test_program_cmd_after_env arguments.
12797 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12798 * elf/tst-pathopt.sh: Use run_program_env argument.
12799 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12800 $(test-wrapper-env) and $(run-program-env).
12801 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12802 run_program_env arguments.
12803 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12804 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12805 $(test-program-prefix-before-env), $(run-program-env) and
12806 $(test-program-prefix-after-env).
12807 ($(objpfx)tst-gettext2.out): Likewise.
12808 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12809 run_program_env and test_program_prefix_after_env arguments.
12810 * intl/tst-gettext2.sh: Likewise.
12811 * intl/tst-gettext4.sh: Do not set environment variables
12813 * intl/tst-gettext6.sh: Likewise.
12814 * intl/tst-translit.sh: Likewise.
12815 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12816 $(test-program-prefix-before-env), $(run-program-env) and
12817 $(test-program-prefix-after-env).
12818 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12819 run_program_env and test_program_prefix_after_env arguments.
12820 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12821 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12822 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12823 explicitly with each use of ${test_wrapper_env}.
12824 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12825 $(test-program-prefix-before-env), $(run-program-env) and
12826 $(test-program-prefix-after-env).
12827 * posix/tst-getconf.sh: Do not set environment variables
12829 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12830 run_program_env and test_program_prefix_after_env arguments.
12831 * stdio-common/tst-printf.sh: Do not set environment variables
12833 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12834 $(test-program-prefix-before-env), $(run-program-env) and
12835 $(test-program-prefix-after-env).
12836 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12837 run_program_env and test_program_prefix_after_env arguments.
12838 Split $test calls into $test_pre and $test.
12839 * timezone/Makefile (build-testdata): Use
12840 $(built-program-cmd-before-env), $(run-program-env) and
12841 $(built-program-cmd-after-env).
12843 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12845 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12846 strlen for non SHARED builds.
12848 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12850 * nptl/allocatestack.c (check_list): Inlined function...
12851 (__reclaim_stacks): ... here.
12853 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12856 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12859 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12861 * Rules (make-test-out): Include
12862 LOCPATH=$(common-objpfx)localedata in default environment.
12863 * debug/Makefile (tst-chk1-ENV): Remove variable.
12864 (tst-chk2-ENV): Likewise.
12865 (tst-chk3-ENV): Likewise.
12866 (tst-chk4-ENV): Likewise.
12867 (tst-chk5-ENV): Likewise.
12868 (tst-chk6-ENV): Likewise.
12869 (tst-lfschk1-ENV): Likewise.
12870 (tst-lfschk2-ENV): Likewise.
12871 (tst-lfschk3-ENV): Likewise.
12872 (tst-lfschk4-ENV): Likewise.
12873 (tst-lfschk5-ENV): Likewise.
12874 (tst-lfschk6-ENV): Likewise.
12875 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12876 (tst-iconv7-ENV): Likewise.
12877 * intl/Makefile (LOCPATH-ENV): Likewise.
12878 (tst-codeset-ENV): Likewise.
12879 (tst-gettext3-ENV): Likewise.
12880 (tst-gettext5-ENV): Likewise.
12881 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12882 (tst-fopenloc-ENV): Likewise.
12883 (tst-fgetws-ENV): Remove variable.
12884 (tst-ungetwc1-ENV): Likewise.
12885 (tst-ungetwc2-ENV): Likewise.
12886 (bug-ungetwc2-ENV): Likewise.
12887 (tst-swscanf-ENV): Likewise.
12888 (bug-ftell-ENV): Likewise.
12889 (tst-fgetwc-ENV): Likewise.
12890 (tst-fseek-ENV): Likewise.
12891 (tst-ftell-partial-wide-ENV): Likewise.
12892 (tst-ftell-active-handler-ENV): Likewise.
12893 (tst-ftell-append-ENV): Likewise.
12894 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12895 (tst-regexloc-ENV): Likewise.
12896 (bug-regex1-ENV): Likewise.
12897 (tst-regex-ENV): Likewise.
12898 (tst-regex2-ENV): Likewise.
12899 (bug-regex5-ENV): Likewise.
12900 (bug-regex6-ENV): Likewise.
12901 (bug-regex17-ENV): Likewise.
12902 (bug-regex18-ENV): Likewise.
12903 (bug-regex19-ENV): Likewise.
12904 (bug-regex20-ENV): Likewise.
12905 (bug-regex22-ENV): Likewise.
12906 (bug-regex23-ENV): Likewise.
12907 (bug-regex25-ENV): Likewise.
12908 (bug-regex26-ENV): Likewise.
12909 (bug-regex30-ENV): Likewise.
12910 (bug-regex32-ENV): Likewise.
12911 (bug-regex33-ENV): Likewise.
12912 (bug-regex34-ENV): Likewise.
12913 (bug-regex35-ENV): Likewise.
12914 (tst-rxspencer-ENV): Likewise.
12915 (tst-rxspencer-no-utf8-ENV): Likewise.
12916 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12917 (tst-sscanf-ENV): Likewise.
12918 (tst-swprintf-ENV): Likewise.
12919 (tst-swscanf-ENV): Likewise.
12920 (test-vfprintf-ENV): Likewise.
12921 (scanf13-ENV): Likewise.
12922 (bug14-ENV): Likewise.
12923 (tst-grouping-ENV): Likewise.
12924 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12925 (tst-strtod3-ENV): Likewise.
12926 (tst-strtod4-ENV): Likewise.
12927 (tst-strtod5-ENV): Likewise.
12928 (testmb2-ENV): Likewise./
12929 * string/Makefile (tst-strxfrm-ENV): Likewise.
12930 (tst-strxfrm2-ENV): Likewise.
12931 (bug-strcoll1-ENV): Likewise.
12932 (test-strcasecmp-ENV): Likewise.
12933 (test-strncasecmp-ENV): Likewise.
12934 * time/Makefile (tst-strptime-ENV): Likewise.
12935 (tst-ftime_l-ENV): Likewise.
12936 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12937 (tst-mbrtowc-ENV): Likewise.
12938 (tst-wcrtomb-ENV): Likewise.
12939 (tst-mbrtowc2-ENV): Likewise.
12940 (tst-c16c32-1-ENV): Likewise.
12941 (tst-mbsnrtowcs-ENV): Likewise.
12943 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12945 * manual/resource.texi (How to get information about the memory
12946 subsystem?): Fix typo.
12947 Reported by Peon de la Parra Ivan <peon@keba.com>
12949 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12952 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12953 (pthread_spin_lock): Branch out of spin loop to proper location.
12954 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12955 (pthread_spin_lock): Likewise.
12957 * nptl/tst-spin4.c: New test.
12958 * nptl/Makefile (tests): Add tst-spin4.
12960 2014-06-03 Andreas Schwab <schwab@suse.de>
12963 * resolv/res_send.c (send_dg): Reload file descriptor after
12966 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12968 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12970 2014-06-03 Richard Henderson <rth@redhat.com>
12972 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12973 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12974 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12975 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12976 in the SAVE_PID block.
12977 (__libc_vfork): New alias.
12978 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12980 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12981 child in registers, not on the stack. Remove RESET_PID conditionals.
12982 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12984 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12986 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12988 2014-06-03 Wilco <wdijkstr@arm.com>
12990 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12991 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12992 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12993 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12994 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12997 2014-06-03 Wilco <wdijkstr@arm.com>
12999 * sysdeps/aarch64/fpu/math_private.h
13000 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13001 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13002 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13003 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13006 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13008 * crypt/crypt-private.h: Include ufc-crypt.h.
13009 (__b64_from_24bit): Declare extern.
13010 * crypt/crypt_util.c(__b64_from_24bit): New function.
13011 (b64t): New static const variable.
13012 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13013 (b64t): Remove variable.
13014 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13015 * crypt/sha256-crypt.c: Include crypt-private.h.
13016 (b64t): Remove variable.
13017 (__sha256_crypt_r): Remove b64_from_24bit and replace
13018 with __b64_from_24bit.
13019 * crypt/sha512-crypt.c: Likewise.
13021 2014-06-02 Roland McGrath <roland@hack.frob.com>
13023 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13024 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13025 Label the code __libc_vfork rather than __vfork.
13026 [!NOT_IN_libc] (vfork): Define as weak alias.
13027 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13028 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13029 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13031 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13033 * malloc/malloc.c (malloc_info): Fix format specifier for
13036 2014-06-02 Wilco <wdijkstr@arm.com>
13038 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13041 2014-06-02 Wilco <wdijkstr@arm.com>
13044 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13045 Rewrite to reduce FPCR/FPSR accesses.
13047 2014-06-01 David S. Miller <davem@davemloft.net>
13049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13051 2014-05-31 David S. Miller <davem@davemloft.net>
13053 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13054 to occur in round to nearest mode when |x| >= 2.0
13056 2014-05-30 Richard Henderson <rth@twiddle.net>
13058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13059 (PSEUDO_RET_NOERRNO): Remove.
13060 (ret): Don't redefine.
13061 (ret_NOERRNO): Define in terms of ret.
13062 (ret_ERRVAL): Likewise.
13064 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13065 use of PSEUDO_RET; perform the error check directly.
13067 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13069 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13072 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13074 * malloc/malloc (malloc_info): Fix formatting.
13076 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13077 Roland McGrath <roland@hack.frob.com>
13079 * malloc/malloc (malloc_info): Also print mmapped statistics.
13081 2014-05-30 Roland McGrath <roland@hack.frob.com>
13083 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13084 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13086 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13088 * malloc/malloc.c (malloc_info): Inline mi_arena.
13090 2014-05-29 Richard Henderson <rth@twiddle.net>
13092 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13093 Remove comma before expanding ASM_ARGS_##nr.
13094 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13095 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13097 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13098 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13099 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13100 (ASM_ARGS_1): Add leading comma.
13102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13103 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13104 to __errno_location.
13105 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13106 Remove the expected plt for __errno_location.
13108 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13109 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13112 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13113 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13114 it and break it down.
13115 (DOCARGS_0, DOCARGS_1): Do nothing.
13116 (DOCARGS_2): Update to store into the new stack frame.
13117 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13118 (UNDOCARGS_1): Update to restore from the new stack frame.
13119 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13120 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13123 (SINGLE_THREAD_P): New parameter for result regno.
13124 (PSEUDO): Update to match; use cbz instead of beq.
13126 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13127 Use ENTRY to define the _nocancel entry point. Share the syscall
13128 and syscall error check paths with the cancel path.
13131 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13132 whitespace; tabs before and after asm mnemonics.
13134 2014-05-29 Eric Wong <normalperson@yhbt.net>
13137 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13138 Call fstat64 or stat64 internally, depending on arguments passed.
13139 Replace stat buffer argument with file descriptor argument.
13140 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13141 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13142 Pass fd to __internal_statvfs instead of calling fstat64.
13143 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13144 Pass fd to __internal_statvfs64 instead of calling fstat64.
13145 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13146 Pass -1 to __internal_statvfs instead of calling stat64.
13147 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13148 Pass -1 to __internal_statvfs64 instead of calling stat64.
13150 2014-05-28 Roland McGrath <roland@hack.frob.com>
13152 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13153 that was previously under [RESET_PID].
13154 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13156 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13157 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13159 2014-05-27 Roland McGrath <roland@hack.frob.com>
13161 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13163 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13164 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13166 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13168 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13170 2014-05-27 Andreas Schwab <schwab@suse.de>
13172 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13174 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13175 * elf/rtld.c (init_tls, dl_main): Likewise.
13176 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13177 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13178 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13179 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13180 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13181 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13182 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13183 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13184 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13185 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13186 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13187 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13188 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13189 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13190 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13191 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13192 * sysdeps/generic/tls.h: Update description.
13194 2014-05-27 Will Newton <will.newton@linaro.org>
13197 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13198 and restore r2 rather than just restoring.
13200 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13203 * libio/tst-ftell-append.c: New test case.
13204 * libio/Makefile (tests): Add test case.
13205 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13207 * libio/wfileops.c (do_ftell_wide): Likewise.
13209 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13213 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13217 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13218 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13219 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13220 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13221 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13222 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13226 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13229 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13230 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13231 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13232 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13233 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13235 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13236 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13238 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13240 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13242 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13243 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13244 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13246 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13247 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13248 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13249 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13254 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13272 conditional [RESET_PID].
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13281 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13282 (__libc_vfork): New strong alias.
13283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13290 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13291 (__libc_vfork): New strong alias.
13292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13297 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13299 * malloc/malloc.c (mi_arena): New function.
13300 (malloc_info): Remove nested function mi_arena. Call non-nosted
13303 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13305 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13307 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13308 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13309 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13310 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13311 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13312 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13313 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13315 2014-05-26 Andreas Schwab <schwab@suse.de>
13318 * locale/programs/repertoire.c (repertoire_read): Add slash
13319 between I18NPATH element and file name.
13320 * locale/programs/locfile.c (locfile_read): Likewise.
13322 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13324 * nptl/pthread_mutexattr_settype.c
13325 (__pthread_mutexattr_settype):
13326 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13328 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13330 * nptl/tst-mutex5 (do_test):
13331 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13333 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13335 * benchtests/README: Document 'init' directive.
13336 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13338 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13339 (parse_file): Recognize 'init' directive.
13341 2014-05-26 Kyle McMartin <kyle@redhat.com>
13344 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13345 alignment of struct pthread.
13347 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13350 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13351 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13352 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13353 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13355 2014-05-25 Richard Henderson <rth@twiddle.net>
13357 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13358 (SINGLE_THREAD_P_PIC): Remove.
13359 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13360 (SINGLE_THREAD_P_PIC): Remove.
13362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13363 branch to syscall error ...
13364 (PSEUDO): ... here.
13365 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13366 from __local_syscall_error to .Lsyscall_error.
13367 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13368 (SYSCALL_ERROR): Update label name.
13370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13371 Do not use DOARGS/UNDOARGS.
13372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13373 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13374 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13375 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13376 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13381 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13382 define if !NOT_IN_libc.
13383 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13384 define with non-default symbol versions.
13386 2014-05-23 Richard Henderson <rth@twiddle.net>
13388 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13389 (vfork, __vfork): Define via compat_symbol.
13391 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13392 [!HAVE_IFUNC] (vfork_compat): Remove.
13393 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13395 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13398 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13399 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13402 2014-05-23 Richard Henderson <rth@twiddle.net>
13404 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13405 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13406 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13407 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13409 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13410 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13411 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13412 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13413 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13414 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13415 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13416 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13417 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13418 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13419 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13420 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13421 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13429 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13430 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13432 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13433 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13434 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13435 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13436 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13437 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13438 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13439 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13440 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13441 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13442 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13443 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13444 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13445 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13446 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13447 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13448 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13449 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13450 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13451 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13452 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13453 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13454 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13455 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13456 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13458 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13460 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13462 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13464 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13466 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13467 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13468 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13469 before exiting on error.
13470 (__libc_vfork): New strong alias.
13471 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13472 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13474 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13475 that was previously under [RESET_PID].
13476 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13478 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13480 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13483 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13484 value when x - 1 is zero.
13485 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13486 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13487 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13488 0.0L for an argument of 1.0L.
13489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13491 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13492 value when x - 1 is zero.
13493 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13494 * sysdeps/i386/fpu/libm-test-ulps: Update.
13495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13499 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13500 alphasort and versionsort.
13502 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13506 [copysignf]: Likewise.
13508 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13510 * crypt/md5-crypt.c: Fix formatting.
13512 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13514 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13515 (b64_from_24bit): New function.
13517 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13519 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13520 libc_hidden_builtin_def to ifunc.
13521 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13522 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13524 2014-05-21 Roland McGrath <roland@hack.frob.com>
13526 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13527 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13529 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13531 * nscd/Depend (linuxthreads): Remove.
13533 * resolv/Depend (linuxthreads): Remove.
13534 * rt/Depend (linuxthreads): Remove.
13536 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13537 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13538 $(common-objpfx)elf/.
13539 (link-libc-before-gnulib): Likewise.
13540 (elfobjdir): Remove variable.
13541 * Makefile (install): Use $(elf-objpfx) instead of
13542 $(common-objpfx)elf/.
13543 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13545 (link-libc-deps): Likewise.
13546 ($(common-objpfx)libc.so): Likewise.
13547 ($(common-objpfx)linkobj/libc.so): Likewise.
13548 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13549 instead of $(common-objpfx)elf/.
13550 (symbolic-link-list): Likewise.
13551 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13552 [$(cross-compiling) = no]: Likewise.
13553 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13555 (static-gnulib-arch): Likewise.
13556 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13557 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13558 $(common-objpfx)elf/.
13560 2014-05-21 Richard Henderson <rth@redhat.com>
13562 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13563 (SINGLE_THREAD_P): Use the correct width load. Fold
13564 into the ldr offset.
13566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13567 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13569 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13571 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13572 (libgcc_s_resume): Use __attribute_used__.
13573 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13576 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13578 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13579 optimization when used with float constants.
13581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13583 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13586 * locale/nl_langinfo_l.c: Make direct reference to every
13587 _nl_current_CATEGORY symbol.
13588 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13589 (tests-static): Add tst-langinfo-static.
13590 (tests-special): Add tst-langinfo-static.out.
13591 ($(objpfx)tst-langinfo.out): Redirect output.
13592 ($(objpfx)tst-langinfo-static.out): New.
13593 * localedata/tst-langinfo.sh: Send output to stdout.
13594 * localedata/tst-langinfo-static.c: New file.
13597 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13598 when the shift amount is modulo the limb size.
13600 2014-05-20 Richard Henderson <rth@redhat.com>
13603 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13604 Change type of sa_flags from unsigned int to int.
13607 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13609 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13611 2014-05-20 Will Newton <will.newton@linaro.org>
13613 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13614 Test the return value of the system call in the nocancel case.
13616 2014-05-20 Will Newton <will.newton@linaro.org>
13617 Yvan Roux <yvan.roux@linaro.org>
13619 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13620 #include of asm/ptrace.h.
13621 (PTRACE_GET_THREAD_AREA): Remove #undef.
13622 (PTRACE_GETHBPREGS): Likewise.
13623 (PTRACE_SETHBPREGS): Likewise.
13624 (struct user_regs_struct): New structure.
13625 (struct user_fpsimd_struct): New structure.
13626 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13627 #include of asm/ptrace.h and second #include of sys/user.h.
13628 (PTRACE_GET_THREAD_AREA): Remove #undef.
13629 (PTRACE_GETHBPREGS): Likewise.
13630 (PTRACE_SETHBPREGS): Likewise.
13631 (ELF_NGREG): Use new struct user_regs_struct.
13632 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13634 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13639 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13643 membar to avoid block loads/stores to overlap previous stores.
13645 2014-05-17 Richard Henderson <rth@redhat.com>
13647 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13648 Create the __##syscall_name##_nocancel entry point.
13649 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13650 Remove; let the sysdep-cancel.h code create it.
13652 2014-05-17 David S. Miller <davem@davemloft.net>
13654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13655 Protect with __USE_GNU.
13656 (TIOCSET_TEMPT): Likewise.
13657 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13658 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13659 these are already provided in bits/ioctl-types.h
13661 2014-05-16 Roland McGrath <roland@hack.frob.com>
13663 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13664 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13666 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13667 Use wait4 regardless of [__NR_waitpid].
13669 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13672 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13673 (_FP_NANSIGN_Q): Set the quiet bit.
13675 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13677 * benchtests/Makefile
13678 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13679 not $(common-objpfx)math/libm.so.
13680 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13681 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13682 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13683 $(common-objpfx)dlfcn/libdl.so.
13684 ($(objpfx)tst-audit8): Depend on $(libm), not
13685 $(common-objpfx)math/libm.so.
13686 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13687 not $(common-objpfx)dlfcn/libdl.so.
13689 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13690 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13691 [$(build-shared) = yes].
13692 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13693 $(common-objpfx)nptl/libpthread.so.
13694 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13695 $(common-objpfx)math/libm.so$(libm.so-version) or
13696 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13697 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13698 $(common-objpfx)dlfcn/libdl.so.
13699 * setjmp/Makefile (link-libm): Remove variable.
13700 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13701 * stdio-common/Makefile (link-libm): Remove variable.
13702 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13703 * stdlib/Makefile (link-libm): Remove variable.
13704 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13705 ($(objpfx)tst-strtod-round): Likewise.
13706 ($(objpfx)tst-tininess): Likewise.
13707 ($(objpfx)tst-strtod-underflow): Likewise.
13708 ($(objpfx)tst-strtod6): Likewise.
13709 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13710 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13711 $(common-objpfx)dlfcn/libdl.so.
13713 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13715 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13716 BSD terminal modes definitions.
13718 2014-05-16 Roland McGrath <roland@hack.frob.com>
13720 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13721 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13723 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13724 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13725 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13726 Don't do #include_next.
13727 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13728 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13729 Don't do #include_next.
13730 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13731 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13732 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13733 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13735 2014-05-16 Allan McRae <allan@archlinux.org>
13737 * po/sv.po: Update Swedish translation from translation project.
13739 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13742 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13745 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13746 errno if the TIOCGPTN ioctl fails with an error different than
13748 * login/tst-ptsname.c: New file.
13749 * login/Makefile (tests): Add tst-ptsname.
13752 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13755 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13758 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13759 herrno to return EAI_AGAIN.
13761 2014-05-14 Roland McGrath <roland@hack.frob.com>
13763 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13764 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13765 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13766 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13767 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13768 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13769 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13770 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13772 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13773 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13774 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13775 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13776 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13777 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13778 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13780 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13781 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13782 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13783 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13784 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13788 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13789 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13792 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13794 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13799 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13801 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13803 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13805 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13807 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13809 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13811 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13813 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13815 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13817 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13819 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13821 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13823 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13825 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13828 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13830 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13832 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13834 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13836 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13840 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13842 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13844 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13846 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13849 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13851 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13853 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13854 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13855 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13856 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13857 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13859 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13861 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13863 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13864 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13865 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13866 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13867 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13869 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13870 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13871 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13872 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13873 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13875 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13877 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13879 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13880 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13881 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13882 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13883 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13885 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13886 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13888 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13889 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13890 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13891 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13892 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13898 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13901 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13902 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13904 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13909 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13911 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13913 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13914 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13915 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13918 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13921 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13923 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13924 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13926 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13935 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13936 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13937 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13941 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13943 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13944 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13946 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13949 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13950 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13951 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13954 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13956 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13958 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13960 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13963 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13966 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13968 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13969 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13970 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13971 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13979 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13980 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13981 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13982 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13983 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13984 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13985 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13986 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13987 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13989 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13990 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13992 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13993 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13995 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13999 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14000 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14001 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14002 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14005 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14006 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14007 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14009 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14010 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14011 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14014 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14017 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14019 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14020 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14021 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14022 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14025 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14031 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14033 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14034 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14035 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14036 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14037 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14038 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14039 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14041 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14042 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14044 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14045 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14047 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14048 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14049 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14050 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14051 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14052 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14053 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14054 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14055 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14057 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14058 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14060 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14061 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14063 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14066 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14068 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14071 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14073 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14075 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14077 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14080 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14083 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14089 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14090 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14091 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14092 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14093 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14094 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14095 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14096 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14097 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14098 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14099 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14101 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14102 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14103 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14104 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14105 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14107 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14108 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14109 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14110 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14111 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14112 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14113 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14114 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14115 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14116 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14121 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14122 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14123 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14124 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14125 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14126 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14127 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14128 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14129 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14130 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14131 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14132 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14134 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14155 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14156 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14160 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14161 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14165 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14166 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14168 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14171 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14172 that was previously under [RESET_PID].
14173 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14174 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14175 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14177 * sysdeps/i386/nptl/Implies: New file.
14178 * sysdeps/x86_64/nptl/Implies: New file.
14179 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14180 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14181 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14182 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14184 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14185 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14186 (__libc_vfork): New strong alias.
14187 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14188 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14190 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14191 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14192 (__libc_vfork): New strong alias.
14193 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14194 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14196 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14197 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14198 (__libc_vfork): New strong alias.
14199 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14200 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14201 * nptl/pt-vfork.c: New file.
14202 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14203 (libpthread: GLIBC_2.20): New version set (empty).
14205 2014-05-14 Will Newton <will.newton@linaro.org>
14207 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14210 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14213 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14214 arguments with exponent 65 or above.
14215 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14216 arguments 0x1p113L or above.
14217 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14218 to arguments 0x1p107L or above.
14219 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14220 positive arguments with exponent 65 or above.
14221 * math/auto-libm-test-in: Add more tests of log1p.
14222 * math/auto-libm-test-out: Regenerated.
14225 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14226 non-finite arguments is +0.
14227 * math/s_cacosf.c (__cacosf): Likewise.
14228 * math/s_cacosl.c (__cacosl): Likewise.
14229 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14230 * sysdeps/i386/fpu/libm-test-ulps: Update.
14231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14234 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14236 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14237 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14238 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14239 for explicit high bit of mantissa when testing for argument equal
14241 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14242 * sysdeps/i386/fpu/libm-test-ulps: Update.
14243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14246 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14247 (__erf): Scale by 16 instead of 8 in potentially underflowing
14248 case. Ensure exception if result actually underflows.
14249 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14250 (__erff): Scale by 16 instead of 8 in potentially underflowing
14251 case. Ensure exception if result actually underflows.
14252 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14253 (efx8): Remove variable.
14254 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14255 case. Ensure exception if result actually underflows.
14256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14257 (efx8): Remove variable.
14258 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14259 case. Ensure exception if result actually underflows.
14260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14261 (efx8): Remove variable.
14262 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14263 case. Ensure exception if result actually underflows.
14264 * math/auto-libm-test-in: Add more tests of erf.
14265 * math/auto-libm-test-out: Regenerated.
14267 2014-05-14 Andreas Schwab <schwab@suse.de>
14269 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14270 Remove code conditionalized on USE___THREAD.
14272 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14273 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14276 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14279 Define unconditionally.
14280 (__ASSUME_O_CLOEXEC): Likewise.
14281 (__ASSUME_SOCK_CLOEXEC): Likewise.
14282 (__ASSUME_IN_NONBLOCK): Likewise.
14283 (__ASSUME_PIPE2): Likewise.
14284 (__ASSUME_EVENTFD2): Likewise.
14285 (__ASSUME_SIGNALFD4): Likewise.
14286 (__ASSUME_DUP3): Likewise.
14287 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14288 (__ASSUME_DUP3): Do not define.
14289 (__ASSUME_EVENTFD2): Likewise.
14290 (__ASSUME_IN_NONBLOCK): Likewise.
14291 (__ASSUME_O_CLOEXEC): Likewise.
14292 (__ASSUME_PIPE2): Likewise.
14293 (__ASSUME_SIGNALFD4): Likewise.
14294 (__ASSUME_SOCK_CLOEXEC): Likewise.
14295 (__ASSUME_UTIMES): Undefine.
14296 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14297 (__ASSUME_UTIMES): Do not define.
14298 (__ASSUME_O_CLOEXEC): Likewise.
14299 (__ASSUME_SOCK_CLOEXEC): Likewise.
14300 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14301 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14303 (__ASSUME_PIPE2): Likewise.
14304 (__ASSUME_EVENTFD2): Likewise.
14305 (__ASSUME_SIGNALFD4): Likewise.
14306 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14307 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14309 (__ASSUME_EVENTFD2): Likewise.
14310 (__ASSUME_SIGNALFD4): Likewise.
14311 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14312 (__ASSUME_32BITUIDS): Likewise.
14313 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14314 (__ASSUME_IPC64): Likewise.
14315 (__ASSUME_ST_INO_64_BIT): Likewise.
14316 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14317 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14318 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14319 (__ASSUME_UTIMES): Do not define.
14320 (__ASSUME_PSELECT): Likewise.
14321 (__ASSUME_PPOLL): Likewise.
14322 (__ASSUME_O_CLOEXEC): Likewise.
14323 (__ASSUME_SOCK_CLOEXEC): Likewise.
14324 (__ASSUME_IN_NONBLOCK): Likewise.
14325 (__ASSUME_PIPE2): Likewise.
14326 (__ASSUME_EVENTFD2): Likewise.
14327 (__ASSUME_SIGNALFD4): Likewise.
14328 (__ASSUME_DUP3): Likewise.
14329 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14330 (__ASSUME_UTIMES): Likewise.
14331 (__ASSUME_O_CLOEXEC): Likewise.
14332 (__ASSUME_SOCK_CLOEXEC): Likewise.
14333 (__ASSUME_IN_NONBLOCK): Likewise.
14334 (__ASSUME_PIPE2): Likewise.
14335 (__ASSUME_EVENTFD2): Likewise.
14336 (__ASSUME_SIGNALFD4): Likewise.
14337 (__ASSUME_DUP3): Likewise.
14338 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14339 (__ASSUME_UTIMES): Likewise.
14340 (__ASSUME_O_CLOEXEC): Likewise.
14341 (__ASSUME_SOCK_CLOEXEC): Likewise.
14342 (__ASSUME_IN_NONBLOCK): Likewise.
14343 (__ASSUME_PIPE2): Likewise.
14344 (__ASSUME_EVENTFD2): Likewise.
14345 (__ASSUME_SIGNALFD4): Likewise.
14346 (__ASSUME_DUP3): Likewise.
14347 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14349 (__ASSUME_UTIMES): Likewise.
14350 (__ASSUME_EVENTFD2): Likewise.
14351 (__ASSUME_SIGNALFD4): Likewise.
14352 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14353 (__ASSUME_O_CLOEXEC): Likewise.
14354 (__ASSUME_SOCK_CLOEXEC): Likewise.
14355 (__ASSUME_IN_NONBLOCK): Likewise.
14356 (__ASSUME_PIPE2): Likewise.
14357 (__ASSUME_EVENTFD2): Likewise.
14358 (__ASSUME_SIGNALFD4): Likewise.
14359 (__ASSUME_DUP3): Likewise.
14360 (__ASSUME_UTIMES): Undefine.
14362 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14363 feclearexcept. Remove symbol versioning code.
14364 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14365 symbol versioning code.
14366 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14367 symbol versioning code.
14368 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14369 feupdateenv. Remove symbol versioning code.
14370 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14371 fegetexceptflag. Remove symbol versioning code.
14372 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14373 fesetexceptflag. Remove symbol versioning code.
14374 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14375 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14376 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14377 (__posix_fadvise64_l32): Remove prototype.
14378 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14381 2014-05-13 Roland McGrath <roland@hack.frob.com>
14383 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14384 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14385 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14386 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14388 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14390 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14391 current working directory
14393 2014-05-13 Roland McGrath <roland@hack.frob.com>
14395 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14396 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14397 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14398 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14399 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14400 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14401 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14402 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14403 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14404 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14405 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14406 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14407 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14408 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14409 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14410 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14411 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14412 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14413 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14416 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14417 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14418 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14419 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14422 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14423 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14424 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14428 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14429 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14430 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14431 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14432 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14433 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14434 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14435 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14436 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14438 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14439 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14441 * sysdeps/unix/sysv/linux/arm/Makefile
14442 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14443 Add rt-aeabi_unwind_cpp_pr1.
14444 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14445 Add nptl-aeabi_unwind_cpp_pr1.
14446 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14447 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14448 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14449 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14450 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14451 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14453 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14454 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14455 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14456 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14458 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14459 Deconditionalize the code that was previously under [RESET_PID].
14460 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14462 * sysdeps/generic/exit-thread.h: New file.
14463 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14464 * include/unistd.h (__exit_thread): Remove declaration.
14465 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14466 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14467 * csu/libc-start.c: Include <exit-thread.h>.
14468 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14469 * nptl/pthread_create.c: Include <exit-thread.h>.
14470 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14471 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14472 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14473 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14474 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14475 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14476 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14477 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14478 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14479 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14480 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14481 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14482 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14483 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14484 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14485 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14486 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14488 2014-05-13 Andreas Schwab <schwab@suse.de>
14490 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14492 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14494 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14495 (__ASSUME_UTIMES): Do not condition on kernel version.
14496 (__ASSUME_PSELECT): Define unconditionally.
14497 (__ASSUME_PPOLL): Likewise.
14498 (__ASSUME_ATFCTS): Likewise.
14499 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14500 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14501 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14502 (__ASSUME_UTIMENSAT): Define unconditionally.
14503 (__ASSUME_PRIVATE_FUTEX): Likewise.
14504 (__ASSUME_FALLOCATE): Likewise.
14505 (__ASSUME_O_CLOEXEC): Likewise.
14506 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14507 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14508 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14509 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14510 (__ASSUME_IN_NONBLOCK): Likewise.
14511 (__ASSUME_PIPE2): Likewise.
14512 (__ASSUME_EVENTFD2): Likewise.
14513 (__ASSUME_SIGNALFD4): Likewise.
14514 (__ASSUME_DUP3): Likewise.
14515 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14516 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14517 (__ASSUME_AT_RANDOM): Likewise.
14518 (__ASSUME_PREADV): Likewise.
14519 (__ASSUME_PWRITEV): Likewise.
14520 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14521 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14522 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14524 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14525 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14526 (__ASSUME_O_CLOEXEC): Define unconditionally.
14527 (__ASSUME_PSELECT): Do not undefine conditionally.
14528 (__ASSUME_PPOLL): Likewise.
14529 (__ASSUME_ATFCTS): Likewise.
14530 (__ASSUME_SET_ROBUST_LIST): Likewise.
14531 (__ASSUME_UTIMENSAT): Likewise.
14532 (__ASSUME_FDATASYNC): Define unconditionally.
14533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14534 (__ASSUME_SIGFRAME_V2): Likewise.
14535 )__ASSUME_EVENTFD2): Likewise.
14536 (__ASSUME_SIGNALFD4): Likewise.
14537 (__ASSUME_PSELECT): Do not undefine conditionally.
14538 (__ASSUME_PPOLL): Likewise.
14539 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14540 (__ASSUME_PSELECT): Define unconditionally.
14541 (__ASSUME_PPOLL): Likewise.
14542 (__ASSUME_O_CLOEXEC): Likewise.
14543 (__ASSUME_SOCK_CLOEXEC): Likewise.
14544 (__ASSUME_IN_NONBLOCK): Likewise.
14545 (__ASSUME_PIPE2): Likewise.
14546 (__ASSUME_EVENTFD2): Likewise.
14547 (__ASSUME_SIGNALFD4): Likewise.
14548 (__ASSUME_DUP3): Likewise.
14549 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14550 (__ASSUME_O_CLOEXEC): Likewise.
14551 (__ASSUME_SOCK_CLOEXEC): Likewise.
14552 (__ASSUME_IN_NONBLOCK): Likewise.
14553 (__ASSUME_PIPE2): Likewise.
14554 (__ASSUME_EVENTFD2): Likewise.
14555 (__ASSUME_SIGNALFD4): Likewise.
14556 (__ASSUME_DUP3): Likewise.
14557 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14558 (__ASSUME_EVENTFD2): Likewise.
14559 (__ASSUME_SIGNALFD4): Likewise.
14560 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14562 2014-05-12 Andreas Schwab <schwab@suse.de>
14565 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14566 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14567 than maximum RPC packet size.
14568 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14569 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14570 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14571 (_nss_nis_getservbyport_r): Likewise.
14573 2014-05-12 Will Newton <will.newton@linaro.org>
14575 * malloc/Makefile (tests): Add tst-mallopt.
14576 * malloc/tst-mallopt.c: New file.
14578 2014-05-09 Roland McGrath <roland@hack.frob.com>
14580 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14581 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14583 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14585 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14586 (tst-tlsmod6.so): Likewise.
14588 2014-05-09 Roland McGrath <roland@hack.frob.com>
14590 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14592 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14595 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14596 and <dl-procinfo.h>.
14597 (__fegetenv): Save SSE state in envp->__eip if supported.
14598 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14599 envp->__eip if supported.
14600 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14601 and <dl-procinfo.h>.
14602 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14603 __data_offset and __data_selector in environment to 0. Set SSE
14604 state if supported.
14605 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14607 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14609 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14611 2014-05-09 Will Newton <will.newton@linaro.org>
14613 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14614 and libc_relro_required for ARM.
14615 * sysdeps/arm/preconfigure: Regenerate.
14617 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14618 Stefan Liebler <stli@linux.vnet.ibm.com>
14620 * config.make.in (enable-lock-elision): New Makefile variable.
14621 * configure.ac: Likewise.
14622 * configure: Regenerate.
14623 * sysdeps/s390/configure.ac:
14624 Add check for gcc transactions support.
14625 * sysdeps/s390/configure: Regenerate.
14626 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14627 Build elision files if enabled.
14628 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14629 Add lock elision support for s390.
14630 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14631 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14632 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14633 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14634 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14635 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14636 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14638 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14644 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14645 (__lll_timedlock_elision, __lll_lock_elision)
14646 (__lll_unlock_elision, __lll_trylock_elision)
14647 (lll_timedlock_elision, lll_lock_elision)
14648 (lll_unlock_elision, lll_trylock_elision): Add.
14649 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14650 (pthread_mutex_t): Add lock elision support for s390.
14652 2014-05-14 Wilco <wdijkstr@arm.com>
14654 * sysdeps/arm/fclrexcpt.c: Cleanup.
14655 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14656 * sysdeps/arm/feenablxcpt.c: Cleanup.
14657 * sysdeps/arm/fegetenv.c: Cleanup.
14658 * sysdeps/arm/fegetexcept.c: Cleanup.
14659 * sysdeps/arm/fegetround.c: Cleanup.
14660 * sysdeps/arm/feholdexcpt.c: Cleanup.
14661 * sysdeps/arm/fesetenv.c: Cleanup.
14662 * sysdeps/arm/fesetround.c: Cleanup.
14663 * sysdeps/arm/feupdateenv.c: Cleanup.
14664 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14665 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14666 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14667 * sysdeps/arm/ftestexcept.c: Cleanup.
14668 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14669 * sysdeps/arm/setfpucw.c: Cleanup.
14671 2014-05-09 Will Newton <will.newton@linaro.org>
14673 * sysdeps/arm/armv7/strcmp.S: New file.
14674 * NEWS: Mention addition of ARMv7 optimized strcmp.
14676 2014-05-08 Roland McGrath <roland@hack.frob.com>
14678 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14679 look for %.ac rather than %.in.
14681 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14682 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14683 * sysdeps/mach/hurd/configure: Regenerated.
14684 * sysdeps/unix/sysv/linux/configure: Regenerated.
14686 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14688 2014-05-07 Steve Ellcey <sellcey@mips.com>
14691 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14695 2014-05-07 Andreas Schwab <schwab@suse.de>
14697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14698 when skipping over non-matching result from nscd.
14700 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14703 * nptl/sockperf.c (client): Check socket return value.
14706 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14707 nscd security class.
14709 2014-05-06 Roland McGrath <roland@hack.frob.com>
14711 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14712 * sysdeps/arm/unwind.h: ... here.
14714 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14717 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14720 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14722 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14723 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14724 multiarch strncpy for PPC64.
14725 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14726 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14728 multiarch optimizations.
14729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14730 (__libc_ifunc_impl_list): Likewise.
14731 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14732 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14733 multiarch stpncpy for PPC64.
14734 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14735 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14737 2014-05-06 Andreas Schwab <schwab@suse.de>
14740 * gmon/mcount.c (_MCOUNT_DECL): Use
14741 atomic_compare_and_exchange_bool_acq instead of
14742 catomic_compare_and_exchange_bool_acq.
14744 2014-05-05 Roland McGrath <roland@hack.frob.com>
14746 * elf/Makefile (others, install-bin): Remove pldd.
14747 (pldd-modules): Variable removed.
14748 ($(objpfx)pldd): Target removed.
14749 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14750 (others, install-bin): Append pldd here.
14751 ($(objpfx)pldd): New target.
14753 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14754 to 0, so the first #if test emitted later doesn't see it undefined.
14755 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14756 * sysdeps/gnu/errlist.c: Regenerated.
14758 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14760 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14761 [libc_hidden_builtin_def]: Define to empty value.
14762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14763 [libc_hidden_builtin_def]: Likewise.
14764 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14765 [libc_hidden_builtin_def]: Likewise.
14766 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14767 [libc_hidden_builtin_def]: Likewise.
14768 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14769 __redirect_memcpy and define ifunc as default hidden symbol.
14770 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14771 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14773 2014-05-04 Adam Conrad <adconrad@0c3.net>
14775 * locale/iso-4217.def: Reintroduce XDR currency.
14777 2014-05-04 Allan McRae <allan@archlinux.org>
14779 * po/eo.po: Update Esperanto translation from translation project.
14781 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14783 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14784 and FEATURE_INDEX_MAX to 1.
14785 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14787 2014-05-01 Steve Ellcey <sellcey@mips.com>
14789 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14790 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14791 * iconvdata/big5.c (ONE_DIRECTION): Define.
14792 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14793 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14794 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14795 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14796 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14797 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14798 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14799 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14800 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14801 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14802 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14803 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14804 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14805 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14806 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14807 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14808 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14809 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14810 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14811 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14812 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14813 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14814 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14815 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14816 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14817 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14818 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14819 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14820 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14821 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14822 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14823 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14824 * iconvdata/johab.c (ONE_DIRECTION): Define.
14825 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14826 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14827 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14828 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14829 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14830 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14831 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14832 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14833 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14834 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14836 2014-05-01 Roland McGrath <roland@hack.frob.com>
14838 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14839 (_IO_JUMPS_OFFSET): Define to 0.
14841 * nptl/sysdeps/pthread/bits/libc-lock.h
14842 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14843 (__libc_lock_define_initialized_recursive): Always define using
14844 initializer. Modern compilers treat uninitialized (implicit zero) and
14845 explicit zero initializers the same (i.e. put the datum in bss).
14847 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14849 * nscd/nscd-client.h: Include <string.h>.
14851 2014-05-01 David S. Miller <davem@davemloft.net>
14854 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14855 multiple zero bytes exist at the end of a string.
14856 Reported by Aurelien Jarno <aurelien@aurel32.net>
14858 * string/test-strcmp.c (check): Add explicit test for situations where
14859 there are multiple zero bytes after the first.
14861 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14864 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14865 when compiling wprintf.
14866 * stdio-common/tstdiomisc.c (t3): New function.
14869 2014-05-01 Steve Ellcey <sellcey@mips.com>
14871 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14872 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14873 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14874 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14876 2014-05-01 Steve Ellcey <sellcey@mips.com>
14878 * stdlib/longlong.h: Updated from GCC.
14880 2014-05-01 Will Newton <will.newton@linaro.org>
14881 Bernard Ogden <bernie.ogden@linaro.org>
14883 * NEWS: Update fixed bug list.
14886 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14888 2014-04-30 David S. Miller <davem@davemloft.net>
14890 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14891 (libc_feholdexcept_setround_sparc_ctx): New function.
14892 (libc_fesetenv_sparc_ctx): Likewise.
14893 (libc_feupdateenv_sparc_ctx): Likewise.
14894 (libc_feholdsetround_sparc_ctx): Likewise.
14895 (libc_feholdexcept_setround_ctx): Define.
14896 (libc_feholdexcept_setroundf_ctx): Likewise.
14897 (libc_feholdexcept_setroundl_ctx): Likewise.
14898 (libc_fesetenv_ctx): Likewise.
14899 (libc_fesetenvf_ctx): Likewise.
14900 (libc_fesetenvl_ctx): Likewise.
14901 (libc_feupdateenv_ctx): Likewise.
14902 (libc_feupdateenvf_ctx): Likewise.
14903 (libc_feupdateenvl_ctx): Likewise.
14904 (libc_feresetround_ctx): Likewise.
14905 (libc_feresetroundf_ctx): Likewise.
14906 (libc_feresetroundl_ctx): Likewise.
14907 (libc_feholdsetround_ctx): Likewise.
14908 (libc_feholdsetroundf_ctx): Likewise.
14909 (libc_feholdsetroundl_ctx): Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14912 with __USE_GNU instead of XOPEN cpp guards.
14914 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14917 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14918 with XOPEN cpp guards.
14920 2014-04-30 Julian Brown <julian@codesourcery.com>
14923 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14926 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14929 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14931 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14932 * sysdeps/unix/sysv/linux/configure: Regenerated.
14933 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14934 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14935 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14936 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14937 * README: Update reference to required Linux kernel version.
14938 * manual/install.texi (Linux): Update reference to required Linux
14939 kernel headers version.
14940 * INSTALL: Regenerated.
14942 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14944 [POSIX] (limits.h): Likewise.
14945 [POSIX] (math.h): Likewise.
14946 [POSIX] (sys/wait.h): Likewise.
14947 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14949 [POSIX] (stddef.h): Do not allow header inclusion.
14951 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14953 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14955 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14957 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14958 Return immediately after lll_futex_wake.
14960 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14963 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14965 (datahead_init_pos): Call datahead_init_common early.
14966 (datahead_init_neg): Likewise.
14968 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14969 datahead_init_neg): New functions.
14970 * nscd/aicache.c (addhstaiX): Use them.
14971 * nscd/grpcache.c (cache_addgr): Likewise.
14972 * nscd/hstcache.c (cache_addhst): Likewise.
14973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14974 * nscd/netgroupcache.c (do_notfound): Likewise.
14975 (addgetnetgrentX): Likewise.
14976 (addinnetgrX): Likewise.
14977 * nscd/pwdcache.c (cache_addpw): Likewise.
14978 * nscd/servicescache.c (cache_addserv): Likewise.
14980 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14981 Atsushi Onoe <atsushi@onoe.org>
14986 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14987 one response is valid.
14988 * resolv/res_send.c (send_dg): Check for validity of other
14989 response if the current response is a referral.
14991 2014-04-29 Steve Ellcey <sellcey@mips.com>
14993 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14995 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14998 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14999 Always divide by positive zero when computing -Inf result.
15000 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15001 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15003 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15005 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15006 FPSCR if value do not change.
15007 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15008 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15009 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15010 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15011 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15012 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15015 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15017 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15018 * sysdeps/unix/sysv/linux/hppa: Move directory from
15019 ports/systeps/unix/sysv/linux/hppa.
15020 * README: Update listing for hppa-*-linux-gnu.
15022 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15025 * manual/stdio.texi (Hook functions): Fix types of stream hook
15028 * socket/sys/socket.h: Fix typo in comment.
15030 2014-04-28 Wilco <wdijkstr@arm.com>
15032 * sysdeps/arm/fenv_private.h: New file.
15033 * sysdeps/arm/math_private.h: New file.
15034 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15036 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15038 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15040 (La_x86_64_retval): Likewise.
15042 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15044 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15045 fpsr if value didn't change.
15046 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15047 to fpcr if value didn't change.
15048 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15049 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15050 fpsr or fpcr if value didn't change.
15051 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15052 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15053 fpcr if value didn't change.
15054 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15055 to fpsr if value didn't change.
15057 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15059 * nptl/tst-sem3.c: Use test-skeleton.c
15060 (main): Rename to do_test. Use return instead of
15062 * nptl/tst-sem4.c: Use test-skeleton.c
15063 (main): Rename to do_test.
15065 2014-04-22 David S. Miller <davem@davemloft.net>
15067 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15068 (struct sigaction): New struct member __glibc_reserved0, change
15069 type of sa_flags to int.
15071 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15073 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15074 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15076 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15078 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15079 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15081 2014-04-22 Will Newton <will.newton@linaro.org>
15082 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15084 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15085 (__longjmp): Add longjmp and longjmp_target SystemTap
15087 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15088 (__sigsetjmp): Add setjmp SystemTap probe.
15090 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15092 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15093 match manual order.
15095 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15097 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15099 * sysdeps/powerpc/fpu/fenv_private.h
15100 (libc_feholdexcept_setroundl_ctx): Define to
15101 libc_feholdexcept_setround_ppc_ctx.
15102 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15103 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15104 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15105 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15107 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15109 * sysdeps/aarch64/math-tests.h: New file.
15111 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15113 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15116 Check and set bit_AVX2_Usable.
15117 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15119 (bit_AVX2): Likewise.
15120 (index_AVX2_Usable): Likewise.
15121 (CPUID_AVX2): Likewise.
15122 (HAS_AVX2): Likewise.
15124 2014-04-17 Will Newton <will.newton@linaro.org>
15126 * manual/setjmp.texi (System V contexts): Add note that
15127 calling setcontext on a context created by a call to a
15128 signal handler is undefined. Update text to note that
15129 setcontext from a signal handler is possible but not
15133 * stdlib/tst-setcontext.c: Include signal.h.
15134 (main): Check that the signal stack before and
15135 after swapcontext is the same.
15137 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15138 Re-implement to restore registers in user code and avoid
15139 rt_sigreturn system call.
15141 2014-04-17 Wilco <wdijkstr@arm.com>
15143 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15144 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15145 * math/test-fenv.c: Skip exception trap tests on targets which only
15146 support non-stop mode.
15148 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15149 Wilco Dijkstra <wilco.dijkstra@arm.com>
15151 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15152 (libc_feholdsetround_aarch64_ctx)
15153 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15154 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15155 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15156 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15157 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15158 (libc_feresetround_noexl_ctx): Define.
15160 2014-04-16 Richard Henderson <rth@redhat.com>
15162 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15164 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15167 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15168 const from the non-libc, non-ldso copy.
15170 * sysdeps/alpha/libm-test-ulps: Regenerate.
15172 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15173 Wilco Dijkstra <wilco.dijkstra@arm.com>
15175 * sysdeps/aarch64/fpu/math_private.h: New file.
15177 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15179 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15181 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15184 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15185 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15187 Intel MPX bound registers before _dl_profile_fixup.
15188 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15189 registers after _dl_profile_fixup. Save and restore bound
15190 registers bnd0/bnd1 when calling _dl_call_pltexit.
15191 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15192 (LR_BND_OFFSET): Likewise.
15193 (LRV_BND0_OFFSET): Likewise.
15194 (LRV_BND1_OFFSET): Likewise.
15196 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15198 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15200 * sysdeps/mach/hurd/i386/tls.h: ... here.
15201 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15202 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15205 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15207 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15209 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15211 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15213 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15216 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15217 * sysdeps/s390/configure: Regenerate.
15220 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15221 Set round-to-nearest internally to reduce error accumulation.
15223 2014-04-16 Alan Modra <amodra@gmail.com>
15227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15228 * math/libm-test.inc (frexp_test_data): Add tests.
15229 * NEWS: Update fixed bug list.
15231 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15233 * benchtests/Makefile: Depend on libraries in build directory.
15234 (bench-math): Separate out math tests.
15235 (bench-pthread): Separate out pthread tests.
15236 (bench): Include math and pthread tests.
15238 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15241 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15242 _dl_debug_initialize.
15244 * configure.ac: Remove SELinux header check.
15245 * configure: Regenerate.
15246 * nscd/selinux.c (perms): Array of const char* to permission names.
15247 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15248 default policy. Call string_to_security_class and string_to_av_perm to
15249 translate strings. Enforce default policy and call avs_has_perm with
15250 results of translated strings.
15252 2014-04-13 David S. Miller <davem@davemloft.net>
15254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15256 2014-04-12 Allan McRae <allan@archlinux.org>
15259 * manual/string.texi (Collation Functions): Fix qsort argument
15261 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15263 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15265 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15266 Make the test a no-op if there are no exceptions defined.
15268 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15270 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15271 enable-hardcoded-path-in-tests
15273 2014-04-11 Will Newton <will.newton@linaro.org>
15275 * benchtests/Makefile (extra-objs): Add json-lib.o.
15276 (bench-func): Tidy up JSON output.
15277 * benchtests/bench-skeleton.c: Include json-lib.h.
15278 (main): Use JSON library functions to do output of
15280 * benchtests/bench-timing-type.c (main): Output the
15281 timing type simply, leaving formatting to the user.
15282 * benchtests/json-lib.c: New file.
15283 * benchtests/json-lib.h: Likewise.
15285 2014-04-11 Torvald Riegel <triegel@redhat.com>
15288 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15289 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15290 memory barriers. Add comments.
15291 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15292 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15293 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15294 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15295 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15296 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15298 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15300 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15301 * sysdeps/s390/s390-64/configure.ac: ... this ...
15302 * sysdeps/s390/configure.ac: ... to here.
15303 * sysdeps/s390/s390-32/configure: Delete file.
15304 * sysdeps/s390/s390-64/configure: Delete file.
15305 * sysdeps/s390/configure: Regenerate.
15307 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15309 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15311 2014-04-11 Will Newton <will.newton@linaro.org>
15313 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15314 to zero if it is not defined elsewhere. (mtrim): Test
15315 the value of MALLOC_DEBUG with #if rather than #ifdef.
15317 2014-04-10 Torvald Riegel <triegel@redhat.com>
15319 * benchtests/pthread_once-inputs: New file.
15320 * benchtests/pthread_once-source.c: New file.
15321 * benchtests/README: Update documentation.
15323 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15324 H.J. Lu <hongjiu.lu@intel.com>
15327 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15328 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15329 * sysdeps/x86_64/configure: Regenerated.
15330 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15332 (REGISTER_SAVE_RAX): Likewise.
15333 (REGISTER_SAVE_RCX): Likewise.
15334 (REGISTER_SAVE_RDX): Likewise.
15335 (REGISTER_SAVE_RSI): Likewise.
15336 (REGISTER_SAVE_RDI): Likewise.
15337 (REGISTER_SAVE_R8): Likewise.
15338 (REGISTER_SAVE_R9): Likewise.
15339 (REGISTER_SAVE_BND0): Likewise.
15340 (REGISTER_SAVE_BND1): Likewise.
15341 (REGISTER_SAVE_BND2): Likewise.
15342 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15343 bound registers when calling _dl_fixup.
15345 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15347 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15348 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15350 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15351 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15352 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15353 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15354 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15355 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15356 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15358 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15361 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15362 pathconf(_PC_NAME_MAX).
15364 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15366 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15367 Remove macro usage.
15368 (__PTHREAD_SPINS): Move definition to ...
15369 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15370 (__PTHREAD_SPINS): ... here.
15371 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15372 (__PTHREAD_SPIN): Likewise.
15373 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15374 (__PTHREAD_SPIN): Likewise.
15375 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15376 (__PTHREAD_SPIN): Likewise.
15377 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15378 (__PTHREAD_SPIN): Likewise.
15379 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15380 (__PTHREAD_SPIN): Likewise.
15381 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15382 (__PTHREAD_SPIN): Likewise.
15383 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15384 (__PTHREAD_SPIN): Likewise.
15385 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15386 (__PTHREAD_SPIN): Likewise.
15387 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15388 (__PTHREAD_SPIN): Likewise.
15389 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15390 (__PTHREAD_SPIN): Likewise.
15391 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15392 (__PTHREAD_SPIN): Likewise.
15393 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15394 (__PTHREAD_SPIN): Likewise.
15396 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15397 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15398 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15399 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15401 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15402 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15403 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15404 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15405 correct imply path.
15406 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15407 strlen symbol for non multi-arch builds.
15408 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15409 missing hidden_def and weak_alias.
15411 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15413 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15415 2014-04-07 Will Newton <will.newton@linaro.org>
15417 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15418 and contents. [!_LIBC] Remove #ifndef and contents.
15419 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15420 * string/memccpy.c (__memccpy): Use ANSI prototype.
15421 * string/memfrob.c (memfrob): Likewise.
15422 * string/strcoll.c (STRCOLL): Likewise.
15423 * string/strlen.c (strlen): Likewise.
15424 * string/strtok.c (STRTOK): Likewise.
15425 * string/strcat.c: Remove unused #include of memcopy.h.
15426 (strcat): Use ANSI prototype.
15427 * string/strchr.c: Remove unused #include of memcopy.h.
15428 (strchr): Use ANSI prototype.
15429 * string/strcmp.c: Remove unused #include of memcopy.h.
15430 (strcmp): Use ANSI prototype.
15431 * string/strcpy.c: Remove unused #include of memcopy.h.
15432 (strcpy): Use ANSI prototype.
15434 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15436 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15437 * config.make.in (config-extra-cppflags): Set it from
15438 libc_extra_cppflags.
15439 * configure.ac (libc_extra_cflags): Make it accumulate over
15440 configure fragments.
15441 (libc_extra_cppflags): New flag.
15442 * configure. Regenerate.
15443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15444 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15445 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15449 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15450 result for FE_DOWNWARD rounding mode.
15451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15455 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15457 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15458 in function argument name.
15460 2014-04-03 David Svoboda <svoboda@cert.org>
15463 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15466 2014-04-03 Roland McGrath <roland@hack.frob.com>
15468 * elf/dl-unmap-segments.h: New file.
15469 * sysdeps/generic/ldsodefs.h
15470 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15471 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15472 * elf/dl-fptr.c: Likewise.
15473 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15474 * sysdeps/aarch64/tlsdesc.c: Likewise.
15475 * sysdeps/arm/tlsdesc.c: Likewise.
15476 * sysdeps/i386/tlsdesc.c: Likewise.
15477 * sysdeps/tile/dl-runtime.c: Likewise.
15478 * sysdeps/x86_64/tlsdesc.c: Likewise.
15479 * elf/dl-load.h: New file.
15480 * elf/dl-load.c: Include it.
15481 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15482 Macros moved to dl-load.h.
15483 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15484 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15485 Use _dl_unmap_segments in place of __munmap.
15486 Break out segment-mapping loop into ...
15487 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15489 2014-04-03 Will Newton <will.newton@linaro.org>
15491 * elf/dl-lookup.c (do_lookup_x): Remove comment
15492 referring to nested function and move variable
15493 declarations down to before first use.
15495 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15499 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15501 * math/s_catanf.c (__catanf): Likewise.
15502 * math/s_catanh.c (__catanh): Likewise.
15503 * math/s_catanhf.c (__catanhf): Likewise.
15504 * math/s_catanhl.c (__catanhl): Likewise.
15505 * math/s_catanl.c (__catanl): Likewise.
15506 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15507 by positive zero when computing -Inf result.
15508 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15509 (catanh_test): Likewise.
15510 * sysdeps/i386/fpu/libm-test-ulps: Update.
15511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15514 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15515 instead of using underflowing value in computing result.
15516 * math/s_clog10.c (__clog10): Likewise.
15517 * math/s_clog10f.c (__clog10f): Likewise.
15518 * math/s_clog10l.c (__clog10l): Likewise.
15519 * math/s_clogf.c (__clogf): Likewise.
15520 * math/s_clogl.c (__clogl): Likewise.
15521 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15522 (clog10_test): Likewise.
15523 * sysdeps/i386/fpu/libm-test-ulps: Update.
15524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15526 2014-04-02 Alan Modra <amodra@gmail.com>
15529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15530 output when value is near a power of two. Use int64_t for lx and
15531 remove casts. Use decimal rather than hex exponent constants.
15532 Don't use long double multiplication when double will suffice.
15533 * math/libm-test.inc (nextafter_test_data): Add tests.
15534 * NEWS: Add 16739 and 16786 to bug list.
15536 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15538 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15540 2014-04-01 Will Newton <will.newton@linaro.org>
15542 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15543 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15545 2014-04-01 Florian Weimer <fweimer@redhat.com>
15548 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15549 * nptl/tst-setuid2.c: New file.
15550 * nptl/Makefile (xtests): Add tst-setuid2.
15552 2014-04-01 Alan Modra <amodra@gmail.com>
15555 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15557 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15561 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15562 set errno as appropriate.
15563 * math/w_scalbf.c (__scalbf): Likewise.
15564 * math/w_scalbl.c (__scalbl): Likewise.
15565 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15566 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15567 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15568 Add more NaN tests.
15571 * math/w_atan2.c: Include <errno.h>.
15572 (__atan2): Set errno for result underflowing to zero.
15573 * math/w_atan2f.c: Include <errno.h>.
15574 (__atan2f): Set errno for result underflowing to zero.
15575 * math/w_atan2l.c: Include <errno.h>.
15576 (__atan2l): Set errno for result underflowing to zero.
15577 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15579 * math/auto-libm-test-out: Regenerated.
15581 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15583 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15584 Encode instruction correctly in little endian.
15585 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15587 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15589 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15591 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15594 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15597 * sysdeps/unix/sysv/linux/kernel-features.h
15598 [__sparc__ && !__arch64__ && !__sparc_v9__]
15599 (__ASSUME_SET_ROBUST_LIST): Do not define.
15600 [__sparc__ && !__arch64__ && !__sparc_v9__]
15601 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15602 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15604 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15605 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15606 (__ASSUME_REQUEUE_PI): Likewise.
15607 (__ASSUME_SET_ROBUST_LIST): Likewise.
15608 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15609 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15611 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15612 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15614 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15618 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15619 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15621 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15622 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15627 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15628 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15630 2014-03-31 Will Newton <will.newton@linaro.org>
15632 * benchtests/Makefile (bench): Add ffs and ffsll to list
15634 * benchtests/ffs-inputs: New file.
15635 * benchtests/ffsll-inputs: Likewise.
15637 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15640 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15641 too large before casting to int.
15642 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15643 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15644 * math/libm-test.inc (scalb_test_data): Add more tests.
15646 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15648 * benchtests/Makefile (DETAILED_OPT): New make option.
15649 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15651 * benchtests/bench-skeleton.c: Include stdbool.h.
15652 (main): Store and print timings per input.
15653 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15654 member to each argument value.
15655 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15656 (_print_arg_data): Initialize per-input timing to 0.
15658 * benchtests/Makefile (timing-type): New binary.
15659 (bench-clean): Also remove bench-timing-type.
15660 (bench): New target for timing-type.
15661 (bench-func): Print output in JSON format.
15662 * benchtests/bench-skeleton.c (main): Print output in JSON
15664 * benchtests/bench-timing-type.c: New file.
15665 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15666 (TIMING_PRINT_STATS): Remove.
15667 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15670 * benchtests/bench-modf.c: Remove.
15671 * benchtests/modf-inputs: New inputs file.
15673 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15676 * math/s_clog10.c (M_PI_LOG10E): New macro.
15677 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15678 imaginary parts are 0.
15679 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15680 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15681 imaginary parts are 0.
15682 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15683 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15684 imaginary parts are 0.
15685 * math/libm-test.inc (clog10_test_data): Update expected results
15686 for when real and imaginary parts are 0.
15688 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15690 * elf/dl-load.c: Finish conversion of __builtin_expect into
15691 __glibc_{un}likely.
15693 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15696 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15697 1+x for argument with exponent below -67.
15698 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15700 * math/auto-libm-test-in: Add more tests of exp.
15701 * math/auto-libm-test-out: Regenerated.
15703 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15706 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15707 (nscd_getnetgrent): Use it.
15710 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15713 2014-03-27 Andi Kleen <ak@linux.intel.com>
15715 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15716 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15717 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15718 (lll_robust_unlock): Remove out of line section. Use cfi
15720 (LLL_STUB_UNWIND_INFO*): Remove.
15721 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15722 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15723 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15724 (lll_robust_unlock): Remove out of line section. Use cfi
15726 (LLL_STUB_UNWIND_INFO*): Remove.
15728 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15731 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15734 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15736 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15738 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15741 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15743 * math/test-fenv-preserve.c: New file.
15744 * math/Makefile (tests): Add test-fenv-preserve.
15746 2014-03-26 Will Newton <will.newton@linaro.org>
15748 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15750 2014-03-25 Roland McGrath <roland@hack.frob.com>
15752 * scripts/versionlist.awk: Partition the version sets and emit all
15753 GLIBC_* (sorted) before all others (sorted).
15755 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15757 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15758 GLIBC_2.2.5 version.
15760 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15762 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15765 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15770 2014-03-25 Andreas Schwab <schwab@suse.de>
15772 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15773 label to be used after in6ailist is initialized.
15775 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15777 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15778 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15780 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15784 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15786 (fp_formats): Update initializers.
15787 (init_fp_formats): Initialize new field.
15788 (output_for_one_input_case): Allow underflow for results up to
15790 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15791 * math/auto-libm-test-in: Don't mark some underflows from asin and
15793 * math/auto-libm-test-out: Regenerated.
15794 * sysdeps/i386/fpu/libm-test-ulps: Update.
15795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15797 2014-03-25 Andreas Schwab <schwab@suse.de>
15799 * libio/Makefile (tst-ftell-partial-wide-ENV)
15800 (tst-ftell-active-handler-ENV): Define.
15802 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15804 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15806 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15808 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15810 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15812 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15813 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15814 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15816 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15819 * elf/dl-load.c (open_verify): Add mode parameter.
15820 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15821 (open_path): Change from boolean 'secure' to complete flag 'mode'
15822 (_dl_map_object): Adjust.
15823 * elf/Makefile (tests): Add tst-dlopen-aout.
15824 * elf/tst-dlopen-aout.c: New test.
15826 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15829 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15830 (struct stat): Rename member pad0 to __glibc_reserved0.
15833 * sysdeps/s390/s390-32/bits/wordsize.h
15834 (__WORDSIZE32_SIZE_ULONG): New define.
15835 * sysdeps/s390/s390-64/bits/wordsize.h
15836 (__WORDSIZE32_SIZE_ULONG): Likewise.
15837 * sysdeps/generic/stdint.h (SIZE_MAX):
15838 Define as UL if __WORDSIZE32_SIZE_ULONG.
15841 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15842 (__glibc_reserved0): New variable.
15843 (sa_flags): Change type to int.
15845 * posix/Makefile (before-compile): Use += before-compile instead
15848 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15849 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15851 2014-03-20 Andreas Schwab <schwab@suse.de>
15854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15855 non-matching result from nscd.
15857 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15859 * scripts/bench.py: Moved to ...
15860 * benchtests/scripts/bench.py: ... here.
15861 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15863 2014-03-24 Andreas Schwab <schwab@suse.de>
15866 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15867 alloca_account and account alloca use for struct in6ailist.
15869 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15872 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15873 rounding mode to recompute results that overflow to infinity or
15875 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15877 * math/auto-libm-test-out: Regenerated.
15878 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15879 (ccosh_test): Likewise.
15880 (csin_test_data): Use plus_oflow.
15881 (csin_test): Use ALL_RM_TEST.
15882 (csinh_test_data): Use plus_oflow.
15883 (csinh_test): Use ALL_RM_TEST.
15884 * sysdeps/i386/fpu/libm-test-ulps: Update.
15885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15887 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15889 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15890 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15891 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15894 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15895 when x - 1 is zero.
15896 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15897 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15898 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15899 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15901 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15902 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15904 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15905 * sysdeps/i386/fpu/libm-test-ulps: Update.
15906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15908 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15910 * scripts/bench.pl: Remove file.
15911 * scripts/bench.py: New benchmark script.
15912 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15913 * benchtests/README: Mention python dependency.
15914 * scripts/pylintrc: New file.
15915 * scripts/pylint: New file.
15917 * bits/mathdef.h: Use #ifdef instead of #if.
15918 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15919 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15920 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15921 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15922 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15923 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15925 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15926 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15928 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15930 and strpbrk-ppc64 objects.
15931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15932 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15933 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15934 multiarch strpbrk for POWER7.
15935 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15936 multiarch strpbrk for PPC64.
15937 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15939 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15940 strpbrk for POWER7.
15942 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15944 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15945 (atan_test): Likewise.
15946 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15947 (atanh_test): Use ALL_RM_TEST.
15948 (atan2_test_data): Likewise.
15949 (cabs_test): Likewise.
15950 (cacosh_test): Likewise.
15951 (carg_test): Likewise.
15952 (casin_test): Likewise.
15953 (casinh_test): Likewise.
15954 (cbrt_test): Likewise.
15955 (csqrt_test): Likewise.
15956 (erf_test): Likewise.
15957 (erfc_test): Likewise.
15958 (pow10_test): Likewise.
15959 (exp2_test): Likewise.
15960 (hypot_test): Likewise.
15961 (j0_test): Likewise.
15962 (j1_test): Likewise.
15963 (lgamma_test): Likewise.
15964 (gamma_test): Likewise.
15965 (sincos_test): Likewise.
15966 (tanh_test): Likewise.
15967 (y0_test): Likewise.
15968 (y1_test): Likewise.
15969 * sysdeps/i386/fpu/libm-test-ulps: Update.
15970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15972 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15976 and strcspn-ppc64 objects.
15977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15978 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15979 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15980 multiarch strcspn for POWER7.
15981 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15982 multiarch strcspn for PPC64.
15983 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15985 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15986 strcspn for POWER7.
15988 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15990 * math/gen-libm-test.pl (generate_testfile): Expect only function
15991 name as argument to AUTO_TESTS_* and pass results for all rounding
15992 modes to parse_args.
15993 (parse_auto_input): Separate inputs of automatic tests from
15994 outputs before storing in %auto_tests.
15995 * math/libm-test.inc (acos_test_data): Update call to
15997 (acos_test): Use ALL_RM_TEST.
15998 (acos_tonearest_test_data): Remove.
15999 (acos_test_tonearest): Likewise.
16000 (acos_towardzero_test_data): Likewise.
16001 (acos_test_towardzero): Likewise.
16002 (acos_downward_test_data): Likewise.
16003 (acos_test_downward): Likewise.
16004 (acos_upward_test_data): Likewise.
16005 (acos_test_upward): Likewise.
16006 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16007 (asin_test_data): Likewise.
16008 (asin_test): Use ALL_RM_TEST.
16009 (asin_tonearest_test_data): Remove.
16010 (asin_test_tonearest): Likewise.
16011 (asin_towardzero_test_data): Likewise.
16012 (asin_test_towardzero): Likewise.
16013 (asin_downward_test_data): Likewise.
16014 (asin_test_downward): Likewise.
16015 (asin_upward_test_data): Likewise.
16016 (asin_test_upward): Likewise.
16017 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16018 (atan_test_data): Likewise.
16019 (atanh_test_data): Likewise.
16020 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16021 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16022 (carg_test_data): Likewise.
16023 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16024 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16025 (ccosh_test_data): Likewise.
16026 (cexp_test_data): Likewise.
16027 (clog_test_data): Likewise.
16028 (clog10_test_data): Likewise.
16029 (cos_test_data): Update call to AUTO_TESTS_f_f.
16030 (cos_test): Use ALL_RM_TEST.
16031 (cos_tonearest_test_data): Remove.
16032 (cos_test_tonearest): Likewise.
16033 (cos_towardzero_test_data): Likewise.
16034 (cos_test_towardzero): Likewise.
16035 (cos_downward_test_data): Likewise.
16036 (cos_test_downward): Likewise.
16037 (cos_upward_test_data): Likewise.
16038 (cos_test_upward): Likewise.
16039 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16040 (cosh_test): Use ALL_RM_TEST.
16041 (cosh_tonearest_test_data): Remove.
16042 (cosh_test_tonearest): Likewise.
16043 (cosh_towardzero_test_data): Likewise.
16044 (cosh_test_towardzero): Likewise.
16045 (cosh_downward_test_data): Likewise.
16046 (cosh_test_downward): Likewise.
16047 (cosh_upward_test_data): Likewise.
16048 (cosh_test_upward): Likewise.
16049 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16050 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16051 (ctan_test_data): Likewise.
16052 (ctan_test): Use ALL_RM_TEST.
16053 (ctan_tonearest_test_data): Remove.
16054 (ctan_test_tonearest): Likewise.
16055 (ctan_towardzero_test_data): Likewise.
16056 (ctan_test_towardzero): Likewise.
16057 (ctan_downward_test_data): Likewise.
16058 (ctan_test_downward): Likewise.
16059 (ctan_upward_test_data): Likewise.
16060 (ctan_test_upward): Likewise.
16061 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16062 (ctanh_test): Use ALL_RM_TEST.
16063 (ctanh_tonearest_test_data): Remove.
16064 (ctanh_test_tonearest): Likewise.
16065 (ctanh_towardzero_test_data): Likewise.
16066 (ctanh_test_towardzero): Likewise.
16067 (ctanh_downward_test_data): Likewise.
16068 (ctanh_test_downward): Likewise.
16069 (ctanh_upward_test_data): Likewise.
16070 (ctanh_test_upward): Likewise.
16071 (erf_test_data): Update call to AUTO_TESTS_f_f.
16072 (erfc_test_data): Likewise.
16073 (exp_test_data): Likewise.
16074 (exp_test): Use ALL_RM_TEST.
16075 (exp_tonearest_test_data): Remove.
16076 (exp_test_tonearest): Likewise.
16077 (exp_towardzero_test_data): Likewise.
16078 (exp_test_towardzero): Likewise.
16079 (exp_downward_test_data): Likewise.
16080 (exp_test_downward): Likewise.
16081 (exp_upward_test_data): Likewise.
16082 (exp_test_upward): Likewise.
16083 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16084 (exp10_test): Use ALL_RM_TEST.
16085 (exp10_tonearest_test_data): Remove.
16086 (exp10_test_tonearest): Likewise.
16087 (exp10_towardzero_test_data): Likewise.
16088 (exp10_test_towardzero): Likewise.
16089 (exp10_downward_test_data): Likewise.
16090 (exp10_test_downward): Likewise.
16091 (exp10_upward_test_data): Likewise.
16092 (exp10_test_upward): Likewise.
16093 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16094 (expm1_test_data): Likewise.
16095 (expm1_test): Use ALL_RM_TEST.
16096 (expm1_tonearest_test_data): Remove.
16097 (expm1_test_tonearest): Likewise.
16098 (expm1_towardzero_test_data): Likewise.
16099 (expm1_test_towardzero): Likewise.
16100 (expm1_downward_test_data): Likewise.
16101 (expm1_test_downward): Likewise.
16102 (expm1_upward_test_data): Likewise.
16103 (expm1_test_upward): Likewise.
16104 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16105 (fma_test): Use ALL_RM_TEST.
16106 (fma_towardzero_test_data): Remove.
16107 (fma_test_towardzero): Likewise.
16108 (fma_downward_test_data): Likewise.
16109 (fma_test_downward): Likewise.
16110 (fma_upward_test_data): Likewise.
16111 (fma_test_upward): Likewise.
16112 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16113 (j0_test_data): Update call to AUTO_TESTS_f_f.
16114 (j1_test_data): Likewise.
16115 (jn_test_data): Update call to AUTO_TESTS_if_f.
16116 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16117 (log_test_data): Update call to AUTO_TESTS_f_f.
16118 (log10_test_data): Likewise.
16119 (log1p_test_data): Likewise.
16120 (log2_test_data): Likewise.
16121 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16122 (pow_tonearest_test_data): Likewise.
16123 (sin_test_data): Update call to AUTO_TESTS_f_f.
16124 (sin_test): Use ALL_RM_TEST.
16125 (sin_tonearest_test_data): Remove.
16126 (sin_test_tonearest): Likewise.
16127 (sin_towardzero_test_data): Likewise.
16128 (sin_test_towardzero): Likewise.
16129 (sin_downward_test_data): Likewise.
16130 (sin_test_downward): Likewise.
16131 (sin_upward_test_data): Likewise.
16132 (sin_test_upward): Likewise.
16133 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16134 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16135 (sinh_test): Use ALL_RM_TEST.
16136 (sinh_tonearest_test_data): Remove.
16137 (sinh_test_tonearest): Likewise.
16138 (sinh_towardzero_test_data): Likewise.
16139 (sinh_test_towardzero): Likewise.
16140 (sinh_downward_test_data): Likewise.
16141 (sinh_test_downward): Likewise.
16142 (sinh_upward_test_data): Likewise.
16143 (sinh_test_upward): Likewise.
16144 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16145 (sqrt_test): Use ALL_RM_TEST.
16146 (sqrt_tonearest_test_data): Remove.
16147 (sqrt_test_tonearest): Likewise.
16148 (sqrt_towardzero_test_data): Likewise.
16149 (sqrt_test_towardzero): Likewise.
16150 (sqrt_downward_test_data): Likewise.
16151 (sqrt_test_downward): Likewise.
16152 (sqrt_upward_test_data): Likewise.
16153 (sqrt_test_upward): Likewise.
16154 (tan_test_data): Update call to AUTO_TESTS_f_f.
16155 (tan_test): Use ALL_RM_TEST.
16156 (tan_tonearest_test_data): Remove.
16157 (tan_test_tonearest): Likewise.
16158 (tan_towardzero_test_data): Likewise.
16159 (tan_test_towardzero): Likewise.
16160 (tan_downward_test_data): Likewise.
16161 (tan_test_downward): Likewise.
16162 (tan_upward_test_data): Likewise.
16163 (tan_test_upward): Likewise.
16164 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16165 (tgamma_test_data): Likewise.
16166 (y0_test_data): Likewise.
16167 (y1_test_data): Likewise.
16168 (yn_test_data): Update call to AUTO_TESTS_if_f.
16169 (main): Do not call removed functions.
16171 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16173 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16174 (ldexp_test_data): Remove.
16175 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16177 (scalb_test): Use ALL_RM_TEST.
16179 2014-03-19 Andreas Schwab <schwab@suse.de>
16181 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16183 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16186 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16187 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16189 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16190 (__ASSUME_PREADV): Undefine.
16191 (__ASSUME_PWRITEV): Likewise.
16193 2014-03-18 Roland McGrath <roland@hack.frob.com>
16195 * bits/mman-linux.h: Add comment about non-Linux use.
16196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16197 bits/mman-linux.h resting place.
16199 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16200 * bits/mman-linux.h: ... here.
16202 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16204 * conform/conformtest.pl: Add standard definition when calling C
16205 preprocessor on data files.
16206 (checknamespace): Remove unused variable.
16208 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16210 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16211 minus_oflow, plus_uflow and minus_uflow in expected results.
16212 * math/libm-test.inc (scalbn_test_data): Add more tests of
16213 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16215 (scalbn_test): Use ALL_RM_TEST.
16216 (scalbln_test_data): Add more tests of negative arguments. Use
16217 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16218 (scalbln_test): Use ALL_RM_TEST.
16220 2014-03-18 Roland McGrath <roland@hack.frob.com>
16222 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16224 2014-03-18 Will Newton <will.newton@linaro.org>
16226 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16227 inaccurate comment.
16229 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16231 * Makerules [!subdir] (check-abi): Exit with error status if a
16234 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16236 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16237 for rint. Include results for all rounding modes.
16238 (nearbyint_test): Use ALL_RM_TEST.
16239 (rint_test_data): Include all tests used for nearbyint.
16241 2014-03-17 Will Newton <will.newton@linaro.org>
16243 * nptl/sysdeps/pthread/pthread.h: Revert previous
16246 * sysdeps/generic/ldsodefs.h: Revert previous
16249 * libio/genops.c: Revert previous change.
16250 * libio/libioP.h: Likewise.
16251 * stdio-common/vfprintf.c: Likewise.
16253 * sysdeps/generic/math_private.h: Revert previous
16256 * sysdeps/generic/math_private.h: Check whether
16257 HAVE_RM_CTX is defined with #ifdef rather
16260 * argp/argp-fmtstream.h: Check whether
16261 __STRICT_ANSI__ is defined with #ifdef rather
16263 * argp/argp.h: Likewise.
16265 * libio/genops.c: Check whether
16266 _IO_JUMPS_OFFSET is defined with #ifdef rather
16268 * libio/libioP.h: Likewise.
16269 * stdio-common/vfprintf.c: Likewise.
16271 * sysdeps/generic/ldsodefs.h: Check whether
16272 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16275 * nptl/sysdeps/pthread/pthread.h: Check
16276 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16279 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16281 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16283 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16287 * libio/fileops.c (_IO_file_open): Seek to end of file but
16288 don't cache the offset.
16289 (get_file_offset): Remove function.
16290 (do_ftell): Use cached offset when available.
16291 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16292 don't cache the offset.
16293 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16295 (do_one_test): Call it.
16296 (do_ftell_test): Fix up expected old offset for a+ mode.
16297 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16300 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16301 up test status with function return status.
16302 (do_write_test): Likewise.
16303 (do_append_test): Likewise.
16305 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16306 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16309 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16311 * math/gen-libm-test.pl (parse_args): Handle results specified for
16312 each rounding mode separately.
16313 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16314 tests and results from lrint_tonearest_test_data,
16315 lrint_towardzero_test_data, lrint_downward_test_data and
16316 lrint_upward_test_data.
16317 (lrint_test): Use ALL_RM_TEST.
16318 (lrint_tonearest_test_data): Remove.
16319 (lrint_test_tonearest): Likewise.
16320 (lrint_towardzero_test_data): Likewise.
16321 (lrint_test_towardzero): Likewise.
16322 (lrint_downward_test_data): Likewise.
16323 (lrint_test_downward): Likewise.
16324 (lrint_upward_test_data): Likewise.
16325 (lrint_test_upward): Likewise.
16326 (llrint_test_data): Merge in per-rounding-mode tests and results
16327 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16328 llrint_downward_test_data and llrint_upward_test_data.
16329 (llrint_test): Use ALL_RM_TEST.
16330 (llrint_tonearest_test_data): Remove.
16331 (llrint_test_tonearest): Likewise.
16332 (llrint_towardzero_test_data): Likewise.
16333 (llrint_test_towardzero): Likewise.
16334 (llrint_downward_test_data): Likewise.
16335 (llrint_test_downward): Likewise.
16336 (llrint_upward_test_data): Likewise.
16337 (llrint_test_upward): Likewise.
16338 (rint_test_data): Merge in per-rounding-mode tests and results
16339 from rint_tonearest_test_data, rint_towardzero_test_data,
16340 rint_downward_test_data and rint_upward_test_data. Add
16341 per-rounding-mode results for tests not in those arrays.
16342 (rint_test): Use ALL_RM_TEST.
16343 (rint_tonearest_test_data): Remove.
16344 (rint_test_tonearest): Likewise.
16345 (rint_towardzero_test_data): Likewise.
16346 (rint_test_towardzero): Likewise.
16347 (rint_downward_test_data): Likewise.
16348 (rint_test_downward): Likewise.
16349 (rint_upward_test_data): Likewise.
16350 (rint_test_upward): Likewise.
16351 (main): Don't call removed functions.
16353 2014-03-14 Roland McGrath <roland@hack.frob.com>
16355 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16356 "Compiled on ..." crapola. It is anti-useful.
16358 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16360 * scripts/evaluate-test.sh: Handle fourth argument to determine
16361 whether test run should stop on failure.
16362 * Makeconfig (stop-on-test-failure): New variable.
16363 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16364 $(stop-on-test-failure).
16365 * Makefile (tests): Give a summary of results from testing and
16366 exit with failure status if they include an ERROR or FAIL.
16367 (xtests): Likewise.
16368 * manual/install.texi (Configuring and compiling): Mention
16369 stop-on-test-failure=y.
16370 * INSTALL: Regenerated.
16372 2014-03-14 Roland McGrath <roland@hack.frob.com>
16374 * scripts/versionlist.awk: New file.
16375 * Makerules [$(build-shared) = yes]
16376 (postclean-generated): Add Versions.def, not Versions.def.v and
16378 ($(common-objpfx)Versions.def.v.i): Target removed.
16379 ($(common-objpfx)Versions.def): New target.
16380 ($(common-objpfx)Versions.all): Depend on that rather that
16381 $(common-objpfx)Versions.def.v.
16382 * Versions.def: File removed.
16384 * Makeconfig (+gccwarn): Add -Wundef.
16385 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16386 a dl-sysdep.h breaking its contract.
16387 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16388 * include/stackinfo.h: New file.
16389 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16390 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16391 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16392 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16393 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16394 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16395 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16396 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16397 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16398 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16399 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16400 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16401 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16402 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16403 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16405 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16408 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16410 * math/libm-test.inc (round_test_data): Add more tests.
16413 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16415 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16418 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16420 * math/libm-test.inc (ceil_test_data): Add more tests.
16422 * math/libm-test.inc (trunc_test_data): Add more tests related to
16425 2014-03-14 Roland McGrath <roland@hack.frob.com>
16427 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16428 with #if rather than #ifdef.
16429 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16431 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16433 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16434 first. Disable AVX-512 GCC support if assembler doesn't support
16436 * sysdeps/x86_64/configure: Regenerated.
16438 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16440 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16441 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16442 (__old_pthread_attr_setstack): Likewise.
16443 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16444 [!_STACK_GROWS_DOWN]: Likewise.
16446 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16448 * config.make.in (have-bash2): Delete.
16449 * configure.ac (libc_cv_have_bash2): Delete.
16450 * configure: Regenerate.
16451 * elf/Makefile (common-ldd-rewrite): Rename to ...
16452 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16453 (sh-ldd-rewrite): Delete.
16454 (bash-ldd-rewrite): Delete.
16455 (have-bash2): Delete checks.
16456 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16459 * config.make.in (have-ksh): Delete.
16461 * configure.ac (libc_cv_have_ksh): Delete.
16462 * configure: Regenerate.
16464 * elf/Makefile: Delete $(have-ksh) check.
16465 ($(objpfx)sotruss): Change KSH to BASH.
16466 * elf/sotruss.ksh: Rename to ...
16467 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16468 function style to match POSIX. Drop ksh vim mode setting.
16470 * manual/time.texi (Specifying the Time Zone with TZ): Change
16471 Tuesday to Thursday.
16473 * debug/tst-longjmp_chk2.c: Update header comment.
16474 (stackoverflow_handler): Add comment. Call assert on pass value.
16476 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16479 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16480 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16481 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16482 (La_x86_64_vector): Add zmm.
16483 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16484 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16485 ($(objpfx)tst-audit10): New target.
16486 ($(objpfx)tst-audit10.out): Likewise.
16487 (tst-audit10-ENV): New.
16488 (AVX512-CFLAGS): Likewise.
16489 (CFLAGS-tst-audit10.c): Likewise.
16490 (CFLAGS-tst-auditmod10a.c): Likewise.
16491 (CFLAGS-tst-auditmod10b.c): Likewise.
16492 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16493 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16494 * sysdeps/x86_64/configure: Regenerated.
16495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16496 AVX-512 zmm register support.
16497 (_dl_x86_64_save_sse): Likewise.
16498 (_dl_x86_64_restore_sse): Likewise.
16499 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16500 size vector registers.
16501 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16502 (ZMM_SIZE): Likewise.
16503 * sysdeps/x86_64/tst-audit10.c: New file.
16504 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16505 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16507 2014-03-13 Roland McGrath <roland@hack.frob.com>
16509 * configure.ac (HAVE_EHDR_START): New check.
16510 * configure: Regenerated.
16511 * config.h.in (HAVE_EHDR_START): New #undef.
16512 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16513 assuming the lowest-addressed segment maps the start of the file.
16515 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16517 * INSTALL: Regenerated.
16519 2014-03-13 Will Newton <will.newton@linaro.org>
16521 * manual/setjmp.texi (System V contexts): Improve
16522 clarity and grammar of documentation.
16524 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16527 * elf/Makefile (tests): Add tst-pie2.
16528 (tests-pie): Add tst-pie2.
16529 * elf/tst-pie2.c: New file.
16530 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16532 * elf/rtld.c (map_doit): Load executable as lt_executable.
16533 (dl_main): Likewise.
16535 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16538 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16539 (__ASSUME_PSELECT): Undefine.
16541 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16544 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16545 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16547 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16548 selector for static builds.
16550 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16553 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16556 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16558 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16559 IFUNC selector for static builds.
16561 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16563 * sysdeps/mips/math_private.h [__mips_hard_float]
16564 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16565 libc_feresetround_mips_ctx.
16566 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16567 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16568 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16571 * math/s_nextafter.c (__nextafter): Do not return value from
16572 overflowing computation.
16573 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16574 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16575 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16577 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16579 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16580 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16582 2014-03-11 Roland McGrath <roland@hack.frob.com>
16584 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16585 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16586 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16587 the new mov targetting sp.
16589 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16592 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16593 Define it for static builds as well.
16594 (NO_BZERO_IMPL): Likewise.
16596 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16598 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16599 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16600 multiarch strspn for PPC64.
16601 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16602 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16604 (__libc_ifunc_impl_list): Likewise.
16605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16606 multiarch optimizations
16607 * string/strspn.c (strspn): Using macro to redefine symbol name.
16609 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16610 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16612 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16613 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16614 multiarch strncat for PPC64.
16615 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16616 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16618 (__libc_ifunc_impl_list): Likewise.
16619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16620 multiarch optimizations
16622 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16625 * nscd/nscd.service: Make service type forking.
16627 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16630 sign in non default rounding modes.
16631 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16633 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16635 * math/libm-test.inc (ALL_RM_TEST): New macro.
16636 (ceil_test): Use ALL_RM_TEST.
16637 (cimag_test): Likewise.
16638 (conj_test): Likewise.
16639 (copysign_test): Likewise.
16640 (cproj_test): Likewise.
16641 (creal_test): Likewise.
16642 (fabs_test): Likewise.
16643 (floor_test): Likewise.
16644 (fmax_test): Likewise.
16645 (fmin_test): Likewise.
16646 (fmod_test): Likewise.
16647 (fpclassify_test): Likewise.
16648 (frexp_test): Likewise.
16649 (ilogb_test): Likewise.
16650 (isfinite_test): Likewise.
16651 (finite_test): Likewise.
16652 (isgreater_test): Likewise.
16653 (isgreaterequal_test): Likewise.
16654 (isinf_test): Likewise.
16655 (isless_test): Likewise.
16656 (islessequal_test): Likewise.
16657 (islessgreater_test): Likewise.
16658 (isnan_test): Likewise.
16659 (isnormal_test): Likewise.
16660 (issignaling_test): Likewise.
16661 (isunordered_test): Likewise.
16662 (logb_test): Likewise.
16663 (logb_downward_test_data): Remove.
16664 (logb_test_downward): Likewise.
16665 (lround_test): Use ALL_RM_TEST.
16666 (llround_test): Likewise.
16667 (modf_test): Likewise.
16668 (nexttoward_test): Likewise.
16669 (remainder_test): Likewise.
16670 (drem_test): Likewise.
16671 (remainder_tonearest_test_data): Likewise.
16672 (remainder_test_tonearest): Likewise.
16673 (drem_test_tonearest): Likewise.
16674 (remainder_towardzero_test_data): Likewise.
16675 (remainder_test_towardzero): Likewise.
16676 (drem_test_towardzero): Likewise.
16677 (remainder_downward_test_data): Likewise.
16678 (remainder_test_downward): Likewise.
16679 (drem_test_downward): Likewise.
16680 (remainder_upward_test_data): Likewise.
16681 (remainder_test_upward): Likewise.
16682 (drem_test_upward): Likewise.
16683 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16684 (round_test): Use ALL_RM_TEST.
16685 (signbit_test): Likewise.
16686 (trunc_test): Likewise.
16687 (significand_test): Likewise.
16688 (main): Don't call removed functions.
16690 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16693 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16694 || __USE_XOPEN2K8].
16695 (ILL_ILLOPN): Likewise.
16696 (ILL_ILLADR): Likewise.
16697 (ILL_ILLTRP): Likewise.
16698 (ILL_PRVOPC): Likewise.
16699 (ILL_PRVREG): Likewise.
16700 (ILL_COPROC): Likewise.
16701 (ILL_BADSTK): Likewise.
16702 (FPE_INTDIV): Likewise.
16703 (FPE_INTOVF): Likewise.
16704 (FPE_FLTDIV): Likewise.
16705 (FPE_FLTOVF): Likewise.
16706 (FPE_FLTUND): Likewise.
16707 (FPE_FLTRES): Likewise.
16708 (FPE_FLTINV): Likewise.
16709 (FPE_FLTSUB): Likewise.
16710 (SEGV_MAPERR): Likewise.
16711 (SEGV_ACCERR): Likewise.
16712 (BUS_ADRALN): Likewise.
16713 (BUS_ADRERR): Likewise.
16714 (BUS_OBJERR): Likewise.
16715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16716 (TRAP_TRACE): Likewise.
16717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16719 (CLD_KILLED): Likewise.
16720 (CLD_DUMPED): Likewise.
16721 (CLD_TRAPPED): Likewise.
16722 (CLD_STOPPED): Likewise.
16723 (CLD_CONTINUED): Likewise.
16724 (POLL_IN): Likewise.
16725 (POLL_OUT): Likewise.
16726 (POLL_MSG): Likewise.
16727 (POLL_ERR): Likewise.
16728 (POLL_PRI): Likewise.
16729 (POLL_HUP): Likewise.
16730 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16732 (ILL_ILLOPN): Likewise.
16733 (ILL_ILLADR): Likewise.
16734 (ILL_ILLTRP): Likewise.
16735 (ILL_PRVOPC): Likewise.
16736 (ILL_PRVREG): Likewise.
16737 (ILL_COPROC): Likewise.
16738 (ILL_BADSTK): Likewise.
16739 (FPE_INTDIV): Likewise.
16740 (FPE_INTOVF): Likewise.
16741 (FPE_FLTDIV): Likewise.
16742 (FPE_FLTOVF): Likewise.
16743 (FPE_FLTUND): Likewise.
16744 (FPE_FLTRES): Likewise.
16745 (FPE_FLTINV): Likewise.
16746 (FPE_FLTSUB): Likewise.
16747 (SEGV_MAPERR): Likewise.
16748 (SEGV_ACCERR): Likewise.
16749 (BUS_ADRALN): Likewise.
16750 (BUS_ADRERR): Likewise.
16751 (BUS_OBJERR): Likewise.
16752 (BUS_MCEERR_AR): Likewise.
16753 (BUS_MCEERR_AO): Likewise.
16754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16755 (TRAP_TRACE): Likewise.
16756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16758 (CLD_KILLED): Likewise.
16759 (CLD_DUMPED): Likewise.
16760 (CLD_TRAPPED): Likewise.
16761 (CLD_STOPPED): Likewise.
16762 (CLD_CONTINUED): Likewise.
16763 (POLL_IN): Likewise.
16764 (POLL_OUT): Likewise.
16765 (POLL_MSG): Likewise.
16766 (POLL_ERR): Likewise.
16767 (POLL_PRI): Likewise.
16768 (POLL_HUP): Likewise.
16769 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16770 (ILL_ILLOPN): Likewise.
16771 (ILL_ILLADR): Likewise.
16772 (ILL_ILLTRP): Likewise.
16773 (ILL_PRVOPC): Likewise.
16774 (ILL_PRVREG): Likewise.
16775 (ILL_COPROC): Likewise.
16776 (ILL_BADSTK): Likewise.
16777 (FPE_INTDIV): Likewise.
16778 (FPE_INTOVF): Likewise.
16779 (FPE_FLTDIV): Likewise.
16780 (FPE_FLTOVF): Likewise.
16781 (FPE_FLTUND): Likewise.
16782 (FPE_FLTRES): Likewise.
16783 (FPE_FLTINV): Likewise.
16784 (FPE_FLTSUB): Likewise.
16785 (SEGV_MAPERR): Likewise.
16786 (SEGV_ACCERR): Likewise.
16787 (BUS_ADRALN): Likewise.
16788 (BUS_ADRERR): Likewise.
16789 (BUS_OBJERR): Likewise.
16790 (BUS_MCEERR_AR): Likewise.
16791 (BUS_MCEERR_AO): Likewise.
16792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16793 (TRAP_TRACE): Likewise.
16794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16796 (CLD_KILLED): Likewise.
16797 (CLD_DUMPED): Likewise.
16798 (CLD_TRAPPED): Likewise.
16799 (CLD_STOPPED): Likewise.
16800 (CLD_CONTINUED): Likewise.
16801 (POLL_IN): Likewise.
16802 (POLL_OUT): Likewise.
16803 (POLL_MSG): Likewise.
16804 (POLL_ERR): Likewise.
16805 (POLL_PRI): Likewise.
16806 (POLL_HUP): Likewise.
16807 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16809 (ILL_ILLOPN): Likewise.
16810 (ILL_ILLADR): Likewise.
16811 (ILL_ILLTRP): Likewise.
16812 (ILL_PRVOPC): Likewise.
16813 (ILL_PRVREG): Likewise.
16814 (ILL_COPROC): Likewise.
16815 (ILL_BADSTK): Likewise.
16816 (ILL_BADIADDR): Likewise.
16817 (ILL_BREAK): Likewise.
16818 (FPE_INTDIV): Likewise.
16819 (FPE_INTOVF): Likewise.
16820 (FPE_FLTDIV): Likewise.
16821 (FPE_FLTOVF): Likewise.
16822 (FPE_FLTUND): Likewise.
16823 (FPE_FLTRES): Likewise.
16824 (FPE_FLTINV): Likewise.
16825 (FPE_FLTSUB): Likewise.
16826 (FPE_DECOVF): Likewise.
16827 (FPE_DECDIV): Likewise.
16828 (FPE_DECERR): Likewise.
16829 (FPE_INVASC): Likewise.
16830 (FPE_INVDEC): Likewise.
16831 (SEGV_MAPERR): Likewise.
16832 (SEGV_ACCERR): Likewise.
16833 (SEGV_PSTKOVF): Likewise.
16834 (BUS_ADRALN): Likewise.
16835 (BUS_ADRERR): Likewise.
16836 (BUS_OBJERR): Likewise.
16837 (BUS_MCEERR_AR): Likewise.
16838 (BUS_MCEERR_AO): Likewise.
16839 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16840 (TRAP_TRACE): Likewise.
16841 (TRAP_BRANCH): Likewise.
16842 (TRAP_HWBKPT): Likewise.
16843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16845 (CLD_KILLED): Likewise.
16846 (CLD_DUMPED): Likewise.
16847 (CLD_TRAPPED): Likewise.
16848 (CLD_STOPPED): Likewise.
16849 (CLD_CONTINUED): Likewise.
16850 (POLL_IN): Likewise.
16851 (POLL_OUT): Likewise.
16852 (POLL_MSG): Likewise.
16853 (POLL_ERR): Likewise.
16854 (POLL_PRI): Likewise.
16855 (POLL_HUP): Likewise.
16856 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16857 (ILL_ILLOPN): Likewise.
16858 (ILL_ILLADR): Likewise.
16859 (ILL_ILLTRP): Likewise.
16860 (ILL_PRVOPC): Likewise.
16861 (ILL_PRVREG): Likewise.
16862 (ILL_COPROC): Likewise.
16863 (ILL_BADSTK): Likewise.
16864 (FPE_INTDIV): Likewise.
16865 (FPE_INTOVF): Likewise.
16866 (FPE_FLTDIV): Likewise.
16867 (FPE_FLTOVF): Likewise.
16868 (FPE_FLTUND): Likewise.
16869 (FPE_FLTRES): Likewise.
16870 (FPE_FLTINV): Likewise.
16871 (FPE_FLTSUB): Likewise.
16872 (SEGV_MAPERR): Likewise.
16873 (SEGV_ACCERR): Likewise.
16874 (BUS_ADRALN): Likewise.
16875 (BUS_ADRERR): Likewise.
16876 (BUS_OBJERR): Likewise.
16877 (BUS_MCEERR_AR): Likewise.
16878 (BUS_MCEERR_AO): Likewise.
16879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16880 (TRAP_TRACE): Likewise.
16881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16883 (CLD_KILLED): Likewise.
16884 (CLD_DUMPED): Likewise.
16885 (CLD_TRAPPED): Likewise.
16886 (CLD_STOPPED): Likewise.
16887 (CLD_CONTINUED): Likewise.
16888 (POLL_IN): Likewise.
16889 (POLL_OUT): Likewise.
16890 (POLL_MSG): Likewise.
16891 (POLL_ERR): Likewise.
16892 (POLL_PRI): Likewise.
16893 (POLL_HUP): Likewise.
16894 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16895 (ILL_ILLOPN): Likewise.
16896 (ILL_ILLADR): Likewise.
16897 (ILL_ILLTRP): Likewise.
16898 (ILL_PRVOPC): Likewise.
16899 (ILL_PRVREG): Likewise.
16900 (ILL_COPROC): Likewise.
16901 (ILL_BADSTK): Likewise.
16902 (FPE_INTDIV): Likewise.
16903 (FPE_INTOVF): Likewise.
16904 (FPE_FLTDIV): Likewise.
16905 (FPE_FLTOVF): Likewise.
16906 (FPE_FLTUND): Likewise.
16907 (FPE_FLTRES): Likewise.
16908 (FPE_FLTINV): Likewise.
16909 (FPE_FLTSUB): Likewise.
16910 (SEGV_MAPERR): Likewise.
16911 (SEGV_ACCERR): Likewise.
16912 (BUS_ADRALN): Likewise.
16913 (BUS_ADRERR): Likewise.
16914 (BUS_OBJERR): Likewise.
16915 (BUS_MCEERR_AR): Likewise.
16916 (BUS_MCEERR_AO): Likewise.
16917 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16918 (TRAP_TRACE): Likewise.
16919 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16921 (CLD_KILLED): Likewise.
16922 (CLD_DUMPED): Likewise.
16923 (CLD_TRAPPED): Likewise.
16924 (CLD_STOPPED): Likewise.
16925 (CLD_CONTINUED): Likewise.
16926 (POLL_IN): Likewise.
16927 (POLL_OUT): Likewise.
16928 (POLL_MSG): Likewise.
16929 (POLL_ERR): Likewise.
16930 (POLL_PRI): Likewise.
16931 (POLL_HUP): Likewise.
16932 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16933 (ILL_ILLOPN): Likewise.
16934 (ILL_ILLADR): Likewise.
16935 (ILL_ILLTRP): Likewise.
16936 (ILL_PRVOPC): Likewise.
16937 (ILL_PRVREG): Likewise.
16938 (ILL_COPROC): Likewise.
16939 (ILL_BADSTK): Likewise.
16940 (FPE_INTDIV): Likewise.
16941 (FPE_INTOVF): Likewise.
16942 (FPE_FLTDIV): Likewise.
16943 (FPE_FLTOVF): Likewise.
16944 (FPE_FLTUND): Likewise.
16945 (FPE_FLTRES): Likewise.
16946 (FPE_FLTINV): Likewise.
16947 (FPE_FLTSUB): Likewise.
16948 (SEGV_MAPERR): Likewise.
16949 (SEGV_ACCERR): Likewise.
16950 (BUS_ADRALN): Likewise.
16951 (BUS_ADRERR): Likewise.
16952 (BUS_OBJERR): Likewise.
16953 (BUS_MCEERR_AR): Likewise.
16954 (BUS_MCEERR_AO): Likewise.
16955 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16956 (TRAP_TRACE): Likewise.
16957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16959 (CLD_KILLED): Likewise.
16960 (CLD_DUMPED): Likewise.
16961 (CLD_TRAPPED): Likewise.
16962 (CLD_STOPPED): Likewise.
16963 (CLD_CONTINUED): Likewise.
16964 (POLL_IN): Likewise.
16965 (POLL_OUT): Likewise.
16966 (POLL_MSG): Likewise.
16967 (POLL_ERR): Likewise.
16968 (POLL_PRI): Likewise.
16969 (POLL_HUP): Likewise.
16970 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16971 (ILL_ILLOPN): Likewise.
16972 (ILL_ILLADR): Likewise.
16973 (ILL_ILLTRP): Likewise.
16974 (ILL_PRVOPC): Likewise.
16975 (ILL_PRVREG): Likewise.
16976 (ILL_COPROC): Likewise.
16977 (ILL_BADSTK): Likewise.
16978 (ILL_DBLFLT): Likewise.
16979 (ILL_HARDWALL): Likewise.
16980 (FPE_INTDIV): Likewise.
16981 (FPE_INTOVF): Likewise.
16982 (FPE_FLTDIV): Likewise.
16983 (FPE_FLTOVF): Likewise.
16984 (FPE_FLTUND): Likewise.
16985 (FPE_FLTRES): Likewise.
16986 (FPE_FLTINV): Likewise.
16987 (FPE_FLTSUB): Likewise.
16988 (SEGV_MAPERR): Likewise.
16989 (SEGV_ACCERR): Likewise.
16990 (BUS_ADRALN): Likewise.
16991 (BUS_ADRERR): Likewise.
16992 (BUS_OBJERR): Likewise.
16993 (BUS_MCEERR_AR): Likewise.
16994 (BUS_MCEERR_AO): Likewise.
16995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16996 (TRAP_TRACE): Likewise.
16997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16999 (CLD_KILLED): Likewise.
17000 (CLD_DUMPED): Likewise.
17001 (CLD_TRAPPED): Likewise.
17002 (CLD_STOPPED): Likewise.
17003 (CLD_CONTINUED): Likewise.
17004 (POLL_IN): Likewise.
17005 (POLL_OUT): Likewise.
17006 (POLL_MSG): Likewise.
17007 (POLL_ERR): Likewise.
17008 (POLL_PRI): Likewise.
17009 (POLL_HUP): Likewise.
17010 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17011 (ILL_ILLOPN): Likewise.
17012 (ILL_ILLADR): Likewise.
17013 (ILL_ILLTRP): Likewise.
17014 (ILL_PRVOPC): Likewise.
17015 (ILL_PRVREG): Likewise.
17016 (ILL_COPROC): Likewise.
17017 (ILL_BADSTK): Likewise.
17018 (FPE_INTDIV): Likewise.
17019 (FPE_INTOVF): Likewise.
17020 (FPE_FLTDIV): Likewise.
17021 (FPE_FLTOVF): Likewise.
17022 (FPE_FLTUND): Likewise.
17023 (FPE_FLTRES): Likewise.
17024 (FPE_FLTINV): Likewise.
17025 (FPE_FLTSUB): Likewise.
17026 (SEGV_MAPERR): Likewise.
17027 (SEGV_ACCERR): Likewise.
17028 (BUS_ADRALN): Likewise.
17029 (BUS_ADRERR): Likewise.
17030 (BUS_OBJERR): Likewise.
17031 (BUS_MCEERR_AR): Likewise.
17032 (BUS_MCEERR_AO): Likewise.
17033 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17034 (TRAP_TRACE): Likewise.
17035 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17037 (CLD_KILLED): Likewise.
17038 (CLD_DUMPED): Likewise.
17039 (CLD_TRAPPED): Likewise.
17040 (CLD_STOPPED): Likewise.
17041 (CLD_CONTINUED): Likewise.
17042 (POLL_IN): Likewise.
17043 (POLL_OUT): Likewise.
17044 (POLL_MSG): Likewise.
17045 (POLL_ERR): Likewise.
17046 (POLL_PRI): Likewise.
17047 (POLL_HUP): Likewise.
17048 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17049 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17052 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17053 before #include of <time.h>.
17054 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17055 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17056 (test-xfail-UNIX98/sched.h/conform): Likewise.
17058 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17060 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17061 error absence of trapping exception support.
17062 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17064 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17066 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17067 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17068 * timezone/Makefile (testdata): Move definition above include of
17070 (test-zones): New variable.
17071 (tests-special): Add zone files.
17072 (build-testdata): Use $(evaluate-test).
17074 * elf/Makefile (tests-special): Rename tests to end with .out.
17075 ($(objpfx)noload-mem): Likewise.
17076 ($(objpfx)tst-leaks1-mem): Likewise.
17077 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17078 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17079 $(objpfx)test-iconvconfig.out.
17080 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17081 set -e inside subshell and redirect output to file.
17082 * iconvdata/Makefile (generated): Rename tests to end with .out.
17084 (tests-special): Rename tests to end with .out.
17085 ($(objpfx)mtrace-tst-loading): Likewise.
17086 * intl/Makefile (generated): Likewise.
17087 (tests-special): Likewise.
17088 ($(objpfx)mtrace-tst-gettext): Likewise.
17089 * misc/Makefile (generated): Likewise.
17090 (tests-special): Likewise.
17091 ($(objpfx)tst-error1-mem): Likewise.
17092 * nptl/Makefile (tests-special): Likewise.
17093 ($(objpfx)tst-stack3-mem): Likewise.
17094 (generated): Likewise.
17095 * posix/Makefile (generated): Likewise.
17096 (tests-special): Likewise.
17097 (xtests-special): Likewise.
17098 ($(objpfx)tst-fnmatch-mem): Likewise.
17099 ($(objpfx)bug-regex2-mem): Likewise.
17100 ($(objpfx)bug-regex14-mem): Likewise.
17101 ($(objpfx)bug-regex21-mem): Likewise.
17102 ($(objpfx)bug-regex31-mem): Likewise.
17103 ($(objpfx)tst-vfork3-mem): Likewise.
17104 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17105 ($(objpfx)tst-pcre-mem): Likewise.
17106 ($(objpfx)tst-boost-mem): Likewise.
17107 ($(objpfx)bug-ga2-mem): Likewise.
17108 ($(objpfx)bug-glob2-mem): Likewise.
17109 * resolv/Makefile (generate): Likewise.
17110 (tests-special): Likewise.
17111 (xtests-special): Likewise.
17112 (generated): Likewise.
17113 ($(objpfx)mtrace-tst-leaks): Likewise.
17114 ($(objpfx)mtrace-tst-leaks2): Likewise.
17116 * scripts/merge-test-results.sh: New file.
17117 * Makefile (tests-special-notdir): New variable.
17118 (tests): Run merge-test-results.sh.
17119 (xtests): Likewise.
17120 * Rules (tests-special-notdir): New variable.
17121 (xtests-special-notdir): Likewise.
17122 (tests): Run merge-test-results.sh
17123 (xtests): Likewise.
17125 * Makeconfig (test-xfail-name): New variable.
17126 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17127 compute variable name for expected failures.
17128 * conform/Makefile (conformtest-headers-data): New variable.
17129 (conformtest-standards): Likewise.
17130 (conformtest-headers-ISO): Likewise.
17131 (conformtest-headers-ISO99): Likewise.
17132 (conformtest-headers-ISO11): Likewise.
17133 (conformtest-headers-POSIX): Likewise.
17134 (conformtest-headers-XPG3): Likewise.
17135 (conformtest-headers-XPG4): Likewise.
17136 (conformtest-headers-UNIX98): Likewise.
17137 (conformtest-headers-XOPEN2K): Likewise.
17138 (conformtest-headers-POSIX2008): Likewise.
17139 (conformtest-headers-XOPEN2K8): Likewise.
17140 (conformtest-header-list-base): Likewise.
17141 (conformtest-header-list-tests): Likewise.
17142 (conformtest-header-base): Likewise.
17143 (conformtest-header-tests): Likewise.
17144 (tests-special): Add $(conformtest-header-list-tests). If
17145 [$(fast-check) && !$(cross-compiling)], add
17146 $(conformtest-header-tests) instead of
17147 $(objpfx)run-conformtest.out.
17148 (generated): Add $(conformtest-header-list-base). If
17149 [$(fast-check) && !$(cross-compiling)], add
17150 $(conformtest-header-base). Remove previous setting.
17151 ($(conformtest-header-list-tests)): New target.
17152 (test-xfail-run-conformtest): Remove variable.
17153 ($(objpfx)run-conformtest.out): Remove target.
17154 (test-xfail-ISO11/complex.h/conform): New variable.
17155 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17156 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17157 (test-xfail-XPG3/varargs.h/conform): Likewise.
17158 (test-xfail-XPG4/varargs.h/conform): Likewise.
17159 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17160 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17161 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17162 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17163 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17164 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17165 (test-xfail-XPG3/ftw.h/conform): Likewise.
17166 (test-xfail-XPG3/grp.h/conform): Likewise.
17167 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17168 (test-xfail-XPG3/limits.h/conform): Likewise.
17169 (test-xfail-XPG3/pwd.h/conform): Likewise.
17170 (test-xfail-XPG3/search.h/conform): Likewise.
17171 (test-xfail-XPG3/signal.h/conform): Likewise.
17172 (test-xfail-XPG3/stdio.h/conform): Likewise.
17173 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17174 (test-xfail-XPG3/string.h/conform): Likewise.
17175 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17176 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17177 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17178 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17179 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17180 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17181 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17182 (test-xfail-XPG3/termios.h/conform): Likewise.
17183 (test-xfail-XPG3/time.h/conform): Likewise.
17184 (test-xfail-XPG3/unistd.h/conform): Likewise.
17185 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17186 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17187 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17188 (test-xfail-XPG4/netdb.h/conform): Likewise.
17189 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17190 (test-xfail-XPG4/signal.h/conform): Likewise.
17191 (test-xfail-XPG4/stdio.h/conform): Likewise.
17192 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17193 (test-xfail-XPG4/stropts.h/conform): Likewise.
17194 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17195 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17196 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17197 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17198 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17199 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17200 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17201 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17202 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17203 (test-xfail-XPG4/termios.h/conform): Likewise.
17204 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17205 (test-xfail-XPG4/unistd.h/conform): Likewise.
17206 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17207 (test-xfail-POSIX/sched.h/conform): Likewise.
17208 (test-xfail-POSIX/signal.h/conform): Likewise.
17209 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17210 (test-xfail-POSIX/tar.h/conform): Likewise.
17211 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17212 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17213 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17214 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17215 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17216 (test-xfail-UNIX98/sched.h/conform): Likewise.
17217 (test-xfail-UNIX98/signal.h/conform): Likewise.
17218 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17219 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17220 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17221 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17222 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17223 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17224 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17225 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17226 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17227 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17228 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17229 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17230 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17231 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17232 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17233 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17234 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17235 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17236 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17237 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17238 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17239 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17240 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17241 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17242 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17243 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17244 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17245 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17246 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17247 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17248 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17249 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17250 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17251 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17252 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17253 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17254 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17255 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17256 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17257 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17258 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17259 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17260 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17261 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17262 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17263 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17264 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17265 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17266 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17267 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17268 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17269 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17270 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17271 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17272 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17273 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17274 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17275 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17276 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17277 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17278 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17279 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17280 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17281 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17282 (conformtest-cc-flags): Likewise.
17283 ($(conformtest-header-tests): New target.
17284 * conform/check-header-lists.sh: New file.
17285 * conform/run-conformtest.sh: Remove.
17287 * conform/conformtest.pl: Allow ' and \ in values given for
17289 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17291 [POSIX] (sys/types.h): Likewise.
17292 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17294 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17296 * conform/data/signal.h-data (SIGIO): Remove expectation.
17297 [XPG3] (SIGBUS): Do not expect.
17298 [POSIX || XPG3] (SIGPOLL): Likewise.
17299 [POSIX || XPG3] (SIGPROF): Likewise.
17300 [POSIX || XPG3] (SIGSYS): Likewise.
17301 [XPG3] (SIGTRAP): Likewise.
17302 [POSIX || XPG3] (SIGURG): Likewise.
17303 [POSIX || XPG3] (SIGVTALRM): Likewise.
17304 [POSIX || XPG3] (SIGXCPU): Likewise.
17305 [POSIX || XPG3] (SIGXFSZ): Likewise.
17306 [POSIX] (SA_SIGINFO): Expect.
17307 [XPG3] (siginfo_t): Do not expect type or contents.
17308 [POSIX] (si_pid): Do not expect element.
17309 [POSIX] (si_uid): Likewise.
17310 [POSIX] (si_addr): Likewise.
17311 [POSIX] (si_status): Likewise.
17312 [POSIX] (si_band): Likewise.
17313 [XPG4] (si_value): Likewise.
17314 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17315 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17316 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17317 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17318 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17319 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17320 [POSIX || XPG3] (ILL_COPROC): Likewise.
17321 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17322 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17323 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17324 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17325 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17326 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17327 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17328 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17329 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17330 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17331 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17332 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17333 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17334 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17335 [POSIX || XPG3] (CLD_EXITED): Likewise.
17336 [POSIX || XPG3] (CLD_KILLED): Likewise.
17337 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17338 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17339 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17340 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17341 [POSIX || XPG3] (POLL_IN): Likewise.
17342 [POSIX || XPG3] (POLL_OUT): Likewise.
17343 [POSIX || XPG3] (POLL_MSG): Likewise.
17344 [POSIX || XPG3] (POLL_ERR): Likewise.
17345 [POSIX || XPG3] (POLL_PRI): Likewise.
17346 [POSIX || XPG3] (POLL_HUP): Likewise.
17347 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17348 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17349 (SIG*): Do not allow.
17350 [XPG3] (si_*): Likewise.
17351 [XPG3] (SI_*): Likewise.
17352 [XPG3 || XPG4] (sigev_*): Likewise.
17353 [XPG3 || XPG4] (SIGEV_*): Likewise.
17354 [XPG3 || XPG4] (sival_*): Likewise.
17355 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17356 [POSIX || XPG3] (BUS_*): Likewise.
17357 [POSIX || XPG3] (CLD_*): Likewise.
17358 [POSIX || XPG3] (FPE_*): Likewise.
17359 [POSIX || XPG3] (ILL_*): Likewise.
17360 [POSIX || XPG3] (POLL_*): Likewise.
17361 [POSIX || XPG3] (SEGV_*): Likewise.
17362 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17363 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17364 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17365 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17366 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17367 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17368 Specify type and value.
17369 (TVERSLEN): Likewise.
17370 (REGTYPE): Likewise.
17371 (AREGTYPE): Likewise.
17372 (LNKTYPE): Likewise.
17373 (SYMTYPE): Likewise.
17374 (CHRTYPE): Likewise.
17375 (BLKTYPE): Likewise.
17376 (DIRTYPE): Likewise.
17377 (FIFOTYPE): Likewise.
17378 (CONTTYPE): Likewise.
17382 (TUREAD): Likewise.
17383 (TUWRITE): Likewise.
17384 (TUEXEC): Likewise.
17385 (TGREAD): Likewise.
17386 (TGWRITE): Likewise.
17387 (TGEXEC): Likewise.
17388 (TOREAD): Likewise.
17389 (TOWRITE): Likewise.
17390 (TOEXEC): Likewise.
17391 [POSIX] (TSVTX): Expect constant.
17393 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17395 * Makefile (tests): Change dependencies to ....
17396 (tests-special): ... additions to this variable.
17397 (tests): Depend on $(tests-special).
17398 * Makerules (check-abi-list): New variable.
17399 (check-abi): Depend on $(check-abi-list).
17400 [$(subdir) = elf] (tests-special): Add
17401 $(objpfx)check-abi-libc.out.
17402 [$(build-shared) = yes && subdir] (tests-special): Add
17404 [$(build-shared) = yes && subdir] (tests): Do not depend on
17406 * Rules (tests): Depend on $(tests-special).
17407 (xtests): Depend on $(xtests-special).
17408 * catgets/Makefile (tests): Change dependencies to ....
17409 (tests-special): ... additions to this variable.
17410 * conform/Makefile (tests): Change dependencies to ....
17411 (tests-special): ... additions to this variable.
17412 * elf/Makefile (tests): Change dependencies to ....
17413 (tests-special): ... additions to this variable.
17414 * grp/Makefile (tests): Change dependencies to ....
17415 (tests-special): ... additions to this variable.
17416 * iconv/Makefile (xtests): Change dependencies to ....
17417 (xtests-special): ... additions to this variable.
17418 * iconvdata/Makefile (tests): Change dependencies to ....
17419 (tests-special): ... additions to this variable.
17420 * intl/Makefile (tests): Change dependencies to ....
17421 (tests-special): ... additions to this variable. Also add
17422 $(objpfx)tst-gettext.out.
17423 * io/Makefile (tests): Change dependencies to ....
17424 (tests-special): ... additions to this variable.
17425 * libio/Makefile (tests): Change dependencies to ....
17426 (tests-special): ... additions to this variable.
17427 * malloc/Makefile (tests): Change dependencies to ....
17428 (tests-special): ... additions to this variable.
17429 * misc/Makefile (tests): Change dependencies to ....
17430 (tests-special): ... additions to this variable.
17431 * nptl/Makefile (tests): Change dependencies to ....
17432 (tests-special): ... additions to this variable.
17433 * nptl_db/Makefile (tests): Change dependencies to ....
17434 (tests-special): ... additions to this variable.
17435 * posix/Makefile (tests): Change dependencies to ....
17436 (tests-special): ... additions to this variable.
17437 (xtests): Change dependencies to ....
17438 (xtests-special): ... additions to this variable.
17439 * resolv/Makefile (tests): Change dependencies to ....
17440 (tests-special): ... additions to this variable.
17441 (xtests): Change dependencies to ....
17442 (xtests-special): ... additions to this variable.
17443 * stdio-common/Makefile (tests): Change dependencies to ....
17444 (tests-special): ... additions to this variable.
17445 (do-tst-unbputc): Remove target.
17446 (do-tst-printf): Likewise.
17447 * stdlib/Makefile (tests): Change dependencies to ....
17448 (tests-special): ... additions to this variable.
17449 * string/Makefile (tests): Change dependencies to ....
17450 (tests-special): ... additions to this variable.
17451 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17452 (tests-special): ... additions to this variable.
17454 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17456 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17458 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17459 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17461 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17462 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17463 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17464 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17465 * conform/data/libgen.h-data [XPG3]: Likewise.
17466 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17467 * conform/data/ndbm.h-data [XPG3]: Likewise.
17468 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17469 * conform/data/netdb.h-data [XPG3]: Likewise.
17470 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17471 * conform/data/poll.h-data [XPG3]: Likewise.
17472 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17473 * conform/data/strings.h-data [XPG3]: Likewise.
17474 * conform/data/stropts.h-data [XPG3]: Likewise.
17475 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17476 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17477 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17479 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17480 * conform/data/sys/time.h-data [XPG3]: Likewise.
17481 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17482 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17483 * conform/data/sys/un.h-data [XPG3]: Likewise.
17484 * conform/data/syslog.h-data [XPG3]: Likewise.
17485 * conform/data/ucontext.h-data [XPG3]: Likewise.
17486 * conform/data/utmpx.h-data [XPG3]: Likewise.
17487 * conform/data/varargs.h-data [UNIX98]: Enable file.
17489 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17491 * math/libm-test.inc (struct test_f_f_data): Move expected results
17492 into structure for each rounding mode.
17493 (struct test_ff_f_data): Likewise.
17494 (struct test_ff_f_data_nexttoward): Likewise.
17495 (struct test_fi_f_data): Likewise.
17496 (struct test_fl_f_data): Likewise.
17497 (struct test_if_f_data): Likewise.
17498 (struct test_fff_f_data): Likewise.
17499 (struct test_c_f_data): Likewise.
17500 (struct test_f_f1_data): Likewise.
17501 (struct test_fF_f1_data): Likewise.
17502 (struct test_ffI_f1_data): Likewise.
17503 (struct test_c_c_data): Likewise.
17504 (struct test_cc_c_data): Likewise.
17505 (struct test_f_i_data): Likewise.
17506 (struct test_ff_i_data): Likewise.
17507 (struct test_f_l_data): Likewise.
17508 (struct test_f_L_data): Likewise.
17509 (struct test_fFF_11_data): Likewise.
17511 (RM_FE_DOWNWARD): Likewise.
17512 (RM_FE_TONEAREST): Likewise.
17513 (RM_FE_TOWARDZERO): Likewise.
17514 (RM_FE_UPWARD): Likewise.
17515 (RUN_TEST_LOOP_f_f): Update references to expected results.
17516 (RUN_TEST_LOOP_2_f): Likewise.
17517 (RUN_TEST_LOOP_fff_f): Likewise.
17518 (RUN_TEST_LOOP_c_f): Likewise.
17519 (RUN_TEST_LOOP_f_f1): Likewise.
17520 (RUN_TEST_LOOP_fF_f1): Likewise.
17521 (RUN_TEST_LOOP_fI_f1): Likewise.
17522 (RUN_TEST_LOOP_ffI_f1): Likewise.
17523 (RUN_TEST_LOOP_c_c): Likewise.
17524 (RUN_TEST_LOOP_cc_c): Likewise.
17525 (RUN_TEST_LOOP_f_i): Likewise.
17526 (RUN_TEST_LOOP_f_i_tg): Likewise.
17527 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17528 (RUN_TEST_LOOP_f_b): Likewise.
17529 (RUN_TEST_LOOP_f_b_tg): Likewise.
17530 (RUN_TEST_LOOP_f_l): Likewise.
17531 (RUN_TEST_LOOP_f_L): Likewise.
17532 (RUN_TEST_LOOP_fFF_11): Likewise.
17533 * math/gen-libm-test.pl (parse_args): Output four copies of
17534 expected results for each test.
17536 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17537 (__ASSUME_UTIMES): Remove.
17538 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17539 (__ASSUME_UTIMES): Likewise.
17541 * math/gen-auto-libm-tests.c: Update comment on output format.
17542 (output_for_one_input_case): Generate before-rounding and
17543 after-rounding information as conditions on output flags not
17544 floating-point format.
17545 * math/auto-libm-test-out: Regenerated.
17546 * math/gen-libm-test.pl (cond_value): New function.
17547 (or_cond_value): Use cond_value.
17548 (generate_testfile): Handle conditional exceptions.
17550 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17552 * math/libm-test.inc (max_valid_error): New variable.
17553 (init_max_error): Take new argument specifying whether function
17554 results are exactly determined. Set max_valid_error and bound
17555 other variables for errors based on this argument.
17556 (set_max_error): Do not record results above max_valid_error.
17557 (check_float_internal): Only accept errors of up to 0.5ulps if
17558 also at most max_valid_error.
17559 (START): Take new argument EXACT and pass it to init_max_error.
17560 (acos_test): Update call to START.
17561 (acos_test_tonearest): Likewise.
17562 (acos_test_towardzero): Likewise.
17563 (acos_test_downward): Likewise.
17564 (acos_test_upward): Likewise.
17565 (acosh_test): Likewise.
17566 (asin_test): Likewise.
17567 (asin_test_tonearest): Likewise.
17568 (asin_test_towardzero): Likewise.
17569 (asin_test_downward): Likewise.
17570 (asin_test_upward): Likewise.
17571 (asinh_test): Likewise.
17572 (atan_test): Likewise.
17573 (atanh_test): Likewise.
17574 (atan2_test): Likewise.
17575 (cabs_test): Likewise.
17576 (cacos_test): Likewise.
17577 (cacosh_test): Likewise.
17578 (carg_test): Likewise.
17579 (casin_test): Likewise.
17580 (casinh_test): Likewise.
17581 (catan_test): Likewise.
17582 (catanh_test): Likewise.
17583 (cbrt_test): Likewise.
17584 (ccos_test): Likewise.
17585 (ccosh_test): Likewise.
17586 (ceil_test): Likewise.
17587 (cexp_test): Likewise.
17588 (cimag_test): Likewise.
17589 (clog_test): Likewise.
17590 (clog10_test): Likewise.
17591 (conj_test): Likewise.
17592 (copysign_test): Likewise.
17593 (cos_test): Likewise.
17594 (cos_test_tonearest): Likewise.
17595 (cos_test_towardzero): Likewise.
17596 (cos_test_downward): Likewise.
17597 (cos_test_upward): Likewise.
17598 (cosh_test): Likewise.
17599 (cosh_test_tonearest): Likewise.
17600 (cosh_test_towardzero): Likewise.
17601 (cosh_test_downward): Likewise.
17602 (cosh_test_upward): Likewise.
17603 (cpow_test): Likewise.
17604 (cproj_test): Likewise.
17605 (creal_test): Likewise.
17606 (csin_test): Likewise.
17607 (csinh_test): Likewise.
17608 (csqrt_test): Likewise.
17609 (ctan_test): Likewise.
17610 (ctan_test_tonearest): Likewise.
17611 (ctan_test_towardzero): Likewise.
17612 (ctan_test_downward): Likewise.
17613 (ctan_test_upward): Likewise.
17614 (ctanh_test): Likewise.
17615 (ctanh_test_tonearest): Likewise.
17616 (ctanh_test_towardzero): Likewise.
17617 (ctanh_test_downward): Likewise.
17618 (ctanh_test_upward): Likewise.
17619 (erf_test): Likewise.
17620 (erfc_test): Likewise.
17621 (exp_test): Likewise.
17622 (exp_test_tonearest): Likewise.
17623 (exp_test_towardzero): Likewise.
17624 (exp_test_downward): Likewise.
17625 (exp_test_upward): Likewise.
17626 (exp10_test): Likewise.
17627 (exp10_test_tonearest): Likewise.
17628 (exp10_test_towardzero): Likewise.
17629 (exp10_test_downward): Likewise.
17630 (exp10_test_upward): Likewise.
17631 (pow10_test): Likewise.
17632 (exp2_test): Likewise.
17633 (expm1_test): Likewise.
17634 (expm1_test_tonearest): Likewise.
17635 (expm1_test_towardzero): Likewise.
17636 (expm1_test_downward): Likewise.
17637 (expm1_test_upward): Likewise.
17638 (fabs_test): Likewise.
17639 (fdim_test): Likewise.
17640 (floor_test): Likewise.
17641 (fma_test): Likewise.
17642 (fma_test_towardzero): Likewise.
17643 (fma_test_downward): Likewise.
17644 (fma_test_upward): Likewise.
17645 (fmax_test): Likewise.
17646 (fmin_test): Likewise.
17647 (fmod_test): Likewise.
17648 (fpclassify_test): Likewise.
17649 (frexp_test): Likewise.
17650 (hypot_test): Likewise.
17651 (ilogb_test): Likewise.
17652 (isfinite_test): Likewise.
17653 (finite_test): Likewise.
17654 (isgreater_test): Likewise.
17655 (isgreaterequal_test): Likewise.
17656 (isinf_test): Likewise.
17657 (isless_test): Likewise.
17658 (islessequal_test): Likewise.
17659 (islessgreater_test): Likewise.
17660 (isnan_test): Likewise.
17661 (isnormal_test): Likewise.
17662 (issignaling_test): Likewise.
17663 (isunordered_test): Likewise.
17664 (j0_test): Likewise.
17665 (j1_test): Likewise.
17666 (jn_test): Likewise.
17667 (ldexp_test): Likewise.
17668 (lgamma_test): Likewise.
17669 (gamma_test): Likewise.
17670 (lrint_test): Likewise.
17671 (lrint_test_tonearest): Likewise.
17672 (lrint_test_towardzero): Likewise.
17673 (lrint_test_downward): Likewise.
17674 (lrint_test_upward): Likewise.
17675 (llrint_test): Likewise.
17676 (llrint_test_tonearest): Likewise.
17677 (llrint_test_towardzero): Likewise.
17678 (llrint_test_downward): Likewise.
17679 (llrint_test_upward): Likewise.
17680 (log_test): Likewise.
17681 (log10_test): Likewise.
17682 (log1p_test): Likewise.
17683 (log2_test): Likewise.
17684 (logb_test): Likewise.
17685 (logb_test_downward): Likewise.
17686 (lround_test): Likewise.
17687 (llround_test): Likewise.
17688 (modf_test): Likewise.
17689 (nearbyint_test): Likewise.
17690 (nextafter_test): Likewise.
17691 (nexttoward_test): Likewise.
17692 (pow_test): Likewise.
17693 (pow_test_tonearest): Likewise.
17694 (pow_test_towardzero): Likewise.
17695 (pow_test_downward): Likewise.
17696 (pow_test_upward): Likewise.
17697 (remainder_test): Likewise.
17698 (drem_test): Likewise.
17699 (remainder_test_tonearest): Likewise.
17700 (drem_test_tonearest): Likewise.
17701 (remainder_test_towardzero): Likewise.
17702 (drem_test_towardzero): Likewise.
17703 (remainder_test_downward): Likewise.
17704 (drem_test_downward): Likewise.
17705 (remainder_test_upward): Likewise.
17706 (drem_test_upward): Likewise.
17707 (remquo_test): Likewise.
17708 (rint_test): Likewise.
17709 (rint_test_tonearest): Likewise.
17710 (rint_test_towardzero): Likewise.
17711 (rint_test_downward): Likewise.
17712 (rint_test_upward): Likewise.
17713 (round_test): Likewise.
17714 (scalb_test): Likewise.
17715 (scalbn_test): Likewise.
17716 (scalbln_test): Likewise.
17717 (signbit_test): Likewise.
17718 (sin_test): Likewise.
17719 (sin_test_tonearest): Likewise.
17720 (sin_test_towardzero): Likewise.
17721 (sin_test_downward): Likewise.
17722 (sin_test_upward): Likewise.
17723 (sincos_test): Likewise.
17724 (sinh_test): Likewise.
17725 (sinh_test_tonearest): Likewise.
17726 (sinh_test_towardzero): Likewise.
17727 (sinh_test_downward): Likewise.
17728 (sinh_test_upward): Likewise.
17729 (sqrt_test): Likewise.
17730 (sqrt_test_tonearest): Likewise.
17731 (sqrt_test_towardzero): Likewise.
17732 (sqrt_test_downward): Likewise.
17733 (sqrt_test_upward): Likewise.
17734 (tan_test): Likewise.
17735 (tan_test_tonearest): Likewise.
17736 (tan_test_towardzero): Likewise.
17737 (tan_test_downward): Likewise.
17738 (tan_test_upward): Likewise.
17739 (tanh_test): Likewise.
17740 (tgamma_test): Likewise.
17741 (trunc_test): Likewise.
17742 (y0_test): Likewise.
17743 (y1_test): Likewise.
17744 (yn_test): Likewise.
17745 (significand_test): Likewise.
17747 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17748 individual tests in comment.
17749 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17750 (prev_max_error): New variable.
17751 (prev_real_max_error): Likewise.
17752 (prev_imag_max_error): Likewise.
17753 (compare_ulp_data): Don't refer to test names in comment.
17754 (find_test_ulps): Remove function.
17755 (find_function_ulps): Likewise.
17756 (find_complex_function_ulps): Likewise.
17757 (init_max_error): Take function name as argument. Look up ulps
17759 (print_ulps): Remove function.
17760 (print_max_error): Use prev_max_error instead of calling
17761 find_function_ulps.
17762 (print_complex_max_error): Use prev_real_max_error and
17763 prev_imag_max_error instead of calling find_complex_function_ulps.
17764 (check_float_internal): Take max_ulp parameter instead of calling
17765 find_test_ulps. Don't call print_ulps.
17766 (check_float): Update call to check_float_internal.
17767 (check_complex): Update calls to check_float_internal.
17768 (START): Pass argument to init_max_error.
17769 * math/gen-libm-test.pl (%results): Don't include "kind"
17771 (parse_ulps): Don't handle ulps of individual tests.
17772 (print_ulps_file): Likewise.
17773 (output_ulps): Likewise.
17774 * math/README.libm-test: Update.
17775 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17777 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17778 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17779 * sysdeps/arm/libm-test-ulps: Likewise.
17780 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17781 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17782 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17783 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17784 * sysdeps/microblaze/libm-test-ulps: Likewise.
17785 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17786 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17787 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17788 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17789 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17790 * sysdeps/sh/libm-test-ulps: Likewise.
17791 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17792 * sysdeps/tile/libm-test-ulps: Likewise.
17793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17795 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17797 * math/libm-test.inc (print_complex_max_error): Check separately
17798 whether real and imaginary errors are within allowed range and
17799 pass 0 to print_complex_function_ulps instead of value within
17802 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17804 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17806 (get_handles_fopen): Likewise.
17807 (do_write_test): Likewise.
17809 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17811 * libio/fileops.c (do_ftell): Use cached offset when
17813 * libio/iofwide.c (do_ftell_wide): Likewise.
17814 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17816 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17819 * libio/libioP.h (get_file_offset): New function.
17820 * libio/fileops.c (get_file_offset): Likewise.
17821 (do_ftell): Likewise.
17822 (_IO_new_file_seekoff): Split out ftell logic.
17823 * libio/wfileops.c (do_ftell_wide): Likewise.
17824 (_IO_wfile_seekoff): Split out ftell logic.
17825 * libio/tst-ftell-active-handler.c: New test case.
17826 * libio/Makefile (tests): Add it.
17828 2014-03-03 Roland McGrath <roland@hack.frob.com>
17830 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17831 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17833 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17836 * nscd/connections.c (nscd_init): Call do_exit.
17837 (start_threads): Call do_exit and notify_parent.
17838 (begin_drop_privileges): Call do_exit.
17839 (finish_drop_privileges): Likewise.
17840 * nscd/selinux.c (preserve_capabilities): Likewise.
17841 (install_real_capabilities): Likewise.
17842 (nscd_selinux_enabled): Likewise.
17843 (avc_create_thread): Likewise.
17844 (avc_alloc_lock): Likewise.
17845 (nscd_avc_init): Likewise.
17846 * nscd/nscd.c (parent_fd): New static variable.
17847 (main): Create a pipe between parent and child processes.
17848 Skip closing parent_fd.
17849 (monitor_child): New function.
17850 (do_exit): Likewise.
17851 (notify_parent): Likewise.
17852 * nscd/nscd.h (notify_parent): Likewise.
17853 (do_exit): Likewise.
17855 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17857 * malloc/malloc.c (__libc_calloc): Revert last change.
17859 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17863 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17865 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17869 (__libc_ifunc_impl_list): Likewise.
17870 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17871 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17872 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17873 * string/strrchr.c: Define STRRCHR.
17875 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17877 * benchtest/bench-strtok.c (simple_strtok): Delete.
17878 (strtok_string): Use as benchmark.
17879 * string/strtok (STRTOK): New macro.
17881 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17883 * manual/threads.texi: Add header and standard comments to all
17886 * elf/dl-lookup.c (check_match): New function.
17887 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17888 (do_lookup_x): Remove nested function check_match. Use non-nested
17889 function check_match.
17891 2014-02-28 Roland McGrath <roland@hack.frob.com>
17893 * csu/Makefile (generated, before-compile): Use += rather than =.
17894 * catgets/Makefile (generated, generated-dirs): Likewise.
17895 * debug/Makefile (generated): Likewise.
17896 * dlfcn/Makefile (generated): Likewise.
17897 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17898 * iconvdata/Makefile (before-compile, generated): Likewise.
17899 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17900 * libio/Makefile (generated): Likewise.
17901 * malloc/Makefile (generated): Likewise.
17902 * manual/Makefile (generated, generated-dirs): Likewise.
17903 * misc/Makefile (generated): Likewise.
17904 * posix/Makefile (generated): Likewise.
17905 * resolv/Makefile (generated): Likewise.
17906 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17907 * timezone/Makefile (generated, generated-dirs): Likewise.
17909 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17911 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17914 power8 implementation.
17915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17916 file: POWER8 llround ifunc implementation.
17917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17918 (__lllround): Add POWER8 implementation.
17919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17920 POWER8 llround implementation.
17922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17923 power8 implementation.
17924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17925 file: POWER8 llrint ifunc implementation.
17926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17927 Add POWER8 implementation.
17928 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17929 POWER8 llrint implementation.
17931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17932 power8 implementation.
17933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17934 file: POWER8 finite ifunc implementation.
17935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17936 Add POWER8 implementation.
17937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17939 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17940 POWER8 finite implementation.
17941 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17944 power8 implementation.
17945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17946 file: POWER8 isinf ifunc implementation.
17947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17948 POWER8 implementation.
17949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17951 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17952 isinf implementation.
17953 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17955 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17956 (INIT_ARCH): Add hwcap2 initialization.
17957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17958 power8 implementation.
17959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17960 file: POWER8 isnan ifunc implementation.
17961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17962 POWER8 implementation.
17963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17965 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17966 isnan implementation.
17967 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17969 2014-02-27 Joey Ye <joey.ye@arm.com>
17971 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17972 (_FP_NANFRAC_Q): Set to zero.
17974 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17977 * math/auto-libm-test-in: New test inputs.
17978 * math/auto-libm-test-out: Regenerate.
17979 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17982 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17984 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17986 * scripts/evaluate-test.sh: Take new argument indicating whether
17987 failure is expected.
17988 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17989 indicating whether failure is expected.
17990 * conform/Makefile (test-xfail-run-conformtest): New variable.
17991 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17993 * posix/Makefile (test-xfail-annexc): New variable.
17994 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17996 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17998 * argp/Makefile: Include Makeconfig immediately after defining
18000 * assert/Makefile: Likewise.
18001 * benchtests/Makefile: Likewise.
18002 * catgets/Makefile: Likewise.
18003 * conform/Makefile: Likewise.
18004 * crypt/Makefile: Likewise.
18005 * csu/Makefile: Likewise.
18006 (all): Remove target.
18007 * ctype/Makefile: Include Makeconfig immediately after defining
18009 * debug/Makefile: Likewise.
18010 * dirent/Makefile: Likewise.
18011 * dlfcn/Makefile: Likewise.
18012 * gmon/Makefile: Likewise.
18013 * gnulib/Makefile: Likewise.
18014 * grp/Makefile: Likewise.
18015 * gshadow/Makefile: Likewise.
18016 * hesiod/Makefile: Likewise.
18017 * hurd/Makefile: Likewise.
18018 (all): Remove target.
18019 * iconvdata/Makefile: Include Makeconfig immediately after
18021 * inet/Makefile: Likewise.
18022 * intl/Makefile: Likewise.
18023 * io/Makefile: Likewise.
18024 * libio/Makefile: Likewise.
18025 (all): Remove target.
18026 * locale/Makefile: Include Makeconfig immediately after defining
18028 * login/Makefile: Likewise.
18029 * mach/Makefile: Likewise.
18030 (all): Remove target.
18031 * malloc/Makefile: Include Makeconfig immediately after defining
18033 (all): Remove target.
18034 * manual/Makefile: Include Makeconfig immediately after defining
18036 * math/Makefile: Likewise.
18037 * misc/Makefile: Likewise.
18038 * nis/Makefile: Likewise.
18039 * nss/Makefile: Likewise.
18040 * po/Makefile: Likewise.
18041 (all): Remove target.
18042 * posix/Makefile: Include Makeconfig immediately after defining
18044 * pwd/Makefile: Likewise.
18045 * resolv/Makefile: Likewise.
18046 * resource/Makefile: Likewise.
18047 * rt/Makefile: Likewise.
18048 * setjmp/Makefile: Likewise.
18049 * shadow/Makefile: Likewise.
18050 * signal/Makefile: Likewise.
18051 * socket/Makefile: Likewise.
18052 * soft-fp/Makefile: Likewise.
18053 * stdio-common/Makefile: Likewise.
18054 * stdlib/Makefile: Likewise.
18055 * streams/Makefile: Likewise.
18056 * string/Makefile: Likewise.
18057 * sunrpc/Makefile: Likewise.
18058 (all): Remove target.
18059 * sysvipc/Makefile: Include Makeconfig immediately after defining
18061 * termios/Makefile: Likewise.
18062 * time/Makefile: Likewise.
18063 * timezone/Makefile: Likewise.
18064 (all): Remove target.
18065 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18067 * wctype/Makefile: Likewise.
18069 2014-02-26 Steve Ellcey <sellcey@mips.com>
18071 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18072 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18073 (libc_feholdexcept_setround_mips): Ditto.
18074 (libc_feholdsetround): New.
18075 (libc_feholdsetroundf): New.
18076 (libc_feholdsetroundl): New.
18077 (libc_feupdateenv_test_mips): New.
18078 (libc_feupdateenv_test): New.
18079 (libc_feupdateenv_testf): New.
18080 (libc_feupdateenv_testl): New.
18081 (libc_feresetround): New.
18082 (libc_feresetroundf): New.
18083 (libc_feresetroundl): New.
18084 (libc_fetestexcept_mips): New.
18085 (libc_fetestexcept): New.
18086 (libc_fetestexceptf): New.
18087 (libc_fetestexceptl): New.
18088 (HAVE_RM_CTX): New.
18089 (libc_feholdexcept_setround_mips_ctx): New.
18090 (libc_feholdexcept_setround_ctx): New.
18091 (libc_feholdexcept_setroundf_ctx): New.
18092 (libc_feholdexcept_setroundl_ctx): New.
18093 (libc_fesetenv_mips_ctx): New.
18094 (libc_fesetenv_ctx): New.
18095 (libc_fesetenv_ctxf): New.
18096 (libc_fesetenv_ctxl): New.
18097 (libc_feupdateenv_mips_ctx): New.
18098 (libc_feupdateenv_ctx): New.
18099 (libc_feupdateenvf_ctx): New.
18100 (libc_feupdateenvl_ctx): New.
18101 (libc_feholdsetround_mips_ctx): New.
18102 (libc_feholdsetround_ctx): New.
18103 (libc_feholdsetroundf_ctx): New.
18104 (libc_feholdsetroundl_ctx): New.
18105 (libc_feresetround_mips_ctx): New.
18106 (libc_feresetround_ctx): New.
18107 (libc_feresetroundf_ctx): New.
18108 (libc_feresetroundl_ctx): New.
18110 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18112 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18114 * manual/ipc.texi: New file.
18115 * manual/Makefile (chapters): Add ipc.
18116 * manual/job.texi: Add "Inter-Process Communication" to next.
18117 * manual/process.texi: Add "Inter-Process Communication" to prev.
18119 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18123 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18125 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18127 * manual/arith.texi: Fix spaces after sentences.
18128 * manual/charset.texi: Likewise.
18129 * manual/errno.texi: Likewise.
18130 * manual/install.texi: Likewise.
18131 * manual/llio.texi: Likewise.
18132 * manual/locale.texi: Likewise.
18133 * manual/maint.texi: Likewise.
18134 * manual/math.texi: Likewise.
18135 * manual/memory.texi: Likewise.
18136 * manual/message.texi: Likewise.
18137 * manual/probes.texi: Likewise.
18138 * manual/resource.texi: Likewise.
18139 * manual/signal.texi: Likewise.
18140 * manual/socket.texi: Likewise.
18141 * manual/stdio.texi: Likewise.
18142 * manual/string.texi: Likewise.
18143 * manual/time.texi: Likewise.
18144 * manual/users.texi: Likewise.
18146 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18149 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18150 _DEFAULT_SOURCE is defined.
18152 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18153 Carlos O'Donell <carlos@redhat.com>
18156 * elf/dl-tls.c (_dl_count_modids): New function.
18157 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18158 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18159 audit library and increment generation counter.
18160 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18161 * elf/tst-audit9.c: New file.
18162 * elf/tst-auditmod9a.c: New file.
18163 * elf/tst-auditmod9b.c: New file.
18164 * elf/Makefile: Add rules to build and run tst-audit9.
18166 2014-02-25 Florian Weimer <fweimer@redhat.com>
18169 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18171 2014-02-25 Will Newton <will.newton@linaro.org>
18173 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18174 (__longjmp): Restore sp and lr before restoring callee
18175 saved registers. Add longjmp and longjmp_target
18176 SystemTap probe point.
18177 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18178 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18179 Define to zero to match jmpbuf layout.
18180 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18181 (__sigsetjmp): Save sp and lr before saving callee
18182 saved registers. Add setjmp SystemTap probe point.
18184 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18186 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18188 2014-02-24 Andreas Schwab <schwab@suse.de>
18191 * elf/pldd.c (wait_for_ptrace_stop): New function.
18192 (main): Call it after attaching.
18194 2014-02-22 Roland McGrath <roland@hack.frob.com>
18196 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18197 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18198 Versions files is now verboten.
18199 * hurd/Versions (libc: GLIBC_2.0):
18200 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18201 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18202 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18203 * mach/Versions: Likewise.
18205 * csu/Versions: Remove unused %include.
18206 * resolv/Versions: Likewise.
18208 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18210 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18211 ($(objpfx)check-local-headers.out): Likewise.
18212 ($(objpfx)begin-end-check.out): Likewise.
18213 * Makerules (check-abi-%.out): Likewise.
18214 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18215 ($(objpfx)test2.cat): Likewise.
18216 ($(objpfx)de/libc.cat): Likewise.
18217 ($(objpfx)test-gencat.out): Likewise.
18218 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18219 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18220 ($(objpfx)noload-mem): Likewise.
18221 ($(objpfx)tst-pathopt.out): Likewise.
18222 ($(objpfx)tst-rtld-load-self.out): Likewise.
18223 ($(objpfx)tst-array1-cmp.out): Likewise.
18224 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18225 ($(objpfx)tst-array2-cmp.out): Likewise.
18226 ($(objpfx)tst-array3-cmp.out): Likewise.
18227 ($(objpfx)tst-array4-cmp.out): Likewise.
18228 ($(objpfx)tst-array5-cmp.out): Likewise.
18229 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18230 ($(objpfx)check-textrel.out): Likewise.
18231 ($(objpfx)check-execstack.out): Likewise.
18232 ($(objpfx)check-localplt.out): Likewise.
18233 ($(objpfx)order2-cmp.out): Likewise.
18234 ($(objpfx)tst-leaks1-mem): Likewise.
18235 ($(objpfx)tst-leaks1-static-mem): Likewise.
18236 ($(objpfx)tst-initorder-cmp.out): Likewise.
18237 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18238 ($(objpfx)tst-unused-dep.out): Likewise.
18239 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18240 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18241 * iconv/Makefile (test-iconvconfig): Likewise.
18242 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18243 ($(objpfx)iconv-test.out): Likewise.
18244 ($(objpfx)tst-tables.out): Likewise.
18245 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18246 ($(objpfx)tst-gettext.out): Likewise.
18247 ($(objpfx)tst-translit.out): Likewise.
18248 ($(objpfx)tst-gettext2.out): Likewise.
18249 ($(objpfx)tst-gettext4.out): Likewise.
18250 ($(objpfx)tst-gettext6.out): Likewise.
18251 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18252 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18253 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18254 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18255 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18256 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18257 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18258 ($(objpfx)wordexp-tst.out): Likewise.
18259 ($(objpfx)annexc.out): Likewise.
18260 ($(objpfx)tst-fnmatch-mem): Likewise.
18261 ($(objpfx)bug-regex2-mem): Likewise.
18262 ($(objpfx)bug-regex14-mem): Likewise.
18263 ($(objpfx)bug-regex21-mem): Likewise.
18264 ($(objpfx)bug-regex31-mem): Likewise.
18265 ($(objpfx)tst-vfork3-mem): Likewise.
18266 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18267 ($(objpfx)tst-pcre-mem): Likewise.
18268 ($(objpfx)tst-boost-mem): Likewise.
18269 ($(objpfx)tst-getconf.out): Likewise.
18270 ($(objpfx)bug-ga2-mem): Likewise.
18271 ($(objpfx)bug-glob2-mem): Likewise.
18272 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18273 ($(objpfx)mtrace-tst-leaks2): Likewise.
18274 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18275 ($(objpfx)tst-printf.out): Likewise.
18276 ($(objpfx)tst-setvbuf1.out): Likewise.
18277 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18278 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18279 ($(objpfx)tst-fmtmsg.out): Likewise.
18280 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18281 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18283 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18284 * bits/sigaction.h [__USE_MISC]: Likewise.
18285 * bits/waitstatus.h: Update #endif comments.
18286 * ctype/ctype.h: Likewise.
18287 * dirent/dirent.h: Likewise.
18288 [__USE_MISC]: Remove redundant conditionals.
18289 * grp/grp.h: Update #endif comments.
18290 [__USE_GNU]: Remove redundant conditionals.
18291 [__USE_MISC]: Likewise.
18292 * inet/netinet/in.h [__USE_GNU]: Likewise.
18293 * io/sys/stat.h [__USE_MISC]: Likewise.
18294 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18295 * libio/bits/stdio.h: Update #endif comments.
18296 [__USE_MISC]: Remove redundant conditionals.
18297 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18298 * libio/stdio.h: Update #endif comments.
18299 [__USE_MISC]: Remove redundant conditionals.
18300 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18301 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18302 * math/math.h: Update #else and #endif comments.
18303 [__USE_MISC]: Remove redundant conditionals.
18304 * misc/sys/uio.h: Update #endif comments.
18305 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18306 * posix/glob.h [__USE_MISC]: Likewise.
18307 * posix/sys/types.h: Update #endif comments.
18308 [__USE_MISC]: Remove redundant conditionals.
18309 * posix/sys/wait.h: Update #endif comments.
18310 [__USE_MISC]: Remove redundant conditionals.
18311 * posix/unistd.h: Update #endif comments.
18312 [__USE_MISC]: Remove redundant conditionals.
18313 * pwd/pwd.h [__USE_GNU]: Likewise.
18314 [__USE_MISC]: Likewise.
18315 * resolv/netdb.h [__USE_GNU]: Likewise.
18316 * signal/signal.h: Update #endif comments.
18317 [__USE_MISC]: Remove redundant conditionals.
18318 * stdlib/stdlib.h: Update #else and #endif comments.
18319 [__USE_MISC]: Remove redundant conditionals.
18320 [__USE_GNU]: Likewise.
18321 * string/bits/string2.h [__USE_MISC]: Likewise.
18322 * string/string.h: Update #endif comments.
18323 [__USE_MISC]: Remove redundant conditionals.
18324 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18326 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18327 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18328 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18330 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18332 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18334 [__USE_MISC]: Remove redundant conditionals.
18335 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18336 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18337 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18338 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18339 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18341 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18342 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18344 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18345 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18347 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18349 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18350 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18352 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18354 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18355 * sysdeps/x86/bits/string.h: Update #endif comments.
18356 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18358 * time/sys/time.h: Update #endif comments.
18359 * time/time.h: Likewise.
18360 [__USE_MISC]: Remove redundant conditionals.
18362 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18365 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18367 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18369 * Versions.def (librt): Add GLIBC_2.17.
18371 2014-02-21 Adam Conrad <adconrad@0c3.net>
18373 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18374 synonym for _SYS_AUXV_H to allow direct inclusion.
18375 * sysdeps/sparc/bits/hwcap.h: Likewise.
18376 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18377 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18378 * sysdeps/sparc/sysdep.h: Likewise.
18380 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18382 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18384 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18386 * benchtests/bench-strrchr.c: Print length instead of position.
18388 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18391 * sysdeps/unix/sysv/linux/kernel-features.h
18392 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18393 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18394 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18395 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18397 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18398 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18399 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18400 (__ASSUME_SENDMMSG): Define instead of using previous
18401 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18403 (__ASSUME_SENDMMSG_SYSCALL): Define.
18404 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18405 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18407 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18408 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18410 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18411 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18413 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18414 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18415 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18416 [__ASSUME_SENDMMSG]: Change conditionals to
18417 [__ASSUME_SENDMMSG_SOCKETCALL].
18418 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18419 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18421 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18422 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18424 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18425 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18426 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18427 [!__ASSUME_SENDMMSG]: Change conditional to
18428 [!__ASSUME_SENDMMSG_SOCKETCALL].
18429 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18430 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18434 * sysdeps/unix/sysv/linux/kernel-features.h
18435 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18436 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18437 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18438 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18439 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18440 [__i386__ || __sparc__]
18441 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18442 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18443 (__ASSUME_RECVMMSG): Define instead of using previous
18444 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18445 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18446 (__ASSUME_RECVMMSG_SYSCALL): Define.
18447 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18448 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18450 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18451 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18453 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18454 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18456 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18457 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18458 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18459 [__ASSUME_RECVMMSG]: Change condition to
18460 [__ASSUME_RECVMMSG_SOCKETCALL].
18461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18462 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18464 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18465 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18466 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18468 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18469 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18470 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18471 [!__ASSUME_RECVMMSG]: Change condition to
18472 [!__ASSUME_RECVMMSG_SOCKETCALL].
18473 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18474 (__ASSUME_RECVMMSG_SYSCALL): Define.
18477 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18478 __powerpc__ || __s390__ || __sh__ || __sparc__]
18479 (__ASSUME_SOCKETCALL): Define.
18480 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18481 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18482 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18483 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18484 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18485 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18486 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18487 (__ASSUME_ACCEPT4): Define instead of using previous
18488 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18489 __powerpc__ || __sparc__ || __s390__)] condition.
18490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18491 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18492 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18493 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18494 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18495 [!__ASSUME_ACCEPT4]: Change condition to
18496 [!__ASSUME_ACCEPT4_SOCKETCALL].
18497 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18498 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18499 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18501 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18502 __ASSUME_ACCEPT4_SYSCALL.
18503 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18504 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18505 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18506 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18507 __ASSUME_ACCEPT4_SYSCALL.
18508 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18509 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18510 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18511 [__ASSUME_ACCEPT4]: Change condition to
18512 [__ASSUME_ACCEPT4_SOCKETCALL].
18513 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18514 (__ASSUME_SOCKETCALL): Define.
18515 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18517 (__ASSUME_SOCKETCALL): Define.
18518 (__ASSUME_ACCEPT4): Remove.
18519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18522 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18525 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18527 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18529 (HWCAP_ARM_LPAE): Likewise.
18530 (HWCAP_ARM_EVTSTRM): Likewise.
18531 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18532 Add vpfd32, lpae and evtstrm.
18533 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18536 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18538 * math/auto-libm-test-in: Add tests of clog10.
18539 * math/auto-libm-test-out: Regenerated.
18540 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18541 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544 2014-02-18 Andreas Schwab <schwab@suse.de>
18547 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18548 Store non-zero if the second buffer was newly allocated.
18549 (send_dg): Likewise.
18550 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18551 to send_vc and send_dg.
18552 (res_nsend): Pass NULL for ansp2_malloced.
18553 * resolv/res_query.c (__libc_res_nquery): Add parameter
18554 answerp2_malloced and pass it down to __libc_res_nsend.
18555 (res_nquery): Pass additional NULL to __libc_res_nquery.
18556 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18557 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18558 second answer buffer if answerp2_malloced was set.
18559 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18560 (__libc_res_nquerydomain): Add parameter
18561 answerp2_malloced and pass it down to __libc_res_nquery.
18562 (res_nquerydomain): Pass additional NULL to
18563 __libc_res_nquerydomain.
18564 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18565 additional NULL to __libc_res_nsend and __libc_res_nquery.
18566 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18567 additional NULL to __libc_res_nsearch.
18568 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18569 parameter of __libc_res_nsearch to check for separately allocated
18571 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18573 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18574 additional NULL to __libc_res_nquery.
18575 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18576 __libc_res_nsearch.
18577 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18578 * include/resolv.h: Update prototypes of __libc_res_nquery,
18579 __libc_res_nsearch, __libc_res_nsend.
18581 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18583 * math/auto-libm-test-in: Add tests of fma.
18584 * math/auto-libm-test-out: Regenerated.
18585 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18586 (fma_towardzero_test_data): Likewise.
18587 (fma_downward_test_data): Likewise.
18588 (fma_upward_test_data): Likewise.
18589 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18591 (rounding_modes): Add values for new field.
18592 (func_calc_method): Add value mpfr_fff_f.
18593 (func_calc_desc): Add mpfr_fff_f union field.
18594 (test_function): Add field exact_args.
18595 (FUNC): Add macro argument EXACT_ARGS.
18596 (FUNC_mpfr_f_f): Update call to FUNC.
18597 (FUNC_mpfr_f_f): Likewise.
18598 (FUNC_mpfr_ff_f): Likewise.
18599 (FUNC_mpfr_if_f): Likewise.
18600 (FUNC_mpc_c_f): Likewise.
18601 (FUNC_mpc_c_c): Likewise.
18602 (test_functions): Add fma. Update calls to FUNC.
18603 (handle_input_arg): Add argument exact_args.
18604 (add_test): Update call to handle_input_arg.
18605 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18606 (output_for_one_input_case): Update call to calc_generic_results.
18607 Recalculate exact zero results in each rounding mode.
18609 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18610 non-negative before setting low bit.
18611 * math/auto-libm-test-in: Mark one asin test possibly having
18612 spurious underflow.
18613 * math/auto-libm-test-out: Regenerated.
18614 * sysdeps/i386/fpu/libm-test-ulps: Update.
18615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18617 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18619 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18620 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18621 ports/sysdeps/unix/sysv/linux/microblaze.
18622 * README: Add missing listing for microblaze*-*-linux-gnu.
18624 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18626 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18629 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18631 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18632 * sysdeps/unix/sysv/linux/ia64: Move directory from
18633 ports/sysdeps/unix/sysv/linux/ia64.
18634 * README: Update listing for ia64-*-linux-gnu.
18636 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18637 Joseph Myers <joseph@codesourcery.com>
18639 * Makeconfig (test-name): New variable.
18640 (evaluate-test): Likewise.
18641 * Makerules (do-test-clean): Remove .test-result files.
18642 (common-mostlyclean): Likewise.
18643 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18644 * scripts/evaluate-test.sh: New file.
18646 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18648 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18649 separate $(objpfx)tst-fopenloc-cmp.out and
18650 $(objpfx)tst-fopenloc-mem.out targets.
18651 (tests): Update dependencies.
18652 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18653 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18654 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18655 (tst-rxspencer-no-utf8-ARGS): New variable.
18656 (tst-rxspencer-no-utf8-ENV): Likewise.
18657 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18658 instead of $(objpfx)tst-rxspencer-mem.
18659 ($(objpfx)tst-rxspencer-mem): Change target to
18660 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18661 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18662 * posix/tst-rxspencer-no-utf8.c: New file.
18664 * elf/Makefile ($(objpfx)order.out): Remove rule.
18665 [$(run-built-tests) = yes] (tests): Depend on
18666 $(objpfx)order-cmp.out.
18667 ($(objpfx)order-cmp.out): New rule.
18668 [$(run-built-tests) = yes] (tests): Depend on
18669 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18670 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18671 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18672 $(objpfx)tst-array5-static-cmp.out.
18673 ($(objpfx)tst-array1.out): Remove rule.
18674 ($(objpfx)tst-array1-cmp.out): New rule.
18675 ($(objpfx)tst-array1-static.out): Remove rule.
18676 ($(objpfx)tst-array1-static-cmp.out): New rule.
18677 ($(objpfx)tst-array2.out): Remove rule.
18678 ($(objpfx)tst-array2-cmp.out): New rule.
18679 ($(objpfx)tst-array3.out): Remove rule.
18680 ($(objpfx)tst-array3-cmp.out): New rule.
18681 ($(objpfx)tst-array4.out): Remove rule.
18682 ($(objpfx)tst-array4-cmp.out): New rule.
18683 ($(objpfx)tst-array5.out): Remove rule.
18684 ($(objpfx)tst-array5-cmp.out): New rule.
18685 ($(objpfx)tst-array5-static.out): Remove rule.
18686 ($(objpfx)tst-array5-static-cmp.out): New rule.
18687 [$(run-built-tests) = yes] (tests): Depend on
18688 $(objpfx)order2-cmp.out.
18689 ($(objpfx)order2.out): Remove rule.
18690 ($(objpfx)order2-cmp.out): New rule.
18691 ($(objpfx)tst-initorder.out): Remove rule.
18692 [$(run-built-tests) = yes] (tests): Depend on
18693 $(objpfx)tst-initorder-cmp.out.
18694 ($(objpfx)tst-initorder-cmp.out): New rule.
18695 ($(objpfx)tst-initorder2.out): Remove rule.
18696 [$(run-built-tests) = yes] (tests): Depend on
18697 $(objpfx)tst-initorder2-cmp.out.
18698 ($(objpfx)tst-initorder2-cmp.out): New rule.
18699 [$(run-built-tests) = yes] (tests): Depend on
18700 $(objpfx)tst-unused-dep-cmp.out.
18701 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18702 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18703 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18704 on $(objpfx)tst-setvbuf1-cmp.out.
18705 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18706 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18707 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18708 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18709 ($(objpfx)tst-svc.out): Remove rule.
18710 ($(objpfx)tst-svc-cmp.out): New rule.
18712 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18714 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18715 * ctype/ctype.h [__USE_MISC]: Likewise.
18716 * dirent/dirent.h [__USE_MISC]: Likewise.
18717 * grp/grp.h [__USE_MISC]: Likewise.
18718 * io/fcntl.h [__USE_MISC]: Likewise.
18719 * io/sys/stat.h [__USE_MISC]: Likewise.
18720 * libio/stdio.h [__USE_MISC]: Likewise.
18721 * posix/unistd.h [__USE_MISC]: Likewise.
18722 * pwd/pwd.h [__USE_MISC]: Likewise.
18723 * stdlib.h [__USE_MISC]: Likewise.
18724 * string/bits/string2.h [__USE_MISC]: Likewise.
18725 * string/string.h [__USE_MISC]: Likewise.
18726 * time/time.h [__USE_MISC]: Likewise.
18728 2014-02-13 Andreas Schwab <schwab@suse.de>
18731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18732 second answer buffer if it was separately allocated.
18734 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18736 * sysdeps/mips/math-tests.h: Include <features.h>.
18737 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18738 (ROUNDING_TESTS_long_double): Do not define.
18739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18740 (EXCEPTION_TESTS_long_double): Likewise.
18741 * sysdeps/mips/mips64/libm-test-ulps: Update.
18743 * include/features.h (__USE_BSD): Remove macro definitions.
18744 (__USE_SVID): Likewise.
18745 (_BSD_SOURCE): Likewise.
18746 (_SVID_SOURCE): Likewise.
18747 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18748 from definition of _DEFAULT_SOURCE.
18749 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18751 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18752 * bits/mman.h [__USE_BSD]: Likewise.
18753 * bits/termios.h [__USE_BSD]: Likewise.
18754 * bits/waitstatus.h [__USE_BSD]: Likewise.
18755 * ctype/ctype.h [__USE_SVID]: Likewise.
18756 * dirent/dirent.h [__USE_BSD]: Likewise.
18757 * grp/grp.h [__USE_SVID]: Likewise.
18758 [__USE_BSD]: Likewise.
18759 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18760 * io/fcntl.h [__USE_BSD]: Likewise.
18761 * io/ftw.h [__USE_BSD]: Likewise.
18762 * io/sys/stat.h [__USE_BSD]: Likewise.
18763 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18764 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18765 * libio/stdio.h [__USE_SVID]: Likewise.
18766 [__USE_BSD]: Likewise.
18767 * math/math.h [__USE_SVID]: Likewise.
18768 [__USE_BSD]: Likewise.
18769 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18770 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18771 * misc/search.h [__USE_SVID]: Likewise.
18772 * misc/sys/mman.h [__USE_BSD]: Likewise.
18773 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18774 * misc/sys/uio.h [__USE_BSD]: Likewise.
18775 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18776 * posix/glob.h [__USE_BSD]: Likewise.
18777 * posix/regex.h [__USE_BSD]: Likewise.
18778 * posix/sys/types.h [__USE_BSD]: Likewise.
18779 [__USE_SVID]: Likewise.
18780 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18781 * posix/sys/wait.h [__USE_BSD]: Likewise.
18782 [__USE_SVID]: Likewise.
18783 * posix/unistd.h [__USE_BSD]: Likewise.
18784 [__USE_SVID]: Likewise.
18785 * pwd/pwd.h [__USE_SVID]: Likewise.
18786 * resolv/netdb.h [__USE_BSD]: Likewise.
18787 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18788 * signal/signal.h [__USE_BSD]: Likewise.
18789 [__USE_SVID]: Likewise.
18790 * socket/sys/socket.h [__USE_BSD]: Likewise.
18791 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18792 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18793 [__USE_SVID]: Likewise.
18794 * string/bits/string2.h [__USE_BSD]: Likewise.
18795 [__USE_SVID]: Likewise.
18796 * string/bits/string3.h [__USE_BSD]: Likewise.
18797 * string/endian.h [__USE_BSD]: Likewise.
18798 * string/string.h [__USE_SVID]: Likewise.
18799 [__USE_BSD]: Likewise.
18800 * string/strings.h [__USE_BSD]: Likewise.
18801 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18802 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18803 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18804 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18805 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18810 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18811 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18813 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18814 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18816 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18818 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18819 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18824 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18825 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18826 * termios/termios.h [__USE_BSD]: Likewise.
18827 * time/sys/time.h [__USE_BSD]: Likewise.
18828 * time/time.h [__USE_BSD]: Likewise.
18829 [__USE_SVID]: Likewise.
18831 * Makefile (subdir_targets): Remove subdir_lint.out.
18833 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18834 (do-tst-printf): Likewise.
18835 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18836 $(objpfx)tst-printf.out.
18838 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18840 * Makerules (check-abi-%): Change target to
18841 $(objpfx)check-abi-%.out.
18842 (check-abi target): Update dependencies.
18843 (check-abi-pattern variable): Redirect output of diff to $@.
18844 (check-abi variable): Likewise.
18845 * elf/Makefile (check-abi): Update dependencies.
18847 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18849 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18850 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18852 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18853 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18854 value has largest subnormal exponent.
18855 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18856 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18857 * sysdeps/aarch64/soft-fp/sfp-machine.h
18858 (_FP_TININESS_AFTER_ROUNDING): New macro.
18859 * sysdeps/alpha/soft-fp/sfp-machine.h
18860 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18861 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18863 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18864 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18865 * sysdeps/mips/soft-fp/sfp-machine.h
18866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18867 * sysdeps/powerpc/soft-fp/sfp-machine.h
18868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18869 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18875 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18878 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18881 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18884 2014-02-12 Richard Henderson <rth@redhat.com>
18886 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18887 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18888 * sysdeps/unix/sysv/linux/alpha: Move directory from
18889 ports/sysdeps/unix/sysv/linux/alpha.
18890 * README: Update listing for alpha-*-linux-gnu.
18892 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18894 * include/features.h: Update comment documenting feature test
18896 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18898 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18899 (_SVID_SOURCE): Likewise.
18900 (_DEFAULT_SOURCE): Update description of default features.
18901 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18903 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18904 (S_ISVTX): Likewise.
18905 * manual/math.texi (Mathematical Constants): Likewise.
18906 * manual/signal.texi (Interrupted Primitives): Likewise.
18907 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18908 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18909 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18910 Don't refer to _SVID_SOURCE in warning text.
18912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18914 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18916 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18917 * sysdeps/mips/dl-lookup.c: Remove.
18918 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18920 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18923 * math/auto-libm-test-in: Add testcase for expl.
18924 * math/auto-libm-test-out: Regenerate.
18925 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18926 calculation of unsafe.
18927 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18929 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18931 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18932 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18933 ports/sysdeps/unix/sysv/linux/aarch64.
18934 * README: Update listing for aarch64*-*-linux-gnu.
18936 2014-02-11 Will Newton <will.newton@linaro.org>
18938 * manual/probes.texi (Mathematical Function Probes): Use
18939 "triggered" instead of "hit".
18941 * manual/probes.texi (Internal Probes): Add documentation
18942 of setjmp, longjmp and longjmp_target probes.
18944 * include/stap-probe.h: Add comment about probe argument
18947 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18948 definition. (tr_where, tr_freehook, tr_mallochook,
18949 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18951 2014-02-11 David S. Miller <davem@davemloft.net>
18953 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18954 processing int_tests.
18956 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18958 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18959 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18960 * sysdeps/unix/sysv/linux/mips: Move directory from
18961 ports/sysdeps/unix/sysv/linux/mips.
18962 * README: Update listing for mips-*-linux-gnu and
18963 mips64-*-linux-gnu.
18965 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18967 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18968 * sysdeps/unix/sysv/linux/m68k: Move directory from
18969 ports/sysdeps/unix/sysv/linux/m68k.
18970 * README: Update listing for m68k-*-linux-gnu.
18972 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18974 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18975 * sysdeps/unix/sysv/linux/generic: Move directory from
18976 ports/sysdeps/unix/sysv/linux/generic.
18977 * sysdeps/unix/sysv/linux/tile: Move directory from
18978 ports/sysdeps/unix/sysv/linux/tile.
18979 * README: Update listing for tile*-*-linux-gnu.
18981 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18983 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18985 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18986 * catgets/open_catalog.c (__open_catalog): Likewise.
18987 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18988 * debug/confstr_chk.c: Likewise.
18989 * debug/fread_chk.c (__fread_chk): Likewise.
18990 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18991 * debug/getgroups_chk.c: Likewise.
18992 * debug/mbsnrtowcs_chk.c: Likewise.
18993 * debug/mbsrtowcs_chk.c: Likewise.
18994 * debug/mbstowcs_chk.c: Likewise.
18995 * debug/memcpy_chk.c: Likewise.
18996 * debug/memmove_chk.c: Likewise.
18997 * debug/mempcpy_chk.c: Likewise.
18998 * debug/memset_chk.c: Likewise.
18999 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19000 * debug/strcat_chk.c (__strcat_chk): Likewise.
19001 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19002 * debug/strncat_chk.c (__strncat_chk): Likewise.
19003 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19004 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19005 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19006 * debug/wcpncpy_chk.c: Likewise.
19007 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19008 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19009 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19010 * debug/wcsncpy_chk.c: Likewise.
19011 * debug/wcsnrtombs_chk.c: Likewise.
19012 * debug/wcsrtombs_chk.c: Likewise.
19013 * debug/wcstombs_chk.c: Likewise.
19014 * debug/wmemcpy_chk.c: Likewise.
19015 * debug/wmemmove_chk.c: Likewise.
19016 * debug/wmempcpy_chk.c: Likewise.
19017 * debug/wmemset_chk.c: Likewise.
19018 * dirent/scandirat.c (SCANDIRAT): Likewise.
19019 * dlfcn/dladdr1.c (dladdr1): Likewise.
19020 * dlfcn/dladdr.c (dladdr): Likewise.
19021 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19022 * dlfcn/dlerror.c (__dlerror): Likewise.
19023 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19024 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19025 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19026 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19027 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19028 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19029 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19030 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19032 * elf/dl-conflict.c: Likewise.
19033 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19034 * elf/dl-dst.h: Likewise.
19035 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19036 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19038 * elf/dl-init.c (call_init, _dl_init): Likewise.
19039 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19040 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19041 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19043 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19045 * elf/dl-minimal.c (__libc_memalign): Likewise.
19046 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19047 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19048 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19049 * elf/dl-sym.c (do_sym): Likewise.
19050 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19051 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19052 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19053 * elf/dl-writev.h (_dl_writev): Likewise.
19054 * elf/ldconfig.c (search_dir): Likewise.
19055 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19056 (dl_main): Likewise.
19057 * elf/setup-vdso.h (setup_vdso): Likewise.
19058 * grp/compat-initgroups.c (compat_call): Likewise.
19059 * grp/fgetgrent.c (fgetgrent): Likewise.
19060 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19061 * grp/putgrent.c (putgrent): Likewise.
19062 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19064 * hurd/hurdinit.c: Likewise.
19065 * iconvdata/8bit-gap.c (struct): Likewise.
19066 * iconvdata/ansi_x3.110.c : Likewise.
19067 * iconvdata/big5.c : Likewise.
19068 * iconvdata/big5hkscs.c : Likewise.
19069 * iconvdata/cp1255.c: Likewise.
19070 * iconvdata/cp1258.c : Likewise.
19071 * iconvdata/cp932.c : Likewise.
19072 * iconvdata/euc-cn.c: Likewise.
19073 * iconvdata/euc-jisx0213.c : Likewise.
19074 * iconvdata/euc-jp.c: Likewise.
19075 * iconvdata/euc-jp-ms.c : Likewise.
19076 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19077 * iconvdata/gb18030.c : Likewise.
19078 * iconvdata/gbbig5.c (const): Likewise.
19079 * iconvdata/gbgbk.c: Likewise.
19080 * iconvdata/gbk.c : Likewise.
19081 * iconvdata/ibm1364.c : Likewise.
19082 * iconvdata/ibm930.c : Likewise.
19083 * iconvdata/ibm932.c: Likewise.
19084 * iconvdata/ibm933.c : Likewise.
19085 * iconvdata/ibm935.c : Likewise.
19086 * iconvdata/ibm937.c : Likewise.
19087 * iconvdata/ibm939.c : Likewise.
19088 * iconvdata/ibm943.c: Likewise.
19089 * iconvdata/iso_11548-1.c: Likewise.
19090 * iconvdata/iso-2022-cn.c : Likewise.
19091 * iconvdata/iso-2022-cn-ext.c : Likewise.
19092 * iconvdata/iso-2022-jp-3.c: Likewise.
19093 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19094 * iconvdata/iso-2022-kr.c : Likewise.
19095 * iconvdata/iso646.c (gconv_end): Likewise.
19096 * iconvdata/iso_6937-2.c : Likewise.
19097 * iconvdata/iso_6937.c : Likewise.
19098 * iconvdata/iso8859-1.c: Likewise.
19099 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19100 * iconvdata/shift_jisx0213.c : Likewise.
19101 * iconvdata/sjis.c : Likewise.
19102 * iconvdata/t.61.c : Likewise.
19103 * iconvdata/tcvn5712-1.c : Likewise.
19104 * iconvdata/tscii.c: Likewise.
19105 * iconvdata/uhc.c : Likewise.
19106 * iconvdata/unicode.c (gconv_end): Likewise.
19107 * iconvdata/utf-16.c (gconv_end): Likewise.
19108 * iconvdata/utf-32.c (gconv_end): Likewise.
19109 * iconvdata/utf-7.c (base64): Likewise.
19110 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19111 * iconv/gconv_close.c (__gconv_close): Likewise.
19112 * iconv/gconv_open.c (__gconv_open): Likewise.
19113 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19114 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19115 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19116 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19117 (ucs4le_internal_loop_single): Likewise.
19118 * iconv/iconv.c (iconv): Likewise.
19119 * iconv/iconv_close.c: Likewise.
19120 * iconv/loop.c (SINGLE): Likewise.
19121 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19122 * include/atomic.h: Likewise.
19123 * inet/inet6_option.c (option_alloc): Likewise.
19124 * intl/bindtextdom.c (set_binding_values): Likewise.
19125 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19126 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19127 * intl/localealias.c (read_alias_file): Likewise.
19128 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19129 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19130 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19131 * libio/fmemopen.c (fmemopen): Likewise.
19132 * libio/iofgets.c (_IO_fgets): Likewise.
19133 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19134 * libio/iofgetws.c (fgetws): Likewise.
19135 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19136 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19137 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19138 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19139 * locale/findlocale.c (_nl_find_locale): Likewise.
19140 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19141 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19143 * locale/setlocale.c (setlocale): Likewise.
19144 * login/programs/pt_chown.c (main): Likewise.
19145 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19146 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19147 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19148 (mmap, mmap64, mremap, munmap): Likewise.
19149 * math/e_exp2l.c: Likewise.
19150 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19151 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19152 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19153 * math/s_catan.c (__catan): Likewise.
19154 * math/s_catanf.c (__catanf): Likewise.
19155 * math/s_catanh.c (__catanh): Likewise.
19156 * math/s_catanhf.c (__catanhf): Likewise.
19157 * math/s_catanhl.c (__catanhl): Likewise.
19158 * math/s_catanl.c (__catanl): Likewise.
19159 * math/s_ccosh.c (__ccosh): Likewise.
19160 * math/s_ccoshf.c (__ccoshf): Likewise.
19161 * math/s_ccoshl.c (__ccoshl): Likewise.
19162 * math/s_cexp.c (__cexp): Likewise.
19163 * math/s_cexpf.c (__cexpf): Likewise.
19164 * math/s_cexpl.c (__cexpl): Likewise.
19165 * math/s_clog10.c (__clog10): Likewise.
19166 * math/s_clog10f.c (__clog10f): Likewise.
19167 * math/s_clog10l.c (__clog10l): Likewise.
19168 * math/s_clog.c (__clog): Likewise.
19169 * math/s_clogf.c (__clogf): Likewise.
19170 * math/s_clogl.c (__clogl): Likewise.
19171 * math/s_csin.c (__csin): Likewise.
19172 * math/s_csinf.c (__csinf): Likewise.
19173 * math/s_csinh.c (__csinh): Likewise.
19174 * math/s_csinhf.c (__csinhf): Likewise.
19175 * math/s_csinhl.c (__csinhl): Likewise.
19176 * math/s_csinl.c (__csinl): Likewise.
19177 * math/s_csqrt.c (__csqrt): Likewise.
19178 * math/s_csqrtf.c (__csqrtf): Likewise.
19179 * math/s_csqrtl.c (__csqrtl): Likewise.
19180 * math/s_ctan.c (__ctan): Likewise.
19181 * math/s_ctanf.c (__ctanf): Likewise.
19182 * math/s_ctanh.c (__ctanh): Likewise.
19183 * math/s_ctanhf.c (__ctanhf): Likewise.
19184 * math/s_ctanhl.c (__ctanhl): Likewise.
19185 * math/s_ctanl.c (__ctanl): Likewise.
19186 * math/w_pow.c: Likewise.
19187 * math/w_powf.c: Likewise.
19188 * math/w_powl.c: Likewise.
19189 * math/w_scalb.c (sysv_scalb): Likewise.
19190 * math/w_scalbf.c (sysv_scalbf): Likewise.
19191 * math/w_scalbl.c (sysv_scalbl): Likewise.
19192 * misc/error.c (error_tail): Likewise.
19193 * misc/pselect.c (__pselect): Likewise.
19194 * nis/nis_callback.c (__nis_create_callback): Likewise.
19195 * nis/nis_call.c (__nisfind_server): Likewise.
19196 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19197 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19198 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19199 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19200 * nis/nis_lookup.c (nis_lookup): Likewise.
19201 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19202 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19203 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19204 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19205 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19206 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19207 * nis/nss_compat/compat-initgroups.c (add_group)
19208 (internal_getgrent_r): Likewise.
19209 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19210 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19211 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19212 (internal_getspnam_r): Likewise.
19213 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19214 (_nss_nis_getaliasbyname_r): Likewise.
19215 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19216 (_nss_nis_getntohost_r): Likewise.
19217 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19218 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19219 (_nss_nis_getgrgid_r): Likewise.
19220 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19221 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19222 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19223 (_nss_nis_gethostbyname4_r): Likewise.
19224 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19225 (initgroups_netid): Likewise.
19226 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19227 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19228 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19229 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19230 (_nss_nis_getprotobynumber_r): Likewise.
19231 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19232 (_nss_nis_getsecretkey): Likewise.
19233 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19234 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19235 (_nss_nis_getpwuid_r): Likewise.
19236 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19237 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19238 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19239 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19240 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19241 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19242 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19244 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19245 (_nss_nisplus_getntohost_r): Likewise.
19246 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19247 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19248 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19249 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19251 * nis/nss_nisplus/nisplus-initgroups.c
19252 (_nss_nisplus_initgroups_dyn): Likewise.
19253 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19254 (_nss_nisplus_getnetbyaddr_r): Likewise.
19255 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19256 (_nss_nisplus_getprotobynumber_r): Likewise.
19257 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19258 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19259 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19261 * nis/nss_nisplus/nisplus-service.c
19262 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19263 (_nss_nisplus_getservbyport_r): Likewise.
19264 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19265 (_nss_nisplus_getspnam_r): Likewise.
19266 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19268 * nscd/aicache.c (addhstaiX): Likewise.
19269 * nscd/cache.c (cache_search, prune_cache): Likewise.
19270 * nscd/connections.c (register_traced_file, send_ro_fd)
19271 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19272 (main_loop_epoll): Likewise.
19273 * nscd/grpcache.c (addgrbyX): Likewise.
19274 * nscd/hstcache.c (addhstbyX): Likewise.
19275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19276 * nscd/mem.c (gc, mempool_alloc): Likewise.
19277 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19278 (addinnetgrX): Likewise.
19279 * nscd/nscd-client.h (__nscd_acquire_maplock)
19280 (__nscd_drop_map_ref): Likewise.
19281 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19282 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19285 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19287 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19288 (__nscd_get_map_ref): Likewise.
19289 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19290 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19292 * nscd/pwdcache.c (addpwbyX): Likewise.
19293 * nscd/selinux.c (preserve_capabilities): Likewise.
19294 * nscd/servicescache.c (addservbyX): Likewise.
19295 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19296 * posix/fnmatch.c (fnmatch): Likewise.
19297 * posix/getopt.c (_getopt_internal_r): Likewise.
19298 * posix/glob.c (glob, glob_in_dir): Likewise.
19299 * posix/wordexp.c (exec_comm_child): Likewise.
19300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19301 (getanswer_r, gaih_getanswer_slice): Likewise.
19302 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19303 * resolv/res_init.c: Likewise.
19304 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19305 * resolv/res_query.c (__libc_res_nquery): Likewise.
19306 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19308 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19309 * stdio-common/perror.c (perror): Likewise.
19310 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19311 * stdio-common/tmpnam.c (tmpnam): Likewise.
19312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19313 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19314 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19316 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19317 * stdlib/putenv.c (putenv): Likewise.
19318 * stdlib/setenv.c (__add_to_environ): Likewise.
19319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19320 * stdlib/strtol_l.c (INTERNAL): Likewise.
19321 * string/memmem.c (memmem): Likewise.
19322 * string/strerror.c (strerror): Likewise.
19323 * string/strnlen.c (__strnlen): Likewise.
19324 * string/test-memmem.c (simple_memmem): Likewise.
19325 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19326 * sunrpc/pm_getport.c (__get_socket): Likewise.
19327 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19328 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19329 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19330 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19332 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19333 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19334 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19336 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19337 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19339 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19341 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19342 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19343 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19344 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19345 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19347 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19348 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19349 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19350 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19351 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19352 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19361 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19362 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19364 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19368 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19371 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19373 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19383 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19385 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19386 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19387 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19388 * sysdeps/posix/sleep.c: Likewise.
19389 * sysdeps/posix/tempname.c: Likewise.
19390 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19391 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19393 * sysdeps/powerpc/powerpc32/dl-machine.h
19394 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19395 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19397 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19398 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19400 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19402 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19404 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19405 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19406 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19407 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19408 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19409 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19411 (elf_machine_lazy_rel): Likewise.
19412 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19414 (elf_machine_lazy_rel): Likewise.
19415 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19416 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19417 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19418 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19419 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19420 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19421 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19424 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19425 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19426 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19427 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19428 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19430 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19431 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19432 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19433 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19434 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19436 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19437 (__posix_fallocate64_l64): Likewise.
19438 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19439 (posix_fallocate): Likewise.
19440 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19443 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19444 (getifaddrs_internal): Likewise.
19445 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19446 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19447 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19448 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19449 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19450 (__posix_fallocate64_l64): Likewise.
19451 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19453 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19455 (__get_clockfreq): Likewise.
19456 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19457 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19458 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19461 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19462 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19463 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19465 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19466 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19467 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19468 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19469 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19470 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19471 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19473 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19474 (posix_fallocate): Likewise.
19475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19476 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19477 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19478 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19479 (elf_machine_rela, elf_machine_rela_relative)
19480 (elf_machine_lazy_rel): Likewise.
19481 * time/asctime.c (asctime_internal): Likewise.
19482 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19483 * time/tzset.c (__tzset_parse_tz): Likewise.
19484 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19485 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19486 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19487 * wcsmbs/wcsmbsload.h: Likewise.
19490 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19492 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19493 (arena_get2): Remove THREAD_STATS conditionals.
19494 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19495 (__malloc_stats, int): Likewise.
19497 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19500 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19502 * manual/setjmp.texi: Fix typos/grammar errors.
19504 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19505 Only return early when n is <= 0. Delete unused return statement.
19507 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19508 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19509 * debug/tst-longjmp_chk3.c: New file.
19511 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19512 (test_main): Replace code with set_fortify_handler call.
19513 * debug/test-strcpy_chk.c: Likewise.
19514 * debug/tst-chk1.c: Likewise.
19515 * debug/tst-longjmp_chk.c: Likewise.
19516 * test-skeleton.c: Include fcntl.h & paths.h
19517 (set_fortify_handler): Define.
19519 * debug/tst-longjmp_chk.c: Add header comment and include
19520 ../test-skeleton.c.
19521 (do_test): Mark static.
19522 (TEST_FUNCTION): Define.
19524 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19525 (IP_PMTUDISC_INTERFACE): Likewise.
19526 (IP_MULTICAST_IF): Likewise.
19527 (IP_MULTICAST_TTL): Likewise.
19528 (IP_MULTICAST_LOOP): Likewise.
19529 (IP_ADD_MEMBERSHIP): Likewise.
19530 (IP_DROP_MEMBERSHIP): Likewise.
19531 (IP_UNBLOCK_SOURCE): Likewise.
19532 (IP_BLOCK_SOURCE): Likewise.
19533 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19534 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19535 (IP_MSFILTER): Likewise.
19536 (MCAST_JOIN_GROUP): Likewise.
19537 (MCAST_BLOCK_SOURCE): Likewise.
19538 (MCAST_UNBLOCK_SOURCE): Likewise.
19539 (MCAST_LEAVE_GROUP): Likewise.
19540 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19541 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19542 (MCAST_MSFILTER): Likewise.
19543 (IP_MULTICAST_ALL): Likewise.
19544 (IP_UNICAST_IF): Likewise.
19546 * timezone/Makefile: Delete $(have-ksh) check.
19547 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19548 * timezone/tzselect.ksh: Add +x mode bits.
19550 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19551 (ANON_INODE_FS_MAGIC): Likewise.
19552 (BDEVFS_MAGIC): Likewise.
19553 (BINFMTFS_MAGIC): Likewise.
19554 (BTRFS_TEST_MAGIC): Likewise.
19555 (CRAMFS_MAGIC_WEND): Likewise.
19556 (DEBUGFS_MAGIC): Likewise.
19557 (ECRYPTFS_SUPER_MAGIC): Likewise.
19558 (EXT3_SUPER_MAGIC): Likewise.
19559 (EXT4_SUPER_MAGIC): Likewise.
19560 (FUTEXFS_SUPER_MAGIC): Likewise.
19561 (HOSTFS_SUPER_MAGIC): Likewise.
19562 (HUGETLBFS_MAGIC): Likewise.
19563 (MINIX3_SUPER_MAGIC): Likewise.
19564 (MTD_INODE_FS_MAGIC): Likewise.
19565 (NILFS_SUPER_MAGIC): Likewise.
19566 (OPENPROM_SUPER_MAGIC): Likewise.
19567 (PIPEFS_MAGIC): Likewise.
19568 (PSTOREFS_MAGIC): Likewise.
19569 (QNX6_SUPER_MAGIC): Likewise.
19570 (RAMFS_MAGIC): Likewise.
19571 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19572 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19573 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19574 (SECURITYFS_MAGIC): Likewise.
19575 (SELINUX_MAGIC): Likewise.
19576 (SMACK_MAGIC): Likewise.
19577 (SOCKFS_MAGIC): Likewise.
19578 (SQUASHFS_MAGIC): Likewise.
19579 (STACK_END_MAGIC): Likewise.
19580 (TMPFS_MAGIC): Likewise.
19581 (USBDEVICE_SUPER_MAGIC): Likewise.
19582 (V9FS_MAGIC): Likewise.
19583 (XENFS_SUPER_MAGIC): Likewise.
19584 (CRAMFS_MAGIC): Fix typo in comment.
19585 (EXT2_SUPER_MAGIC): Update comment.
19586 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19588 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19590 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19591 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19592 * sysdeps/unix/sysv/linux/arm: Move directory from
19593 ports/sysdeps/unix/sysv/linux/arm.
19594 * README: Update listing for arm-*-linux-gnueabi.
19596 * README: Remove mention of am33.
19598 2014-02-07 Roland McGrath <roland@hack.frob.com>
19600 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19601 than the comma operator, to avoid "rhs of comma has no effect"
19603 (__sigfillset, __sigandset, __sigorset): Likewise.
19604 * include/signal.h (__sigemptyset): Likewise.
19605 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19607 2014-02-07 Allan McRae <allan@archlinux.org>
19609 * version.h (RELEASE): Set to "development".
19610 (VERSION): Set to "2.19.90"
19611 * NEWS: Add 2.20 section.
19613 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19616 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19618 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19620 * manual/contrib.texi: Update entry for Carlos O'Donell,
19621 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19623 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19625 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19627 * sysdeps/unix/sysv/linux/kernel-features.h
19628 [__LINUX_KERNEL_VERSION >= 0x020621]
19629 (__ASSUME_PROC_PID_TASK_COMM): Define.
19631 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19634 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19635 conversion when destination buffer does not have enough space.
19636 * libio/tst-ftell-partial-wide.c: New test case.
19637 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19639 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19640 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19641 Leonard and Allan McRae.
19643 2014-02-04 David S. Miller <davem@davemloft.net>
19645 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19648 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19677 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19679 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19680 * shlib-versions: Likewise.
19682 2014-02-04 Roland McGrath <roland@hack.frob.com>
19683 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19686 (abilist-pattern): New variable, set to %-le.abilist.
19688 * Makerules (abilist-pattern): New variable.
19689 (vpath): Use $(abilist-pattern) in place of %.abilist.
19690 (check-abi-% pattern rule): Likewise.
19691 (check-abi, update-abi): Likewise.
19693 2014-02-04 Eric Wong <normalperson@yhbt.net>
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19697 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19699 * manual/startup.texi: Add next, previous, and top entries for
19700 the `Program Arguments' and `Environment Variables' nodes.
19702 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19704 * manual/macros.texi: Add comments before MTASC-safety macros.
19706 * manual/users.texi: Document MTASC-safety properties.
19708 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19709 (pthread_getspecific, pthread_setspecific): Format with
19710 @deftypefun, and add @safety note.
19711 * manual/signal.texi: Move comments that analyze the above
19712 functions to their home place.
19714 2014-02-03 Allan McRae <allan@archlinux.org>
19716 * po/sl.po: Update Slovenian translation from translation project.
19718 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19720 * manual/time.texi (timegm): Add missing blank after @c.
19721 Reported by Joseph Myers <joseph@codesourcery.com>.
19723 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19725 * manual/check-safety.sh: New.
19726 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19728 * manual/terminal.texi: Document MTASC-safety properties.
19730 * manual/filesys.texi: Document MTASC-safety properties.
19732 * manual/errno.texi: Document MTASC-safety properties.
19734 * manual/intro.texi: Document safety identifiers and
19737 * manual/string.texi (wcstok): Fix prototype.
19738 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19740 * manual/time.texi: Document MTASC-safety properties.
19742 * manual/string.texi: Document MTASC-safety properties.
19744 * manual/threads.texi: Document MTASC-safety properties.
19746 * manual/stdio.texi: Document MTASC-safety properties.
19748 * manual/syslog.texi: Document MTASC-safety properties.
19750 * manual/sysinfo.texi: Document MTASC-safety properties.
19752 * manual/startup.texi: Document MTASC-safety properties.
19754 * manual/socket.texi: Document MTASC-safety properties.
19756 * manual/signal.texi: Document MTASC-safety properties.
19758 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19760 * manual/setjmp.texi: Document MTASC-safety properties.
19762 * manual/search.texi: Document MTASC-safety properties.
19764 * manual/resource.texi: Document MTASC-safety properties.
19766 * manual/process.texi: Document MTASC-safety properties.
19768 * manual/platform.texi: Document MTASC-safety properties.
19770 * manual/pipe.texi: Document MTASC-safety properties.
19772 * manual/pattern.texi: Document MTASC-safety properties.
19774 * manual/message.texi: Document MTASC-safety properties.
19777 * manual/memory.texi: Document MTASC-safety properties.
19779 * manual/math.texi: Document MTASC-safety properties.
19781 * manual/locale.texi: Document MTASC-safety properties.
19783 * manual/llio.texi: Document MTASC-safety properties.
19785 * manual/libdl.texi: New.
19787 * manual/lang.texi: Document MTASC-safety properties.
19789 * manual/job.texi: Document MTASC-safety properties.
19791 * manual/getopt.texi: Document MTASC-safety properties.
19793 * manual/ctype.texi: Document MTASC-safety properties.
19795 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19798 * csu/libc-tls.c (static_map): Remove variable.
19799 (__libc_setup_tls): Use main executable's link map for TLS data.
19800 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19801 casing for LM_ID_BASE and GL(dl_nns).
19802 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19803 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19804 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19805 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19806 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19808 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19811 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19813 * manual/debug.texi: Document MTASC-safety properties.
19815 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19818 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19819 of __x86_64__ when disabling x87 inline functions.
19821 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19823 * manual/charset.texi: Document MTASC-safety properties.
19825 * manual/crypt.texi: Document MTASC-safety properties.
19827 * manual/conf.texi: Document MTASC-safety properties.
19829 * manual/arith.texi: Document MTASC-safety properties.
19831 * manual/argp.texi: Document MTASC-safety properties.
19833 * manual/macros.texi: Introduce macros to document multi
19834 thread, asynchronous signal and asynchronous cancellation
19836 * manual/intro.texi: Introduce the properties themselves.
19838 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19840 * sysdeps/sh/sh4/Makefile: New file.
19842 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19844 * math/gen-libm-test.pl ($srcdir): New variable.
19845 ($auto_input): Use it.
19847 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19850 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19851 access beyond array bounds when parsing netgroups file.
19853 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19854 the old buffer before realloc.
19856 2014-01-27 Allan McRae <allan@archlinux.org>
19858 * po/fr.po: Update French translation from translation project.
19860 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19862 * sysdeps/sh/libm-test-ulps: Regenerate.
19864 2014-01-24 David S. Miller <davem@davemloft.net>
19866 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19868 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19870 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19871 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19873 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19876 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19877 string pointers after reallocation.
19879 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19881 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19882 __SH4A__ instead of __SH_FPU_ANY__.
19884 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19886 * sysdeps/sh/fpu_control.h: New file.
19887 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19888 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19889 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19890 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19891 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19892 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19893 * sysdeps/sh/sys/ucontext.h: Remove.
19894 * sysdeps/sh/sys: Remove directory.
19896 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19898 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19899 s390/sys/ucontext.h.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19901 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19903 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19906 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19908 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19912 Adjust the vDSO correctly for internal calls.
19913 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19915 2014-01-20 Allan McRae <allan@archlinux.org>
19917 * po/ca.po: Update Catalan translation from translation project.
19919 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19921 * sysdeps/s390/sotruss-lib.c: New file.
19923 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19927 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19928 local calls issues by not having a PLT stub required for IFUNC calls.
19929 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19931 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19933 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19934 * math/test-fpucw-static.c: Likewise.
19936 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19939 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19941 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19943 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19944 implementation for powerpc.
19946 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19949 * sysdeps/posix/system.c (__libc_system): Do not enable
19950 asynchronous cancellation.
19952 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19955 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19956 handling only for numbers special also in the IEEE case.
19958 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19960 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19962 2014-01-11 Allan McRae <allan@archlinux.org>
19964 * po/bg.po: Update Bulgarian translation from translation project.
19966 * po/de.po: Update German translation from translation project.
19968 2014-01-10 Roland McGrath <roland@hack.frob.com>
19970 * sysdeps/generic/gcc-compat.h: New file.
19972 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19974 * benchtests/asin-inputs: Correct slow inputs.
19975 * benchtests/acos-inputs: Likewise.
19977 2014-01-10 Allan McRae <allan@archlinux.org>
19979 * po:sv.po: Update Swedish translation from translation project.
19981 * po/vi.po: Update Vietnamese translation from translation project.
19983 * po/eo.po: Update Esperanto translation from translation project.
19985 * po/cs.po: Update Czech translation from translation project.
19987 * po/nl.po: Update Dutch translation from translation project.
19989 * po/pl.po: Update Polish translation from translation project.
19991 * po/ru.po: Update Russian translation from translation project.
19993 * po/uk.po: Update Ukrainian translation from translation project.
19995 2014-01-08 Brooks Moses <bmoses@google.com>
19997 * elf/dl-load.c: Fix comment typo.
19999 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20001 * po/header.pot: Rename to...
20002 * po/pot.header: ... this.
20003 * po/Makefile: Use pot.header.
20005 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20006 Maxim Kuvyrkov <maxim@kugelworks.com>
20009 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20010 SRC and DEST against LEN.
20012 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20015 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20017 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20019 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20023 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20027 for large positive arguments.
20029 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20031 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20033 * math/auto-libm-test-in: Mark various tests with
20034 xfail-rounding:ldbl-128ibm.
20035 * math/auto-libm-test-out: Regenerated.
20038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20039 Increase overflow threshold.
20041 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20044 * stdio-common/vfprintf.c: Check for integer overflow.
20046 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20048 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20049 the first argument and return value of __tls_get_addr_internal.
20051 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20053 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20054 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20056 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20058 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20059 * sysdeps/s390/rtld-global-offsets.sym: New file.
20060 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20062 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20064 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20066 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20067 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20074 halfs of GPRs for high_gprs contexts.
20075 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20076 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20078 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20080 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20082 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20083 for high GPRs (uc_high_gprs) and for future extensions
20085 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20086 for future extensions (__reserved).
20087 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20089 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20090 SC_HIGHGPRS offset definition.
20091 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20092 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20094 * Versions.def: Add GLIBC_2.19 for libpthread.
20095 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20096 siglongjmp for libpthread with GLIBC_2.19 symver.
20097 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20098 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20099 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20100 * sysdeps/s390/__longjmp.c: New file.
20101 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20102 * sysdeps/s390/longjmp.c: New file.
20103 * sysdeps/s390/setjmp.S: New file.
20104 * sysdeps/s390/sigjmp.S: New file.
20105 * sysdeps/s390/v1-longjmp.c: New file.
20106 * sysdeps/s390/v1-setjmp.h: New file.
20107 * sysdeps/s390/v1-sigjmp.c: New file.
20108 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20109 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20110 GLIBC_2.19 version.
20111 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20112 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20113 versioned symbols for ____longjmp_chk.
20114 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20124 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20125 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20126 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20127 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20128 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20129 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20130 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20131 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20132 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20133 * sysdeps/s390/rtld-__longjmp.c: New file.
20134 * sysdeps/s390/rtld-setjmp.S: New file.
20136 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20140 Return -__logl (x) for small positive arguments without evaluating
20143 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20145 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20147 (__ptrace_peeksiginfo_args): ... this.
20148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20150 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20152 2014-01-06 Allan McRae <allan@archlinux.org>
20154 * inet/netinet/in.h: Fix typo in comment.
20156 2014-01-05 Andreas Jaeger <aj@suse.de>
20158 * sysdeps/i386/fpu/libm-test-ulps: Update.
20160 2014-01-05 Allan McRae <allan@archlinux.org>
20162 * po/libc.pot: Regenerated.
20164 * malloc/memusagestat.c: Fix gettext call formatting.
20166 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20168 * nscd/nscd.c: Improve usage() output.
20170 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20172 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20173 * sysdeps/unix/sysv/linux/configure: Regenerated.
20174 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20175 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20177 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20181 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20183 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20186 extra tokens at end of #undef directive.
20187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20188 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20191 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20193 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20195 * math/auto-libm-test-in: Mark various tests with
20196 xfail-rounding:ldbl-128ibm.
20197 * math/auto-libm-test-out: Regenerated.
20199 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20203 numbers with subnormal high part when calculating exponent.
20206 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20212 (__ieee754_acoshl): Use __log1pl not __log1p.
20214 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20216 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20217 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20218 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20219 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20220 (reused_arena, arena_get2): Convert to GNU style.
20221 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20222 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20223 (memalign_check, __malloc_set_state): Likewise.
20224 * malloc/mallocbug.c (main): Likewise.
20225 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20226 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20227 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20228 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20229 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20230 (__posix_memalign, malloc_info): Likewise.
20231 * malloc/malloc.h: Likewise.
20232 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20233 (mallochook, memalignhook, reallochook, mabort): Likewise.
20234 * malloc/mcheck.h: Likewise.
20235 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20236 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20237 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20238 * malloc/morecore.c (__default_morecore): Likewise.
20239 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20240 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20241 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20242 (print_and_abort): Likewise.
20243 * malloc/obstack.h: Likewise.
20244 * malloc/set-freeres.c (__libc_freeres): Likewise.
20245 * malloc/tst-mallocstate.c (main): Likewise.
20246 * malloc/tst-mtrace.c (main): Likewise.
20247 * malloc/tst-realloc.c (do_test): Likewise.
20249 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20252 * nscd/netgroupcache.c (do_notfound): New function.
20253 (addgetnetgrentX): Use it.
20256 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20257 NSS_STATUS_NOTFOUND.
20259 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20261 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20264 2014-01-01 Allan McRae <allan@archlinux.org>
20266 * scripts/update-copyrights: Update configure input file suffix.
20268 * NEWS: Update copyright year.
20269 * catgets/gencat.c: Likewise.
20270 * csu/version.c: Likewise.
20271 * debug/catchsegv.sh: Likewise.
20272 * debug/pcprofiledump.c: Likewise.
20273 * debug/xtrace.sh: Likewise.
20274 * elf/ldconfig.c: Likewise.
20275 * elf/ldd.bash.in: Likewise.
20276 * elf/pldd.c: Likewise.
20277 * elf/sotruss.ksh: Likewise.
20278 * elf/sprof.c: Likewise.
20279 * iconv/iconv_prog.c: Likewise.
20280 * iconv/iconvconfig.c: Likewise.
20281 * locale/programs/locale.c: Likewise.
20282 * locale/programs/localedef.c: Likewise.
20283 * login/programs/pt_chown.c: Likewise.
20284 * malloc/memusage.sh: Likewise.
20285 * malloc/memusagestat.c: Likewise.
20286 * malloc/mtrace.pl: Likewise.
20287 * manual/libc.texinfo: Likewise.
20288 * nscd/nscd.c: Likewise.
20289 * nss/getent.c: Likewise.
20290 * nss/makedb.c: Likewise.
20291 * posix/getconf.c: Likewise.
20292 * scripts/test-installation.pl: Likewise.
20294 * All files with FSF copyright notices: Update copyright dates
20295 using scripts/update-copyrights.
20296 * intl/plural.c: Regenerated.
20297 * locale/programs/charmap-kw.h: Likewise.
20298 * locale/programs/locfile-kw.h: Likewise.
20300 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20302 * sysdeps/unix/sysv/linux/configure: Regenerated.
20303 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20304 the linux/fanotify.h header.
20305 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20306 HAVE_LINUX_FANOTIFY_H is defined.
20308 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20310 * benchtests/cos-inputs: New inputs.
20311 * benchtests/sin-inputs: Likewise.
20313 * benchtests/atan-inputs: New inputs. Fix name of multiple
20314 precision fallback inputs.
20316 * benchtests/atanh-inputs: New inputs.
20317 * benchtests/tanh-inputs: Likewise.
20319 * benchtests/acosh-inputs: New inputs.
20320 * benchtests/asinh-inputs: Likewise.
20322 * benchtests/cosh-inputs: New inputs.
20323 * benchtests/sinh-inputs: Likewise.
20325 * benchtests/acos-inputs: Add more inputs.
20326 * benchtests/asin-inputs: Likewise.
20328 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20331 * manual/arith.texi: Fix spelling.
20332 * manual/charset.texi: Likewise.
20333 * manual/errno.texi: Likewise.
20334 * manual/filesys.texi: Likewise.
20335 * manual/lang.texi: Likewise.
20336 * manual/llio.texi: Likewise.
20337 * manual/locale.texi: Likewise.
20338 * manual/message.texi: Likewise.
20339 * manual/resource.texi: Likewise.
20340 * manual/search.texi: Likewise.
20341 * manual/setjmp.texi: Likewise.
20342 * manual/stdio.texi: Likewise.
20343 * manual/string.texi: Likewise.
20344 * manual/sysinfo.texi: Likewise.
20345 * manual/time.texi: Likewise.
20347 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20349 * po/sl.po: New file.
20351 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20353 * .gitignore: Add core/.gdbinit/.gdb_history.
20355 2013-12-27 Allan McRae <allan@archlinux.org>
20358 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20359 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20361 2013-12-24 Brooks Moses <bmoses@google.com>
20363 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20364 all compilers that claim C++98 compliance, not just GCC.
20365 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20368 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20370 * NEWS: Restore accidentally deleted bug-fix entries.
20372 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20373 Ondřej Bílka <neleai@seznam.cz>
20376 * malloc/malloc.c (_int_free): Perform sanity check only if we
20379 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20382 * manual/stdio.texi (String Input Conversions): Clarify that character
20383 classes are not supported.
20385 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20389 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20393 Calculate results for small negative arguments directly rather
20394 than using reflection formula with special underflow handling.
20396 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20397 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20398 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20399 (fchflags): Likewise.
20400 (revoke): Likewise.
20401 (setlogin): Likewise.
20402 (sigaltstack): Likewise.
20404 (sigblock): Remove.
20405 (sigsetmask): Likewise.
20407 (waitpid): Likewise.
20408 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20409 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20411 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20412 * sysdeps/unix/bsd/Makefile: ... here.
20413 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20414 * sysdeps/unix/bsd/Versions: ... here.
20415 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20416 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20417 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20418 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20419 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20420 * sysdeps/unix/bsd/sigblock.c: ... here.
20421 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20422 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20423 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20424 * sysdeps/unix/bsd/sigvec.c: ... here.
20425 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20426 * sysdeps/unix/bsd/tcdrain.c: ... here.
20427 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20428 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20429 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20430 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20431 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20432 * sysdeps/unix/bsd/wait.c: ... here.
20433 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20434 * sysdeps/unix/bsd/wait3.c: ... here.
20435 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20436 * sysdeps/unix/bsd/waitpid.c: ... here.
20438 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20442 round-to-nearest for [!USE_AS_EXPM1L].
20443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20444 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20445 more tests of exp and exp10. Expect some exp10 tests to miss
20446 exceptions or fail in directed rounding modes.
20447 * math/auto-libm-test-out: Regenerated.
20448 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20449 (exp10_test_tonearest): New function.
20450 (exp10_towardzero_test_data): New array.
20451 (exp10_test_towardzero): New function.
20452 (exp10_downward_test_data): New array.
20453 (exp10_test_downward): New function.
20454 (exp10_upward_test_data): New array.
20455 (exp10_test_upward): New function.
20456 (main): Call the new functions.
20457 * sysdeps/i386/fpu/libm-test-ulps: Update.
20458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20460 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20462 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20463 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20464 * math/auto-libm-test-out: Regenerated.
20465 * math/libm-test.inc (acosh_test_data): Add more tests.
20466 (atanh_test_data): Likewise.
20467 (ceil_test_data): Likewise.
20468 (copysign_test_data): Likewise.
20469 * sysdeps/i386/fpu/libm-test-ulps: Update.
20470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20472 * timezone/checktab.awk: Update from tzcode 2013i.
20473 * timezone/private.h: Likewise.
20474 * timezone/scheck.c: Likewise.
20475 * timezone/tzfile.h: Likewise.
20476 * timezone/tzselect.ksh: Likewise.
20477 * timezone/zdump.c: Likewise.
20478 * timezone/zic.c: Likewise.
20480 * math/auto-libm-test-in: Add tests of cpow.
20481 * math/auto-libm-test-out: Regenerated.
20482 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20485 (func_calc_desc): Add mpc_cc_c union field.
20486 (test_functions): Add cpow.
20487 (special_fill_2pi): New function.
20488 (special_real_inputs): Add 2pi.
20489 (calc_generic_results): Handle mpc_cc_c.
20490 * sysdeps/i386/fpu/libm-test-ulps: Update.
20491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20493 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20494 csqrt, ctan and ctanh.
20495 * math/auto-libm-test-out: Regenerated.
20496 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20497 (TEST_COND_x86): Likewise.
20498 (ccos_test_data): Use AUTO_TESTS_c_c.
20499 (ccosh_test_data): Likewise.
20500 (cexp_test_data): Likewise.
20501 (clog_test_data): Likewise.
20502 (csqrt_test_data): Likewise.
20503 (ctan_test_data): Likewise.
20504 (ctan_tonearest_test_data): Likewise.
20505 (ctan_towardzero_test_data): Likewise.
20506 (ctan_downward_test_data): Likewise.
20507 (ctan_upward_test_data): Likewise.
20508 (ctanh_test_data): Likewise.
20509 (ctanh_tonearest_test_data): Likewise.
20510 (ctanh_towardzero_test_data): Likewise.
20511 (ctanh_downward_test_data): Likewise.
20512 (ctanh_upward_test_data): Likewise.
20513 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20515 (func_calc_desc): Add mpc_c_c union field.
20516 (FUNC_mpc_c_c): New macro.
20517 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20518 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20520 (special_fill_min_subnorm_p120): New function.
20521 (special_real_inputs): Add min_subnorm_p120.
20522 (calc_generic_results): Handle mpc_c_c.
20523 * sysdeps/i386/fpu/libm-test-ulps: Update.
20524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20528 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20529 (do_sin_slow): New functions.
20530 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20531 (cslow2, csloww1, csloww2): Use the new functions.
20533 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20534 Use M to change sign of result instead of X. Assume X is
20536 (csloww1): Likewise.
20540 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20541 arguments A and DA.
20545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20547 (sloww1): Don't adjust sign of DX.
20548 (csloww1): Likewise.
20549 (sloww2): Use X directly and don't adjust sign of DX.
20550 (csloww2): Likewise.
20552 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20554 * math/auto-libm-test-in: Add tests of cabs and carg.
20555 * math/auto-libm-test-out: Regenerated.
20556 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20557 (carg_test_data): Likewise.
20558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20560 (func_calc_desc): Add mpc_c_f union field.
20561 (test_functions): Add cabs and carg.
20562 (calc_generic_results): Handle mpc_c_f.
20564 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20565 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20566 as a macro and a compat symbol.
20567 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20568 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20569 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20570 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20571 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20572 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20574 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20584 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20585 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20588 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20592 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20594 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20595 trailing whitespace removed.
20596 * scripts/config.guess: Update to version 2013-11-29.
20597 * scripts/config.sub: Update to version 2013-10-01.
20599 * math/auto-libm-test-in: Add tests of sincos.
20600 * math/auto-libm-test-out: Regenerated.
20601 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20602 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20604 (func_calc_desc): Add mpfr_f_11 union field.
20605 (test_functions): Add sincos.
20606 (calc_generic_results): Handle mpfr_f_11.
20607 * sysdeps/i386/fpu/libm-test-ulps: Update.
20608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20610 2013-12-19 Andreas Schwab <schwab@suse.de>
20612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20615 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20616 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20618 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20620 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20621 * sysdeps/i386/fpu/libm-test-ulps: Update.
20622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20626 round-to-nearest mode when using frndint.
20627 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20628 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20631 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20633 * math/auto-libm-test-out: Regenerated.
20634 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20635 (TEST_COND_x86): Likewise.
20636 (expm1_tonearest_test_data): New array.
20637 (expm1_test_tonearest): New function.
20638 (expm1_towardzero_test_data): New array.
20639 (expm1_test_towardzero): New function.
20640 (expm1_downward_test_data): New array.
20641 (expm1_test_downward): New function.
20642 (expm1_upward_test_data): New array.
20643 (expm1_test_upward): New function.
20644 (main): Run the new test functions.
20645 * sysdeps/i386/fpu/libm-test-ulps: Update.
20646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20648 * include/features.h: Update comment documenting feature test
20649 macros. Mention _DEFAULT_SOURCE in comment.
20650 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20651 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20652 _BSD_SOURCE and _SVID_SOURCE.
20653 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20654 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20655 !_SVID_SOURCE]: Likewise.
20656 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20657 (__USE_POSIX_IMPLICITLY): Define.
20658 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20659 (_POSIX_SOURCE): Undefine and redefine.
20660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20661 (_POSIX_C_SOURCE): Likewise.
20662 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20663 (Feature Test Macros): Update documentation of default features.
20665 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20667 * benchtests/Makefile: Add bench-strtok.
20668 * benchtests/bench-strtok.c: New file: strtok benchtest.
20670 2013-12-19 Allan McRae <allan@archlinux.org>
20672 * manual/install.texi: Suppress menu for plain text output.
20673 * INSTALL: Regenerated.
20675 2013-12-18 Brooks Moses <bmoses@google.com>
20678 * misc/getauxval.c: Include errno.h.
20679 (__getauxval): Set errno to ENOENT if the requested type is not
20681 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20682 don't declare with __attribute_const__.
20683 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20684 * manual/startup.texi: Document that getauxval sets errno.
20686 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20688 * math/auto-libm-test-in: Add tests of jn and yn.
20689 * math/auto-libm-test-out: Regenerated.
20690 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20691 (yn_test_data): Likewise.
20692 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20694 (func_calc_desc): Add mpfr_if_f union field.
20695 (FUNC_mpfr_if_f): New macro.
20696 (test_functions): Add jn and yn.
20697 (calc_generic_results): Assert type of second input for
20698 mpfr_ff_f. Handle mpfr_if_f.
20699 (output_for_one_input_case): Disable all checking for arguments
20700 fitting floating-point types in case of an integer argument.
20701 * sysdeps/i386/fpu/libm-test-ulps: Update.
20702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20705 Don't expect fegetround reference in libm.so.
20707 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20709 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20710 $(config-cflags-nofma).
20712 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20714 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20715 * math/auto-libm-test-out: Regenerated.
20718 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20719 to determine exponent and adjust argument to have exponent of -1.
20720 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20722 * math/auto-libm-test-out: Regenerated.
20723 * sysdeps/i386/fpu/libm-test-ulps: Update.
20724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20726 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20728 * manual/probes.texi: Remove cases when per-thread arenas are
20731 2013-12-18 Andreas Schwab <schwab@suse.de>
20733 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20734 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20735 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20736 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20737 * sysdeps/i386/i686/multiarch/Makefile: Update.
20738 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20740 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20742 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20743 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20745 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20748 Support TZ transition times < 00:00:00.
20749 This is needed for version-3 tz-format files; it supports time
20750 stamps past 2037 for America/Godthab (the only entry in the tz
20751 database for which this change is relevant).
20752 * manual/time.texi (TZ Variable): Document transition times
20753 from -167:59:59 through -00:00:01.
20754 * time/tzset.c (tz_rule): Time of day is now signed.
20755 (__tzset_parse_tz): Parse negative time of day.
20757 Document TZ transition times >= 25:00:00.
20758 * manual/time.texi (TZ Variable): Document transition times from
20759 25:00:00 through 167:59:59. These are already supported, and this
20760 support will help with version-3 tz-format files.
20762 * manual/time.texi (TZ Variable): Modernize North America example
20763 to reflect current (i.e., 2007-and-later) daylight saving rules.
20765 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20767 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20769 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20770 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20773 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20774 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20775 * sysdeps/unix/bsd/clock.c: Likewise.
20776 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20777 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20778 * sysdeps/unix/bsd/init-posix.c: Likewise.
20779 * sysdeps/unix/bsd/poll.c: Likewise.
20780 * sysdeps/unix/bsd/ptsname.c: Likewise.
20781 * sysdeps/unix/bsd/seekdir.c: Likewise.
20782 * sysdeps/unix/bsd/setegid.c: Likewise.
20783 * sysdeps/unix/bsd/seteuid.c: Likewise.
20784 * sysdeps/unix/bsd/setgid.c: Likewise.
20785 * sysdeps/unix/bsd/setrgid.c: Likewise.
20786 * sysdeps/unix/bsd/setruid.c: Likewise.
20787 * sysdeps/unix/bsd/setsid.c: Likewise.
20788 * sysdeps/unix/bsd/setuid.c: Likewise.
20789 * sysdeps/unix/bsd/sigaction.c: Likewise.
20790 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20791 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20792 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20793 * sysdeps/unix/bsd/telldir.c: Likewise.
20794 * sysdeps/unix/bsd/times.c: Likewise.
20795 * sysdeps/unix/bsd/usleep.c: Likewise.
20797 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20798 ($(objpfx)libbsd-compat.a): Remove rule.
20800 * include/features.h (__FAVOR_BSD): Do not define.
20801 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20802 features conflicting with POSIX.
20803 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20804 (_BSD_SOURCE): Remove description of not being a subset of other
20805 feature test macros.
20806 * manual/job.texi (getpgrp): Do not document BSD version.
20807 (getpgid): Do not document by reference to BSD getpgrp.
20808 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20809 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20810 * signal/signal.h [__FAVOR_BSD]: Likewise.
20811 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20812 instead of making contents conditional on [__FAVOR_BSD].
20813 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20815 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20819 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20822 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20823 values below 2**-450, not 2**-500.
20824 * math/auto-libm-test-in: Don't allow spurious underflow from
20826 * math/auto-libm-test-out: Regenerated.
20830 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20831 values of ha and hb and sort them after adjusting subnormal
20833 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20835 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20836 values of ea and eb and sort them after adjusting subnormal
20838 * math/auto-libm-test-in: Do not expect some hypot tests of
20839 subnormals to fail. Add more hypot tests.
20840 * math/auto-libm-test-out: Regenerated.
20842 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20845 * sysdeps/sh/s_fma.c: New file.
20846 * sysdeps/sh/s_fmaf.c: New file.
20847 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20849 * sysdeps/sh/Implies: Add sh/soft-fp.
20851 2013-12-16 Roland McGrath <roland@hack.frob.com>
20853 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20854 level of indirection to members `objname', `errstring', `malloced'.
20855 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20856 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20857 it as the __longjmp argument (just pass 1 instead).
20858 (_dl_catch_error): Initialize C with argument pointers and address of
20859 volatile local ERRCODE rather than copying values out of C at return.
20861 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20863 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20864 * math/auto-libm-test-out: Regenerated.
20865 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20866 (hypot_test_data): Likewise.
20867 (pow_test_data): Likewise.
20868 (pow_tonearest_test_data): Likewise.
20869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20871 (func_calc_desc): Add mpfr_ff_f union field.
20872 (FUNC_mpfr_ff_f): New macro.
20873 (test_functions): Add atan2, hypot and pow.
20874 (special_fill_min): New function.
20875 (special_fill_minus_min): Likewise.
20876 (special_fill_min_subnorm): Likewise.
20877 (special_fill_minus_min_subnorm): Likewise.
20878 (special_real_inputs): Add min, -min, min_subnorm and
20880 (calc_generic_results): Handle mpfr_ff_f.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884 2013-12-16 Will Newton <will.newton@linaro.org>
20886 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20887 (Aligned Memory Blocks): Add documentation for aligned_alloc
20888 and suggest it as an alternative to posix_memalign.
20889 (Hooks for Malloc): Document __memalign_hook is also called
20890 for aligned_alloc. (Summary of Malloc): Add summary for
20891 aligned alloc. Document __memalign_hook is also called
20894 2013-12-16 Will Newton <will.newton@linaro.org>
20896 * manual/memory.texi (Malloc Examples): Clarify default
20897 alignment documentation. Suggest posix_memalign rather
20898 than memalign or valloc.
20899 (Aligned Memory Blocks): Remove suggestion to use memalign
20900 or valloc. Remove obsolete comment about BSD.
20901 Document memalign errno values and mark the function obsolete.
20902 Document posix_memalign returned error codes. Mark valloc
20903 as obsolete. (Hooks for Malloc): __memalign_hook is also
20904 called for posix_memalign and valloc.
20905 (Summary of Malloc): Add posix_memalign to function summary.
20906 __memalign_hook is also called for posix_memalign and valloc.
20908 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20910 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20914 (sloww): Use mynumber union. Expand ternary operator into
20915 if-else statements.
20916 (cslow): use mynumber union.
20918 2013-12-16 Allan McRae <allan@archlinux.org>
20920 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20921 * configure: Regenerated.
20923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20926 * configure.ac: Added --enable-maintainer-mode. Check for
20927 autoconf when enabled.
20928 * configure: Regenerated.
20930 * nscd/nscd.service: New file.
20931 * nscd/nscd.tmpfiles: New file.
20933 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20936 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20937 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20938 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20939 (strstr): Add __strstr_sse2_unaligned ifunc.
20940 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20941 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20942 (strcasestr): Remove __strcasestr_sse42 ifunc.
20943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20947 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20949 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20950 * sysdeps/sh/bits/fenv.h: ... here.
20951 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20953 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20955 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20958 hypotf multiarch implementations.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20962 multiarch hypot for PPC64.
20963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20966 multiarch hypotf for PPC64.
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20969 modff multiarch implementations.
20970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20973 multiarch modf for PPC64.
20974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20977 multiarch modff for PPC64.
20979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20980 and logl multiarch implementations.
20981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20984 multiarch logb for PPC64.
20985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20988 multiarch logb for PPC64.
20989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20992 multiarch logb for PPC64.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20995 isinff multiarch implementation.
20996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21000 multiarch isinf for PPC64.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21004 multiarch isinff for PPC64.
21006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21007 finitef multiarch implementation.
21008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21012 multiarch finite for PPC64.
21013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21016 multiarch finitef for PPC64.
21018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21019 lrint multiarch implementation.
21020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21024 multiarch llrint for PPC64.
21025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21026 multiarch lrint for PPC64.
21028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21029 copysignf multiarch implementation.
21030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21035 multiarch copysign for PPC64.
21036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21037 multiarch copysignf for PPC64.
21039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21040 multiarch implementation.
21041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21049 multiarch llround for PPC64.
21050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21051 multiarch trunc for PPC64.
21052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21053 multiarch truncf for PPC64.
21055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21056 multiarch implementation.
21057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21065 multiarch llround for PPC64.
21066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21067 multiarch round for PPC64.
21068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21069 multiarch roundf for PPC64.
21071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21072 multiarch implementation.
21073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21081 multiarch llround for PPC64.
21082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21083 multiarch floor for PPC64.
21084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21085 multiarch floorf for PPC64.
21087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21088 multiarch implementation.
21089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21097 multiarch llround for PPC64.
21098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21099 multiarch ceil for PPC64.
21100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21101 multiarch ceilf for PPC64.
21103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21104 multiarch implementation.
21105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21112 multiarch llround for PPC64.
21113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21114 multiarch lround for PPC64.
21116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21117 multiarch implementation.
21118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21125 multiarch isnan for PPC64.
21126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21127 multiarch isnanf for PPC64.
21129 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21130 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21131 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21132 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21133 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21136 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21137 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21142 multiarch implementations.
21143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21144 (__libc_ifunc_impl_list): Likewise.
21145 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21148 multiarch stpcpy for PPC64.
21150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21151 multiarch implementations.
21152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21153 (__libc_ifunc_impl_list): Likewise.
21154 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21155 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21156 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21157 multiarch strcpy for PPC64.
21159 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21160 redefine function name.
21161 (_wordcopy_fwd_dest_aligned): Likewise.
21162 (_wordcopy_bwd_aligned): Likewise.
21163 (_wordcopy_bwd_dest_aligned): Likewise.
21164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21165 multiarch implementations.
21166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21167 (__libc_ifunc_impl_list): Likewise.
21168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21172 multiarch wcscpy for PPC64.
21174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21175 multiarch implementations.
21176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21177 (__libc_ifunc_impl_list): Likewise.
21178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21182 multiarch wcscpy for PPC64.
21184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21185 multiarch implementations.
21186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21187 (__libc_ifunc_impl_list): Likewise.
21188 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21192 multiarch wcsrchr for PPC64.
21194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21195 multiarch implementations.
21196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21197 (__libc_ifunc_impl_list): Likewise.
21198 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21201 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21202 multiarch wcschr for PPC64.
21204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21205 multiarch implementations.
21206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21207 (__libc_ifunc_impl_list): Likewise.
21208 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21209 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21211 multiarch strchrnul for PPC64.
21213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21216 (__libc_ifunc_impl_list): Likewise.
21217 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21218 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21219 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21220 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21226 (__libc_ifunc_impl_list): Likewise.
21227 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21228 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21229 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21230 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21234 multiarch implementations.
21235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21236 (__libc_ifunc_impl_list): Likewise.
21237 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21238 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21239 strncasecmp for PPC64.
21240 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21241 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21242 multiarch strncasecmp_l for PPC64.
21244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21245 multiarch implementations.
21246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21247 (__libc_ifunc_impl_list): Likewise.
21248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21250 multiarch strcasecmp for PPC64.
21251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21254 multiarch strcasecmp_l for PPC64.
21256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21259 (__libc_ifunc_impl_list): Likewise.
21260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21261 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21262 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21268 (__libc_ifunc_impl_list): Likewise.
21269 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21270 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21271 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21277 (__libc_ifunc_impl_list): Likewise.
21278 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21279 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21280 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21281 rawmemrchr for PPC64.
21283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21286 (__libc_ifunc_impl_list): Likewise.
21287 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21288 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21289 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21295 (__libc_ifunc_impl_list): Likewise.
21296 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21297 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21298 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21304 (__libc_ifunc_impl_list): Likewise.
21305 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21306 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21310 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21311 avoid cretion of __bzero symbol.
21312 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21314 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21316 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21319 multiarch implementations.
21320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21321 (__libc_ifunc_impl_list): Likewise.
21322 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21323 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21325 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21327 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21328 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21329 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21330 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21331 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21333 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21335 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21339 (__libc_ifunc_impl_list): Likewise.
21340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21341 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21342 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21343 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21347 multiarch for POWER/PPC64.
21348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21349 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21356 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21359 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21360 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21361 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21362 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21363 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21364 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21365 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21366 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21367 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21368 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21369 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21370 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21371 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21372 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21373 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21382 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21386 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21388 * benchtests/Makefile (bench): Add exp2 and log2.
21389 (LDLIBS-bench-exp2): Add -lm.
21390 (LDLIBS-bench-log2): Likewise.
21391 * benchtests/exp2-inputs: New inputs file.
21392 * benchtests/log2-inputs: New inputs file.
21393 * benchtests/log-inputs: Add new inputs.
21394 * benchtests/tan-inputs: Likewise.
21396 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21398 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21400 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21401 (csloww2): ... from here.
21403 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21404 instead of structures.
21405 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21406 (POLYNOMIAL): Likewise.
21407 (TAYLOR_SLOW): Likewise.
21413 (sloww1); Likewise.
21414 (sloww2): Likewise.
21415 (bsloww1): Likewise.
21416 (bsloww2): Likewise.
21417 (cslow2): Likewise.
21418 (csloww): Likewise.
21419 (csloww1): Likewise.
21420 (csloww2): Likewise.
21422 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21424 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21425 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21426 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21427 * malloc/hooks.c (realloc_check): Likewise.
21429 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21430 * malloc/arena.c: Remove PER_THREAD conditional.
21431 [!PER_THREAD]: Remove code.
21432 (ptmalloc_unlock_all2): Likewise.
21433 (ptmalloc_init): Likewise.
21434 (_int_new_arena): Likewise.
21435 (arena_get2): Likewise.
21436 * malloc/hooks.c (__malloc_get_state): Likewise.
21437 (__malloc_set_state): Likewise.
21438 * malloc/malloc.c: Likewise.
21439 (struct malloc_state): Likewise.
21440 (struct malloc_par): Likewise.
21441 (__libc_realloc): Likewise.
21442 (__libc_mallopt): Likewise.
21444 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21446 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21448 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21450 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21451 macro to a function. Check for zero perturb_byte.
21452 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21454 * malloc/malloc.c: (force_reg): Remove.
21455 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21456 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21457 force_reg by atomic_forced_read.
21458 * malloc/arena.c (ptmalloc_init): Likewise.
21459 * malloc/hooks.c (top_check): Likewise.
21461 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21465 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21469 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21471 * math/auto-libm-test-in: Add tests of lgamma.
21472 * math/auto-libm-test-out: Regenerated.
21473 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21474 (M_LOG_2_SQRT_PIl): Likewise.
21475 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21476 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21478 (func_calc_desc): Add mpfr_f_f1 union field.
21479 (ARGS1): New macro.
21487 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21488 (test_functions): Add lgamma.
21489 (calc_generic_results): Handle mpfr_f_f1.
21490 * sysdeps/i386/fpu/libm-test-ulps: Update.
21491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21495 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21496 __mpn_add_n for PowerPC64/POWER7.
21497 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21498 __mpn_sub_n for PowerPC64/POWER7.
21500 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21501 __mpn_addmul_1 for PowerPC64.
21502 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21503 __mpn_submul_1 for PowerPC64.
21504 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21506 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21509 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21512 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21514 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21516 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21518 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21519 add multiarch folders.
21520 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21521 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21522 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21523 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21524 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21525 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21526 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21527 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21528 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21529 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21530 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21539 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21545 multiarch __ieee754_hypot for PowerPC32.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21551 multiarch __ieee754_hypotf for PowerPC32.
21553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21554 long_double_symbol only if __logbl is defined.
21555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21556 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21558 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21560 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21561 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21562 path for implementation.
21563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21566 logb, and logbl multiarch implementations for PowerPC32.
21567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21572 multiarch logb for PowerPC32.
21573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21578 multiarch logbf for PowerPC32.
21579 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21583 multiarch logbl implementation for PowerPC32.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21586 and modff multiarch implementations.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21592 multiarch modf for PowerPC32.
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21598 multiarch modff for PowerPC32.
21600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21601 and lrintf multiarch implementations.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21607 multiarch lrint for PowerPC32.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21609 file: multiarch lrintf for PowerPC32.
21611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21612 and lroundf multiarch implementations.
21613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21620 multiarch lround for PowerPC32.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21622 file: multiarch lroundf for PowerPC32.
21624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21625 copysign and copysignf multiarch implementations.
21626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21631 file: multiarch copysign for PowerPC32.
21632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21633 file: multiarch copysignf for PowerPC32.
21635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21636 and truncf multiarch implementations.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21642 multiarch trunc for PowerPC32.
21643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21648 multiarch truncf for PowerPC32.
21650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21651 and roundf multiarch implementations.
21652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21657 multiarch round for PowerPC32.
21658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21663 multiarch roundf for PowerPC32.
21665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21666 and floorf multiarch implementations.
21667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21672 multiarch floor for PowerPC32.
21673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21678 multiarch floorf for PowerPC32.
21680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21681 and ceilf multiarch implementations.
21682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21687 multiarch ceil for PowerPC32.
21688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21693 multiarch ceilf for PowerPC32.
21695 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21697 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21698 FINITEF is defined.
21699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21700 and finitef multiarch implementations.
21701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21706 multiarch finite for PowerPC32.
21707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21710 file: multiarch finitef for PowerPC32.
21712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21713 and isinff multiarch implementations.
21714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21719 multiarch isinf for PowerPC32.
21720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21723 multiarch isinff for PowerPC32.
21725 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21726 alias when __isnan is defined.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21728 and isnanf multiarch implementations.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21738 multiarch isnan for PowerPC32.
21739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21744 multiarch isnanf for PowerPC32.
21746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21747 and sqrtf multiarch implementations.
21748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21753 multiarch sqrt for PowerPC32.
21754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21759 multiarch sqrtf for PowerPC32.
21761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21762 and llroundf multiarch implementations.
21763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21770 file: multiarch llround for PowerPC32.
21771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21772 file: multiarch llroundf for PowerPC32.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21775 multiarch PowerPC32 fpu implementations.
21776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21781 multiarch llrint for PowerPC32.
21782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21798 multiarch wordcopy for PPC32.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21802 (__libc_ifunc_impl_list): Likewise.
21803 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21804 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21806 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21808 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21810 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21818 multiarch wcscpy for PPC32.
21819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21822 (__libc_ifunc_impl_list): Likewise.
21823 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21824 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21825 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21826 sysdeps/powerpc/power6/wcscpy.c.
21828 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21836 multiarch wcsrchr for PPC32.
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21840 (__libc_ifunc_impl_list): Likewise.
21841 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21842 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21843 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21844 sysdeps/powerpc/power6/wcsrchr.c.
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21852 multiarch wcschr for PPc32.
21853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21856 (__libc_ifunc_impl_list): Likewise.
21857 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21858 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21859 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21860 sysdeps/powerpc/power6/wcschr.c.
21862 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21866 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21867 file: multiarch strchr for PPC32.
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21871 (__libc_ifunc_impl_list): Likewise.
21873 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21875 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21877 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21880 multiarch strchrnul for PPC32.
21881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21884 (__libc_ifunc_impl_list): Likewise.
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21889 multiarch strncasecmp for PPC32.
21890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21893 multiarch strncasecmp_l for PPC32.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21895 strncasecmp multiarch objects.
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21897 (__libc_ifunc_impl_list): Likewise.
21899 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21902 multiarch strncasecmp for PPC32.
21903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21906 multiarch strcasecmp_l for PPC32.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21910 (__libc_ifunc_impl_list): Likewise.
21912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21917 multiarch strncmp for PPC32.
21918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21921 (__libc_ifunc_impl_list): Likewise.
21923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21924 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21926 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21927 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21931 (__libc_ifunc_impl_list): Likewise.
21933 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21941 (__libc_ifunc_impl_list): Likewise.
21943 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21948 multiarch rawmemchr for PPC32.
21949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21952 (__libc_ifunc_impl_list): Likewise.
21954 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21959 file: memrchr multiarch for PPC32.
21960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21963 (__libc_ifunc_impl_list): Likewise.
21965 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21966 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21969 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21970 multiarch memchr for PPC32.
21971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21974 (__libc_ifunc_impl_list): Likewise.
21976 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21977 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21982 file: multiarch mempcpy for PPC32.
21983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21986 (__libc_ifunc_impl_list): Likewise.
21988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21992 multiarch bzero for PPC32.
21993 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21995 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21998 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21999 file: multiarch memset for PPC32.
22000 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22002 memset multiarch objects.
22003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22004 (__libc_ifunc_impl_list): Likewise.
22006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22015 (__libc_ifunc_impl_list): Likewise.
22017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22026 multiarch memcpy for PPC32.
22027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22030 (__libc_ifunc_impl_list): Likewise.
22032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22033 support multiarch for POWER/PPC32.
22034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22036 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22038 Implies file to make multiarch folder appers before the fpu and
22039 default folder for power4 configuration.
22041 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22043 * scripts/bench.pl: Append volatile keyword to type.
22045 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22047 * sysdeps/sh/sotruss-lib.c: New file.
22048 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22050 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22054 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22057 * math/w_tgamma.c: Include <errno.h>.
22058 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22059 * math/w_tgammaf.c: Include <errno.h>.
22060 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22061 * math/w_tgammal.c: Include <errno.h>.
22062 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22063 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22064 underflow. Add more tgamma tests.
22065 * math/auto-libm-test-out: Regenerated.
22066 * sysdeps/i386/fpu/libm-test-ulps: Update.
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22070 sin, sinh, tan, tanh, tgamma, y0 and y1.
22071 * math/auto-libm-test-out: Regenerated.
22072 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22073 (TEST_COND_x86): Likewise.
22074 (M_E2l): Remove macro.
22076 (M_2_SQRT_PIl): Likewise.
22077 (M_SQRT_PIl): Likewise.
22078 (M_1_DIV_El): Likewise.
22079 (log_test_data): Use AUTO_TESTS_f_f.
22080 (log10_test_data): Likewise.
22081 (log1p_test_data): Likewise.
22082 (log2_test_data): Likewise.
22083 (sin_test_data): Likewise.
22084 (sin_tonearest_test_data): Likewise.
22085 (sin_towardzero_test_data): Likewise.
22086 (sin_downward_test_data): Likewise.
22087 (sin_upward_test_data): Likewise.
22088 (sinh_test_data): Likewise.
22089 (sinh_tonearest_test_data): Likewise.
22090 (sinh_towardzero_test_data): Likewise.
22091 (sinh_downward_test_data): Likewise.
22092 (sinh_upward_test_data): Likewise.
22093 (tan_test_data): Likewise.
22094 (tan_tonearest_test_data): Likewise.
22095 (tan_towardzero_test_data): Likewise.
22096 (tan_downward_test_data): Likewise.
22097 (tan_upward_test_data): Likewise.
22098 (tanh_test_data): Likewise.
22099 (tgamma_test_data): Likewise.
22100 (y0_test_data): Likewise.
22101 (y1_test_data): Likewise.
22102 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22103 (special_real_inputs): Add pi/4.
22104 * sysdeps/i386/fpu/libm-test-ulps: Update.
22105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22107 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22109 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22110 "longjmp_target" static probes.
22111 (__longjmp): Rename to __longjmp_symbol.
22112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22113 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22114 on which longjmp to generate.
22115 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22118 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22119 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22120 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22121 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22122 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22123 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22125 __longjmp_symbol based on which __longjmp to generate.
22126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22128 (setjmp): Rename to setjmp_symbol.
22129 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22130 (_setjmp): Rename to _setjmp_symbol.
22131 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22132 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22133 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22134 which setjmp to generate.
22135 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22136 "longjmp_target" static probes.
22138 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22140 * benchtests/README: Add note about output arguments.
22141 * benchtests/bench-sincos.c: Remove file.
22142 * benchtests/sincos-inputs: New file.
22143 * scripts/bench.pl: Identify output arguments and define
22144 static variables for them.
22146 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22149 * Makefile (INSTALL): Add install-plain.texi as the primary
22151 * manual/install-plain.texi: New file.
22152 * manual/install.texi: Include node directive only for
22153 non-plaintext output.
22155 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22157 * stdlib/longlong.h: Update from GCC.
22161 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22162 * math/w_j0f.c (y0f): Likewise.
22163 * math/w_j0l.c (__y0l): Likewise.
22164 * math/w_j1.c (y1): Likewise.
22165 * math/w_j1f.c (y1f): Likewise.
22166 * math/w_j1l.c (__y1l): Likewise
22167 * math/w_jn.c (yn): Likewise.
22168 * math/w_jnf.c (ynf): Likewise.
22169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22170 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22171 value for Bessel function domain errors outside _SVID_ mode.
22172 Adjust sign of return value for yn (negative integer, 0).
22173 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22174 by zero in return for negative x and set sign appropriately for
22176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22178 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22179 expectations in error cases.
22180 (y1_test_data): Likewise.
22181 (yn_test_data): Likewise.
22182 * sysdeps/i386/fpu/libm-test-ulps: Update.
22183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22185 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22187 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22188 "64" to "64-v1". Add "64-v2".
22189 (abi-64-options): Rename to ...
22190 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22191 (abi-64-condition): Rename to ...
22192 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22193 (abi-64-ld-soname): Rename to ...
22194 (abi-64-v1-ld-soname): ... this.
22195 (abi-64-v2-options): Define.
22196 (abi-64-v2-condition): Likewise.
22197 (abi-64-v2-ld-soname): Likewise.
22198 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22199 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22204 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22205 Alan Modra <amodra@gmail.com>
22207 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22208 New versions for use with the ELFv2 ABI.
22209 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22210 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22212 (struct La_ppc64v2_retval): Likewise.
22213 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22214 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22215 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22216 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22217 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22218 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22219 Do not save or restore CR.
22220 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22221 (_dl_profile_resolve): Do no save or restore CR. Support extended
22222 return values for ELFv2 ABI. Fix location of FPR return registers.
22223 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22224 updated values for _CALL_ELF == 2.
22225 (La_regs, La_retval, int_retval): Likewise.
22227 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22229 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22230 (FRAME_MIN_SIZE_PARM): Likewise.
22231 (FRAME_BACKCHAIN): Likewise.
22232 (FRAME_CR_SAVE): Likewise.
22233 (FRAME_LR_SAVE): Likewise.
22234 (FRAME_TOC_SAVE): Likewise.
22235 (FRAME_PARM_SAVE): Likewise.
22236 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22237 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22238 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22239 (call_mcount_parm_offset): New macro.
22240 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22241 (PROF): Use symbolic stack frame offsets.
22242 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22244 Redefine in terms of FRAME_MIN_SIZE.
22245 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22246 (_dl_profile_resolve): Likewise. Update comment.
22247 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22248 symbols stack frame offsets.
22249 (__sigsetjmp): Likewise.
22250 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22251 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22252 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22253 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22256 (FRAME_BACKCHAIN): Remove.
22257 (FRAME_CR_SAVE): Likewise.
22258 (FRAME_LR_SAVE): Likewise.
22259 (FRAME_COMPILER_DW): Likewise.
22260 (FRAME_LINKER_DW): Likewise.
22261 (FRAME_TOC_SAVE): Likewise.
22262 (FRAME_PARM_SAVE): Likewise.
22263 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22264 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22265 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22267 (CHECK_SP): Use symbolic stack frame offsets.
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22269 zone" instead of caller's parameter save area for temp storage.
22270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22271 Likewise. Also, use symbolic stack frame offsets.
22272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22273 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22274 our own stack frame instead of the caller's.
22275 (__socket): Use symbolic stack frame offsets.
22277 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22278 Alan Modra <amodra@gmail.com>
22280 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22282 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22283 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22284 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22286 (elf_machine_fixup_plt): Call it.
22287 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22289 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22291 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22292 r2 before calling target.
22294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22295 Alan Modra <amodra@gmail.com>
22297 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22298 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22299 versions of macros to support ELFv2 ABI.
22300 (LOCALENTRY): New macro.
22301 (ENTRY, EALIGN): Use it.
22302 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22303 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22304 fall through into ENTRY entry point.
22305 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22306 Only define if _CALL_ELF != 2.
22308 (elf_machine_matches_host): Verify ABI version matches.
22309 (RTLD_START): Use LOCALENTRY.
22310 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22311 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22312 (PLT_ENTRY_WORDS): New macro.
22313 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22314 (elf_machine_runtime_setup): Support ELFv2 ABI.
22315 (elf_machine_fixup_plt): Likewise.
22316 (elf_machine_plt_conflict): Likewise.
22317 (resolve_ifunc): Likewise.
22318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22322 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22324 (makecontext): Support ELFv2 ABI.
22325 * elf/elf.h (EF_PPC64_ABI): Define.
22327 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22329 * sysdeps/powerpc/powerpc64/sysdep.h
22330 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22331 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22332 (ENTRY) [ASSEMBLER]: ... but instead here ...
22333 (EALIGN) [ASSEMBLER]: ... and here.
22334 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22335 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22336 (ENTRY_2) [!ASSEMBLER]: Use it.
22337 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22338 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22339 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22340 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22341 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22343 Use PPC64_LOAD_FUNCPTR.
22345 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22347 2013-12-04 Alan Modra <amodra@gmail.com>
22349 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22350 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22351 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22352 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22355 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22356 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22357 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22358 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22359 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22361 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22364 (__makecontext): Fix incorrect CFI when backtracing out of
22365 context created via makecontext.
22366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22367 (__setcontext): Fix incorrect CFI during switch to new context.
22368 (__novec_setcontext): Likewise.
22370 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22373 * time/strptime_l.c (__strptime_internal): Allow modifiers
22375 * time/tst-strptime.c (day_tests): Add testcase.
22377 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22379 * scripts/bench.pl: Skip over blank lines.
22381 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22384 * manual/time.texi (Calendar Time): Clarify what timezone functions
22387 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22391 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22393 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22395 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22396 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22397 * debug/memset_chk.c (__memset_chk): Likewise.
22398 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22399 * debug/strncpy_chk.c: Likewise.
22401 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22405 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22406 (__ieee754_exp): For possibly underflowing results, check size of
22407 result and force underflow exception if required.
22408 * math/auto-libm-test-in: Add more tests of exp.
22409 * math/auto-libm-test-out: Regenerated.
22410 * sysdeps/i386/fpu/libm-test-ulps: Update.
22411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22414 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22415 * math/w_exp2f.c (__exp2f): Likewise.
22416 * math/w_exp2l.c (__exp2l): Likewise.
22417 * math/auto-libm-test-in: Do not allow missing errno on exp2
22419 * math/auto-libm-test-out: Regenerated.
22421 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22424 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22425 handle filename validation.
22426 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22429 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22432 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22433 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22434 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22436 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22437 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22438 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22440 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22443 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22444 Add more erfc tests.
22445 * math/auto-libm-test-out: Regenerated.
22446 * sysdeps/i386/fpu/libm-test-ulps: Update.
22447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22449 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22450 exp2, expm1, j0 and j1.
22451 * math/auto-libm-test-out: Regenerated.
22452 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22453 (erfc_test_data): Likewise.
22454 (exp_test_data): Likewise.
22455 (exp_tonearest_test_data): Likewise.
22456 (exp_towardzero_test_data): Likewise.
22457 (exp_downward_test_data): Likewise.
22458 (exp_upward_test_data): Likewise.
22459 (exp10_test_data): Likewise.
22460 (exp2_test_data): Likewise.
22461 (expm1_test_data): Likewise.
22462 (j0_test_data): Likewise.
22463 (j1_test_data): Likewise.
22464 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22465 (input_flag_type): Add flag_xfail_rounding.
22466 (input_flags): Add xfail-rounding.
22467 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22468 (output_for_one_input_case): Handle flag_xfail_rounding.
22469 * sysdeps/i386/fpu/libm-test-ulps: Update.
22470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22472 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22475 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22478 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22482 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22483 (STAP_PROBE0): New macro.
22484 (STAP_PROBE1): Likewise.
22485 (STAP_PROBE2): Likewise.
22486 (STAP_PROBE3): Likewise.
22487 (STAP_PROBE4): Likewise.
22489 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22491 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22493 2013-12-02 Steve Ellcey <sellcey@mips.com>
22495 * benchtests/Makefile (bench): Add sqrt.
22496 (LDLIBS-bench-sqrt): New.
22497 * benchtests/sqrt-input: New.
22499 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22501 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22502 (GAIH_EAI): Likewise.
22503 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22504 (gaih_inet): Likewise.
22505 (getaddrinfo): Don't use GAIH_EAI.
22507 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22508 (struct gaih): Remove definition.
22510 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22512 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22513 Use HERRNOP directly.
22515 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22519 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22521 * math/gen-auto-libm-tests.c (test_functions): Add more
22522 single-argument functions.
22523 (special_fill_pi_2): New function.
22524 (special_fill_minus_pi_2): Likewise.
22525 (special_fill_pi_6): Likewise.
22526 (special_fill_minus_pi_6): Likewise.
22527 (special_fill_pi_3): Likewise.
22528 (special_fill_2pi_3): Likewise.
22529 (special_fill_e): Likewise.
22530 (special_fill_1_e): Likewise.
22531 (special_fill_e_minus_1): Likewise.
22532 (special_real_inputs): Add more special inputs.
22533 (output_for_one_input_case): Do not require ERANGE on underflow to
22534 zero if round-to-nearest result does not underflow to zero, unless
22535 exact results required.
22536 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22537 atan, atanh, cbrt, cos and cosh.
22538 * math/auto-libm-test-out: Regenerated.
22539 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22540 (acos_tonearest_test_data): Likewise.
22541 (acos_towardzero_test_data): Likewise.
22542 (acos_downward_test_data): Likewise.
22543 (acos_upward_test_data): Likewise.
22544 (acosh_test_data): Likewise.
22545 (asin_test_data): Likewise.
22546 (asin_tonearest_test_data): Likewise.
22547 (asin_towardzero_test_data): Likewise.
22548 (asin_upward_test_data): Likewise.
22549 (asinh_test_data): Likewise.
22550 (atan_test_data): Likewise.
22551 (atanh_test_data): Likewise.
22552 (cbrt_test_data): Likewise.
22553 (cos_test_data): Likewise.
22554 (cos_tonearest_test_data): Likewise.
22555 (cos_towardzero_test_data): Likewise.
22556 (cos_downward_test_data): Likewise.
22557 (cos_upward_test_data): Likewise.
22558 (cosh_test_data): Likewise.
22559 (cosh_tonearest_test_data): Likewise.
22560 (cosh_towardzero_test_data): Likewise.
22561 (cosh_downward_test_data): Likewise.
22562 (cosh_upward_test_data): Likewise.
22563 * sysdeps/i386/fpu/libm-test-ulps: Update.
22564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22566 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22569 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22570 * math/w_exp10f.c (__exp10f): Likewise.
22571 * math/w_exp10l.c (__exp10l): Likewise.
22572 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22573 errno settings in existing tests.
22576 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22577 precision control set to double precision.
22578 * sysdeps/i386/fpu/w_sqrt.c: New file.
22579 * math/auto-libm-test-in: Add more tests.
22580 * math/auto-libm-test-out: Update.
22582 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22583 (sqrt_test_tonearest): New function.
22584 (sqrt_towardzero_test_data): New variable.
22585 (sqrt_test_towardzero): New function.
22586 (sqrt_downward_test_data): New variable.
22587 (sqrt_test_downward): New function.
22588 (sqrt_upward_test_data): New variable.
22589 (sqrt_test_upward): New function.
22590 (main): Call the new functions.
22592 * math/gen-auto-libm-tests.c: New file.
22593 * math/auto-libm-test-in: Likewise.
22594 * math/auto-libm-test-out: New generated file.
22595 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22597 (%beautify): Add generated representations of zero.
22598 (top level): Set $auto_input and call parse_auto_input.
22599 (beautify): Remove trailing "f" from hex float constants.
22600 (parse_args): Handle XFAIL_TEST.
22601 (convert_condition): New function.
22602 (or_value): Likewise.
22603 (or_cond_value): Likewise.
22604 (generate_testfile): Handle AUTO_TESTS_* lines.
22605 (parse_auto_input): New function.
22606 * math/libm-test.inc (XFAIL_TEST): New macro.
22607 (ERRNO_UNCHANGED): Update value.
22608 (ERRNO_EDOM): Likewise.
22609 (ERRNO_ERANGE): Likewise.
22610 (IGNORE_RESULT): Likewise.
22611 (TEST_COND_flt_32): New macro.
22612 (TEST_COND_dbl_64): Likewise.
22613 (TEST_COND_ldbl_96_intel): Likewise.
22614 (TEST_COND_ldbl_96_m68k): Likewise.
22615 (TEST_COND_ldbl_128): Likewise.
22616 (TEST_COND_ldbl_128ibm): Likewise.
22617 (TEST_COND_long32): Likewise.
22618 (TEST_COND_long64): Likewise.
22619 (TEST_COND_before_rounding): Likewise.
22620 (TEST_COND_after_rounding): Likewise.
22621 (enable_test): Handle XFAIL_TEST flag.
22622 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22623 with finite results.
22624 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22625 auto-libm-test-out.
22627 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22628 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22631 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22632 __tls_get_addr_internal instead of __tls_get_offset in order to
22633 avoid GOT pointer dependency. Make rtld export
22634 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22635 __tls_get_addr since we are a __tls_get_offset platform.
22636 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22637 GOT pointer being set up before.
22638 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22640 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22642 * manual/math.texi (Errors in Math Functions): Document accuracy
22646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22647 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22663 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22664 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22665 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22666 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22667 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22669 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22673 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22674 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22675 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22676 atomic-feupdateenv and flt-rounds.
22677 * sysdeps/powerpc/nofpu/Versions (libc): Add
22678 __atomic_feholdexcept, __atomic_feclearexcept,
22679 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22680 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22681 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22682 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22683 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22688 * manual/arith.texi (FP Exceptions): Document that exceptions may
22689 not be raised when matherr is used.
22690 (Math Error Reporting): Document overflow in directed rounding
22691 modes. Document that errno may not be set when finite values are
22692 returned on overflow. Document intent to set errno on underflow
22693 only for underflow to zero.
22696 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22697 round-to-nearest then adjust result for other rounding modes.
22698 * include/fenv.h (fegetround): Use libm_hidden_proto.
22699 * math/fegetround.c (fegetround): Use libm_hidden_def.
22700 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22701 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22702 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22705 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22706 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22707 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22708 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22710 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * nss/Versions (libnss_files): Add
22714 _nss_files_gethostbyname3_r.
22715 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22717 (HOST_DB_LOOKUP): Remove macro.
22718 (_nss_files_gethostbyname_r): Implement function without the
22719 HOST_DB_LOOKUP macro.
22720 (_nss_files_gethostbyname2_r): Likewise.
22722 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22724 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22726 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22728 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22729 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22732 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22735 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22736 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22737 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22738 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22739 __fe_nomask_env_priv and attribute_hidden.
22740 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22741 (libc_feupdateenv_test_ppc): Likewise.
22742 (libc_feresetround_ppc): Likewise.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22744 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22745 compat_symbol macro.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22747 (__fe_nomask_env): Likewise.
22748 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22750 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22752 * string/Makefile: Remove ifunc tests.
22753 * string/test-string.h: Define TEST_IFUNC.
22754 * string/test-bcopy-ifunc.c: Remove.
22755 * string/test-bzero-ifunc.c: Likewise.
22756 * string/test-memccpy-ifunc.c: Likewise.
22757 * string/test-memchr-ifunc.c: Likewise.
22758 * string/test-memcmp-ifunc.c: Likewise.
22759 * string/test-memcpy-ifunc.c: Likewise.
22760 * string/test-memmem-ifunc.c: Likewise.
22761 * string/test-memmove-ifunc.c: Likewise.
22762 * string/test-mempcpy-ifunc.c: Likewise.
22763 * string/test-memrchr-ifunc.c: Likewise.
22764 * string/test-memset-ifunc.c: Likewise.
22765 * string/test-rawmemchr-ifunc.c: Likewise.
22766 * string/test-stpcpy-ifunc.c: Likewise.
22767 * string/test-stpncpy-ifunc.c: Likewise.
22768 * string/test-strcasecmp-ifunc.c: Likewise.
22769 * string/test-strcasestr-ifunc.c: Likewise.
22770 * string/test-strcat-ifunc.c: Likewise.
22771 * string/test-strchr-ifunc.c: Likewise.
22772 * string/test-strchrnul-ifunc.c: Likewise.
22773 * string/test-strcmp-ifunc.c: Likewise.
22774 * string/test-strcpy-ifunc.c: Likewise.
22775 * string/test-strcspn-ifunc.c: Likewise.
22776 * string/test-strlen-ifunc.c: Likewise.
22777 * string/test-strncasecmp-ifunc.c: Likewise.
22778 * string/test-strncat-ifunc.c: Likewise.
22779 * string/test-strncmp-ifunc.c: Likewise.
22780 * string/test-strncpy-ifunc.c: Likewise.
22781 * string/test-strnlen-ifunc.c: Likewise.
22782 * string/test-strpbrk-ifunc.c: Likewise.
22783 * string/test-strrchr-ifunc.c: Likewise.
22784 * string/test-strspn-ifunc.c: Likewise.
22785 * string/test-strstr-ifunc.c: Likewise.
22787 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22789 * benchtests/Makefile: Remove ifunc tests.
22790 * benchtests/bench-string.h: Define TEST_IFUNC.
22791 * benchtests/bench-bcopy-ifunc.c: Remove.
22792 * benchtests/bench-bzero-ifunc.c: Likewise.
22793 * benchtests/bench-memccpy-ifunc.c: Likewise.
22794 * benchtests/bench-memchr-ifunc.c: Likewise.
22795 * benchtests/bench-memcmp-ifunc.c: Likewise.
22796 * benchtests/bench-memcpy-ifunc.c: Likewise.
22797 * benchtests/bench-memmem-ifunc.c: Likewise.
22798 * benchtests/bench-memmove-ifunc.c: Likewise.
22799 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22800 * benchtests/bench-memrchr-ifunc.c: Likewise.
22801 * benchtests/bench-memset-ifunc.c: Likewise.
22802 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22803 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22804 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22805 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22806 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22807 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22808 * benchtests/bench-strcat-ifunc.c: Likewise.
22809 * benchtests/bench-strchr-ifunc.c: Likewise.
22810 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22811 * benchtests/bench-strcmp-ifunc.c: Likewise.
22812 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22813 * benchtests/bench-strcpy-ifunc.c: Likewise.
22814 * benchtests/bench-strcspn-ifunc.c: Likewise.
22815 * benchtests/bench-strlen-ifunc.c: Likewise.
22816 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22817 * benchtests/bench-strncat-ifunc.c: Likewise.
22818 * benchtests/bench-strncmp-ifunc.c: Likewise.
22819 * benchtests/bench-strncpy-ifunc.c: Likewise.
22820 * benchtests/bench-strnlen-ifunc.c: Likewise.
22821 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22822 * benchtests/bench-strrchr-ifunc.c: Likewise.
22823 * benchtests/bench-strsep-ifunc.c: Likewise.
22824 * benchtests/bench-strspn-ifunc.c: Likewise.
22825 * benchtests/bench-strstr-ifunc.c: Likewise.
22827 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22829 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22831 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22833 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22834 * rt/aio.h: Likewise.
22835 * sysdeps/gnu/bits/utmp.h: Likewise.
22836 * sysdeps/gnu/bits/utmpx.h: Likewise.
22837 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22838 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22839 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22840 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22841 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22842 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22843 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22844 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22845 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22846 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22847 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22848 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22849 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22851 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22852 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22853 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22854 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22855 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22856 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22857 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22858 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22859 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22860 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22861 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22863 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22864 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22865 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22866 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22867 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22868 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22869 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22870 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22871 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22872 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22873 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22875 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22876 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22877 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22878 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22880 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22883 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22884 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22886 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22888 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22892 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22895 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22896 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22897 (__fesetround): Remove define.
22898 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22899 rounding and exceptions handling.
22900 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22901 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22902 (__fe_nomask_env): Likewise.
22903 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22904 __fegetround instead of fegetround.
22905 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22906 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22908 2013-11-21 Roland McGrath <roland@hack.frob.com>
22910 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22913 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22915 2013-11-21 Meador Inge <meadori@codesourcery.com>
22918 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22919 (encrypt_r): Likewise.
22920 * malloc/obstack.h (obstack_free): Likewise.
22921 * posix/unistd.h (encrypt): Likewise.
22923 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22925 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22926 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22927 DL_CALL_DT_FINI() that call the functions directly.
22928 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22929 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22930 * elf/dl-fini.c: Likewise.
22932 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22934 * malloc/hooks.c (memalign_check): Add alignment rounding.
22935 * malloc/malloc.c (_mid_memalign): New function.
22936 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22937 Implement by calling _mid_memalign.
22938 * manual/probes.texi (Memory Allocation Probes): Remove
22939 memory_valloc_retry and memory_pvalloc_retry.
22941 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22943 * locale/programs/locarchive.c (open_archive): Add const
22944 qualifier to ARCHIVEFNAME and copy default fname to
22948 * libio/tst-widetext.input: Rename Oriya to Odia.
22949 * locale/iso-639.def: Likewise.
22951 * manual/probes.texi (Mathematical Function Probes): Add
22952 documentation for sin, cos, asin and acos probes.
22953 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22954 (__sin32): Add slowasin probe.
22955 (__cos32): Add slowacos probe.
22956 (__mpsin): Add slowsin probe.
22957 (__mpcos): Add slowcos probe.
22959 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22962 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22963 thread-local __sim_exceptions_thread and global
22964 __sim_exceptions_global.
22965 (__sim_disabled_exceptions): Change to thread-local
22966 __sim_disabled_exceptions_thread and global
22967 __sim_disabled_exceptions_global.
22968 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22969 and global __sim_round_mode_global.
22970 (__simulate_exceptions): Use thread-local floating-point state and
22971 set global state from it as needed.
22972 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22973 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22974 __sim_round_mode_thread.
22975 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22976 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22977 and global __sim_exceptions_global.
22978 (__sim_disabled_exceptions): Change to thread-local
22979 __sim_disabled_exceptions_thread and global
22980 __sim_disabled_exceptions_global.
22981 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22982 and global __sim_round_mode_global.
22983 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22984 (SIM_SET_GLOBAL): Likewise.
22985 * sysdeps/powerpc/soft-fp/sfp-machine.h
22986 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22987 __sim_round_mode_thread.
22988 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22989 __sim_disabled_exceptions_thread.
22990 (__sim_exceptions): Change to __sim_exceptions_thread.
22991 (__sim_disabled_exceptions): Change to
22992 __sim_disabled_exceptions_thread.
22993 (__sim_round_mode): Change to __sim_round_mode_thread.
22994 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22995 thread-local floating-point state and set global state from it as
22997 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22998 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22999 (__sim_disabled_exceptions): Remove extern declaration.
23000 (feenableexcept): Use thread-local floating-point state and set
23001 global state from it as needed.
23002 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23003 extern declaration.
23004 (__sim_disabled_exceptions): Likewise.
23005 (__sim_round_mode): Likewise.
23006 (__fegetenv): Use thread-local floating-point state.
23007 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23008 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23009 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23010 floating-point state and set global state from it as needed.
23011 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23012 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23013 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23015 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23016 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23018 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23019 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23020 Use __sim_round_mode_thread.
23021 * math/test-fenv-tls.c: New file.
23022 * math/Makefile (tests): Add test-fenv-tls.
23023 ($(objpfx)test-fenv-tls): Depend on
23024 $(common-objpfx)nptl/libpthread.so.
23026 2013-11-19 Andreas Schwab <schwab@suse.de>
23028 * locale/programs/locale.c (show_info): Decode wordarray elements.
23029 * locale/categories.def (LC_MONETARY): Add element for
23030 _NL_MONETARY_CRNCYSTR.
23031 * locale/C-monetary.c (conversion_rate): New variable.
23032 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23035 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23037 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23038 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23040 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23042 * elf/Makefile (tst-auxv): New test.
23043 * elf/tst-auxv.c: New
23044 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23046 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23048 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23049 (hidden_proto): Caller changed.
23050 (hidden_tls_proto): New macro.
23051 (libc_hidden_tls_proto): Likewise.
23052 (rtld_hidden_tls_proto): Likewise.
23053 (libm_hidden_tls_proto): Likewise.
23054 (libresolv_hidden_tls_proto): Likewise.
23055 (librt_hidden_tls_proto): Likewise.
23056 (libdl_hidden_tls_proto): Likewise.
23057 (libnss_files_hidden_tls_proto): Likewise.
23058 (libnsl_hidden_tls_proto): Likewise.
23059 (libnss_nisplus_hidden_tls_proto): Likewise.
23060 (libutil_hidden_tls_proto): Likewise.
23062 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23065 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23066 (decompose_rpath): Defer expansion to fillin_rpath.
23067 (_dl_init_paths): Pass linkmap to fillin_rpath.
23069 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23071 * benchtests/Makefile: Add strsep.
23072 * benchtests/bench-strsep.c: New file: strsep benchtest.
23073 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23075 2013-11-18 Andreas Schwab <schwab@suse.de>
23077 * locale/programs/locale.c (show_info) [case byte]: Check for
23078 '\377' instead of '\177'.
23079 * locale/C-monetary.c (not_available): Always use "\377".
23080 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23081 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23082 detect unavailable sign_posn locale elements.
23083 * locale/localeconv.c (__localeconv): For grouping and
23084 mon_grouping handle "\177" and "\377" like no grouping.
23085 (INT_ELEM): New macro. Use it to set all numeric members.
23086 * locale/programs/ld-monetary.c (monetary_read)
23087 <tok_mon_grouping>: Normalize single -1 to the empty string.
23088 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23091 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23095 when we match (nil).
23096 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23098 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23100 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23101 (NO_TEST_INLINE): Update value.
23102 (ERRNO_UNCHANGED): Likewise.
23103 (ERRNO_EDOM): Likewise.
23104 (ERRNO_ERANGE): Likewise.
23105 (IGNORE_RESULT): Likewise.
23106 (check_float_internal): Check signs of NaN results if
23107 TEST_NAN_SIGN used.
23108 (check_complex): Pass TEST_NAN_SIGN flag through to second
23109 check_float_internal call.
23110 (copysign_test_data): Add tests with quiet NaNs as second
23111 argument. Use TEST_NAN_SIGN.
23112 (fabs_test_data): Add test of negative quiet NaN argument. Use
23114 (signbit_test_data): Add tests of quiet NaN argument.
23115 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23117 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23119 (parse_args): Handle function results specified as IGNORE.
23120 * math/libm-test.inc (IGNORE_RESULT): New macro.
23121 (check_float_internal): Do not check numerical result if flag
23123 (check_complex): Pass through IGNORE_RESULT to second
23124 check_float_internal call.
23125 (check_int): Do not check numerical result if flag IGNORE_RESULT
23127 (check_long): Likewise.
23128 (check_bool): Likewise.
23129 (check_longlong): Likewise.
23130 (lrint_test_data): Add tests of infinite and NaN arguments.
23131 (lrint_tonearest_test_data): Likewise.
23132 (lrint_towardzero_test_data): Likewise.
23133 (lrint_downward_test_data): Likewise.
23134 (lrint_upward_test_data): Likewise.
23135 (llrint_test_data): Likewise.
23136 (llrint_tonearest_test_data): Likewise.
23137 (llrint_towardzero_test_data): Likewise.
23138 (llrint_downward_test_data): Likewise.
23139 (llrint_upward_test_data): Likewise.
23140 (lround_test_data): Likewise.
23141 (llround_test_data): Likewise.
23143 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23144 (ERRNO_UNCHANGED): Update value.
23145 (ERRNO_EDOM): Likewise.
23146 (ERRNO_ERANGE): Likewise.
23147 (NO_TEST_INLINE_FLOAT): New macro.
23148 (NO_TEST_INLINE_DOUBLE): Likewise.
23149 (enable_test): New function.
23150 (RUN_TEST_f_f): Check enable_test before running test.
23151 (RUN_TEST_2_f): Likewise.
23152 (RUN_TEST_fff_f): Likewise.
23153 (RUN_TEST_c_f): Likewise.
23154 (RUN_TEST_f_f1): Likewise.
23155 (RUN_TEST_fF_f1): Likewise.
23156 (RUN_TEST_fI_f1): Likewise.
23157 (RUN_TEST_ffI_f1): Likewise.
23158 (RUN_TEST_c_c): Likewise.
23159 (RUN_TEST_cc_c): Likewise.
23160 (RUN_TEST_f_i): Likewise.
23161 (RUN_TEST_f_i_tg): Likewise.
23162 (RUN_TEST_ff_i_tg): Likewise.
23163 (RUN_TEST_f_b): Likewise.
23164 (RUN_TEST_f_b_tg): Likewise.
23165 (RUN_TEST_f_l): Likewise.
23166 (RUN_TEST_f_L): Likewise.
23167 (RUN_TEST_fFF_11): Likewise.
23168 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23170 (cosh_test_data): Likewise.
23171 (exp_test_data): Likewise.
23172 (expm1_test_data): Likewise.
23173 (hypot_test_data): Likewise.
23174 (pow_test_data): Likewise.
23175 (sinh_test_data): Likewise.
23176 (tanh_test_data): Likewise.
23177 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23180 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23181 tests with quiet NaN input and output.
23182 (acosh_test_data): Likewise.
23183 (asin_test_data): Likewise.
23184 (asinh_test_data): Likewise.
23185 (atan_test_data): Likewise.
23186 (atanh_test_data): Likewise.
23187 (atan2_test_data): Likewise.
23188 (cbrt_test_data): Likewise.
23189 (cos_test_data): Likewise.
23190 (cosh_test_data): Likewise.
23191 (erf_test_data): Likewise.
23192 (erfc_test_data): Likewise.
23193 (exp_test_data): Likewise.
23194 (exp10_test_data): Likewise.
23195 (exp2_test_data): Likewise.
23196 (expm1_test_data): Likewise.
23197 (hypot_test_data): Likewise.
23198 (j0_test_data): Likewise.
23199 (j1_test_data): Likewise.
23200 (jn_test_data): Likewise.
23201 (lgamma_test_data): Likewise.
23202 (log_test_data): Likewise.
23203 (log10_test_data): Likewise.
23204 (log1p_test_data): Likewise.
23205 (log2_test_data): Likewise.
23206 (pow_test_data): Likewise.
23207 (scalb_test_data): Likewise.
23208 (sin_test_data): Likewise.
23209 (sincos_test_data): Likewise.
23210 (sinh_test_data): Likewise.
23211 (tan_test_data): Likewise.
23212 (tanh_test_data): Likewise.
23213 (tgamma_test_data): Likewise.
23214 (y0_test_data): Likewise.
23215 (y1_test_data): Likewise.
23216 (yn_test_data): Likewise.
23219 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23220 argument being NaN and avoid computations with second argument in
23222 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23223 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23224 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23226 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23228 * locale/iso-639.def: Add Chitwani Tharu (the).
23230 2013-11-14 Andreas Schwab <schwab@suse.de>
23232 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23233 word instead of empty string.
23235 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23238 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23240 (__fe_nomask_env): Likewise.
23242 2013-11-13 Steve Ellcey <sellcey@mips.com>
23244 * benchtests/bench-timing.h: Include time.h.
23246 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23249 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23251 * sysdeps/unix/sysv/linux/configure: Regenerated.
23253 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23256 * stdlib/strtod_l.c (round_and_return): Do not consider
23257 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23258 exponent one less than half the least subnormal exponent.
23259 * stdlib/test-strtod-round-data: Add more tests.
23260 * stdlib/tst-strtod-round.c (tests): Regenerated.
23262 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23265 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23266 (__fe_mask_env): Likewise.
23267 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23268 libm_hidden_proto and add function prototype.
23269 (__fe_mask_env): Add function prototype.
23270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23271 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23273 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23275 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23277 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23280 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23282 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23284 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23285 of htab_find_slot().
23287 2013-11-11 David S. Miller <davem@davemloft.net>
23290 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23291 symbol in the non-vis3 case in static builds.
23292 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23293 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23295 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23297 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23300 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23303 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23305 * benchtests/Makefile: Add bench-strtod.
23306 * benchtests/bench-strtod.c: New file: strtod benchtest
23308 2013-11-11 Andreas Schwab <schwab@suse.de>
23311 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23312 terminating NUL in key length.
23314 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23317 Add artificial ODP entry for vDSO symbol for PPC64.
23318 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23319 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23321 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23324 * nss/getent.c (services_keys): Recognize services starting with digit.
23326 2013-11-06 David S. Miller <davem@davemloft.net>
23329 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23330 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23332 2013-11-06 Will Newton <will.newton@linaro.org>
23334 * manual/memory.texi (Malloc Examples): Remove register
23335 keyword from examples.
23337 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23339 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23341 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23344 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23345 depending on [__GCC_IEC_559 > 0].
23346 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23347 depending on [__GCC_IEC_559_COMPLEX > 0].
23349 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23351 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23354 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23356 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23358 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23361 * malloc/malloc (malloc_info): Do not handle first bin as
23364 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23366 * locale/iso-639.def: Add Central Nahuatl (nhn).
23368 2013-11-01 Bruno Haible <bruno@clisp.org>
23371 * manual/math.texi (BSD Random): Specify range upper bound as
23374 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23376 * locale/iso-639.def: Add Meadow Mari (mhr).
23378 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23380 [BZ #14752], [BZ #15763]
23381 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23383 * rt/tst_shm.c: Add test for escaping directory.
23385 2013-10-31 Andreas Schwab <schwab@suse.de>
23388 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23389 followed by 'x' as part of digit sequence.
23390 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23392 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23395 * configure.ac: allow GNU Make 4.0 and greater.
23396 * configure: Regenerated.
23398 2013-10-30 Will Newton <will.newton@linaro.org>
23401 * malloc/hooks.c (memalign_check): Limit alignment to the
23402 maximum representable power of two.
23403 * malloc/malloc.c (__libc_memalign): Likewise.
23404 * malloc/tst-memalign.c (do_test): Add test for very
23405 large alignment values.
23406 * malloc/tst-posix_memalign.c (do_test): Likewise.
23408 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23411 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23412 (munmap_chunk): Likewise.
23413 (mremap_chunk): Likewise.
23415 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23418 * stdlib/div.c (div): Remove obsolete code.
23419 * stdlib/ldiv.c (ldiv): Likewise.
23420 * stdlib/lldiv.c (lldiv): Likewise.
23422 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23425 * nss/nss_files/files-XXX.c (get_contents_ret): New
23427 (get_contents): New function.
23428 (internal_getent): Use it. Expand size of LINEBUFLEN.
23430 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23432 * configure.in: Moved to ...
23433 * configure.ac: ... here. Change reference to configure.in
23435 * sysdeps/arm/preconfigure.ac: ... here.
23436 configure.in to configure.ac.
23437 * sysdeps/gnu/configure.in: Moved to ...
23438 * sysdeps/gnu/configure.ac: ... here.
23439 * sysdeps/i386/configure.in: Moved to ...
23440 * sysdeps/i386/configure.ac: ... here.
23441 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23442 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23443 * sysdeps/mach/configure.in: Moved to ...
23444 * sysdeps/mach/configure.ac: ... here.
23445 * sysdeps/mach/hurd/configure.in: Moved to ...
23446 * sysdeps/mach/hurd/configure.ac: ... here.
23447 * sysdeps/powerpc/configure.in: Moved to ...
23448 * sysdeps/powerpc/configure.ac: ... here.
23449 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23450 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23451 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23452 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23453 * sysdeps/s390/s390-32/configure.in: Moved to ...
23454 * sysdeps/s390/s390-32/configure.ac: ... here.
23455 * sysdeps/s390/s390-64/configure.in: Moved to ...
23456 * sysdeps/s390/s390-64/configure.ac: ... here.
23457 * sysdeps/sh/configure.in: Moved to ...
23458 * sysdeps/sh/configure.ac: ... here.
23459 * sysdeps/sparc/configure.in: Moved to ...
23460 * sysdeps/sparc/configure.ac: ... here.
23461 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23462 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23463 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23464 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23465 * sysdeps/x86_64/configure.in: Moved to ...
23466 * sysdeps/x86_64/configure.ac: ... here.
23467 * sysdeps/x86_64/preconfigure.in: Moved to ...
23468 * sysdeps/x86_64/preconfigure.ac: ... here.
23469 * aclocal.m4: Change reference to configure.in to configure.ac.
23470 * config.h.in: Likewise.
23471 * manual/install.texi: Likewise.
23472 * manual/maint.texi: Likewise.
23473 * Makefile: Likewise.
23474 * malloc/Makefile: Likewise.
23475 * nscd/Makefile: Likewise.
23476 * Makeconfig: Change reference to configure.in and
23477 preconfigure.in to configure.ac and preconfigure.ac
23479 * INSTALL: Regenerated.
23480 * configure: Likewise.
23481 * sysdeps/gnu/configure: Likewise.
23482 * sysdeps/i386/configure: Likewise.
23483 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23484 * sysdeps/mach/configure: Likewise.
23485 * sysdeps/mach/hurd/configure: Likewise.
23486 * sysdeps/powerpc/configure: Likewise.
23487 * sysdeps/powerpc/powerpc32/configure: Likewise.
23488 * sysdeps/powerpc/powerpc64/configure: Likewise.
23489 * sysdeps/s390/s390-32/configure: Likewise.
23490 * sysdeps/s390/s390-64/configure: Likewise.
23491 * sysdeps/sh/configure: Likewise.
23492 * sysdeps/sparc/configure: Likewise.
23493 * sysdeps/unix/sysv/linux/configure: Likewise.
23494 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23495 * sysdeps/x86_64/configure: Likewise.
23496 * sysdeps/x86_64/preconfigure: Likewise.
23498 2013-10-29 Andreas Schwab <schwab@suse.de>
23500 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23502 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23504 * benchtests/pow-inputs: Add new inputs.
23506 * benchtests/exp-inputs: Add new inputs.
23508 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23509 conditional check for return value.
23510 (__cos32): Likewise.
23512 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23514 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23515 to provide a boost for large inputs with word alignment.
23516 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23517 implementation based on optimized PPC64 strcpy.
23518 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23519 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23520 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23521 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23523 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23526 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23528 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23531 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23532 * time/tst-strptime.c (day_tests): Add testcase.
23534 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23537 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23539 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23542 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23543 MAP_FAILED on error.
23545 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23548 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23549 heap for large requests.
23551 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23554 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23555 result if the result has no associated interface.
23556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23557 interface for all 127.X.Y.Z addresses.
23559 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23561 * locale/iso-639.def: Add Ligurian (lij)
23563 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23566 * sunrpc/rpc_main.c: Document rpcgen -5.
23568 2013-10-19 Michael Stahl <mstahl@redhat.com>
23570 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23572 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23575 * posix/glob.c: Match only directories when trailing slash is present.
23576 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23577 (main): Add testcase.
23579 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23582 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23584 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23586 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23587 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23588 AUTH_DES and cindex for FIPS 140-2.
23589 (DES Encryption): Add cindex FIPS 46-3.
23591 * locale/locarchive.h (struct locarhandle): Add fname.
23592 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23593 if an optional argument was specified to --list-archive,
23595 * locale/programs/locarchive.c (show_archive_content): Take new
23596 argument fname and pass it via ah.fname to open_archive.
23597 * locale/programs/localedef.h: Update decl.
23598 (open_archive): If AH->fname is non-null, open that file
23599 rather than the default file name, and don't ignore ENOENT.
23600 (create_archive): Set AH.fname to NULL.
23601 (delete_locales_from_archive): Likewise.
23602 (add_locales_to_archive): Likewise.
23603 * locale/programs/locfile.c (write_all_categories): Likewise.
23605 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23606 Aldy Hernandez <aldyh@redhat.com>
23608 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23609 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23610 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23611 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23612 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23616 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23618 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23619 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23620 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23621 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23622 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23624 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23630 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23631 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23634 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23635 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23636 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23638 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23639 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23640 * sysdeps/powerpc/preconfigure: Likewise.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23643 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23644 Replace contents of file by #include of <fenv_libc.h>.
23645 * sysdeps/powerpc/soft-fp/sfp-machine.h
23646 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23648 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23661 Allow copysignl PLT reference to be missing.
23663 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23664 Joseph Myers <joseph@codesourcery.com
23667 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23669 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23671 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23673 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23674 * elf/tst-tls1.c: Likewise.
23675 * elf/tst-tls10.h: Likewise.
23676 * elf/tst-tls14.c: Likewise.
23677 * elf/tst-tls2.c: Likewise.
23678 * elf/tst-tls3.c: Likewise.
23679 * elf/tst-tls4.c: Likewise.
23680 * elf/tst-tls5.c: Likewise.
23681 * elf/tst-tls6.c: Likewise.
23682 * elf/tst-tls7.c: Likewise.
23683 * elf/tst-tls8.c: Likewise.
23684 * elf/tst-tls9.c: Likewise.
23685 * elf/tst-tlsmod1.c: Likewise.
23686 * elf/tst-tlsmod13.c: Likewise.
23687 * elf/tst-tlsmod13a.c: Likewise.
23688 * elf/tst-tlsmod14a.c: Likewise.
23689 * elf/tst-tlsmod16a.c: Likewise.
23690 * elf/tst-tlsmod16b.c: Likewise.
23691 * elf/tst-tlsmod2.c: Likewise.
23692 * elf/tst-tlsmod3.c: Likewise.
23693 * elf/tst-tlsmod4.c: Likewise.
23694 * elf/tst-tlsmod5.c: Likewise.
23695 * elf/tst-tlsmod6.c: Likewise.
23697 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23700 * malloc/malloc.c: remove checks for statistics.
23702 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23705 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23706 * inet/tst-network.c: Add testcase.
23708 2013-10-17 Andreas Schwab <schwab@suse.de>
23711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23712 to determine canonical name.
23714 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23716 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23717 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23740 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23775 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23778 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23779 make result into a quiet NaN.
23781 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23783 * soft-fp/adddf3.c: Fix horizontal whitespace.
23784 * soft-fp/addsf3.c: Likewise.
23785 * soft-fp/addtf3.c: Likewise.
23786 * soft-fp/divdf3.c: Likewise.
23787 * soft-fp/divsf3.c: Likewise.
23788 * soft-fp/divtf3.c: Likewise.
23789 * soft-fp/double.h: Likewise.
23790 * soft-fp/eqdf2.c: Likewise.
23791 * soft-fp/eqsf2.c: Likewise.
23792 * soft-fp/eqtf2.c: Likewise.
23793 * soft-fp/extenddftf2.c: Likewise.
23794 * soft-fp/extended.h: Likewise.
23795 * soft-fp/extendsfdf2.c: Likewise.
23796 * soft-fp/extendsftf2.c: Likewise.
23797 * soft-fp/extendxftf2.c: Likewise.
23798 * soft-fp/fixdfdi.c: Likewise.
23799 * soft-fp/fixdfsi.c: Likewise.
23800 * soft-fp/fixdfti.c: Likewise.
23801 * soft-fp/fixsfdi.c: Likewise.
23802 * soft-fp/fixsfsi.c: Likewise.
23803 * soft-fp/fixsfti.c: Likewise.
23804 * soft-fp/fixtfdi.c: Likewise.
23805 * soft-fp/fixtfsi.c: Likewise.
23806 * soft-fp/fixtfti.c: Likewise.
23807 * soft-fp/fixunsdfdi.c: Likewise.
23808 * soft-fp/fixunsdfsi.c: Likewise.
23809 * soft-fp/fixunsdfti.c: Likewise.
23810 * soft-fp/fixunssfdi.c: Likewise.
23811 * soft-fp/fixunssfsi.c: Likewise.
23812 * soft-fp/fixunssfti.c: Likewise.
23813 * soft-fp/fixunstfdi.c: Likewise.
23814 * soft-fp/fixunstfsi.c: Likewise.
23815 * soft-fp/fixunstfti.c: Likewise.
23816 * soft-fp/floatdidf.c: Likewise.
23817 * soft-fp/floatdisf.c: Likewise.
23818 * soft-fp/floatditf.c: Likewise.
23819 * soft-fp/floatsidf.c: Likewise.
23820 * soft-fp/floatsisf.c: Likewise.
23821 * soft-fp/floatsitf.c: Likewise.
23822 * soft-fp/floattidf.c: Likewise.
23823 * soft-fp/floattisf.c: Likewise.
23824 * soft-fp/floattitf.c: Likewise.
23825 * soft-fp/floatundidf.c: Likewise.
23826 * soft-fp/floatundisf.c: Likewise.
23827 * soft-fp/floatunditf.c: Likewise.
23828 * soft-fp/floatunsidf.c: Likewise.
23829 * soft-fp/floatunsisf.c: Likewise.
23830 * soft-fp/floatunsitf.c: Likewise.
23831 * soft-fp/floatuntidf.c: Likewise.
23832 * soft-fp/floatuntisf.c: Likewise.
23833 * soft-fp/floatuntitf.c: Likewise.
23834 * soft-fp/fmadf4.c: Likewise.
23835 * soft-fp/fmasf4.c: Likewise.
23836 * soft-fp/fmatf4.c: Likewise.
23837 * soft-fp/gedf2.c: Likewise.
23838 * soft-fp/gesf2.c: Likewise.
23839 * soft-fp/getf2.c: Likewise.
23840 * soft-fp/ledf2.c: Likewise.
23841 * soft-fp/lesf2.c: Likewise.
23842 * soft-fp/letf2.c: Likewise.
23843 * soft-fp/muldf3.c: Likewise.
23844 * soft-fp/mulsf3.c: Likewise.
23845 * soft-fp/multf3.c: Likewise.
23846 * soft-fp/negdf2.c: Likewise.
23847 * soft-fp/negsf2.c: Likewise.
23848 * soft-fp/negtf2.c: Likewise.
23849 * soft-fp/op-1.h: Likewise.
23850 * soft-fp/op-2.h: Likewise.
23851 * soft-fp/op-4.h: Likewise.
23852 * soft-fp/op-8.h: Likewise.
23853 * soft-fp/op-common.h: Likewise.
23854 * soft-fp/quad.h: Likewise.
23855 * soft-fp/single.h: Likewise.
23856 * soft-fp/soft-fp.h: Likewise.
23857 * soft-fp/sqrtdf2.c: Likewise.
23858 * soft-fp/sqrtsf2.c: Likewise.
23859 * soft-fp/sqrttf2.c: Likewise.
23860 * soft-fp/subdf3.c: Likewise.
23861 * soft-fp/subsf3.c: Likewise.
23862 * soft-fp/subtf3.c: Likewise.
23863 * soft-fp/truncdfsf2.c: Likewise.
23864 * soft-fp/trunctfdf2.c: Likewise.
23865 * soft-fp/trunctfsf2.c: Likewise.
23866 * soft-fp/trunctfxf2.c: Likewise.
23867 * soft-fp/unorddf2.c: Likewise.
23868 * soft-fp/unordsf2.c: Likewise.
23869 * soft-fp/unordtf2.c: Likewise.
23871 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23873 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23874 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23876 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23878 * elf/dl-libc.c: Clear initfini list after freeing.
23880 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23882 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23883 * soft-fp/addsf3.c: Likewise.
23884 * soft-fp/addtf3.c: Likewise.
23885 * soft-fp/divdf3.c: Likewise.
23886 * soft-fp/divsf3.c: Likewise.
23887 * soft-fp/divtf3.c: Likewise.
23888 * soft-fp/double.h: Likewise.
23889 * soft-fp/eqdf2.c: Likewise.
23890 * soft-fp/eqsf2.c: Likewise.
23891 * soft-fp/eqtf2.c: Likewise.
23892 * soft-fp/extenddftf2.c: Likewise.
23893 * soft-fp/extended.h: Likewise.
23894 * soft-fp/extendsfdf2.c: Likewise.
23895 * soft-fp/extendsftf2.c: Likewise.
23896 * soft-fp/extendxftf2.c: Likewise.
23897 * soft-fp/fixdfdi.c: Likewise.
23898 * soft-fp/fixdfsi.c: Likewise.
23899 * soft-fp/fixdfti.c: Likewise.
23900 * soft-fp/fixsfdi.c: Likewise.
23901 * soft-fp/fixsfsi.c: Likewise.
23902 * soft-fp/fixsfti.c: Likewise.
23903 * soft-fp/fixtfdi.c: Likewise.
23904 * soft-fp/fixtfsi.c: Likewise.
23905 * soft-fp/fixtfti.c: Likewise.
23906 * soft-fp/fixunsdfdi.c: Likewise.
23907 * soft-fp/fixunsdfsi.c: Likewise.
23908 * soft-fp/fixunsdfti.c: Likewise.
23909 * soft-fp/fixunssfdi.c: Likewise.
23910 * soft-fp/fixunssfsi.c: Likewise.
23911 * soft-fp/fixunssfti.c: Likewise.
23912 * soft-fp/fixunstfdi.c: Likewise.
23913 * soft-fp/fixunstfsi.c: Likewise.
23914 * soft-fp/fixunstfti.c: Likewise.
23915 * soft-fp/floatdidf.c: Likewise.
23916 * soft-fp/floatdisf.c: Likewise.
23917 * soft-fp/floatditf.c: Likewise.
23918 * soft-fp/floatsidf.c: Likewise.
23919 * soft-fp/floatsisf.c: Likewise.
23920 * soft-fp/floatsitf.c: Likewise.
23921 * soft-fp/floattidf.c: Likewise.
23922 * soft-fp/floattisf.c: Likewise.
23923 * soft-fp/floattitf.c: Likewise.
23924 * soft-fp/floatundidf.c: Likewise.
23925 * soft-fp/floatundisf.c: Likewise.
23926 * soft-fp/floatunsidf.c: Likewise.
23927 * soft-fp/floatunsisf.c: Likewise.
23928 * soft-fp/floatuntidf.c: Likewise.
23929 * soft-fp/floatuntisf.c: Likewise.
23930 * soft-fp/floatuntitf.c: Likewise.
23931 * soft-fp/fmadf4.c: Likewise.
23932 * soft-fp/fmasf4.c: Likewise.
23933 * soft-fp/fmatf4.c: Likewise.
23934 * soft-fp/gedf2.c: Likewise.
23935 * soft-fp/gesf2.c: Likewise.
23936 * soft-fp/getf2.c: Likewise.
23937 * soft-fp/ledf2.c: Likewise.
23938 * soft-fp/lesf2.c: Likewise.
23939 * soft-fp/letf2.c: Likewise.
23940 * soft-fp/muldf3.c: Likewise.
23941 * soft-fp/mulsf3.c: Likewise.
23942 * soft-fp/multf3.c: Likewise.
23943 * soft-fp/negdf2.c: Likewise.
23944 * soft-fp/negsf2.c: Likewise.
23945 * soft-fp/negtf2.c: Likewise.
23946 * soft-fp/op-1.h: Likewise.
23947 * soft-fp/op-2.h: Likewise.
23948 * soft-fp/op-4.h: Likewise.
23949 * soft-fp/op-8.h: Likewise.
23950 * soft-fp/op-common.h: Likewise.
23951 * soft-fp/quad.h: Likewise.
23952 * soft-fp/single.h: Likewise.
23953 * soft-fp/soft-fp.h: Likewise.
23954 * soft-fp/sqrtdf2.c: Likewise.
23955 * soft-fp/sqrtsf2.c: Likewise.
23956 * soft-fp/sqrttf2.c: Likewise.
23957 * soft-fp/subdf3.c: Likewise.
23958 * soft-fp/subsf3.c: Likewise.
23959 * soft-fp/subtf3.c: Likewise.
23960 * soft-fp/truncdfsf2.c: Likewise.
23961 * soft-fp/trunctfdf2.c: Likewise.
23962 * soft-fp/trunctfsf2.c: Likewise.
23963 * soft-fp/trunctfxf2.c: Likewise.
23964 * soft-fp/unorddf2.c: Likewise.
23965 * soft-fp/unordsf2.c: Likewise.
23966 * soft-fp/unordtf2.c: Likewise.
23968 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23971 * misc/error.c (error_tail): Fix possible buffer overflow.
23973 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23976 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23979 2013-10-14 P. J. McDermott <pj@pehjota.net>
23982 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23983 testing pipefail option.
23985 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23987 * soft-fp/double.h: Indent preprocessor directives inside #if.
23988 * soft-fp/extended.h: Likewise.
23989 * soft-fp/op-2.h: Likewise.
23990 * soft-fp/op-4.h: Likewise.
23991 * soft-fp/op-common.h: Likewise.
23992 * soft-fp/quad.h: Likewise.
23993 * soft-fp/single.h: Likewise.
23994 * soft-fp/soft-fp.h: Likewise.
23996 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23998 * iconv/iconv_prog.c: Fix typos.
23999 * stdio-common/psiginfo-data.h: Likewise.
24001 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24004 * locale/setlocale.c: Fix typo.
24006 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24009 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24010 signaling NaN arguments.
24011 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24012 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24015 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24016 unordered operands.
24017 * soft-fp/gesf2.c (__gesf2): Likewise.
24018 * soft-fp/getf2.c (__getf2): Likewise.
24019 * soft-fp/ledf2.c (__ledf2): Likewise.
24020 * soft-fp/lesf2.c (__lesf2): Likewise.
24021 * soft-fp/letf2.c (__letf2): Likewise.
24023 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24024 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24025 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24026 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24027 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24028 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24029 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24030 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24031 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24032 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24033 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24034 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24035 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24036 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24037 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24038 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24039 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24040 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24041 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24042 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24043 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24044 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24045 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24046 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24047 * soft-fp/floattidf.c (__floattidf): Likewise.
24048 * soft-fp/floattisf.c (__floattisf): Likewise.
24049 * soft-fp/floattitf.c (__floattitf): Likewise.
24050 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24051 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24052 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24053 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24054 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24055 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24056 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24057 * soft-fp/gesf2.c (__gesf2): Likewise.
24058 * soft-fp/getf2.c (__getf2): Likewise.
24059 * soft-fp/ledf2.c (__ledf2): Likewise.
24060 * soft-fp/lesf2.c (__lesf2): Likewise.
24061 * soft-fp/letf2.c (__letf2): Likewise.
24063 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24064 Undefine and redefine.
24065 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24066 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24067 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24068 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24069 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24070 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24071 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24072 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24073 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24074 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24075 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24076 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24077 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24078 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24079 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24082 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24083 without decrementing exponent if mantissa >= that for the
24084 denominator, not >.
24085 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24086 denominator, not >. Decrement exponent in < case instead of
24087 incrementing in >= case.
24088 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24089 without decrementing exponent if mantissa >= that for the
24090 denominator, not >.
24092 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24093 computing saturated result for unsigned overflow.
24095 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24096 Jeff Law <law@redhat.com>
24098 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24099 (atan2Mp): Add systemtap probe marker.
24100 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24101 (__ieee754_log): Add systemtap probe marker.
24102 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24103 (atanMp): Add systemtap probe marker.
24104 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24105 (tanMp): Add systemtap probe marker.
24106 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24107 (__slowexp): Add systemtap probe marker.
24108 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24109 (__slowpow): Add systemtap probe marker.
24110 * manual/probes.texi: Document probes.
24112 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24115 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24117 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24119 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24120 written to buffer but not flushed.
24121 * libio/iofwrite_u.c: Likewise.
24122 * libio/iopadn.c: Return bytes returned even if EOF was
24124 * libio/iowpadn.c: Likewise.
24125 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24126 if _IO_padn does not write the whole buffer.
24127 [!COMPILE_WPRINTF] (PAD): Likewise.
24129 2013-10-10 David S. Miller <davem@davemloft.net>
24131 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24134 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24136 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24137 instead of FSF address.
24138 * soft-fp/fixdfti.c: Likewise.
24139 * soft-fp/fixsfti.c: Likewise.
24140 * soft-fp/fixtfti.c: Likewise.
24141 * soft-fp/fixunsdfti.c: Likewise.
24142 * soft-fp/fixunssfti.c: Likewise.
24143 * soft-fp/fixunstfti.c: Likewise.
24144 * soft-fp/floattidf.c: Likewise.
24145 * soft-fp/floattisf.c: Likewise.
24146 * soft-fp/floattitf.c: Likewise.
24147 * soft-fp/floatuntidf.c: Likewise.
24148 * soft-fp/floatuntisf.c: Likewise.
24149 * soft-fp/floatuntitf.c: Likewise.
24150 * soft-fp/trunctfxf2.c: Likewise.
24152 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24153 * soft-fp/fixdfti.c: Likewise.
24154 * soft-fp/fixsfti.c: Likewise.
24155 * soft-fp/fixtfti.c: Likewise.
24156 * soft-fp/fixunsdfti.c: Likewise.
24157 * soft-fp/fixunssfti.c: Likewise.
24158 * soft-fp/fixunstfti.c: Likewise.
24159 * soft-fp/floattidf.c: Likewise.
24160 * soft-fp/floattisf.c: Likewise.
24161 * soft-fp/floattitf.c: Likewise.
24162 * soft-fp/floatuntidf.c: Likewise.
24163 * soft-fp/floatuntisf.c: Likewise.
24164 * soft-fp/floatuntitf.c: Likewise.
24165 * soft-fp/trunctfxf2.c: Likewise.
24167 2013-10-10 David S. Miller <davem@davemloft.net>
24169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24171 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24174 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24175 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24182 for NaNs before doing comparisons on argument.
24183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24186 2013-10-10 Will Newton <will.newton@linaro.org>
24188 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24189 passed to _int_memalign does not overflow.
24191 2013-10-10 Torvald Riegel <triegel@redhat.com>
24193 * scripts/bench.pl: Add include-sources directive.
24194 * benchtests/README: Update documentation.
24196 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24198 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24199 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24200 instead of FP_INIT_ROUNDMODE.
24201 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24202 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24205 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24206 copy class of input value.
24207 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24208 not handle exceptions.
24209 * soft-fp/negsf2.c (__negsf2): Likewise.
24210 * soft-fp/negtf2.c (__negtf2): Likewise.
24211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24213 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24215 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24216 semicolon. From Linux kernel.
24218 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24220 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24222 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24225 * manual/socket.texi: Added statement about buffer
24226 for gethostbyname2_r.
24228 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24230 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24231 Use .p2align directive instead, throughout.
24232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24237 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24238 * sysdeps/x86_64/strchr.S: Likewise.
24239 * sysdeps/x86_64/strrchr.S: Likewise.
24241 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24243 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24245 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24247 * sysdeps/generic/math_private.h (__mpsin1): Remove
24249 (__mpcos1): Likewise.
24250 (__mpsin): New argument __range_reduce.
24251 (__mpcos): Likewise.
24252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24253 (slow): Use __mpsin and __mpcos.
24257 (sloww1): Likewise.
24258 (sloww2): Likewise.
24259 (bsloww): Likewise.
24260 (bsloww1): Likewise.
24261 (bsloww2): Likewise.
24262 (cslow2): Likewise.
24263 (csloww): Likewise.
24264 (csloww1): Likewise.
24265 (csloww2): Likewise.
24266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24267 range_reduce. Merge in __mpsin1.
24268 (__mpcos): Likewise.
24269 (__mpsin1): Remove.
24270 (__mpcos1): Likewise.
24272 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24274 * locale/loadlocale.c (_nl_intern_locale_data): Use
24276 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24277 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24278 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24279 obstack data is appropriately aligned.
24280 (obstack_int32_grow_fast): Likewise.
24281 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24282 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24283 (add_locale_uint32_array): Likewise.
24285 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24287 * benchtests/Makefile: Remove ARGLIST and RET variables.
24288 ($(objpfx)bench-%.c): Pass only function name to the script.
24289 * benchtests/README: Update documentation.
24290 * benchtests/acos-inputs: Add new directives.
24291 * benchtests/acosh-inputs: Likewise.
24292 * benchtests/asin-inputs: Likewise.
24293 * benchtests/asinh-inputs: Likewise.
24294 * benchtests/atan-inputs: Likewise.
24295 * benchtests/atanh-inputs: Likewise.
24296 * benchtests/cos-inputs: Likewise.
24297 * benchtests/cosh-inputs: Likewise.
24298 * benchtests/exp-inputs: Likewise.
24299 * benchtests/log-inputs: Likewise.
24300 * benchtests/pow-inputs: Likewise.
24301 * benchtests/rint-inputs: Likewise.
24302 * benchtests/sin-inputs: Likewise.
24303 * benchtests/sinh-inputs: Likewise.
24304 * benchtests/tan-inputs: Likewise.
24305 * benchtests/tanh-inputs: Likewise.
24306 * scripts/bench.pl: Add support for new directives.
24308 2013-10-07 Alan Modra <amodra@gmail.com>
24310 * README: Fix careless merge.
24312 2013-10-05 Alan Modra <amodra@gmail.com>
24314 * NEWS: Mention powerpc64le support and bugs fixed.
24315 * README: Both big-endian and little-endian powerpc64 supported.
24317 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24319 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24320 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24321 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24322 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24324 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24326 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24329 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24331 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24332 Move -mhard-float appending from
24333 ports/sysdeps/powerpc/powerpc32/Makefile.
24334 [$(with-fp) = yes] (ASFLAGS): Likewise.
24335 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24336 * sysdeps/powerpc/nofpu: Move directory from
24337 ports/sysdeps/powerpc/nofpu.
24338 * sysdeps/powerpc/soft-fp: Move directory from
24339 ports/sysdeps/powerpc/soft-fp.
24340 * sysdeps/powerpc/powerpc32/405: Move directory from
24341 ports/sysdeps/powerpc/powerpc32/405.
24342 * sysdeps/powerpc/powerpc32/440: Move directory from
24343 ports/sysdeps/powerpc/powerpc32/440.
24344 * sysdeps/powerpc/powerpc32/464: Move directory from
24345 ports/sysdeps/powerpc/powerpc32/464.
24346 * sysdeps/powerpc/powerpc32/476: Move directory from
24347 ports/sysdeps/powerpc/powerpc32/476.
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24349 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24351 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24358 * README: Update for powerpc-*-linux-gnu software floating point
24361 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24362 case to powerpc/powerpc32*.
24363 * sysdeps/unix/sysv/linux/configure: Regenerated.
24365 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24366 (_FPU_MASK_OM): Define as 0x04.
24367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24375 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24378 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24382 and setcontext_e500.
24384 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24386 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24388 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24390 * manual/threads.texi (Default Thread Attributes): Fix typo.
24392 2013-10-04 Will Newton <will.newton@linaro.org>
24394 * malloc/Makefile: Add tst-memalign.
24395 * malloc/tst-memalign.c: New file.
24397 * malloc/tst-posix_memalign.c: Add comments.
24398 (do_test): Add comments and call free on all potentially
24399 allocated pointers. Add space after cast.
24401 * malloc/tst-pvalloc.c: Add comments.
24402 (do_test): Add comments and call free on all potentially
24403 allocated pointers. Remove duplicate check for NULL pointer.
24404 Add space after cast.
24406 * malloc/tst-valloc.c: Add comments.
24407 (do_test): Add comments and call free on all potentially
24408 allocated pointers. Remove duplicate check for NULL pointer.
24409 Add space after cast.
24411 2013-10-04 Alan Modra <amodra@gmail.com>
24413 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24414 Use stdint types in rather than __attribute__((mode())).
24415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24417 2013-10-04 Alan Modra <amodra@gmail.com>
24419 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24420 Correct handling of unaligned relocs for little-endian.
24421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24423 2013-10-04 Alan Modra <amodra@gmail.com>
24425 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24426 * configure: Regenerate.
24427 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24428 * shlib-versions: Likewise.
24430 2013-10-04 Alan Modra <amodra@gmail.com>
24432 * string/tester.c (test_memrchr): Increment reported test cycle.
24434 2013-10-04 Alan Modra <amodra@gmail.com>
24436 * string/test-memcpy.c (do_one_test): When reporting errors, print
24437 string address and don't overrun end of string.
24439 2013-10-04 Alan Modra <amodra@gmail.com>
24441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24442 insrdi. Make better use of reg selection to speed exit slightly.
24443 Schedule entry path a little better. Remove useless "are we done"
24444 checks on entry to main loop. Handle wrapping around zero address.
24445 Correct main loop count. Handle single left-over word from main
24446 loop inline rather than by using loop_small. Remove extra word
24447 case in loop_small caused by wrong loop count. Add little-endian
24449 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24454 support. Avoid rlwimi.
24455 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24457 2013-10-04 Alan Modra <amodra@gmail.com>
24459 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24460 insrdi. Formatting.
24461 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24462 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24463 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24464 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24465 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24466 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24468 2013-10-04 Alan Modra <amodra@gmail.com>
24470 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24471 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24473 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24474 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24475 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24477 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24479 use of regs. Use power7 mtocrf. Tidy function tails.
24481 2013-10-04 Alan Modra <amodra@gmail.com>
24483 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24484 Formatting. Consistently use rXXX register defines or rN defines.
24485 Use early exit labels that avoid restoring unused non-volatile regs.
24486 Make cr field use more consistent with rWORDn compares. Rename
24487 regs used as shift registers for unaligned loop, using rN defines
24488 for short lifetime/multiple use regs.
24489 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24491 addi 1,1,64 to pop stack frame. Simplify return value code.
24492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24494 2013-10-04 Alan Modra <amodra@gmail.com>
24496 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24497 support. Correct typos, formatting. Optimize tail. Use insrdi
24498 rather than rlwimi.
24499 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24501 little-endian support. Correct typos.
24502 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24503 rather than rlwimi.
24504 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24505 in loop and entry code to keep "and." results.
24506 (strchr): Add little-endian support. Comment. Move cntlzd
24508 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24510 2013-10-04 Alan Modra <amodra@gmail.com>
24512 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24513 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24514 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24515 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24517 2013-10-04 Alan Modra <amodra@gmail.com>
24519 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24520 (rTMP): Define as r11.
24521 (strcmp): Add little-endian support. Optimise tail.
24522 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24523 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24524 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24530 2013-10-04 Alan Modra <amodra@gmail.com>
24532 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24533 little-endian support. Remove unnecessary "are we done" tests.
24534 Handle "s" wrapping around zero and extremely large "size".
24535 Correct main loop count. Handle single left-over word from main
24536 loop inline rather than by using small_loop. Correct comments.
24537 Delete "zero" tail, use "end_max" instead.
24538 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24540 2013-10-04 Alan Modra <amodra@gmail.com>
24542 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24543 support. Don't branch over align.
24544 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24545 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24546 support. Rearrange tmp reg use to suit. Comment.
24547 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24549 2013-10-04 Alan Modra <amodra@gmail.com>
24551 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24553 2013-10-04 Alan Modra <amodra@gmail.com>
24555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24556 conditional form of branch and link when obtaining pc.
24557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24559 2013-10-04 Alan Modra <amodra@gmail.com>
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24566 2013-10-04 Alan Modra <amodra@gmail.com>
24568 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24569 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24570 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24571 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24572 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24573 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24574 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24575 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24577 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24579 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24580 Alistair Popple <alistair@ozlabs.au.ibm.com>
24581 Alan Modra <amodra@gmail.com>
24584 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24585 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24586 _dl_hwcap access for little-endian.
24587 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24588 destroy vmx regs when saving unaligned.
24589 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24591 destroy vmx regs when saving unaligned.
24593 2013-10-04 Alan Modra <amodra@gmail.com>
24595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24596 Don't use a union to pack hi/low value.
24598 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24600 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24602 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24604 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24605 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24606 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24608 2013-10-04 Alan Modra <amodra@gmail.com>
24610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24611 constants to usual value for .cst8 section, and remove redundant
24613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24614 constant for 0x1p52. Load little-endian words of double from
24615 correct stack offsets.
24617 2013-10-04 Alan Modra <amodra@gmail.com>
24619 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24620 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24621 words of double from correct stack offsets.
24622 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24623 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24629 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24630 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24634 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24635 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24636 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24638 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24640 2013-10-04 Alan Modra <amodra@gmail.com>
24642 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24643 64-bit int/double union.
24644 (_FPU_SETCW): Likewise.
24645 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24646 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24648 2013-10-04 Alan Modra <amodra@gmail.com>
24650 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24651 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24653 2013-10-04 Alan Modra <amodra@gmail.com>
24655 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24656 use vector int constants.
24657 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24659 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24661 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24662 array with long long.
24663 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24664 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24665 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24666 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24667 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24668 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24669 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24670 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24671 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24672 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24673 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24674 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24675 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24677 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24679 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24680 (__signbit): Likewise. Correct for little-endian.
24681 (__signbitl): Call __signbit.
24682 (lrint): Correct for little-endian.
24683 (lrintf): Call lrint.
24685 2013-10-04 Alan Modra <amodra@gmail.com>
24687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24688 union 32-bit int array member with 64-bit int array.
24689 (t515, tm256): Double rather than long double.
24690 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24692 2013-10-04 Alan Modra <amodra@gmail.com>
24694 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24696 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24698 version of math_ldbl.h.
24700 2013-10-04 Alan Modra <amodra@gmail.com>
24702 [BZ #15734], [BZ #15735]
24703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24704 all uses of ieee875 long double macros and unions. Simplify test
24705 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24706 ldbl_extract_mantissa value for ix,iy exponents. Properly
24707 normalize after ldbl_extract_mantissa, and don't add hidden bit
24708 already handled. Don't treat low word of ieee854 mantissa like
24709 low word of IBM long double and mask off bit when testing for
24711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24712 all uses of ieee875 long double macros and unions. Simplify tests
24713 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24714 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24715 two1022, instead use their values. Recognise that tests for large
24716 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24718 Rewrite all uses of ieee875 long double macros and unions. Simplify
24719 test for 0.0L and nan. Correct negation.
24720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24721 ieee875 long double macros and unions. Correct output for large
24722 magnitude x. Correct absolute value calculation.
24723 (__erfcl): Likewise.
24724 * math/libm-test.inc: Add tests for errors discovered in IBM long
24725 double versions of fmodl, remainderl, erfl and erfcl.
24727 2013-10-04 Alan Modra <amodra@gmail.com>
24729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24730 all uses of ieee854 long double macros and unions. Simplify tests
24731 for long doubles that are fully specified by the high double.
24732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24734 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24735 Remove dead code too.
24736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24737 (__ieee754_ynl): Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24741 Remove dead code too.
24742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24752 Comment on variable precision.
24753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24756 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24762 2013-10-04 Alan Modra <amodra@gmail.com>
24764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24766 all uses of ieee854 long double macros and unions.
24767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24780 Simplify sign and nan test too.
24781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24787 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24796 2013-10-04 Alan Modra <amodra@gmail.com>
24798 * stdio-common/printf_size.c (__printf_size): Don't use
24799 union ieee854_long_double in fpnum union.
24800 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24801 signbit macro to retrieve sign from long double.
24802 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24803 retrieve sign from long double.
24804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24805 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24806 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24807 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24808 * math/test-misc.c (main): Don't use union ieee854_long_double.
24810 2013-10-04 Alan Modra <amodra@gmail.com>
24813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24814 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24815 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24816 calculation. Remove unnecessary test for denormal exponent.
24817 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24818 Correct handling of denormals. Avoid undefined shift behaviour.
24819 Correct normalisation of low mantissa when low double is denormal.
24820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24821 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24822 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24823 Correct normalisation of low mantissa. Test for overflow of high
24824 mantissa and normalise.
24825 (ldbl_nearbyint): Use more readable constant for two52.
24826 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24827 (__mpn_construct_long_double): Fix test for overflow of high
24828 mantissa and correct normalisation. Avoid undefined shift.
24830 2013-10-04 Alan Modra <amodra@gmail.com>
24832 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24833 (union ibm_extended_long_double): Define as an array of ieee754_double.
24834 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24835 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24836 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24843 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24846 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24848 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24849 page size instead of calling getpagesize.
24851 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24852 (LOCFILE_ALIGN_MASK): Likewise.
24853 (LOCFILE_ALIGN_UP): Likewise.
24854 (LOCFILE_ALIGNED_P): Likewise.
24855 * locale/programs/ld-collate.c (collate_output): Use the new
24856 macros instead of __alignof__ (int32_t).
24857 * locale/weight.h (findidx): Likewise.
24859 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24862 * manual/string.texi: Fix strncat and wcsncat.
24864 2013-10-03 Brooks Moses <bmoses@google.com>
24867 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24868 * Makerules: ...here, and adjust associated comments.
24870 2013-10-02 Will Newton <will.newton@linaro.org>
24872 * malloc/Makefile: Add tst-pvalloc.
24873 * malloc/tst-pvalloc.c: New file.
24875 2013-10-02 Will Newton <will.newton@linaro.org>
24877 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24878 improve test coverage.
24880 2013-10-02 Will Newton <will.newton@linaro.org>
24882 * malloc/Makefile: Add tst-posix_memalign.
24883 * malloc/tst-posix_memalign.c: New file.
24885 2013-10-01 Eric Blake <eblake@redhat.com>
24887 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24888 Use __THROWNL rather than __THROW on static functions.
24890 2013-09-30 Petr Machata <pmachata@redhat.com>
24892 * elf/elf.h (R_AARCH64_ABS16): New macro.
24893 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24894 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24895 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24896 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24897 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24898 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24899 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24900 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24901 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24902 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24903 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24904 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24905 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24906 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24907 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24908 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24909 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24910 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24911 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24912 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24913 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24914 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24915 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24916 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24917 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24918 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24919 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24920 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24921 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24922 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24923 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24924 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24925 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24926 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24927 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24928 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24929 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24930 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24931 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24932 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24933 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24934 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24935 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24936 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24937 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24938 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24939 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24940 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24941 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24942 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24943 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24944 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24945 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24946 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24947 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24948 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24949 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24950 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24951 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24952 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24953 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24954 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24955 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24956 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24957 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24958 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24959 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24960 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24961 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24962 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24963 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24964 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24965 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24966 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24967 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24968 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24969 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24970 (R_AARCH64_TLSDESC_LDR): Likewise.
24971 (R_AARCH64_TLSDESC_ADD): Likewise.
24972 (R_AARCH64_TLSDESC_CALL): Likewise.
24974 2013-09-30 Andreas Schwab <schwab@suse.de>
24977 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24978 the nss database lookup.
24979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24982 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24984 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24986 2013-09-28 P. J. McDermott <pj@pehjota.net>
24988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24989 ${Bash-specific parameter/pattern/string} parameter expansion.
24990 * sysdeps/unix/make-syscalls.sh: Likewise.
24992 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24994 * sysdeps/sh/stackguard-macros.h: New file.
24996 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25000 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25003 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25005 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25007 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25008 Fix thread ID register.
25010 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25012 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25013 [POSIX || UNIX98]: Require rather than permitting all symbols from
25015 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25016 element of struct sched_param.
25017 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25018 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25019 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25020 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25023 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25025 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25026 argument calculation.
25028 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25030 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25032 [POSIX] (pthread_attr_t): Do not require type.
25033 [POSIX] (pthread_cond_t): Likewise.
25034 [POSIX] (pthread_condattr_t): Likewise.
25035 [POSIX] (pthread_key_t): Likewise.
25036 [POSIX] (pthread_mutex_t): Likewise.
25037 [POSIX] (pthread_mutexattr_t): Likewise.
25038 [POSIX] (pthread_once_t): Likewise.
25039 [POSIX] (pthread_t): Likewise.
25040 [POSIX-based standards] (pthread_atfork): Expect function.
25042 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25043 Richard Sandiford <richard@codesourcery.com>
25045 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25046 (swap_endianness_p): New extern variable.
25047 (set_big_endian): New inline function.
25048 (maybe_swap_uint32): Likewise.
25049 (maybe_swap_uint32_array): Likewise.
25050 (maybe_swap_uint32_obstack): Likewise.
25051 * locale/programs/locfile.c: Include <stdbool.h>.
25052 (swap_endianness_p): New variable.
25053 (add_locale_uint32): Call maybe_swap_uint32.
25054 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25055 (write_locale_data): Call maybe_swap_uint32_array.
25056 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25058 (obstack_int32_grow_fast): Likewise.
25059 (output_weightwc): Call maybe_swap_uint32_obstack.
25060 (collate_output): Likewise.
25061 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25062 (OPT_LITTLE_ENDIAN): Likewise.
25063 (options): Add --little-endian and --big-endian options.
25064 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25065 * locale/programs/locarchive.c: Include "locfile.h".
25069 (create_archive): Use the new macros to access fields of
25070 structures directly mapped from or written to locale archives.
25071 (oldlocrecentcmp): Likewise.
25072 (enlarge_archive): Likewise.
25073 (insert_name): Likewise.
25074 (add_alias): Likewise.
25075 (add_locale): Likewise.
25076 (delete_locales_from_archive): Likewise.
25077 (show_archive_content): Likewise.
25078 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25081 2013-09-24 Roland McGrath <roland@hack.frob.com>
25083 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25084 http://www.gnu.org/doc/freemanuals.texi.
25085 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25087 2013-09-24 Will Newton <will.newton@linaro.org>
25089 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25092 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25094 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25097 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25099 * manual/threads.texi (POSIX Threads): Fix a typo.
25101 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25104 * string/tst-strcoll-overflow.c: New test case.
25105 * string/Makefile (xtests): Add tst-strcoll-overflow.
25106 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25107 cache if string sizes may cause integer overflow.
25110 * string/strcoll_l.c (coll_seq): New members rule, idx,
25111 save_idx and back_us.
25112 (get_next_seq_nocache): New function.
25113 (do_compare_nocache): New function.
25114 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25117 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25120 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25121 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25122 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25125 * elf/Makefile (tests): Add tst-ptrguard1.
25126 (tests-static): Add tst-ptrguard1-static.
25127 (tst-ptrguard1-ARGS): Define.
25128 (tst-ptrguard1-static-ARGS): Define.
25129 * elf/tst-ptrguard1.c: New file.
25130 * elf/tst-ptrguard1-static.c: New file.
25131 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25132 * sysdeps/i386/stackguard-macros.h: Likewise.
25133 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25134 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25135 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25136 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25137 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25138 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25140 2013-09-23 Hector Marco <hecmargi@upv.es>
25141 Ismael Ripoll <iripoll@disca.upv.es>
25142 Carlos O'Donell <carlos@redhat.com>
25145 * sysdeps/generic/stackguard-macros.h: Define
25146 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25147 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25148 Define __pointer_chk_guard_local.
25149 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25150 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25152 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25155 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25157 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25159 * include/string.h (__ffs): Declare as hidden.
25160 * string/ffs.c (__ffs): Define as hidden.
25161 * sysdeps/i386/ffs.c (__ffs): Likewise.
25162 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25163 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25164 * sysdeps/s390/ffs.c (__ffs): Likewise.
25165 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25167 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25169 * NEWS: Mention malloc probes.
25171 * malloc/arena.c (new_heap): New memory_heap_new probe.
25172 (grow_heap): New memory_heap_more probe.
25173 (shrink_heap): New memory_heap_less probe.
25174 (heap_trim): New memory_heap_free probe.
25175 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25176 (systrim): New memory_sbrk_less probe.
25177 * manual/probes.texi: Document them.
25179 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25180 * manual/probes.texi: Document it.
25182 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25183 (__libc_realloc): Add memory_realloc_retry probe.
25184 (__libc_memalign): Add memory_memalign_retry probe.
25185 (__libc_valloc): Add memory_valloc_retry probe.
25186 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25187 (__libc_calloc): Add memory_calloc_retry probe.
25188 * manual/probes.texi: Document them.
25190 * malloc/arena.c (get_free_list): Add probe
25191 memory_arena_reuse_free_list.
25192 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25193 and memory_arena_reuse.
25194 (arena_get2) [!PER_THREAD]: Likewise.
25195 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25196 memory_arena_reuse_realloc.
25197 * manual/probes.texi: Document them.
25199 * malloc/malloc.c (__libc_free): Add
25200 memory_mallopt_free_dyn_thresholds probe.
25201 (__libc_mallopt): Add multiple memory_mallopt probes.
25202 * manual/probes.texi: Document them.
25204 * malloc/malloc.c: Include stap-probe.h.
25205 (__libc_mallopt): Add memory_mallopt probe.
25206 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25207 * manual/probes.texi: New.
25208 * manual/Makefile (chapters): Add probes.
25209 * manual/threads.texi: Set next node.
25211 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25213 [BZ #15963, #13985]
25214 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25215 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25216 Add `Chinese' to `nan' entry name.
25218 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25220 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25221 (POLYNOMIAL): Likewise.
25222 (TAYLOR_SINCOS): Likewise.
25223 (TAYLOR_SLOW): Likewise.
25224 (__sin): Use TAYLOR_SINCOS.
25226 (slow): Use TAYLOR_SLOW.
25228 (bsloww): Likewise.
25229 (csloww): Likewise.
25231 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25233 * stdlib/strtod_l.c: Fix buffer overrun.
25235 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25237 * benchtests/Makefile (bench): Add sincos.
25238 * benchtests/bench-sincos.c: New file.
25240 * math/libm-test.inc (cos_test_data): New test inputs.
25241 (sin_test_data): Likewise.
25243 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25249 (sloww1): Likewise.
25250 (sloww2): Likewise.
25251 (bsloww1): Likewise.
25252 (bsloww2): Likewise.
25253 (cslow2): Likewise.
25254 (csloww1): Likewise.
25255 (csloww2): Likewise.
25257 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25266 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25268 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25269 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25270 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25271 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25272 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25273 * elf/cache.c (print_entry): Handle the new cache flags.
25275 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25276 Aldy Hernandez <aldyh@redhat.com>
25278 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25279 Change condition to [_SOFT_FLOAT].
25280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25292 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25295 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25298 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25300 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25301 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25302 (__longjmp): Use LOAD_GP to load saved GPRs.
25303 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25304 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25305 (__sigsetjmp): Use SAVE_GP to save GPRs.
25307 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25308 Do not append -msoft-float.
25309 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25311 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25313 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25315 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25318 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25319 (_FPU_GETCW): Use initial "__" on variable and field names but not
25320 on macro parameter name.
25321 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25322 parentheses around reference to macro parameter.
25324 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25326 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25328 (ctype_startup): Use uint32_t in cast and sizeof for
25331 2013-09-11 Jia Liu <proljc@gmail.com>
25333 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25335 [__FreeBSD__]: Likewise.
25337 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25340 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25341 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25342 (strchr): Remove __strchr_sse42 ifunc selection.
25343 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25344 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25346 2013-09-11 Will Newton <will.newton@linaro.org>
25348 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25349 parameter to RES. Remove hardcoded 1000 value.
25350 * benchtests/bench-skeleton.c (main): Pass RES parameter
25351 to TIMING_INIT and multiply result by 1000.
25353 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25357 2013-09-11 Andreas Schwab <schwab@suse.de>
25359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25361 (O_TMPFILE) [__USE_GNU]: Define.
25362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25365 2013-09-11 Will Newton <will.newton@linaro.org>
25368 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25371 2013-09-11 Will Newton <will.newton@linaro.org>
25374 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25377 2013-09-11 Will Newton <will.newton@linaro.org>
25380 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25383 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25385 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25391 2013-09-10 Allan McRae <allan@archlinux.org>
25394 * manual/arith.texi (Parsing of Floats): Clarify
25398 * manual/install.texi (Running make install): Mention
25400 * INSTALL: Regenerated.
25402 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25404 * csu/init-first.c (_init): Remove the !SHARED condition around
25405 FPU control word initialization.
25406 * elf/dl-support.c (_dl_fpu_control): New variable.
25407 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25408 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25409 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25410 * math/test-fpucw-static.c: New file.
25411 * math/test-fpucw-ieee.c: New file.
25412 * math/test-fpucw-ieee-static.c: New file.
25413 * math/Makefile (tests): Add `test-fpucw-ieee' and
25415 (tests-static): New variable.
25416 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25418 [($(build-shared),yes)]
25419 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25421 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25424 2013-09-09 Allan McRae <allan@archlinux.org>
25427 * manual/string.texi (Collation Functions): Fix typo in
25429 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25432 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25435 * libio/memstream.c (open_memstream): Fix memory leak.
25436 * libio/wmemstream.c (open_wmemstream): Likewise.
25439 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25441 2013-09-09 Will Newton <will.newton@linaro.org>
25443 * malloc/Makefile: Add tst-realloc to tests.
25444 * malloc/tst-realloc.c: New file.
25446 2013-09-09 Allan McRae <allan@archlinux.org>
25449 * COPYING: Update from GNU website to fix FSF address.
25450 * COPYING.LIB: Likewise.
25452 2013-09-06 David S. Miller <davem@davemloft.net>
25454 * po/zh_TW.po: Update Chinese (traditional) translation from
25455 translation project.
25457 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25458 Joseph Myers <joseph@codesourcery.com>
25460 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25462 (obstack_chunk_alloc): New macro.
25463 (obstack_chunk_free): Likewise.
25464 (record_offset): New function.
25465 (init_locale_data): Likewise.
25466 (align_locale_data): Likewise.
25467 (add_locale_empty): Likewise.
25468 (add_locale_raw_data): Likewise.
25469 (add_locale_raw_obstack): Likewise.
25470 (add_locale_string): Likewise.
25471 (add_locale_wstring): Likewise.
25472 (add_locale_uint32): Likewise.
25473 (add_locale_uint32_array): Likewise.
25474 (add_locale_char): Likewise.
25475 (start_locale_structure): Likewise.
25476 (end_locale_structure): Likewise.
25477 (start_locale_prelude): Likewise.
25478 (end_locale_prelude): Likewise.
25479 (write_locale_data): Take locale_file structure rather than an
25481 * locale/programs/locfile.h: Include "obstack.h".
25482 (struct locale_file): Change to store locale file contents instead
25484 (init_locale_data): New prototype.
25485 (align_locale_data): Likewise.
25486 (add_locale_empty): Likewise.
25487 (add_locale_raw_data): Likewise.
25488 (add_locale_raw_obstack): Likewise.
25489 (add_locale_string): Likewise.
25490 (add_locale_wstring): Likewise.
25491 (add_locale_uint32): Likewise.
25492 (add_locale_uint32_array): Likewise.
25493 (add_locale_char): Likewise.
25494 (start_locale_structure): Likewise.
25495 (end_locale_structure): Likewise.
25496 (start_locale_prelude): Likewise.
25497 (end_locale_prelude): Likewise.
25498 (write_locale_data): Update prototype.
25499 * locale/programs/3level.h (struct TABLE): Remove result field.
25500 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25501 Use new locale_file interface.
25502 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25503 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25504 * locale/programs/ld-address.c (address_output): Use new
25505 locale_file interface.
25506 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25508 (collate_finish): Don't call collseq_table_finalize.
25509 (collate_output): Use new locale_file interface.
25510 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25512 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25513 (TABLE): Move defines earlier in file.
25514 (ELEMENT): Likewise.
25515 (DEFAULT): Likewise.
25516 (wctrans_table_add): Move macro and inline function earlier in
25518 (struct wctype_table): Move type earlier in file.
25519 (add_locale_wctype_table): New static prototype.
25520 (struct locale_ctype_t): Use logical types instead of struct iovec
25521 pointers for members.
25522 (ctype_output): Use new locale_file interface.
25523 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25524 new locale_file interface.
25525 (allocate_arrays): Update for use of new locale_file interface.
25526 * locale/programs/ld-identification.c (identification_output): Use
25527 new locale_file interface.
25528 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25529 * locale/programs/ld-messages.c (messages_output): Likewise.
25530 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25531 * locale/programs/ld-name.c (name_output): Likewise.
25532 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25533 * locale/programs/ld-paper.c (paper_output): Likewise.
25534 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25535 * locale/programs/ld-time.c (time_output): Likewise.
25537 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25539 * benchtests/Makefile: Add memrchr benchmark.
25540 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25541 benchmark as memrchr.
25542 * benchtests/bench-memrchr-ifunc.c: New file.
25543 * benchtests/bench-memrchr.c: New file.
25545 2013-09-06 Will Newton <will.newton@linaro.org>
25547 * benchtests/Makefile (string-bench): Add memcpy.
25549 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25550 Cong Wang <amwang@redhat.com>
25553 * sysdeps/unix/sysv/linux/bits/in.h
25554 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25555 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25556 before __USE_KERNEL_IPV6_DEFS uses.
25557 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25559 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25560 sockaddr_in6, or ipv6_mreq.
25562 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25564 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25565 memory access for final bytes in some large inputs.
25566 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25568 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25570 * string/test-memrchr.c: New file.
25571 * string/test-memrchr-ifunc.c: New file.
25572 * string/Makefile: Add new memrchr testcase.
25574 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25576 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25577 fanotify_init returns EPERM.
25579 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25581 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25583 (top level): Treat second token from macro or constant entries for
25584 allowed headers as allowed.
25585 * include/complex.h: Condition internal declarations on
25587 * include/fenv.h: Condition include of <stdbool.h> and internal
25588 declarations on [!_ISOMAC].
25590 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25593 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25595 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25597 * configure.in (--enable-versioning): Remove configure option.
25598 (libc_cv_asm_symver_directive): Remove configure test.
25599 (libc_cv_ld_version_script_option): Likewise.
25600 (VERSIONING): Remove variable and AC_SUBST.
25601 (DO_VERSIONING): Remove AC_DEFINE.
25602 * configure: Regenerated.
25603 * config.h.in (DO_VERSIONING): Remove macro.
25604 * Makerules [$(versioning) = yes]: Change conditionals to
25605 [$(build-shared) = yes].
25606 * config.make.in (versioning): Remove variable.
25607 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25608 [$(build-shared) = yes].
25609 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25610 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25611 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25612 [$(build-shared) = yes].
25613 * extra-lib.mk [$(versioning) = yes]: Likewise.
25614 * hurd/Makefile [$(versioning) = yes]: Likewise.
25615 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25617 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25619 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25620 [SHARED && !NO_HIDDEN].
25621 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25623 [SHARED && DO_VERSIONING]: Likewise..
25624 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25625 [$(build-shared) = yes].
25626 * manual/install.texi (--disable-versioning): Remove
25628 * INSTALL: Regenerated.
25629 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25631 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25632 [$(build-shared) = yes].
25633 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25634 * sysdeps/i386/i686/multiarch/strstr-c.c
25635 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25636 [SHARED && !NO_HIDDEN].
25637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25638 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25639 * sysdeps/powerpc/powerpc32/dl-machine.c
25640 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25641 * sysdeps/powerpc/powerpc32/sysdep.h
25642 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25643 to [SHARED && PIC && !NO_HIDDEN].
25644 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25645 conditional to [SHARED].
25647 2013-09-04 Will Newton <will.newton@linaro.org>
25649 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25650 * benchtests/bench-string.h: Include bench-timing.h instead
25651 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25652 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25653 call to HP_TIMING_DIFF_INIT.
25654 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25655 instead of hp-timing.h macros.
25656 * benchtests/bench-memchr.c: Likewise.
25657 * benchtests/bench-memcmp.c: Likewise.
25658 * benchtests/bench-memcpy.c: Likewise.
25659 * benchtests/bench-memmem.c: Likewise.
25660 * benchtests/bench-memmove.c: Likewise.
25661 * benchtests/bench-memset.c: Likewise.
25662 * benchtests/bench-rawmemchr.c: Likewise.
25663 * benchtests/bench-strcasecmp.c: Likewise.
25664 * benchtests/bench-strcasestr.c: Likewise.
25665 * benchtests/bench-strcat.c: Likewise.
25666 * benchtests/bench-strchr.c: Likewise.
25667 * benchtests/bench-strcmp.c: Likewise.
25668 * benchtests/bench-strcpy.c: Likewise.
25669 * benchtests/bench-strcpy_chk.c: Likewise.
25670 * benchtests/bench-strlen.c: Likewise.
25671 * benchtests/bench-strncasecmp.c: Likewise.
25672 * benchtests/bench-strncat.c: Likewise.
25673 * benchtests/bench-strncmp.c: Likewise.
25674 * benchtests/bench-strncpy.c: Likewise.
25675 * benchtests/bench-strnlen.c: Likewise.
25676 * benchtests/bench-strpbrk.c: Likewise.
25677 * benchtests/bench-strrchr.c: Likewise.
25678 * benchtests/bench-strspn.c: Likewise.
25679 * benchtests/bench-strstr.c: Likewise.
25681 2013-09-04 Will Newton <will.newton@linaro.org>
25683 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25685 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25688 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25689 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25690 * math/libm-test.inc (lgamma_test_data): Add more tests.
25691 * sysdeps/i386/fpu/libm-test-ulps: Update.
25692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25694 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25696 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25700 Add strcmp-sse2-unaligned
25701 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25703 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25705 * Versions.def (libc): Add GLIBC_2.19.
25707 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25709 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25710 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25712 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25715 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25716 intermediate calculations in recurrence.
25717 (__ieee754_ynf): Likewise.
25718 * math/libm-test.inc (jn_test_data): Do not allow spurious
25719 underflow exception. Add more tests.
25720 (yn_test_data): Add more tests.
25721 * sysdeps/i386/fpu/libm-test-ulps: Update.
25722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25724 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25728 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25730 * csu/init-first.c: Fix then/than typos.
25731 * locale/programs/ld-collate.c: Likewise.
25732 * locale/programs/linereader.h: Likewise.
25733 * manual/charset.texi: Likewise.
25734 * manual/filesys.texi: Likewise.
25735 * manual/stdio.texi: Likewise.
25736 * manual/string.texi: Likewise.
25737 * stdlib/fmtmsg.c: Likewise.
25738 * sysdeps/i386/stpncpy.S: Likewise.
25739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25740 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25742 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25744 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25746 * elf/dl-open.c: Fix typos.
25747 * iconvdata/gbbig5.c: Likewise.
25748 * iconvdata/iso-2022-jp.c: Likewise.
25749 * iconv/gconv_int.h: Likewise.
25750 * iconv/loop.c: Likewise.
25751 * nis/rpcsvc/nis.h: Likewise.
25752 * resolv/ns_name.c: Likewise.
25753 * stdio-common/vfscanf.c: Likewise.
25754 * streams/stropts.h: Likewise.
25755 * sunrpc/rpc_thread.c: Likewise.
25756 * sysdeps/i386/strpbrk.S: Likewise.
25757 * sysdeps/ieee754/k_standard.c: Likewise.
25758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25760 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25761 * sysdeps/mach/hurd/profil.c: Likewise.
25762 * sysdeps/s390/dl-procinfo.h: Likewise.
25763 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25764 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25765 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25766 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25769 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25771 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25774 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25776 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25777 aix specific files.
25778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25781 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25782 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25783 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25784 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25785 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25787 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25788 Roland McGrath <roland@hack.frob.com>
25790 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25791 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25793 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25795 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25796 __executable_start symbol instead of _start.
25798 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25800 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25801 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25803 * sysdeps/gnu/ldsodefs.h: ... this new file.
25805 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25806 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25807 instead of ELFOSABI_LINUX.
25809 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25810 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25811 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25812 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25814 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25815 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25816 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25818 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25819 (ibm_extended_long_double): Add ieee_nan member.
25820 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25821 (do_test): New function.
25823 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25825 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25826 functions, renamed from truncdfsf_test, trunctfsf_test,
25828 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25830 (do_test): Run all these.
25832 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25834 * argp/argp-help.c: Fix typos.
25835 * argp/argp-parse.c: Likewise.
25836 * debug/backtracesyms.c: Likewise.
25837 * elf/elf.h: Likewise.
25838 * malloc/malloc.c: Likewise.
25839 * nis/nis_print.c: Likewise.
25840 * resolv/res_comp.c: Likewise.
25841 * stdlib/stdlib.h: Likewise.
25842 * sunrpc/clnt_tcp.c: Likewise.
25843 * sunrpc/clnt_udp.c: Likewise.
25844 * sunrpc/clnt_unix.c: Likewise.
25845 * sysdeps/unix/bsd/ptsname.c: Likewise.
25846 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25854 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25856 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25858 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25861 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25864 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25865 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25866 ($(objpfx)bug-dl-leaf): New rule.
25867 ($(objpfx)bug-dl-leaf.so): Likewise.
25868 ($(objpfx)bug-dl-leaf.out): Likewise.
25869 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25870 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25871 * dlfcn/bug-dl-leaf.c: New test.
25872 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25873 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25874 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25875 (dlclose): Likewise.
25876 (dlmopen): Likewise.
25878 2013-08-27 Roland McGrath <roland@hack.frob.com>
25880 * include/netdb.h [!_ISOMAC]:
25881 Don't include <tls.h>.
25882 (h_errno, __libc_h_errno): Move declaration and macros out of
25885 * include/resolv.h [_RESOLV_H_]:
25886 Don't include <tls.h>.
25887 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25888 * resolv/res_libc.c: Don't include <tls.h>.
25889 (_res): Use __attribute__ ((nocommon)) in place of
25890 __attribute__ ((section (".bss"))).
25892 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25893 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25895 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25897 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25898 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25900 * resolv/res_mkquery.c: Include <sys/time.h>.
25902 * inet/ifreq.c: Moved to ...
25903 * sysdeps/unix/ifreq.c: ... here.
25904 * inet/ifreq.c: New file, true stub version.
25906 * socket/sa_len.c: New file.
25907 * socket/Makefile (aux): Add it.
25908 * sysdeps/unix/sysv/linux/Makefile
25909 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25910 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25911 and #include <socket/sa_len.c>.
25912 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25913 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25915 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25916 * bits/socket.h: ... here.
25918 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25919 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25920 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25922 2013-08-27 Andreas Schwab <schwab@suse.de>
25925 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25926 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25927 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25928 * string/test-strcasecmp.c (test_main): Run tests in several
25930 * string/test-strncasecmp.c (test_main): Likewise.
25932 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25933 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25934 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25936 (__strncasecmp_ssse3) [PIC]: Likewise.
25938 2013-08-26 Roland McGrath <roland@hack.frob.com>
25940 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25942 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25943 instead of explicitly declaring xdecrypt.
25944 * nis/nss_nis/nis-publickey.c: Likewise.
25946 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 * nscd/aicache.c: Include res_hconf.h.
25950 (addhstaiX): Initialize res_hconf.
25952 2013-08-26 Andreas Schwab <schwab@suse.de>
25954 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25955 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25957 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25959 * nscd/aicache.c (addhstaiX): Fix indentation.
25961 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25963 * configure.ac: Quote $build_pt_chown test.
25964 * configure: Regenerated.
25966 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25969 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25970 * math/s_cexpf.c (__cexpf): Likewise.
25971 * math/s_cexpl.c (__cexpl): Likewise.
25972 * math/libm-test.inc (cexp_test_data): Correct expected return
25973 value for NaN + i0. Add another test.
25975 2013-08-22 David S. Miller <davem@davemloft.net>
25977 * po/ca.po: Update Catalan translation from translation project.
25978 * po/uk.po: Add Ukrainian translations from translation project.
25980 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25983 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25984 is infinite, not alongside NaN test.
25985 * math/s_fdimf.c (__fdimf): Likewise.
25986 * math/s_fdiml.c (__fdiml): Likewise.
25987 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25988 errno is unchanged.
25990 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25992 * argp/argp-help.c: Fix typos.
25993 * crypt/speeds.c: Likewise.
25994 * csu/check_fds.c: Likewise.
25995 * elf/dl-load.c: Likewise.
25996 * elf/dl-open.c: Likewise.
25997 * elf/reldep3.c: Likewise.
25998 * elf/reldep.c: Likewise.
25999 * elf/sprof.c: Likewise.
26000 * iconv/iconv_charmap.c: Likewise.
26001 * iconv/skeleton.c: Likewise.
26002 * iconv/strtab.c: Likewise.
26003 * io/lockf64.c: Likewise.
26004 * libio/libioP.h: Likewise.
26005 * resolv/gai_notify.c: Likewise.
26006 * resolv/ns_name.c: Likewise.
26007 * resolv/ns_samedomain.c: Likewise.
26008 * resolv/res_send.c: Likewise.
26009 * stdlib/random.c: Likewise.
26010 * sunrpc/rpc/xdr.h: Likewise.
26011 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26013 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26014 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26015 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26019 * sysdeps/mach/hurd/check_fds.c: Likewise.
26020 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26021 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26022 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26023 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26024 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26026 * sysdeps/pthread/aio_notify.c: Likewise.
26027 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26028 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26031 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26033 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26035 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26036 version if bit_Slow_SSE4_2 is set.
26037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26040 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26043 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26044 trampoline stack frame information.
26045 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26047 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26048 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26049 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26050 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26051 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26052 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26054 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26055 interrupting a syscall and set with option SA_SIGINFO.
26057 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26060 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26061 argument is infinite.
26062 * math/s_cprojf.c (__cprojf): Likewise.
26063 * math/s_cprojl.c (__cprojl): Likewise.
26064 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26065 * math/libm-test.inc (cproj_test_data): Add more tests.
26067 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26069 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26070 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26071 size. Use __ffs to determine corresponding shift.
26073 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26074 Roland McGrath <roland@hack.frob.com>
26076 * Makefile (INSTALL): Remove trailing blank lines from output of
26079 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26081 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26082 Align 32 bit compat elf_greg to 8 bytes.
26084 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26086 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26088 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26090 * string/strcoll_l.c (coll_seq): New structure.
26091 (get_next_seq_cached): New function.
26092 (get_next_seq): New function.
26093 (do_compare): New function.
26094 (STRCOLL): Use GNU style definition. Simplify implementation
26095 by using get_next_seq, get_next_seq_cached and do_compare.
26097 2013-08-16 Florian Weimer <fweimer@redhat.com>
26101 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26103 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26105 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26106 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26107 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26109 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26110 GETDENTS_64BIT_ALIGNED.
26111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26112 * manual/filesys.texi (Reading/Closing Directory): Document
26113 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26115 * manual/conf.texi (Limits for Files): Add portability note to
26116 NAME_MAX, PATH_MAX.
26117 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26119 2013-08-13 Andreas Schwab <schwab@suse.de>
26122 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26124 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26125 LDBL_MAX_EXP >= 16384]: Add tests for it.
26127 2013-08-12 David S. Miller <davem@davemloft.net>
26129 * version.h (RELEASE): Set to "development".
26130 (VERSION): Set to "2.18.90".
26131 * NEWS: Add 2.19 section.
26133 2013-08-03 David S. Miller <davem@davemloft.net>
26135 * po/ko.po: Update Korean translation from translation project.
26137 2013-08-01 David S. Miller <davem@davemloft.net>
26139 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26140 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26143 2013-07-30 David S. Miller <davem@davemloft.net>
26145 * po/fr.po: Update French translation from translation project.
26147 2013-07-28 David S. Miller <davem@davemloft.net>
26149 * po/cs.po: Update Czech translation from translation project.
26151 * po/sv.po: Update Swedish translation from translation project.
26153 2013-07-27 David S. Miller <davem@davemloft.net>
26155 * po/eo.po: Update Esperanto translation from translation project.
26157 * po/vi.po: Update Vietnamese translation from translation project.
26159 * po/de.po: Update German translation from translation project.
26161 2013-07-26 David S. Miller <davem@davemloft.net>
26163 * po/bg.po: Update Bulgarian translation from translation project.
26165 * po/nl.po: Update Dutch translation from translation project.
26166 * po/pl.po: Update Polish translation from translation project.
26167 * po/ru.po: Update Russian translation from translation project.
26169 2013-07-24 David S. Miller <davem@davemloft.net>
26171 * po/libc.pot: Update.
26173 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26175 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26176 variable page size.
26177 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26178 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26179 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26181 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26183 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26185 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26186 Andreas Schwab <schwab@suse.de>
26187 Roland McGrath <roland@hack.frob.com>
26188 Joseph Myers <joseph@codesourcery.com>
26189 Carlos O'Donell <carlos@redhat.com>
26192 * config.h.in: Define HAVE_PT_CHOWN.
26193 * config.make.in (build-pt-chown): New variable.
26194 * configure.in (--enable-pt_chown): New configure option.
26195 * configure: Regenerate.
26196 * login/Makefile: Include Makeconfig. Build pt_chown only if
26197 build-pt-chown is enabled.
26198 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26199 pt_chown to fix pty ownership.
26200 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26202 * manual/install.texi (Configuring and compiling): Mention
26203 --enable-pt_chown. Add @findex for grantpt.
26204 * INSTALL: Regenerate.
26206 2013-07-20 David S. Miller <davem@davemloft.net>
26208 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26209 difference between 32-bit and 64-bit.
26211 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26214 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26215 Avoid system header dependency with -ffreestanding.
26216 ($(objpfx)bits/syscall%d): Likewise.
26218 2013-07-13 David S. Miller <davem@davemloft.net>
26220 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26221 underflows from atanl/atan2l due to bug 15319.
26222 (casinh_test_data): Likewise.
26224 2013-07-07 David S. Miller <davem@davemloft.net>
26226 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26228 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26230 * sysdeps/i386/fpu/libm-test-ulps: Update.
26231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26233 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26235 * configure.in (--enable-lock-elision): Fix message text.
26236 * INSTALL: Regenerate.
26237 * configure: Regenerate.
26239 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26243 2013-07-03 Andreas Jaeger <aj@suse.de>
26245 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26247 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26248 (ptrace_peeksiginfo_args): Add.
26249 (__ptrace_peeksiginfo_flags): Add.
26250 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26251 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26254 2013-07-03 Allan McRae <allan@archlinux.org>
26256 * sysdeps/i386/fpu/libm-test-ulps: Update.
26258 2013-07-02 David S. Miller <davem@davemloft.net>
26260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26262 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26266 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26268 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26271 2013-07-02 Andi Kleen <ak@linux.intel.com>
26273 * config.h.in (ENABLE_LOCK_ELISION): Add.
26274 * configure.in (--enable-lock-elision): Add option.
26275 * manual/install.texi: Document --enable lock elision.
26276 * configure: Regenerate
26277 * INSTALL: Regenerate.
26279 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26281 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26282 SSE4.2 strcasecmp for libc.a.
26283 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26285 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26288 * soft-fp/op-common.h (_FP_FMA): New macro.
26289 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26290 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26291 (_FP_MUL_MEAT_1_imm): ... here.
26292 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26293 (_FP_MUL_MEAT_1_wide): ... here.
26294 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26295 (_FP_MUL_MEAT_1_hard): ... here.
26296 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26297 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26298 (_FP_MUL_MEAT_2_wide): ... here.
26299 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26300 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26301 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26302 (_FP_MUL_MEAT_2_gmp): ... here.
26303 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26304 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26305 (_FP_MUL_MEAT_4_wide): ... here.
26306 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26307 (_FP_MUL_MEAT_4_gmp): ... here.
26308 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26309 (_FP_WFRACBITS_DW_S): Likewise.
26310 (_FP_WFRACXBITS_DW_S): Likewise.
26311 (_FP_HIGHBIT_DW_S): Likewise.
26312 (FP_FMA_S): Likewise.
26313 (_FP_FRAC_HIGH_DW_S): Likewise.
26314 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26315 (_FP_WFRACBITS_DW_D): Likewise.
26316 (_FP_WFRACXBITS_DW_D): Likewise.
26317 (_FP_HIGHBIT_DW_D): Likewise.
26318 (FP_FMA_D): Likewise.
26319 (_FP_FRAC_HIGH_DW_D): Likewise.
26320 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26321 (_FP_WFRACBITS_DW_E): Likewise.
26322 (_FP_WFRACXBITS_DW_E): Likewise.
26323 (_FP_HIGHBIT_DW_E): Likewise.
26324 (FP_FMA_E): Likewise.
26325 (_FP_FRAC_HIGH_DW_E): Likewise.
26326 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26327 (_FP_WFRACBITS_DW_Q): Likewise.
26328 (_FP_WFRACXBITS_DW_Q): Likewise.
26329 (_FP_HIGHBIT_DW_Q): Likewise.
26330 (FP_FMA_Q): Likewise.
26331 (_FP_FRAC_HIGH_DW_Q): Likewise.
26332 * soft-fp/fmasf4.c: New file.
26333 * soft-fp/fmadf4.c: Likewise.
26334 * soft-fp/fmatf4.c: Likewise.
26336 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26339 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26343 (index_Slow_SSE4_2): Likewise.
26344 (index_Prefer_PMINUB_for_stringop): Likewise.
26345 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26346 bit_Slow_SSE4_2 is set.
26347 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26348 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26350 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26352 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26353 rtld_global._dl_hwcap2.
26354 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26356 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26357 POWER8 feature descriptions defined in _dl_hwcap2.
26358 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26359 string handling for POWER8 feature bits.
26360 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26361 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26362 _dl_powerpc_cap_flags.
26363 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26364 * sysdeps/powerpc/rtld-global-offsets.sym
26365 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26366 _dl_hwcap2 in the rtld_global_ro structure.
26368 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26370 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26371 hardware capabilities in support of AT_HWCAP2.
26372 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26373 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26375 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26376 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26377 explicitly the unknown a_type display mechanism is used.
26378 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26379 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26381 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26382 to macro prototype for AT_HWCAP2 support.
26383 * sysdeps/i386/dl-procinfo.h: Likewise.
26384 * sysdeps/s390/dl-procinfo.h: Likewise.
26385 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26386 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26387 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26388 return -1 for unknown a_type display fallback.
26389 * sysdeps/sparc/dl-procinfo.h: Likewise.
26390 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26391 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26393 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26396 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26398 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26401 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26402 mprotect making __stack_prot writable.
26404 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26405 Joseph Myers <joseph@codesourcery.com>
26407 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26408 as being properly aligned.
26410 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26412 * dlfcn/modstatic5.c: New file.
26413 * dlfcn/tststatic5.c: New file.
26414 * dlfcn/Makefile (tests): Add tststatic5.
26415 (tests-static): Likewise.
26416 (modules-names): Add modstatic5.
26417 (tststatic5-ENV): New variable.
26418 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26421 * elf/dl-support.c (_dl_main_map): New variable.
26422 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26423 (_dl_nns, _dl_load_adds): Set to 1.
26424 (_dl_initial_searchlist): Refer to _dl_main_map.
26425 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26426 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26427 call to _dl_get_origin.
26428 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26430 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26431 * dlfcn/modstatic3.c: New file.
26432 * dlfcn/tststatic3.c: New file.
26433 * dlfcn/tststatic4.c: New file.
26434 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26435 (tests-static): Likewise.
26436 (modules-names): Add modstatic3.
26437 (tststatic3-ENV, tststatic4-ENV): New variables.
26438 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26439 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26441 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26443 * configure.in (CC): Require GCC version 4.4 or later.
26444 * configure: Regenerated.
26445 * manual/install.texi (Tools for Compilation): Update GCC version
26447 * INSTALL: Regenerated.
26449 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26452 * string/test-memcmp.c (check2): New.
26453 (main): Call check2.
26455 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26457 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26460 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26462 (dl_open_worker) [!SHARED]: ... here.
26464 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26466 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26468 2013-06-25 Richard Henderson <rth@redhat.com>
26470 * locale/programs/locarchive.c: Include <libc-internal.h>
26472 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26474 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26475 trailing whitespace removed.
26477 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26480 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26481 * locale/programs/locarchive.c: Include libc-mmap.h.
26482 (prepare_address_space): Take two new outputs (the mmap base and len).
26483 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26485 (create_archive): Declare new mmap base and len values for
26486 prepare_address_space, and store the result in ah.
26487 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26488 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26489 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26490 Declare new mmap base and len values for
26491 prepare_address_space, and store the result in new_ah.
26492 (open_archive): Declare new mmap base and len values for
26493 prepare_address_space, and store the result in ah.
26494 (close_archive): If ah->mmap_base is not NULL, use that and
26495 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26496 * sysdeps/generic/libc-mmap.h: New file.
26498 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26500 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26501 (ALIGN_UP): Likewise.
26502 (PTR_ALIGN_DOWN): Likewise.
26503 (PTR_ALIGN_UP): Likewise.
26505 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26507 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26508 entry mapped to PPC_PLATFORM_POWER8.
26509 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26511 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26512 (_dl_string_platform): Add case for exporting platform position for
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26515 search path to sysdeps/powerpc/powerpc32/power8 directory.
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26517 search path to sysdeps/powerpc/powerpc64/power8 directory.
26518 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26519 power7 directories.
26520 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26521 power7 directories.
26523 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26525 * INSTALL: Regenerate.
26527 * nscd/connections.c (nscd_init): Fix comment.
26529 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26531 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26534 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26535 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26537 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26539 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26541 (DL_DST_REQ_STATIC): Remove macro.
26543 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26546 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26547 with a shift of 0 bits.
26549 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26551 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26554 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26557 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26559 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26561 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26562 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26563 accepts -fno-tree-loop-distribute-patterns.
26564 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26565 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26567 * string/memset.c (memset): Likewise.
26568 * string/test-memmove.c (simple_memmove): Disable loop transformation
26570 * string/test-memset.c (simple_memset): Likewise.
26571 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26572 * benchtests/bench-memset.c (simple_memset): Likewise.
26573 * configure: Regenerated.
26575 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26577 * math/test-misc.c (main): Ignore fesetround failure when failures
26578 of subsequent rounding tests would be ignored.
26581 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26582 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26583 * math/fegetenv.c (__fegetenv): Return 0.
26584 * math/fegetexcept.c (fegetexcept): Return 0.
26585 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26587 * math/feholdexcpt.c (feholdexcept): Return 0.
26588 * math/fesetenv.c (__fesetenv): Return 0.
26589 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26590 argument FE_TONEAREST.
26591 * math/feupdateenv.c (__feupdateenv): Return 0.
26592 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26594 2013-06-18 Roland McGrath <roland@hack.frob.com>
26596 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26597 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26598 ($(objpfx)rtld-%.os rules): Use them.
26600 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26602 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26605 2013-06-17 Roland McGrath <roland@hack.frob.com>
26607 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26608 length of target pattern, then descending length of dependency pattern.
26609 * configure.in (AWK): Require gawk 3.1.2 or newer.
26610 * manual/install.texi (Tools for Compilation): Say that we do.
26611 * configure: Regenerated.
26613 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26614 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26615 * scripts/sysd-rules.awk: ... this new script.
26616 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26617 than a glob-style pattern.
26619 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26621 * math/test-misc.c (main): Do not treat incorrectly rounded
26622 conversions as failure unless ROUNDING_TESTS passes.
26624 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26627 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26628 restore exception state around main square root computation, then
26629 check for inexactness explicitly.
26631 * math/libm-test.inc (fma_test_data): Add another test.
26633 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26635 * manual/threads.texi (Non-POSIX Extensions): New document
26636 node. Document pthread_getattr_default_np and
26637 pthread_setattr_default_np.
26639 * Versions.def (libpthread): Add GLIBC_2.18.
26640 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26649 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26660 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26663 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26665 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26666 H.J. Lu <hjl.tools@gmail.com>
26669 * sysdeps/x86_64/rtld-memset.c: Remove file.
26670 * sysdeps/x86_64/rtld-memset.S: New file.
26672 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26674 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26675 (test_in_one_mode): Take arguments for whether the rounding mode
26676 is supported for each floating-point type.
26677 (do_test): Pass new arguments to test_in_one_mode using
26680 2013-06-13 Roland McGrath <roland@hack.frob.com>
26682 * posix/tst-waitid.c (do_test): Distinguish different instances of
26683 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26684 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26685 before entering the kernel for waitpid.
26687 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26689 * NEWS: Fix note on clock function precision. Text by Roland
26692 2013-06-13 Roland McGrath <roland@hack.frob.com>
26694 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26695 it into place only when and if the sanity check passes.
26697 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26699 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26700 output for whether conversion result is exact. Take argument
26701 indicating whether type is IBM long double.
26702 (round_for_all): Change need_exact field to ibm_ld.
26703 * stdlib/tst-strtod-round.c (struct exactness): New type.
26704 (struct test): Change bool ld_ok field to struct exactness exact.
26705 (TEST): Update all definitions for change to field.
26706 (tests): Regenerate array contents.
26707 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26708 field value. Check for IBM long double here.
26709 (do_test): Update calls to test_in_one_mode.
26711 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26714 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26715 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26717 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26720 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26721 generated by the compiler on loop optimizations.
26722 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26723 general definitions.
26725 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26727 * math/bug-nextafter.c: Include <math-tests.h>.
26728 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26730 * math/bug-nexttoward.c: Include <math-tests.h>.
26731 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26733 * math/test-misc.c: Include <math-tests.h>.
26734 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26737 2013-06-12 Andreas Jaeger <aj@suse.de>
26739 * po/ia.po: Update Interlingua translation from translation
26742 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26744 * include/fenv.h: Include stdbool.h.
26745 (struct rm_ctx): New structure.
26746 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26748 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26749 (SET_RESTORE_ROUNDF): Likewise.
26750 (SET_RESTORE_ROUNDL): Likewise.
26751 (SET_RESTORE_ROUND_NOEX): Likewise.
26752 (SET_RESTORE_ROUND_NOEXF): Likewise.
26753 (SET_RESTORE_ROUND_NOEXL): Likewise.
26754 (SET_RESTORE_ROUND_53BIT): Likewise.
26755 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26756 (libc_feresetround_noexf_ctx): Likewise.
26757 (libc_feresetround_noexl_ctx): Likewise.
26758 (libc_feholdsetround_53bit_ctx): Likewise.
26759 (libc_feresetround_53bit_ctx): Likewise.
26760 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26761 (libc_feholdexcept_setround_sse_ctx): New function.
26762 (libc_fesetenv_sse_ctx): Likewise.
26763 (libc_feupdateenv_sse_ctx): Likewise.
26764 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26765 (libc_feholdexcept_setround_387_ctx): Likewise.
26766 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26767 (libc_feholdsetround_387_prec_ctx): Likewise.
26768 (libc_feholdsetround_387_ctx): Likewise.
26769 (libc_feholdsetround_387_53bit_ctx): Likewise.
26770 (libc_feholdsetround_sse_ctx): Likewise.
26771 (libc_feresetround_sse_ctx): Likewise.
26772 (libc_feresetround_387_ctx): Likewise.
26773 (libc_feupdateenv_387_ctx): Likewise.
26774 (libc_feholdexcept_setroundf_ctx): Define macro.
26775 (libc_fesetenvf_ctx): Likewise.
26776 (libc_feupdateenvf_ctx): Likewise.
26777 (libc_feholdsetroundf_ctx): Likewise.
26778 (libc_feresetroundf_ctx): Likewise.
26779 (libc_feholdexcept_setround_ctx): Likewise.
26780 (libc_fesetenv_ctx): Likewise.
26781 (libc_feupdateenv_ctx): Likewise.
26782 (libc_feholdsetround_ctx): Likewise.
26783 (libc_feresetround_ctx): Likewise.
26784 (libc_feholdexcept_setroundl_ctx): Likewise.
26785 (libc_feupdateenvl_ctx): Likewise.
26786 (libc_feholdsetroundl_ctx): Likewise.
26787 (libc_feresetroundl_ctx): Likewise.
26788 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26789 (libc_feresetround_53bit_ctx): Likewise.
26791 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26793 * locale/iso-639.def: Convert to UTF-8.
26795 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26797 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26798 (EXCEPTION_TESTS_double): Likewise.
26799 (EXCEPTION_TESTS_long_double): Likewise.
26800 (EXCEPTION_TESTS): Likewise.
26801 * math/libm-test.inc (test_exceptions): Only test exceptions if
26802 EXCEPTION_TESTS (FLOAT).
26804 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26806 * benchtests/Makefile (string-bench): Add strcpy_chk and
26808 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26809 * benchtests/bench-stpcpy_chk.c: New file.
26810 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26811 * benchtests/bench-strcpy_chk.c: New file.
26812 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26814 (do_test): Likewise.
26816 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26818 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26819 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26820 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26821 with tabs where appropriate.
26822 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26824 [PPC_PLATFORM_PPC440]: Likewise.
26825 [PPC_PLATFORM_PPC464]: Likewise.
26826 [PPC_PLATFORM_PPC476]: Likewise.
26827 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26828 ppc464, and ppc476 platform strings merging from ports/
26831 2013-06-11 Andreas Schwab <schwab@suse.de>
26834 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26835 (from_ucs4_idx): Regenerate.
26836 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26837 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26838 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26839 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26840 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26841 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26842 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26843 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26844 from FROM_LOOP and TO_LOOP specific macros.
26845 (BODY): Handle combining characters.
26846 * iconvdata/BIG5HKSCS.irreversible: Update.
26847 * iconvdata/BIG5HKSCS.precomposed: New file.
26848 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26850 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26852 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26854 * include/sys/time.h: Fix indentation and add copyright header.
26856 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26857 (do_test): Likewise.
26858 * string/test-memchr.c (do_one_test): Likewise.
26859 (do_test): Likewise.
26860 * string/test-memcmp.c (do_one_test): Likewise.
26861 (do_test): Likewise.
26862 * string/test-memcpy.c (do_one_test): Likewise.
26863 (do_test): Likewise.
26864 * string/test-memmem.c (do_one_test): Likewise.
26865 (do_test): Likewise.
26866 (do_random_tests): Likewise.
26867 * string/test-memmove.c (do_one_test): Likewise.
26868 (do_test): Likewise.
26869 * string/test-memset.c (do_one_test): Likewise.
26870 (do_test): Likewise.
26871 * string/test-rawmemchr.c (do_one_test): Likewise.
26872 (do_test): Likewise.
26873 * string/test-strcasecmp.c (do_one_test): Likewise.
26874 (do_test): Likewise.
26875 * string/test-strcasestr.c (do_one_test): Likewise.
26876 (do_test): Likewise.
26877 * string/test-strcat.c (do_one_test): Likewise.
26878 (do_test): Likewise.
26879 * string/test-strchr.c (do_one_test): Likewise.
26880 (do_test): Likewise.
26881 * string/test-strcmp.c (do_one_test): Likewise.
26882 (do_test): Likewise.
26883 * string/test-strcpy.c (do_one_test): Likewise.
26884 (do_test): Likewise.
26885 * string/test-string.h: Likewise.
26886 (test_init): Likewise.
26887 * string/test-strlen.c (do_one_test): Likewise.
26888 (do_test): Likewise.
26889 * string/test-strncasecmp.c (do_one_test): Likewise.
26890 (do_test): Likewise.
26891 * string/test-strncat.c (do_one_test): Likewise.
26892 (do_test): Likewise.
26893 * string/test-strncmp.c (do_one_test): Likewise.
26894 (do_test_limit): Likewise.
26895 (do_test): Likewise.
26896 * string/test-strncpy.c (do_one_test): Likewise.
26897 (do_test): Likewise.
26898 * string/test-strnlen.c (do_one_test): Likewise.
26899 (do_test): Likewise.
26900 * string/test-strpbrk.c (do_one_test): Likewise.
26901 (do_test): Likewise.
26902 * string/test-strrchr.c (do_one_test): Likewise.
26903 (do_test): Likewise.
26904 * string/test-strspn.c (do_one_test): Likewise.
26905 (do_test): Likewise.
26906 * string/test-strstr.c (do_one_test): Likewise.
26907 (do_test): Likewise.
26909 * benchtests/Makefile (string-bench): Add string benchmarks.
26910 * benchtests/bench-bcopy-ifunc.c: New file.
26911 * benchtests/bench-bcopy.c: New file.
26912 * benchtests/bench-bzero-ifunc.c: New file.
26913 * benchtests/bench-bzero.c: New file.
26914 * benchtests/bench-memccpy-ifunc.c: New file.
26915 * benchtests/bench-memccpy.c: New file.
26916 * benchtests/bench-memchr-ifunc.c: New file.
26917 * benchtests/bench-memchr.c: New file.
26918 * benchtests/bench-memcmp-ifunc.c: New file.
26919 * benchtests/bench-memcmp.c: New file.
26920 * benchtests/bench-memmem-ifunc.c: New file.
26921 * benchtests/bench-memmem.c: New file.
26922 * benchtests/bench-memmove-ifunc.c: New file.
26923 * benchtests/bench-memmove.c: New file.
26924 * benchtests/bench-mempcpy-ifunc.c: New file.
26925 * benchtests/bench-mempcpy.c: New file.
26926 * benchtests/bench-memset-ifunc.c: New file.
26927 * benchtests/bench-memset.c: New file.
26928 * benchtests/bench-rawmemchr-ifunc.c: New file.
26929 * benchtests/bench-rawmemchr.c: New file.
26930 * benchtests/bench-stpcpy-ifunc.c: New file.
26931 * benchtests/bench-stpcpy.c: New file.
26932 * benchtests/bench-stpncpy-ifunc.c: New file.
26933 * benchtests/bench-stpncpy.c: New file.
26934 * benchtests/bench-strcasecmp-ifunc.c: New file.
26935 * benchtests/bench-strcasecmp.c: New file.
26936 * benchtests/bench-strcasestr-ifunc.c: New file.
26937 * benchtests/bench-strcasestr.c: New file.
26938 * benchtests/bench-strcat-ifunc.c: New file.
26939 * benchtests/bench-strcat.c: New file.
26940 * benchtests/bench-strchr-ifunc.c: New file.
26941 * benchtests/bench-strchr.c: New file.
26942 * benchtests/bench-strchrnul-ifunc.c: New file.
26943 * benchtests/bench-strchrnul.c: New file.
26944 * benchtests/bench-strcmp-ifunc.c: New file.
26945 * benchtests/bench-strcmp.c: New file.
26946 * benchtests/bench-strcpy-ifunc.c: New file.
26947 * benchtests/bench-strcpy.c: New file.
26948 * benchtests/bench-strcspn-ifunc.c: New file.
26949 * benchtests/bench-strcspn.c: New file.
26950 * benchtests/bench-strlen-ifunc.c: New file.
26951 * benchtests/bench-strlen.c: New file.
26952 * benchtests/bench-strncasecmp-ifunc.c: New file.
26953 * benchtests/bench-strncasecmp.c: New file.
26954 * benchtests/bench-strncat-ifunc.c: New file.
26955 * benchtests/bench-strncat.c: New file.
26956 * benchtests/bench-strncmp-ifunc.c: New file.
26957 * benchtests/bench-strncmp.c: New file.
26958 * benchtests/bench-strncpy-ifunc.c: New file.
26959 * benchtests/bench-strncpy.c: New file.
26960 * benchtests/bench-strnlen-ifunc.c: New file.
26961 * benchtests/bench-strnlen.c: New file.
26962 * benchtests/bench-strpbrk-ifunc.c: New file.
26963 * benchtests/bench-strpbrk.c: New file.
26964 * benchtests/bench-strrchr-ifunc.c: New file.
26965 * benchtests/bench-strrchr.c: New file.
26966 * benchtests/bench-strspn-ifunc.c: New file.
26967 * benchtests/bench-strspn.c: New file.
26968 * benchtests/bench-strstr-ifunc.c: New file.
26969 * benchtests/bench-strstr.c: New file.
26971 * benchtests/Makefile: Disable parallel execution of targets.
26972 (string-bench): Add memcpy.
26973 (benchset): New variable to store a list of benchmark sets.
26974 (bench-func): Renamed from bench.
26975 (bench-set): New target.
26976 (bench): Depend on bench-func and bench-set.
26977 * benchtests/README: Add section on benchmark sets.
26978 * benchtests/bench-memcpy-ifunc.c: New file.
26979 * benchtests/bench-memcpy.c: New file.
26980 * benchtests/bench-string.h: New file.
26982 2013-06-11 Andreas Schwab <schwab@suse.de>
26985 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26986 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26987 values in the triple.
26988 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26989 terminator in the group key.
26991 2013-06-11 Andreas Jaeger <aj@suse.de>
26993 * po/zh_TW.po: Update Chinese (traditional) translation from
26994 translation project.
26996 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26998 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26999 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27000 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27002 (clock_getcpuclockid): Likewise.
27003 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27004 Add weak_alias and libc_hidden_def.
27005 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27006 * rt/clock_gettime.c (clock_gettime): Rename to
27007 __clock_gettime. Add weak_alias and libc_hidden_def.
27008 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27009 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27010 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27011 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27012 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27014 * rt/clock_settime.c (clock_settime): Rename to
27015 __clock_settime. Add weak_alias and libc_hidden_def.
27016 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27018 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27020 * mach/err_boot.sub: Remove trailing whitespace.
27021 * mach/err_ipc.sub: Likewise.
27022 * mach/err_mach.sub: Likewise.
27024 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27025 (ROUNDING_TESTS_double): Likewise.
27026 (ROUNDING_TESTS_long_double): Likewise.
27027 (ROUNDING_TESTS): Likewise.
27028 * math/libm-test.inc: Include <math-tests.h>.
27029 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27030 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27031 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27032 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27034 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27036 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27039 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27041 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27042 otherwise empty TRANS lines.
27043 * sysdeps/gnu/errlist.c: Regenerated.
27045 * catgets/gencat.c (error_print): Use (void) in function
27047 * crypt/crypt_util.c (__init_des): Likewise.
27048 * crypt/speeds.c (Stop): Likewise.
27050 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27051 * inet/ruserpass.c (token): Likewise.
27052 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27053 * intl/localealias.c (extend_alias_table): Likewise.
27054 * intl/plural-exp.c (init_germanic_plural): Likewise.
27055 * libio/fcloseall.c (__fcloseall): Likewise.
27056 * libio/genops.c (_IO_flush_all): Likewise.
27057 (_IO_flush_all_linebuffered): Likewise.
27058 (_IO_cleanup): Likewise.
27059 (_IO_iter_begin): Likewise.
27060 (_IO_iter_end): Likewise.
27061 (_IO_list_lock): Likewise.
27062 (_IO_list_unlock): Likewise.
27063 (_IO_list_resetlock): Likewise.
27064 * libio/getchar.c (getchar): Likewise.
27065 * libio/getchar_u.c (getchar_unlocked): Likewise.
27066 * libio/getwchar.c (getwchar): Likewise.
27067 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27068 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27069 * login/getpt.c (__getpt): Likewise.
27070 * login/tst-utmp.c (main): Likewise.
27071 * malloc/hooks.c (__malloc_check_init): Likewise.
27072 * malloc/malloc.c (__malloc_stats): Likewise.
27073 * malloc/mtrace.c (tr_break): Likewise.
27074 (mtrace): Likewise.
27075 (muntrace): Likewise.
27076 * misc/fstab.c (endfsent): Likewise.
27077 * misc/getclktck.c (__getclktck): Likewise.
27078 * misc/getdtsz.c (__getdtablesize): Likewise.
27079 * misc/gethostid.c (gethostid): Likewise.
27080 * misc/getpagesize.c (__getpagesize): Likewise.
27081 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27082 (__get_nprocs): Likewise.
27083 (__get_phys_pages): Likewise.
27084 (__get_avphys_pages): Likewise.
27085 * misc/getttyent.c (getttyent): Likewise.
27086 (setttyent): Likewise.
27087 (endttyent): Likewise.
27088 * misc/getusershell.c (getusershell): Likewise.
27089 (endusershell): Likewise.
27090 (setusershell): Likewise.
27091 (initshells): Likewise.
27092 * misc/hsearch.c (__hdestroy): Likewise.
27093 * misc/sync.c (sync): Likewise.
27094 * misc/syslog.c (closelog_internal): Likewise.
27095 (closelog): Likewise.
27096 * misc/ttyslot.c (ttyslot): Likewise.
27097 * misc/vhangup.c (vhangup): Likewise.
27098 * posix/fork.c (__fork): Likewise.
27099 * posix/getegid.c (__getegid): Likewise.
27100 * posix/geteuid.c (__geteuid): Likewise.
27101 * posix/getgid.c (__getgid): Likewise.
27102 * posix/getpid.c (__getpid): Likewise.
27103 * posix/getppid.c (__getppid): Likewise.
27104 * posix/getuid.c (__getuid): Likewise.
27105 * posix/pause.c (pause): Likewise.
27106 * posix/setpgrp.c (setpgrp): Likewise.
27107 * posix/setsid.c (__setsid): Likewise.
27108 * posix/test-vfork.c (noop): Likewise.
27109 * resolv/gethnamaddr.c (_endhtent): Likewise.
27110 (_gethtent): Likewise.
27111 (ht_endhostent): Likewise.
27112 (gethostent): Likewise.
27113 (dns_service): Likewise.
27114 * stdlib/drand48.c (drand48): Likewise.
27115 * stdlib/lrand48.c (lrand48): Likewise.
27116 * stdlib/mrand48.c (mrand48): Likewise.
27117 * stdlib/rand.c (rand): Likewise.
27118 * stdlib/random.c (__random): Likewise.
27119 * stdlib/setenv.c (clearenv): Likewise.
27120 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27121 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27122 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27123 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27124 (__get_nprocs): Likewise.
27125 (__get_phys_pages): Likewise.
27126 (__get_avphys_pages): Likewise.
27127 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27128 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27129 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27130 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27131 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27132 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27133 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27134 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27135 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27136 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27137 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27138 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27139 * sysdeps/posix/clock.c (clock): Likewise.
27140 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27141 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27142 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27143 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27144 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27146 (__get_nprocs_conf): Likewise.
27147 (__get_phys_pages): Likewise.
27148 (__get_avphys_pages): Likewise.
27149 * time/clock.c (clock): Likewise.
27150 * time/tzset.c (__tzname_max): Likewise.
27152 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27154 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27155 (__bswap_32): Do not use "register".
27156 * crypt/crypt.c (_ufc_doit_r): Likewise.
27157 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27158 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27159 * gmon/gmon.c (__monstartup): Likewise.
27160 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27161 * hurd/hurdmalloc.c (more_memory): Likewise.
27162 (malloc): Likewise.
27164 (realloc): Likewise.
27165 (malloc_fork_prepare): Likewise.
27166 (malloc_fork_parent): Likewise.
27167 (malloc_fork_child): Likewise.
27168 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27169 (_svcauth_des): Likewise.
27170 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27171 * inet/inet_net.c (inet_network): Likewise.
27172 * inet/inet_netof.c (inet_netof): Likewise.
27173 * inet/rcmd.c (__validuser2_sa): Likewise.
27174 * io/fts.c (fts_open): Likewise.
27175 (fts_load): Likewise.
27176 (fts_close): Likewise.
27177 (fts_read): Likewise.
27178 (fts_children): Likewise.
27179 (fts_build): Likewise.
27180 (fts_stat): Likewise.
27181 (fts_sort): Likewise.
27182 (fts_alloc): Likewise.
27183 (fts_lfree): Likewise.
27184 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27185 (_IO_file_xsgetn): Likewise.
27186 (_IO_file_xsgetn_mmap): Likewise.
27187 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27188 (_IO_cookie_write): Likewise.
27189 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27190 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27191 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27192 * malloc/obstack.c (_obstack_begin): Likewise.
27193 (_obstack_begin_1): Likewise.
27194 (_obstack_newchunk): Likewise.
27195 (_obstack_allocated_p): Likewise.
27196 (obstack_free): Likewise.
27197 (_obstack_memory_used): Likewise.
27198 * misc/getttyent.c (getttynam): Likewise.
27199 (getttyent): Likewise.
27202 * misc/getusershell.c (initshells): Likewise.
27203 * misc/syslog.c (__vsyslog_chk): Likewise.
27204 * misc/ttyslot.c (ttyslot): Likewise.
27205 * nis/nis_hash.c (__nis_hash): Likewise.
27206 * posix/fnmatch_loop.c (FCT): Likewise.
27207 * posix/getconf.c (print_all): Likewise.
27209 * posix/getopt.c (exchange): Likewise.
27210 * posix/glob.c (globfree): Likewise.
27211 (prefix_array): Likewise.
27212 (__glob_pattern_type): Likewise.
27213 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27214 (NS_GET32): Likewise.
27215 (NS_PUT16): Likewise.
27216 (NS_PUT32): Likewise.
27217 * resolv/gethnamaddr.c (getanswer): Likewise.
27218 (gethostbyname2): Likewise.
27219 (gethostbyaddr): Likewise.
27220 (_gethtent): Likewise.
27221 (_gethtbyname2): Likewise.
27222 (_gethtbyaddr): Likewise.
27223 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27224 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27225 * resolv/res_init.c (__res_vinit): Likewise.
27226 (net_mask): Likewise.
27227 * resolv/res_mkquery.c (outchar): Likewise.
27229 * stdio-common/printf_fp.c (outchar): Likewise.
27231 * stdio-common/printf_fphex.c (outchar): Likewise.
27233 * stdio-common/printf_size.c (outchar): Likewise.
27235 * stdio-common/test_rdwr.c (main): Likewise.
27236 * stdio-common/tfformat.c (matches): Likewise.
27237 * stdio-common/vfprintf.c (outchar): Likewise.
27238 (printf_unknown): Likewise.
27239 (buffered_vfprintf): Likewise.
27240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27241 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27242 (ReadFile): Likewise.
27243 * stdlib/qsort.c (SWAP): Likewise.
27244 (_quicksort): Likewise.
27245 * stdlib/setenv.c (__add_to_environ): Likewise.
27246 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27247 * stdlib/strtol_l.c (__strtol_l): Likewise.
27248 * stdlib/tst-strtod.c (main): Likewise.
27249 * stdlib/tst-strtol.c (main): Likewise.
27250 * stdlib/tst-strtoll.c (main): Likewise.
27251 * string/bits/string2.h (__strcmp_cc): Likewise.
27252 (__strcmp_cg): Likewise.
27253 (__strcspn_c1): Likewise.
27254 (__strcspn_c2): Likewise.
27255 (__strcspn_c3): Likewise.
27256 (__strspn_c1): Likewise.
27257 (__strspn_c2): Likewise.
27258 (__strspn_c3): Likewise.
27259 (__strsep_1c): Likewise.
27260 (__strsep_2c): Likewise.
27261 (__strsep_3c): Likewise.
27262 * string/memccpy.c (__memccpy): Likewise.
27263 * string/stpcpy.c (__stpcpy): Likewise.
27264 * string/strcmp.c (strcmp): Likewise.
27265 * string/strrchr.c (strrchr): Likewise.
27266 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27268 * sysdeps/mach/hurd/getcwd.c
27269 (_hurd_canonicalize_directory_name_internal): Likewise.
27270 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27271 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27272 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27273 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27274 Likewise, in both definitions.
27275 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27277 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27278 64] (__bswap_64): Likewise.
27279 * time/test_time.c (main): Likewise.
27280 * time/tzfile.c (__tzfile_read): Likewise.
27281 (__tzfile_compute): Likewise.
27282 * time/tzset.c (__tzset_parse_tz): Likewise.
27283 (tzset_internal): Likewise.
27284 (compute_change): Likewise.
27285 * wcsmbs/wcscat.c (__wcscat): Likewise.
27286 * wcsmbs/wcschr.c (wcschr): Likewise.
27287 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27288 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27289 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27290 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27291 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27292 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27293 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27294 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27295 * wcsmbs/wmemset.c (wmemset): Likewise.
27297 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27299 * scripts/config.guess: Update to version 2013-05-16.
27300 * scripts/config.sub: Update to version 2013-04-24.
27301 * scripts/install-sh: Update to version 2011-11-20.07.
27302 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27303 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27305 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27307 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27308 * elf/sln.c: Likewise.
27309 * hurd/hurd/ioctl.h: Likewise.
27310 * hurd/hurdmalloc.c: Likewise.
27311 * hurd/xattr.c: Likewise.
27312 * include/shlib-compat.h: Likewise.
27313 * inet/ruserpass.c: Likewise.
27314 * libio/iofgets_u.c: Likewise.
27315 * libio/iofgetws_u.c: Likewise.
27316 * locale/programs/ld-identification.c: Likewise.
27317 * locale/programs/ld-time.c: Likewise.
27318 * mach/msg-destroy.c: Likewise.
27319 * nss/nss_files/files-netgrp.c: Likewise.
27320 * resolv/res_data.c: Likewise.
27321 * soft-fp/op-1.h: Likewise.
27322 * soft-fp/op-2.h: Likewise.
27323 * soft-fp/op-4.h: Likewise.
27324 * soft-fp/op-common.h: Likewise.
27325 * stdio-common/printf_fphex.c: Likewise.
27326 * stdlib/strtod_l.c: Likewise.
27327 * sunrpc/rpc/clnt.h: Likewise.
27328 * sysdeps/generic/framestate.c: Likewise.
27329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27330 * sysdeps/i386/bsd-setjmp.S: Likewise.
27331 * sysdeps/i386/__longjmp.S: Likewise.
27332 * sysdeps/i386/setjmp.S: Likewise.
27333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27344 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27345 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27348 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27349 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27350 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27351 * sysdeps/ieee754/support.c: Likewise.
27352 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27353 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27354 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27355 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27356 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27357 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27358 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27359 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27360 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27361 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27362 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27363 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27366 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27367 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27368 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27371 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27373 * posix/transbug.c: Remove executable mode.
27375 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27377 * crypt/speeds.c: Remove trailing whitespace.
27378 * dlfcn/default.c: Likewise.
27379 * elf/ifuncdep2.c: Likewise.
27380 * elf/ifuncmain1.c: Likewise.
27381 * elf/ifuncmain1vis.c: Likewise.
27382 * elf/testobj.h: Likewise.
27383 * elf/tst-stackguard1.c: Likewise.
27384 * gmon/sys/gmon.h: Likewise.
27385 * hurd/hurdmsg.c: Likewise.
27386 * hurd/new-fd.c: Likewise.
27387 * hurd/ports-get.c: Likewise.
27388 * iconvdata/ibm1008_420.c: Likewise.
27389 * inet/tst-getni1.c: Likewise.
27390 * inet/tst-getni2.c: Likewise.
27391 * libio/ioungetc.c: Likewise.
27392 * libio/wfiledoalloc.c: Likewise.
27393 * manual/libm-err-tab.pl: Likewise.
27394 * math/w_dremf.c: Likewise.
27395 * misc/ftruncate.c: Likewise.
27396 * posix/bug-glob2.c: Likewise.
27397 * posix/tst-pcre.c: Likewise.
27398 * posix/wait4.c: Likewise.
27399 * resolv/README: Likewise.
27400 * resolv/res_debug.h: Likewise.
27401 * resolv/tst-inet_ntop.c: Likewise.
27402 * setjmp/bug269-setjmp.c: Likewise.
27403 * soft-fp/extended.h: Likewise.
27404 * soft-fp/op-1.h: Likewise.
27405 * soft-fp/op-2.h: Likewise.
27406 * soft-fp/op-4.h: Likewise.
27407 * soft-fp/op-8.h: Likewise.
27408 * soft-fp/testit.c: Likewise.
27409 * stdio-common/bug16.c: Likewise.
27410 * stdlib/random.c: Likewise.
27411 * sunrpc/rpcsvc/rquota.x: Likewise.
27412 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27413 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27415 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27416 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27417 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27418 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27419 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27420 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27422 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27441 * sysdeps/ieee754/s_lib_version.c: Likewise.
27442 * sysdeps/mach/hurd/check_fds.c: Likewise.
27443 * sysdeps/mach/hurd/getsockname.c: Likewise.
27444 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27445 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27446 * sysdeps/powerpc/bits/link.h: Likewise.
27447 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27448 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27449 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27450 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27451 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27452 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27453 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27454 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27455 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27456 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27457 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27458 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27459 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27461 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27462 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27468 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27470 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27471 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27473 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27480 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27481 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27483 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27484 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27485 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27486 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27487 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27488 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27489 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27490 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27491 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27492 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27493 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27494 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27495 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27496 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27499 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27500 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27501 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27502 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27503 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27505 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27509 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27511 * sysdeps/powerpc/sysdep.h: Likewise.
27512 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27513 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27514 * sysdeps/sh/dl-trampoline.S: Likewise.
27515 * sysdeps/sh/memset.S: Likewise.
27516 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27517 * sysdeps/sh/strlen.S: Likewise.
27518 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27519 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27520 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27521 * sysdeps/sparc/sparc32/rem.S: Likewise.
27522 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27523 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27524 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27525 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27526 * sysdeps/sparc/sparc32/urem.S: Likewise.
27527 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27528 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27529 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27530 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27532 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27533 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27534 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27535 * sysdeps/unix/bsd/times.c: Likewise.
27536 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27537 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27541 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27542 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27543 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27546 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27547 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27548 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27549 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27550 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27551 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27552 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27553 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27554 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27555 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27556 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27557 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27558 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27559 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27560 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27561 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27562 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27563 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27564 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27565 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27566 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27567 * sysdeps/x86_64/strcspn.S: Likewise.
27569 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27571 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27572 generated file. Regenerate properly from gen-translit.pl.
27573 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27574 locale/C-translit.h.
27576 2013-06-05 Andreas Schwab <schwab@suse.de>
27579 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27580 week as 6 instead of -1.
27581 * time/tst-strptime.c (day_tests): Add test case.
27583 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27585 * sysdeps/generic/math_private.h
27586 (libc_feholdexcept_setround_53bit): Replace with
27587 libc_feholdsetround_53bit.
27588 (libc_feupdateenv_53bit): Replace with
27589 libc_feresetround_53bit.
27590 (SET_RESTORE_ROUND_53BIT): Adjust.
27592 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27594 * string/test-strchrnul.c: Add copyright header.
27596 * posix/tst-getaddrinfo4.c: Increase test timeout.
27598 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27601 * math/libm-test.inc (MAX_EXP): Remove
27603 (ulp): Use MIN_EXP - MANT_DIG.
27604 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27606 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27608 * po/be.po: Revert last change.
27609 * po/zh_CN.po: Likewise.
27610 * po/header.pot: Likewise.
27612 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27614 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27615 link-libc-deps to empty as target-specific variable.
27616 * Makerules (link-libc-args): New variable.
27617 (libc-for-link): Likewise.
27618 (link-libc-deps): Likewise.
27619 (lib%.so): Depend on $(link-libc-deps). Link with
27621 (build-module): Link with $(link-libc-args).
27622 (build-module-asneeded): Likewise.
27623 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27625 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27626 target-specific variable.
27627 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27628 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27629 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27631 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27633 ($(objpfx)libpcprofile.so): Likewise.
27634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27636 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27637 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27638 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27640 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27641 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27642 * login/Makefile ($(objpfx)libutil.so): Likewise.
27643 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27644 * math/Makefile ($(objpfx)libm.so): Likewise.
27645 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27646 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27647 variable instead of depending directly on libc.
27648 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27649 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27651 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27653 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27654 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27655 ($(objpfx)libanl.so): Likewise.
27656 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27658 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27660 * sysdeps/i386/fpu/Makefile: Remove file.
27661 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27662 ($(objpfx)libm.so): Remove dependency on ld.so.
27664 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27667 * nis/yp_xdr.c (XDRMAXNAME): Define.
27668 (XDRMAXRECORD): Define.
27669 (xdr_domainname): Use XDRMAXNAME.
27670 (xdr_mapname): Likewise.
27671 (xdr_peername): Likewise.
27672 (xdr_keydat): Use XDRMAXRECORD.
27673 (xdr_valdat): Likewise.
27675 2013-05-30 Jeff Law <law@redhat.com>
27678 * manual/errno.texi (ESTALE): Update to account for more than
27679 just NFS file systems.
27680 * sysdeps/gnu/errlist.c: Regenerated.
27682 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27685 * elf/Makefile (tests): Add tst-null-argv.
27686 (modules-names): Add tst-null-argv-lib.
27687 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27688 (tst-null-argv-ENV): Set environment for tst-null-argv.
27689 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27690 (RTLD_PROGNAME): New macro.
27691 * elf/tst-null-argv.c: New test case.
27692 * elf/tst-null-argv-lib.c: Library for test case.
27693 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27694 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27695 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27696 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27697 * elf/dl-init.c (call_init): Likewise.
27698 (_dl_init): Likewise.
27699 * elf/dl-load.c (print_search_path): Likewise.
27700 (_dl_map_object): Likewise.
27701 * elf/dl-lookup.c (do_lookup_x): Likewise.
27702 (add_dependency): Likewise.
27703 (_dl_lookup_symbol_x): Likewise.
27704 (_dl_debug_bindings): Likewise.
27705 * elf/dl-open.c (_dl_show_scope): Likewise.
27706 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27707 * elf/dl-version.c (match_symbol): Likewise.
27708 (_dl_check_map_versions): Likewise.
27709 * elf/rtld.c (dl_main): Likewise.
27710 (print_unresolved): Use RTLD_PROGNAME.
27711 (print_missing_version): Likewise.
27712 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27713 (elf_machine_rela): Likewise.
27714 * sysdeps/powerpc/powerpc32/dl-machine.c
27715 (__process_machine_rela): Likewise.
27716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27722 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27729 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27731 * po/be.po: Add descriptive title.
27732 * po/zh_CN.po: Likewise.
27733 * po/header.pot: Likewise.
27735 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27737 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27739 (enlarge_archive): Likewise.
27741 2013-05-28 Ben North <ben@redfrontdoor.org>
27743 * manual/arith.texi (frexp): It is the magnitude of the return
27744 value which lies in [0.5, 1), not the return value itself.
27746 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27750 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27752 * stdio-common/bug26.c (main): Correct fscanf template.
27754 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27755 declare _dl_skip_args.
27757 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27760 * manual/platform.texi: Add missing @end deftypefun.
27762 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27766 bit of mantissa of 2^16382.
27767 * math/libm-test.inc (hypot_test_data): Add more tests.
27769 * math/libm-test.inc: Add drem and pow10 to list of tested
27771 (pow10_test): New function.
27772 (drem_test): Likewise.
27773 (drem_test_tonearest): Likewise.
27774 (drem_test_towardzero): Likewise.
27775 (drem_test_downward): Likewise.
27776 (drem_test_upward): Likewise.
27777 (main): Call the new functions.
27779 * math/libm-test.inc (finite_test_data): Remove.
27780 (finite_test): Run tests from isfinite_test_data.
27781 (gamma_test_data): Remove.
27782 (gamma_test): Run tests from lgamma_test_data.
27783 * sysdeps/i386/fpu/libm-test-ulps: Update.
27784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27786 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27788 * manual/platform.texi: Add PowerPC PPR function set documentation.
27789 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27792 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27794 * math/libm-test.inc (MAX_EXP): Define.
27796 (ulp): New function.
27797 (check_float_internal): Use ULPDIFF.
27798 (cpow_test): Disable failing test.
27799 (check_ulp): Test ulp() implemetnation.
27800 (main): Call check_ulp before starting tests.
27802 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27804 * math/gen-libm-test.pl (generate_testfile): Do not handle
27805 START_DATA and END_DATA.
27806 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27808 (acos_tonearest_test_data): Likewise.
27809 (acos_towardzero_test_data): Likewise.
27810 (acos_downward_test_data): Likewise.
27811 (acos_upward_test_data): Likewise.
27812 (acosh_test_data): Likewise.
27813 (asin_test_data): Likewise.
27814 (asin_tonearest_test_data): Likewise.
27815 (asin_towardzero_test_data): Likewise.
27816 (asin_downward_test_data): Likewise.
27817 (asin_upward_test_data): Likewise.
27818 (asinh_test_data): Likewise.
27819 (atan_test_data): Likewise.
27820 (atanh_test_data): Likewise.
27821 (atan2_test_data): Likewise.
27822 (cabs_test_data): Likewise.
27823 (cacos_test_data): Likewise.
27824 (cacosh_test_data): Likewise.
27825 (carg_test_data): Likewise.
27826 (casin_test_data): Likewise.
27827 (casinh_test_data): Likewise.
27828 (catan_test_data): Likewise.
27829 (catanh_test_data): Likewise.
27830 (cbrt_test_data): Likewise.
27831 (ccos_test_data): Likewise.
27832 (ccosh_test_data): Likewise.
27833 (ceil_test_data): Likewise.
27834 (cexp_test_data): Likewise.
27835 (cimag_test_data): Likewise.
27836 (clog_test_data): Likewise.
27837 (clog10_test_data): Likewise.
27838 (conj_test_data): Likewise.
27839 (copysign_test_data): Likewise.
27840 (cos_test_data): Likewise.
27841 (cos_tonearest_test_data): Likewise.
27842 (cos_towardzero_test_data): Likewise.
27843 (cos_downward_test_data): Likewise.
27844 (cos_upward_test_data): Likewise.
27845 (cosh_test_data): Likewise.
27846 (cosh_tonearest_test_data): Likewise.
27847 (cosh_towardzero_test_data): Likewise.
27848 (cosh_downward_test_data): Likewise.
27849 (cosh_upward_test_data): Likewise.
27850 (cpow_test_data): Likewise.
27851 (cproj_test_data): Likewise.
27852 (creal_test_data): Likewise.
27853 (csin_test_data): Likewise.
27854 (csinh_test_data): Likewise.
27855 (csqrt_test_data): Likewise.
27856 (ctan_test_data): Likewise.
27857 (ctan_tonearest_test_data): Likewise.
27858 (ctan_towardzero_test_data): Likewise.
27859 (ctan_downward_test_data): Likewise.
27860 (ctan_upward_test_data): Likewise.
27861 (ctanh_test_data): Likewise.
27862 (ctanh_tonearest_test_data): Likewise.
27863 (ctanh_towardzero_test_data): Likewise.
27864 (ctanh_downward_test_data): Likewise.
27865 (ctanh_upward_test_data): Likewise.
27866 (erf_test_data): Likewise.
27867 (erfc_test_data): Likewise.
27868 (exp_test_data): Likewise.
27869 (exp_tonearest_test_data): Likewise.
27870 (exp_towardzero_test_data): Likewise.
27871 (exp_downward_test_data): Likewise.
27872 (exp_upward_test_data): Likewise.
27873 (exp10_test_data): Likewise.
27874 (exp2_test_data): Likewise.
27875 (expm1_test_data): Likewise.
27876 (fabs_test_data): Likewise.
27877 (fdim_test_data): Likewise.
27878 (finite_test_data): Likewise.
27879 (floor_test_data): Likewise.
27880 (fma_test_data): Likewise.
27881 (fma_towardzero_test_data): Likewise.
27882 (fma_downward_test_data): Likewise.
27883 (fma_upward_test_data): Likewise.
27884 (fmax_test_data): Likewise.
27885 (fmin_test_data): Likewise.
27886 (fmod_test_data): Likewise.
27887 (fpclassify_test_data): Likewise.
27888 (frexp_test_data): Likewise.
27889 (gamma_test_data): Likewise.
27890 (hypot_test_data): Likewise.
27891 (ilogb_test_data): Likewise.
27892 (isfinite_test_data): Likewise.
27893 (isgreater_test_data): Likewise.
27894 (isgreaterequal_test_data): Likewise.
27895 (isinf_test_data): Likewise.
27896 (isless_test_data): Likewise.
27897 (islessequal_test_data): Likewise.
27898 (islessgreater_test_data): Likewise.
27899 (isnan_test_data): Likewise.
27900 (isnormal_test_data): Likewise.
27901 (issignaling_test_data): Likewise.
27902 (isunordered_test_data): Likewise.
27903 (j0_test_data): Likewise.
27904 (j1_test_data): Likewise.
27905 (jn_test_data): Likewise.
27906 (ldexp_test_data): Likewise.
27907 (lgamma_test_data): Likewise.
27908 (lrint_test_data): Likewise.
27909 (lrint_tonearest_test_data): Likewise.
27910 (lrint_towardzero_test_data): Likewise.
27911 (lrint_downward_test_data): Likewise.
27912 (lrint_upward_test_data): Likewise.
27913 (llrint_test_data): Likewise.
27914 (llrint_tonearest_test_data): Likewise.
27915 (llrint_towardzero_test_data): Likewise.
27916 (llrint_downward_test_data): Likewise.
27917 (llrint_upward_test_data): Likewise.
27918 (log_test_data): Likewise.
27919 (log10_test_data): Likewise.
27920 (log1p_test_data): Likewise.
27921 (log2_test_data): Likewise.
27922 (logb_test_data): Likewise.
27923 (logb_downward_test_data): Likewise.
27924 (lround_test_data): Likewise.
27925 (llround_test_data): Likewise.
27926 (modf_test_data): Likewise.
27927 (nearbyint_test_data): Likewise.
27928 (nextafter_test_data): Likewise.
27929 (nexttoward_test_data): Likewise.
27930 (pow_test_data): Likewise.
27931 (pow_tonearest_test_data): Likewise.
27932 (pow_towardzero_test_data): Likewise.
27933 (pow_downward_test_data): Likewise.
27934 (pow_upward_test_data): Likewise.
27935 (remainder_test_data): Likewise.
27936 (remainder_tonearest_test_data): Likewise.
27937 (remainder_towardzero_test_data): Likewise.
27938 (remainder_downward_test_data): Likewise.
27939 (remainder_upward_test_data): Likewise.
27940 (remquo_test_data): Likewise.
27941 (rint_test_data): Likewise.
27942 (rint_tonearest_test_data): Likewise.
27943 (rint_towardzero_test_data): Likewise.
27944 (rint_downward_test_data): Likewise.
27945 (rint_upward_test_data): Likewise.
27946 (round_test_data): Likewise.
27947 (scalb_test_data): Likewise.
27948 (scalbn_test_data): Likewise.
27949 (scalbln_test_data): Likewise.
27950 (signbit_test_data): Likewise.
27951 (sin_test_data): Likewise.
27952 (sin_tonearest_test_data): Likewise.
27953 (sin_towardzero_test_data): Likewise.
27954 (sin_downward_test_data): Likewise.
27955 (sin_upward_test_data): Likewise.
27956 (sincos_test_data): Likewise.
27957 (sinh_test_data): Likewise.
27958 (sinh_tonearest_test_data): Likewise.
27959 (sinh_towardzero_test_data): Likewise.
27960 (sinh_downward_test_data): Likewise.
27961 (sinh_upward_test_data): Likewise.
27962 (sqrt_test_data): Likewise.
27963 (tan_test_data): Likewise.
27964 (tan_tonearest_test_data): Likewise.
27965 (tan_towardzero_test_data): Likewise.
27966 (tan_downward_test_data): Likewise.
27967 (tan_upward_test_data): Likewise.
27968 (tanh_test_data): Likewise.
27969 (tgamma_test_data): Likewise.
27970 (trunc_test_data): Likewise.
27971 (y0_test_data): Likewise.
27972 (y1_test_data): Likewise.
27973 (yn_test_data): Likewise.
27974 (significand_test_data): Likewise.
27976 * math/gen-libm-test.pl (@functions): Remove variable.
27977 (generate_testfile): Don't handle START and END lines.
27978 * math/libm-test.inc (START): New macro.
27980 (END_COMPLEX): Likewise.
27981 (acos_test): Use END macro without arguments.
27982 (acos_test_tonearest): Likewise.
27983 (acos_test_towardzero): Likewise.
27984 (acos_test_downward): Likewise.
27985 (acos_test_upward): Likewise.
27986 (acosh_test): Likewise.
27987 (asin_test): Likewise.
27988 (asin_test_tonearest): Likewise.
27989 (asin_test_towardzero): Likewise.
27990 (asin_test_downward): Likewise.
27991 (asin_test_upward): Likewise.
27992 (asinh_test): Likewise.
27993 (atan_test): Likewise.
27994 (atanh_test): Likewise.
27995 (atan2_test): Likewise.
27996 (cabs_test): Likewise.
27997 (cacos_test): Use END_COMPLEX macro without arguments.
27998 (cacosh_test): Likewise.
27999 (carg_test): Use END macro without arguments.
28000 (casin_test): Use END_COMPLEX macro without arguments.
28001 (casinh_test): Likewise.
28002 (catan_test): Likewise.
28003 (catanh_test): Likewise.
28004 (cbrt_test): Use END macro without arguments.
28005 (ccos_test): Use END_COMPLEX macro without arguments.
28006 (ccosh_test): Likewise.
28007 (ceil_test): Use END macro without arguments.
28008 (cexp_test): Use END_COMPLEX macro without arguments.
28009 (cimag_test): Use END macro without arguments.
28010 (clog_test): Use END_COMPLEX macro without arguments.
28011 (clog10_test): Likewise.
28012 (conj_test): Likewise.
28013 (copysign_test): Use END macro without arguments.
28014 (cos_test): Likewise.
28015 (cos_test_tonearest): Likewise.
28016 (cos_test_towardzero): Likewise.
28017 (cos_test_downward): Likewise.
28018 (cos_test_upward): Likewise.
28019 (cosh_test): Likewise.
28020 (cosh_test_tonearest): Likewise.
28021 (cosh_test_towardzero): Likewise.
28022 (cosh_test_downward): Likewise.
28023 (cosh_test_upward): Likewise.
28024 (cpow_test): Use END_COMPLEX macro without arguments.
28025 (cproj_test): Likewise.
28026 (creal_test): Use END macro without arguments.
28027 (csin_test): Use END_COMPLEX macro without arguments.
28028 (csinh_test): Likewise.
28029 (csqrt_test): Likewise.
28030 (ctan_test): Likewise.
28031 (ctan_test_tonearest): Likewise.
28032 (ctan_test_towardzero): Likewise.
28033 (ctan_test_downward): Likewise.
28034 (ctan_test_upward): Likewise.
28035 (ctanh_test): Likewise.
28036 (ctanh_test_tonearest): Likewise.
28037 (ctanh_test_towardzero): Likewise.
28038 (ctanh_test_downward): Likewise.
28039 (ctanh_test_upward): Likewise.
28040 (erf_test): Use END macro without arguments.
28041 (erfc_test): Likewise.
28042 (exp_test): Likewise.
28043 (exp_test_tonearest): Likewise.
28044 (exp_test_towardzero): Likewise.
28045 (exp_test_downward): Likewise.
28046 (exp_test_upward): Likewise.
28047 (exp10_test): Likewise.
28048 (exp2_test): Likewise.
28049 (expm1_test): Likewise.
28050 (fabs_test): Likewise.
28051 (fdim_test): Likewise.
28052 (finite_test): Likewise.
28053 (floor_test): Likewise.
28054 (fma_test): Likewise.
28055 (fma_test_towardzero): Likewise.
28056 (fma_test_downward): Likewise.
28057 (fma_test_upward): Likewise.
28058 (fmax_test): Likewise.
28059 (fmin_test): Likewise.
28060 (fmod_test): Likewise.
28061 (fpclassify_test): Likewise.
28062 (frexp_test): Likewise.
28063 (gamma_test): Likewise.
28064 (hypot_test): Likewise.
28065 (ilogb_test): Likewise.
28066 (isfinite_test): Likewise.
28067 (isgreater_test): Likewise.
28068 (isgreaterequal_test): Likewise.
28069 (isinf_test): Likewise.
28070 (isless_test): Likewise.
28071 (islessequal_test): Likewise.
28072 (islessgreater_test): Likewise.
28073 (isnan_test): Likewise.
28074 (isnormal_test): Likewise.
28075 (issignaling_test): Likewise.
28076 (isunordered_test): Likewise.
28077 (j0_test): Likewise.
28078 (j1_test): Likewise.
28079 (jn_test): Likewise.
28080 (ldexp_test): Likewise.
28081 (lgamma_test): Likewise.
28082 (lrint_test): Likewise.
28083 (lrint_test_tonearest): Likewise.
28084 (lrint_test_towardzero): Likewise.
28085 (lrint_test_downward): Likewise.
28086 (lrint_test_upward): Likewise.
28087 (llrint_test): Likewise.
28088 (llrint_test_tonearest): Likewise.
28089 (llrint_test_towardzero): Likewise.
28090 (llrint_test_downward): Likewise.
28091 (llrint_test_upward): Likewise.
28092 (log_test): Likewise.
28093 (log10_test): Likewise.
28094 (log1p_test): Likewise.
28095 (log2_test): Likewise.
28096 (logb_test): Likewise.
28097 (logb_test_downward): Likewise.
28098 (lround_test): Likewise.
28099 (llround_test): Likewise.
28100 (modf_test): Likewise.
28101 (nearbyint_test): Likewise.
28102 (nextafter_test): Likewise.
28103 (nexttoward_test): Likewise.
28104 (pow_test): Likewise.
28105 (pow_test_tonearest): Likewise.
28106 (pow_test_towardzero): Likewise.
28107 (pow_test_downward): Likewise.
28108 (pow_test_upward): Likewise.
28109 (remainder_test): Likewise.
28110 (remainder_test_tonearest): Likewise.
28111 (remainder_test_towardzero): Likewise.
28112 (remainder_test_downward): Likewise.
28113 (remainder_test_upward): Likewise.
28114 (remquo_test): Likewise.
28115 (rint_test): Likewise.
28116 (rint_test_tonearest): Likewise.
28117 (rint_test_towardzero): Likewise.
28118 (rint_test_downward): Likewise.
28119 (rint_test_upward): Likewise.
28120 (round_test): Likewise.
28121 (scalb_test): Likewise.
28122 (scalbn_test): Likewise.
28123 (scalbln_test): Likewise.
28124 (signbit_test): Likewise.
28125 (sin_test): Likewise.
28126 (sin_test_tonearest): Likewise.
28127 (sin_test_towardzero): Likewise.
28128 (sin_test_downward): Likewise.
28129 (sin_test_upward): Likewise.
28130 (sincos_test): Likewise.
28131 (sinh_test): Likewise.
28132 (sinh_test_tonearest): Likewise.
28133 (sinh_test_towardzero): Likewise.
28134 (sinh_test_downward): Likewise.
28135 (sinh_test_upward): Likewise.
28136 (sqrt_test): Likewise.
28137 (tan_test): Likewise.
28138 (tan_test_tonearest): Likewise.
28139 (tan_test_towardzero): Likewise.
28140 (tan_test_downward): Likewise.
28141 (tan_test_upward): Likewise.
28142 (tanh_test): Likewise.
28143 (tgamma_test): Likewise.
28144 (trunc_test): Likewise.
28145 (y0_test): Likewise.
28146 (y1_test): Likewise.
28147 (yn_test): Likewise.
28148 (significand_test): Likewise.
28150 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28153 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28155 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28158 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28159 __ppc_mdoio and __ppc_mdoom.
28160 * manual/platform.texi: Document new functions __ppc_yield,
28161 __ppc_mdoio and __ppc_mdoom.
28163 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28165 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28166 (main): Mention "tls" pseudo-hwcap is legacy.
28167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28169 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28171 * math/gen-libm-test.pl (parse_args): Output only string of
28172 arguments as text for test name, not full call or descriptions of
28173 tests for extra outputs.
28174 (generate_testfile): Do not pass function name to parse_args.
28175 Generate this_func variable from START.
28176 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28178 (struct test_ff_f_data): Likewise.
28179 (test_ff_f_data_nexttoward): Likewise.
28180 (struct test_fi_f_data): Likewise.
28181 (struct test_fl_f_data): Likewise.
28182 (struct test_if_f_data): Likewise.
28183 (struct test_fff_f_data): Likewise.
28184 (struct test_c_f_data): Likewise.
28185 (struct test_f_f1_data): Likewise. Remove field extra_name.
28186 (struct test_fF_f1_data): Likewise.
28187 (struct test_ffI_f1_data): Likewise.
28188 (struct test_c_c_data): Rename test_name field to arg_str.
28189 (struct test_cc_c_data): Likewise.
28190 (struct test_f_i_data): Likewise.
28191 (struct test_ff_i_data): Likewise.
28192 (struct test_f_l_data): Likewise.
28193 (struct test_f_L_data): Likewise.
28194 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28196 (COMMON_TEST_SETUP): New macro.
28197 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28198 (COMMON_TEST_CLEANUP): Likewise.
28199 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28200 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28202 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28203 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28205 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28206 (RUN_TEST_fff_f): Take argument string. Call new setup and
28208 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28209 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28211 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28212 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28214 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28215 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28217 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28218 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28220 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28221 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28223 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28224 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28226 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28227 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28229 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28230 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28232 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28233 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28235 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28236 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28238 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28239 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28241 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28242 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28244 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28245 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28247 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28248 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28250 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28251 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28253 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28255 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28257 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28258 to _sifields.sigfault.
28259 (si_addr_lsb): Define new macro.
28260 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28264 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28267 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28269 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28271 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28272 loading the domain.
28274 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28276 * math/gen-libm-test.pl (parse_args): Do not include expected
28277 result in test name.
28278 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28281 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28282 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28285 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28287 * benchtests/Makefile: Sort function entries.
28289 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28290 tanh, asinh, acosh, atanh.
28291 * benchtests/acos-inputs: New file.
28292 * benchtests/acosh-inputs: New file.
28293 * benchtests/asin-inputs: New file.
28294 * benchtests/asinh-inputs: New file.
28295 * benchtests/atanh-inputs: New file.
28296 * benchtests/cosh-inputs: New file.
28297 * benchtests/log-inputs: New file.
28298 * benchtests/sinh-inputs: New file.
28299 * benchtests/tanh-inputs: New file.
28301 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28304 * posix/tst-getaddrinfo4.c: New test.
28305 * posix/Makefile (tests): Add it.
28307 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28310 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28311 when no services were used.
28312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28313 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28315 2013-05-21 Andreas Schwab <schwab@suse.de>
28318 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28319 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28321 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28322 redundant variable declarations and reallocation of buffer when
28323 parsing as IPv6 address. Always set NSS status when called from
28324 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28325 buffer too small. Correct computation of needed size.
28326 * nss/Makefile (tests): Add test-digits-dots.
28327 * nss/test-digits-dots.c: New test.
28329 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28331 * benchtests/Makefile: Remove instructions for adding
28333 * benchtests/README: New file to explain how to execute and
28334 enhance the benchmark tests.
28336 2013-05-21 Andreas Schwab <schwab@suse.de>
28339 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28340 * setjmp/tst-sigsetjmp.c: New test.
28342 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28344 * sysdeps/x86_64/memset.S (memset): New implementation.
28345 (__bzero): Likewise.
28346 (__memset_tail): New function.
28348 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28350 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28351 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28352 __memcpy_sse2_unaligned ifunc selection.
28353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28354 Add memcpy-sse2-unaligned.S.
28355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28356 Add: __memcpy_sse2_unaligned.
28358 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28361 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28362 math_force_eval before restoring floating-point envrionment.
28363 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28364 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28368 (__nearbyintl): Use math_force_eval before restoring
28369 floating-point environment.
28370 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28372 * math/gen-libm-test.pl (special_functions): Remove.
28373 (parse_args): Don't handle TEST_extra. Handle functions with no
28375 * math/libm-test.inc (struct test_sincos_data): Replace with
28376 struct test_fFF_11_data.
28377 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28378 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28379 (sincos_test_data): Change element type to struct
28380 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28381 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28382 RUN_TEST_LOOP_sincos.
28383 * math/README.libm-test: Don't mention special handling of
28384 individual functions.
28385 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28388 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28392 * math/gen-libm-test.pl (get_variable): Remove function.
28393 (parse_args): Don't show pointer parameters to call in test
28394 names. Use "extra output N" in test names for extra outputs
28395 rather than naming variables.
28397 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28400 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28401 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28402 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28404 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28406 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28409 * math/gen-libm-test.pl (@tests): Remove variable.
28410 ($count): Likewise.
28411 (new_test): Remove function.
28412 (show_exceptions): New function.
28413 (special_functions): Use show_exceptions instead of new_test.
28414 (parse_args): Likewise.
28415 (generate_testfile): Pass only function name in generated call to
28416 print_max_error or print_complex_max_error.
28417 (get_ulps): Do not handle complex tests specially.
28418 (output_test): Rename to ...
28419 (get_all_ulps_for_test): ... this. Return a string rather than
28420 printing to a file. Require ulps to be present.
28421 (output_ulps): Generate arrays rather than #defines.
28422 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28423 (struct ulp_data): New type.
28424 (BUILD_COMPLEX_ULP): Remove macro.
28425 (compare_ulp_data): New function.
28426 (find_ulps): Likewise.
28427 (find_test_ulps): Likewise.
28428 (find_function_ulps): Likewise.
28429 (find_complex_function_ulps): Likewise.
28430 (print_max_error): Determine allowed ulps using
28431 find_function_ulps.
28432 (print_complex_max_error): Determine allowed ulps using
28433 find_complex_function_ulps.
28434 (check_float_internal): Determine max ulps using find_test_ulps.
28435 (check_float): Do not take max_ulp parameter. Update call to
28436 check_float_internal.
28437 (check_complex): Likewise.
28438 (check_int): Do not take max_ulp parameter.
28439 (check_long): Likewise.
28440 (check_bool): Likewise.
28441 (check_longlong): Likewise.
28442 (struct test_f_f_data): Remove max_ulp field.
28443 (struct test_ff_f_data): Likewise.
28444 (struct test_ff_f_data_nexttoward): Likewise.
28445 (struct test_fi_f_data): Likewise.
28446 (struct test_fl_f_data): Likewise.
28447 (struct test_if_f_data): Likewise.
28448 (struct test_fff_f_data): Likewise.
28449 (struct test_c_f_data): Likewise.
28450 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28451 (struct test_fF_f1_data): Likewise.
28452 (struct test_ffI_f1_data): Likewise.
28453 (struct test_c_c_data): Remove max_ulp field.
28454 (struct test_cc_c_data): Likewise.
28455 (struct test_f_i_data): Likewise.
28456 (struct test_ff_i_data): Likewise.
28457 (struct test_f_l_data): Likewise.
28458 (struct test_f_L_data): Likewise.
28459 (struct test_sincos_data): Likewise.
28460 (RUN_TEST_f_f): Do not handle ulps.
28461 (RUN_TEST_LOOP_f_f): Likewise.
28462 (RUN_TEST_2_f): Likewise.
28463 (RUN_TEST_LOOP_2_f): Likewise.
28464 (RUN_TEST_fff_f): Likewise.
28465 (RUN_TEST_LOOP_fff_f): Likewise.
28466 (RUN_TEST_c_f): Likewise.
28467 (RUN_TEST_LOOP_c_f): Likewise.
28468 (RUN_TEST_f_f1): Likewise.
28469 (RUN_TEST_LOOP_f_f1): Likewise.
28470 (RUN_TEST_fF_f1): Likewise.
28471 (RUN_TEST_LOOP_fF_f1): Likewise.
28472 (RUN_TEST_fI_f1): Likewise.
28473 (RUN_TEST_LOOP_fI_f1): Likewise.
28474 (RUN_TEST_ffI_f1): Likewise.
28475 (RUN_TEST_LOOP_ffI_f1): Likewise.
28476 (RUN_TEST_c_c): Likewise.
28477 (RUN_TEST_LOOP_c_c): Likewise.
28478 (RUN_TEST_cc_c): Likewise.
28479 (RUN_TEST_LOOP_cc_c): Likewise.
28480 (RUN_TEST_f_i): Likewise.
28481 (RUN_TEST_LOOP_f_i): Likewise.
28482 (RUN_TEST_f_i_tg): Likewise.
28483 (RUN_TEST_LOOP_f_i_tg): Likewise.
28484 (RUN_TEST_ff_i_tg): Likewise.
28485 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28486 (RUN_TEST_f_b): Likewise.
28487 (RUN_TEST_LOOP_f_b): Likewise.
28488 (RUN_TEST_f_b_tg): Likewise.
28489 (RUN_TEST_LOOP_f_b_tg): Likewise.
28490 (RUN_TEST_f_l): Likewise.
28491 (RUN_TEST_LOOP_f_l): Likewise.
28492 (RUN_TEST_f_L): Likewise.
28493 (RUN_TEST_LOOP_f_L): Likewise.
28494 (RUN_TEST_sincos): Likewise.
28495 (RUN_TEST_LOOP_sincos): Likewise.
28497 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28501 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28502 main case of finite arguments, set rounding mode to FE_TONEAREST
28503 and discard exceptions.
28504 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28506 (remainder_tonearest_test_data): New variable.
28507 (remainder_test_tonearest): New function.
28508 (remainder_towardzero_test_data): New variable.
28509 (remainder_test_towardzero): New function.
28510 (remainder_downward_test_data): New variable.
28511 (remainder_test_downward): New function.
28512 (remainder_upward_test_data): New variable.
28513 (remainder_test_upward): New function.
28514 (main): Call the new test functions.
28516 * math/libm-test.inc (struct test_f_f1_data): Remove field
28518 (struct test_fF_f1_data): Likewise.
28519 (struct test_ffI_f1_data): Likewise.
28520 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28521 based on value of EXTRA_EXPECTED.
28522 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28523 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28524 EXTRA_VAR based on value of EXTRA_EXPECTED.
28525 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28526 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28527 EXTRA_VAR based on value of EXTRA_EXPECTED.
28528 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28529 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28530 EXTRA_VAR based on value of EXTRA_EXPECTED.
28531 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28532 * math/gen-libm-test.pl (parse_args): Don't output initializers
28533 for extra output values.
28535 * math/libm-test.inc (check_int): Expect result to be exactly
28536 equal to expected value and do not handle ulps.
28537 (check_long): Likewise.
28538 (check_longlong): Likewise.
28540 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28542 (cimag_test_data): Likewise.
28543 (conj_test_data): Likewise.
28544 (copysign_test_data): Likewise.
28545 (cproj_test_data): Likewise.
28546 (creal_test_data): Likewise.
28547 (fabs_test_data): Likewise.
28548 (fdim_test_data): Likewise.
28549 (finite_test_data): Likewise.
28550 (floor_test_data): Likewise.
28551 (fmax_test_data): Likewise.
28552 (fmin_test_data): Likewise.
28553 (fmod_test_data): Likewise.
28554 (fpclassify_test_data): Likewise.
28555 (frexp_test_data): Likewise.
28556 (ilogb_test_data): Likewise.
28557 (isfinite_test_data): Likewise.
28558 (isgreater_test_data): Likewise.
28559 (isgreaterequal_test_data): Likewise.
28560 (isinf_test_data): Likewise.
28561 (isless_test_data): Likewise.
28562 (islessequal_test_data): Likewise.
28563 (islessgreater_test_data): Likewise.
28564 (isnan_test_data): Likewise.
28565 (isnormal_test_data): Likewise.
28566 (issignaling_test_data): Likewise.
28567 (isunordered_test_data): Likewise.
28568 (ldexp_test_data): Likewise.
28569 (lrint_test_data): Likewise.
28570 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28571 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28572 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28573 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28574 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28575 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28577 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28578 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28579 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28580 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28582 (lrint_downward_test_data): Test for "inexact" exceptions.
28583 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28584 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28585 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28587 (lrint_upward_test_data): Test for "inexact" exceptions.
28588 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28590 (llrint_test_data): Test for "inexact" exceptions.
28591 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28592 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28593 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28594 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28595 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28596 (llrint_downward_test_data): Test for "inexact" exceptions.
28597 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28598 (llrint_upward_test_data): Test for "inexact" exceptions.
28599 (logb_test_data): Likewise.
28600 (logb_downward_test_data): Likewise.
28601 (nextafter_test_data): Likewise.
28602 (nexttoward_test_data): Likewise.
28603 (remainder_test_data): Likewise.
28604 (remquo_test_data): Likewise.
28605 (scalbn_test_data): Likewise.
28606 (scalbln_test_data): Likewise.
28607 (signbit_test_data): Likewise.
28608 (sqrt_test_data): Likewise.
28609 (significand_test_data): Likewise.
28611 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28614 * benchtests/bench-modf.c (struct args): Mark arg0 as
28616 * scripts/bench.pl: Mark members of struct args as volatile.
28618 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28621 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28622 negative infinity on POWER6 or lower.
28623 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28625 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28628 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28629 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28630 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28631 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28632 (_FP_SETQNAN): New macro.
28633 (_FP_SETQNAN_SEMIRAW): Likewise.
28634 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28635 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28636 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28637 (FP_EXTEND): Use _FP_FRAC_SNANP.
28638 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28639 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28646 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28648 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28649 with DIVIDE_BY_ZERO_EXCEPTION.
28650 (gamma_test_data): Likewise.
28651 (lgamma_test_data): Likewise.
28652 (log_test_data): Likewise.
28653 (log10_test_data): Likewise.
28654 (log2_test_data): Likewise.
28655 (tgamma_test_data): Likewise.
28657 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28658 (acos_test_tonearest): Likewise.
28659 (acos_test_towardzero): Likewise.
28660 (acos_test_downward): Likewise.
28661 (acos_test_upward): Likewise.
28662 (acosh_test): Likewise.
28663 (asin_test): Likewise.
28664 (asin_test_tonearest): Likewise.
28665 (asin_test_towardzero): Likewise.
28666 (asin_test_downward): Likewise.
28667 (asin_test_upward): Likewise.
28668 (asinh_test): Likewise.
28669 (atan_test): Likewise.
28670 (atanh_test): Likewise.
28671 (atan2_test): Likewise.
28672 (cabs_test): Likewise.
28673 (cacos_test): Likewise.
28674 (cacosh_test): Likewise.
28675 (casin_test): Likewise.
28676 (casinh_test): Likewise.
28677 (catan_test): Likewise.
28678 (catanh_test): Likewise.
28679 (cbrt_test): Likewise.
28680 (ccos_test): Likewise.
28681 (ccosh_test): Likewise.
28682 (cexp_test): Likewise.
28683 (clog_test): Likewise.
28684 (clog10_test): Likewise.
28685 (cos_test): Likewise.
28686 (cos_test_tonearest): Likewise.
28687 (cos_test_towardzero): Likewise.
28688 (cos_test_downward): Likewise.
28689 (cos_test_upward): Likewise.
28690 (cosh_test): Likewise.
28691 (cosh_test_tonearest): Likewise.
28692 (cosh_test_towardzero): Likewise.
28693 (cosh_test_downward): Likewise.
28694 (cosh_test_upward): Likewise.
28695 (cpow_test): Likewise.
28696 (csin_test): Likewise.
28697 (csinh_test): Likewise.
28698 (csqrt_test): Likewise.
28699 (ctan_test): Likewise.
28700 (ctan_test_tonearest): Likewise.
28701 (ctan_test_towardzero): Likewise.
28702 (ctan_test_downward): Likewise.
28703 (ctan_test_upward): Likewise.
28704 (ctanh_test): Likewise.
28705 (ctanh_test_tonearest): Likewise.
28706 (ctanh_test_towardzero): Likewise.
28707 (ctanh_test_downward): Likewise.
28708 (ctanh_test_upward): Likewise.
28709 (erf_test): Likewise.
28710 (erfc_test): Likewise.
28711 (exp_test): Likewise.
28712 (exp_test_tonearest): Likewise.
28713 (exp_test_towardzero): Likewise.
28714 (exp_test_downward): Likewise.
28715 (exp_test_upward): Likewise.
28716 (exp10_test): Likewise.
28717 (exp2_test): Likewise.
28718 (expm1_test): Likewise.
28719 (fmod_test): Likewise.
28720 (gamma_test): Likewise.
28721 (hypot_test): Likewise.
28722 (j0_test): Likewise.
28723 (j1_test): Likewise.
28724 (jn_test): Likewise.
28725 (lgamma_test): Likewise.
28726 (log_test): Likewise.
28727 (log10_test): Likewise.
28728 (log1p_test): Likewise.
28729 (log2_test): Likewise.
28730 (logb_test_downward): Likewise.
28731 (pow_test): Likewise.
28732 (pow_test_tonearest): Likewise.
28733 (pow_test_towardzero): Likewise.
28734 (pow_test_downward): Likewise.
28735 (pow_test_upward): Likewise.
28736 (remainder_test): Likewise.
28737 (remquo_test): Likewise.
28738 (sin_test): Likewise.
28739 (sin_test_tonearest): Likewise.
28740 (sin_test_towardzero): Likewise.
28741 (sin_test_downward): Likewise.
28742 (sin_test_upward): Likewise.
28743 (sincos_test): Likewise.
28744 (sinh_test): Likewise.
28745 (sinh_test_tonearest): Likewise.
28746 (sinh_test_towardzero): Likewise.
28747 (sinh_test_downward): Likewise.
28748 (sinh_test_upward): Likewise.
28749 (sqrt_test): Likewise.
28750 (tan_test): Likewise.
28751 (tan_test_tonearest): Likewise.
28752 (tan_test_towardzero): Likewise.
28753 (tan_test_downward): Likewise.
28754 (tan_test_upward): Likewise.
28755 (tanh_test): Likewise.
28756 (tgamma_test): Likewise.
28757 (y0_test): Likewise.
28758 (y1_test): Likewise.
28759 (yn_test): Likewise.
28761 * math/gen-libm-test.pl (adjust_arg): Remove function.
28762 (special_function): Remove argument $in_func. Only handle
28763 generating output for tables of tests, not inside functions.
28764 (parse_args): Likewise.
28765 (generate_testfile): Remove variable $in_func. Update call to
28767 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28768 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28769 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28770 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28771 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28772 (MAX_VALUE_INIT): Rename macro to max_value.
28773 (MIN_VALUE_INIT): Rename macro to min_value.
28774 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28775 (plus_zero): Remove variable.
28776 (minus_zero): Likewise.
28777 (plus_infty): Likewise.
28778 (minus_infty): Likewise.
28779 (qnan_value): Likewise.
28780 (max_value): Likewise.
28781 (min_value): Likewise.
28782 (min_subnorm_value): Likewise.
28784 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28786 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28787 uint64_t or uint32_t usage.
28788 * crypt/sha256-block.c: Likewise.
28789 * crypt/sha256-crypt.c: Likewise.
28790 * crypt/sha256.c: Likewise.
28791 * crypt/sha512-block.c: Likewise.
28792 * crypt/sha512-crypt.c: Likewise.
28793 * crypt/sha512.c: Likewise.
28794 * debug/backtrace-tst.c: Likewise.
28795 * debug/pcprofiledump.c: Likewise.
28796 * elf/cache.c: Likewise.
28797 * elf/dl-cache.c: Likewise.
28798 * elf/dl-misc.c: Likewise.
28799 * elf/dl-profile.c: Likewise.
28800 * elf/dl-support.c: Likewise.
28801 * elf/ldconfig.c: Likewise.
28802 * elf/sprof.c: Likewise.
28803 * iconv/dummy-repertoire.c: Likewise.
28804 * iconv/iconv_charmap.c: Likewise.
28805 * iconv/skeleton.c: Likewise.
28806 * iconvdata/8bit-generic.c: Likewise.
28807 * iconvdata/cp737.h: Likewise.
28808 * iconvdata/cp775.h: Likewise.
28809 * iconvdata/ibm1008.h: Likewise.
28810 * iconvdata/ibm1025.h: Likewise.
28811 * iconvdata/ibm1046.h: Likewise.
28812 * iconvdata/ibm1097.h: Likewise.
28813 * iconvdata/ibm1112.h: Likewise.
28814 * iconvdata/ibm1122.h: Likewise.
28815 * iconvdata/ibm1123.h: Likewise.
28816 * iconvdata/ibm1124.h: Likewise.
28817 * iconvdata/ibm1129.h: Likewise.
28818 * iconvdata/ibm1130.h: Likewise.
28819 * iconvdata/ibm1132.h: Likewise.
28820 * iconvdata/ibm1133.h: Likewise.
28821 * iconvdata/ibm1137.h: Likewise.
28822 * iconvdata/ibm1140.h: Likewise.
28823 * iconvdata/ibm1141.h: Likewise.
28824 * iconvdata/ibm1142.h: Likewise.
28825 * iconvdata/ibm1143.h: Likewise.
28826 * iconvdata/ibm1144.h: Likewise.
28827 * iconvdata/ibm1145.h: Likewise.
28828 * iconvdata/ibm1146.h: Likewise.
28829 * iconvdata/ibm1147.h: Likewise.
28830 * iconvdata/ibm1148.h: Likewise.
28831 * iconvdata/ibm1149.h: Likewise.
28832 * iconvdata/ibm1153.h: Likewise.
28833 * iconvdata/ibm1154.h: Likewise.
28834 * iconvdata/ibm1155.h: Likewise.
28835 * iconvdata/ibm1156.h: Likewise.
28836 * iconvdata/ibm1157.h: Likewise.
28837 * iconvdata/ibm1158.h: Likewise.
28838 * iconvdata/ibm1160.h: Likewise.
28839 * iconvdata/ibm1161.h: Likewise.
28840 * iconvdata/ibm1162.h: Likewise.
28841 * iconvdata/ibm1163.h: Likewise.
28842 * iconvdata/ibm1164.h: Likewise.
28843 * iconvdata/ibm1166.h: Likewise.
28844 * iconvdata/ibm1167.h: Likewise.
28845 * iconvdata/ibm12712.h: Likewise.
28846 * iconvdata/ibm1390.h: Likewise.
28847 * iconvdata/ibm1399.h: Likewise.
28848 * iconvdata/ibm16804.h: Likewise.
28849 * iconvdata/ibm4517.h: Likewise.
28850 * iconvdata/ibm4899.h: Likewise.
28851 * iconvdata/ibm4909.h: Likewise.
28852 * iconvdata/ibm4971.h: Likewise.
28853 * iconvdata/ibm5347.h: Likewise.
28854 * iconvdata/ibm803.h: Likewise.
28855 * iconvdata/ibm856.h: Likewise.
28856 * iconvdata/ibm901.h: Likewise.
28857 * iconvdata/ibm902.h: Likewise.
28858 * iconvdata/ibm9030.h: Likewise.
28859 * iconvdata/ibm9066.h: Likewise.
28860 * iconvdata/ibm921.h: Likewise.
28861 * iconvdata/ibm922.h: Likewise.
28862 * iconvdata/ibm9448.h: Likewise.
28863 * iconvdata/isiri-3342.h: Likewise.
28864 * iconvdata/jis0201.h: Likewise.
28865 * include/link.h: Likewise.
28866 * include/netdb.h: Likewise.
28867 * inet/check_native.c: Likewise.
28868 * inet/check_pf.c: Likewise.
28869 * inet/getipv4sourcefilter.c: Likewise.
28870 * inet/getnameinfo.c: Likewise.
28871 * inet/getsourcefilter.c: Likewise.
28872 * inet/htonl.c: Likewise.
28873 * inet/setipv4sourcefilter.c: Likewise.
28874 * inet/setsourcefilter.c: Likewise.
28875 * inet/test-inet6_opt.c: Likewise.
28876 * inet/tst-network.c: Likewise.
28877 * locale/C-collate.c: Likewise.
28878 * locale/C-ctype.c: Likewise.
28879 * locale/C-time.c: Likewise.
28880 * locale/C-translit.h: Likewise.
28881 * locale/loadarchive.c: Likewise.
28882 * locale/programs/3level.h: Likewise.
28883 * locale/programs/charmap.c: Likewise.
28884 * locale/programs/charmap.h: Likewise.
28885 * locale/programs/ld-address.c: Likewise.
28886 * locale/programs/ld-collate.c: Likewise.
28887 * locale/programs/ld-ctype.c: Likewise.
28888 * locale/programs/ld-identification.c: Likewise.
28889 * locale/programs/ld-measurement.c: Likewise.
28890 * locale/programs/ld-messages.c: Likewise.
28891 * locale/programs/ld-monetary.c: Likewise.
28892 * locale/programs/ld-name.c: Likewise.
28893 * locale/programs/ld-numeric.c: Likewise.
28894 * locale/programs/ld-paper.c: Likewise.
28895 * locale/programs/ld-telephone.c: Likewise.
28896 * locale/programs/ld-time.c: Likewise.
28897 * locale/programs/linereader.c: Likewise.
28898 * locale/programs/locale.c: Likewise.
28899 * locale/programs/locarchive.c: Likewise.
28900 * locale/programs/locfile.h: Likewise.
28901 * locale/programs/repertoire.c: Likewise.
28902 * locale/programs/simple-hash.c: Likewise.
28903 * locale/programs/simple-hash.h: Likewise.
28904 * malloc/memusage.c: Likewise.
28905 * malloc/memusagestat.c: Likewise.
28906 * nis/nis_defaults.c: Likewise.
28907 * nis/nis_hash.c: Likewise.
28908 * nis/nis_print.c: Likewise.
28909 * nis/nis_xdr.c: Likewise.
28910 * nscd/connections.c: Likewise.
28911 * nscd/hstcache.c: Likewise.
28912 * nscd/nscd_gethst_r.c: Likewise.
28913 * nscd/nscd_getserv_r.c: Likewise.
28914 * nscd/nscd_helper.c: Likewise.
28915 * nscd/servicescache.c: Likewise.
28916 * nss/makedb.c: Likewise.
28917 * nss/nss_db/db-XXX.c: Likewise.
28918 * nss/nss_db/db-initgroups.c: Likewise.
28919 * nss/nss_db/db-netgrp.c: Likewise.
28920 * nss/nss_files/files-network.c: Likewise.
28921 * nss/nss_files/files-parse.c: Likewise.
28922 * posix/bug-regex5.c: Likewise.
28923 * posix/fnmatch_loop.c: Likewise.
28924 * posix/regcomp.c: Likewise.
28925 * posix/regexec.c: Likewise.
28926 * posix/tst-rfc3484-2.c: Likewise.
28927 * posix/tst-rfc3484-3.c: Likewise.
28928 * posix/tst-rfc3484.c: Likewise.
28929 * resolv/nss_dns/dns-canon.c: Likewise.
28930 * resolv/nss_dns/dns-network.c: Likewise.
28931 * resolv/res_init.c: Likewise.
28932 * resolv/res_mkquery.c: Likewise.
28933 * resolv/tst-aton.c: Likewise.
28934 * stdlib/cxa_atexit.c: Likewise.
28935 * stdlib/cxa_finalize.c: Likewise.
28936 * stdlib/gen-fpioconst.c: Likewise.
28937 * stdlib/strtol_l.c: Likewise.
28938 * string/tst-endian.c: Likewise.
28939 * sunrpc/auth_des.c: Likewise.
28940 * sunrpc/clnt_udp.c: Likewise.
28941 * sunrpc/rtime.c: Likewise.
28942 * sunrpc/svcauth_des.c: Likewise.
28943 * sunrpc/xdr.c: Likewise.
28944 * sunrpc/xdr_intXX_t.c: Likewise.
28945 * sunrpc/xdr_rec.c: Likewise.
28946 * sysdeps/generic/ldconfig.h: Likewise.
28947 * sysdeps/generic/ldsodefs.h: Likewise.
28948 * sysdeps/generic/memusage.h: Likewise.
28949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28951 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28952 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28955 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28959 * sysdeps/posix/getaddrinfo.c: Likewise.
28960 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28961 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28962 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28964 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28965 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28966 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28967 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28968 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28972 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28973 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28974 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28975 * sysdeps/x86_64/dl-tls.h: Likewise.
28976 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28977 * time/alt_digit.c: Likewise.
28978 * time/era.c: Likewise.
28979 * wcsmbs/tst-c16c32-1.c: Likewise.
28981 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28983 * math/libm-test.inc (struct test_sincos_data): New type.
28984 (RUN_TEST_LOOP_sincos): New macro.
28985 (sincos_test_data): New variable.
28986 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28988 2013-05-16 Richard Henderson <rth@redhat.com>
28990 * math/atest-exp2.c (LIMB64): New macro.
28991 (CONSTSZ): New macro.
28992 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28994 (print_mpn_fp): ... to function scope.
28995 (read_mpn_hex): Remove.
28996 (get_log2): Remove.
28997 (exp2_mpn): Use mp_log2.
28998 (main): Use mp_exp1.
29000 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29002 * math/libm-test.inc: Remove comment about not testing "inexact"
29004 (INEXACT_EXCEPTION): New macro.
29005 (NO_INEXACT_EXCEPTION): Likewise.
29006 (INVALID_EXCEPTION_OK): Update value.
29007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29008 (OVERFLOW_EXCEPTION_OK): Likewise.
29009 (UNDERFLOW_EXCEPTION_OK): Likewise.
29010 (IGNORE_ZERO_INF_SIGN): Likewise.
29011 (ERRNO_UNCHANGED): Likewise.
29012 (ERRNO_EDOM): Likewise.
29013 (ERRNO_ERANGE): Likewise.
29014 (test_exceptions): Handle testing "inexact" exceptions.
29015 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29016 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29017 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29018 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29020 (rint_towardzero_test_data): Likewise.
29021 (rint_downward_test_data): Likewise.
29022 (rint_upward_test_data): Likewise.
29024 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29025 with OVERFLOW_EXCEPTION.
29026 (exp10_test_data): Likewise.
29027 (exp2_test_data): Likewise.
29028 (expm1_test_data): Likewise.
29029 (lgamma_test_data): Likewise.
29030 (pow_test_data): Likewise.
29031 (tgamma_test_data): Likewise.
29032 (yn_test_data): Remove duplicate test of overflow.
29034 * math/libm-test.inc (struct test_cc_c_data): New type.
29035 (RUN_TEST_LOOP_cc_c): New macro.
29036 (cpow_test_data): New variable.
29037 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29039 * math/libm-test.inc (struct test_f_L_data): New type.
29040 (RUN_TEST_LOOP_f_L): New macro.
29041 (llrint_test_data): New variable.
29042 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29043 (llrint_tonearest_test_data): New variable.
29044 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29045 (llrint_towardzero_test_data): New variable.
29046 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29047 (llrint_downward_test_data): New variable.
29048 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29049 (llrint_upward_test_data): New variable.
29050 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29051 (llround_test_data): New variable.
29052 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29054 2013-05-13 Peter Collingbourne <pcc@google.com>
29056 * math/atest-exp2.c (get_log2): Remove const attribute.
29058 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29060 * math/libm-test.inc (struct test_f_l_data): New type.
29061 (RUN_TEST_LOOP_f_l): New macro.
29062 (lrint_test_data): New variable.
29063 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29064 (lrint_tonearest_test_data): New variable.
29065 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29066 (lrint_towardzero_test_data): New variable.
29067 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29068 (lrint_downward_test_data): New variable.
29069 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29070 (lrint_upward_test_data): New variable.
29071 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29072 (lround_test_data): New variable.
29073 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29075 2013-05-15 Peter Collingbourne <pcc@google.com>
29077 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29078 (EXTRACT_WORDS64) Use where appropriate.
29079 (INSERT_WORDS64) Likewise.
29081 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29082 constraints with x constraints.
29083 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29085 * malloc/obstack.c (_obstack_compat): Add initializer.
29087 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29089 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29090 si_trapno and add si_addr_lsb to _sifields.sigfault.
29091 (si_trapno): Remove macro.
29092 (si_addr_lsb): Define new macro.
29093 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29095 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29097 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29098 instead of TEST_f_l.
29099 (llrint_test_tonearest): Likewise.
29100 (llrint_test_towardzero): Likewise.
29101 (llrint_test_downward): Likewise.
29102 (llrint_test_upward): Likewise.
29103 (llround_test): Likewise.
29105 * math/libm-test.inc (struct test_f_i_data): Add comment.
29106 (RUN_TEST_LOOP_f_b): New macro.
29107 (RUN_TEST_LOOP_f_b_tg): Likewise.
29108 (finite_test_data): New variable.
29109 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29110 (isfinite_test_data): New variable.
29111 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29112 (isinf_test_data): New variable.
29113 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29114 (isnan_test_data): New variable.
29115 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29116 (isnormal_test_data): New variable.
29117 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29118 (issignaling_test_data): New variable.
29119 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29120 (signbit_test_data): New variable.
29121 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29123 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29124 with INVALID_EXCEPTION.
29125 (acosh_test_data): Likewise.
29126 (asin_test_data): Likewise.
29127 (atanh_test_data): Likewise.
29128 (fmod_test_data): Likewise.
29129 (log_test_data): Likewise.
29130 (log10_test_data): Likewise.
29131 (log2_test_data): Likewise.
29132 (pow_test_data): Likewise.
29133 (sqrt_test_data): Likewise.
29134 (y0_test_data): Likewise.
29135 (y1_test_data): Likewise.
29136 (yn_test_data): Likewise.
29138 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29141 * math/libm-test.inc (struct test_ff_i_data): New type.
29142 (RUN_TEST_LOOP_ff_i_tg): New macro.
29143 (isgreater_test_data): New variable.
29144 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29145 (isgreaterequal_test_data): New variable.
29146 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29147 (isless_test_data): New variable.
29148 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29149 (islessequal_test_data): New variable.
29150 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29151 (islessgreater_test_data): New variable.
29152 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29153 (isunordered_test_data): New variable.
29154 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29156 2013-05-14 David S. Miller <davem@davemloft.net>
29158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29160 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29162 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29164 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29166 (struct test_f_i_data): Change type of max_ulp to int.
29168 * math/libm-test.inc (test_ffI_f1_data): New type.
29169 (RUN_TEST_LOOP_ffI_f1): New macro.
29170 (remquo_test_data): New variable.
29171 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29173 * setjmp/tst-setjmp-fp.c: New file.
29174 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29175 (link-libm): New variable.
29176 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29178 * math/libm-test.inc (struct test_f_i_data): New type.
29179 (RUN_TEST_LOOP_f_i): New macro.
29180 (RUN_TEST_LOOP_f_i_tg): Likewise.
29181 (fpclassify_test_data): New variable.
29182 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29183 (ilogb_test_data): New variable.
29184 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29186 * math/libm-test.inc (scalbln_test): Correct function name in END
29189 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29190 (RUN_TEST_LOOP_fI_f1): New macro.
29191 (frexp_test_data): New variable.
29192 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29194 * math/libm-test.inc (struct test_fF_f1_data): New type.
29195 (RUN_TEST_LOOP_fF_f1): New macro.
29196 (modf_test_data): New variable.
29197 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29199 * math/libm-test.inc (struct test_f_f1_data): New type.
29200 (RUN_TEST_LOOP_f_f1): New macro.
29201 (gamma_test_data): New variable.
29202 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29203 (lgamma_test_data): New variable.
29204 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29206 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29209 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29210 (main): Comment "tls" pseudo-hwcap.
29212 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29214 * math/libm-test.inc (struct test_fl_f_data): New type.
29215 (RUN_TEST_LOOP_fl_f): New variable.
29216 (scalbln_test_data): New variable.
29217 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29219 * math/libm-test.inc (struct test_fi_f_data): New type.
29220 (RUN_TEST_LOOP_fi_f): New macro.
29221 (ldexp_test_data): New variable.
29222 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29223 (scalbn_test_data): New variable.
29224 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29226 * math/libm-test.inc (struct test_c_f_data): New type.
29227 (RUN_TEST_LOOP_c_f): New macro.
29228 (cabs_test_data): New variable.
29229 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29230 (carg_test_data): New variable.
29231 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29232 (cimag_test_data): New variable.
29233 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29234 (creal_test_data): New variable.
29235 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29237 * math/libm-test.inc (struct test_if_f_data): New type.
29238 (RUN_TEST_LOOP_if_f): New macro.
29239 (jn_test_data): New variable.
29240 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29241 (yn_test_data): New variable.
29242 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29244 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29246 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29248 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29249 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29251 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29253 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29254 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29255 (bench-deps): Add bench-timing.h.
29256 * benchtests-bench-skeleton.c: Include bench-timing.h.
29257 (main): Use TIMING_* macros instead of clock_gettime.
29258 * benchtests/bench-timing.h: New file.
29261 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29262 Renamed from _LIB_VERSION.
29263 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29265 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29267 * math/libm-test.inc (struct test_fff_f_data): New type.
29268 (RUN_TEST_LOOP_fff_f): New macro.
29269 (fma_test_data): New variable.
29270 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29271 (fma_towardzero_test_data): New variable.
29272 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29273 (fma_downward_test_data): New variable.
29274 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29275 (fma_upward_test_data): New variable.
29276 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29278 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29279 (struct test_c_c_data): New type.
29280 (RUN_TEST_LOOP_c_c): New macro.
29281 (cacos_test_data): New variable.
29282 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29283 (cacosh_test_data): New variable.
29284 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29285 (casin_test_data): New variable.
29286 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29287 (casinh_test_data): New variable.
29288 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29289 (catan_test_data): New variable.
29290 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29291 (catanh_test_data): New variable.
29292 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29293 (ccos_test_data): New variable.
29294 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29295 (ccosh_test_data): New variable.
29296 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29297 (cexp_test_data): New variable.
29298 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29299 (clog_test_data): New variable.
29300 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29301 (clog10_test_data): New variable.
29302 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29303 (conj_test_data): New variable.
29304 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29305 (cproj_test_data): New variable.
29306 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29307 (csin_test_data): New variable.
29308 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29309 (csinh_test_data): New variable.
29310 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29311 (csqrt_test_data): New variable.
29312 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29313 (ctan_test_data): New variable.
29314 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29315 (ctan_tonearest_test_data): New variable.
29316 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29317 (ctan_towardzero_test_data): New variable.
29318 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29319 (ctan_downward_test_data): New variable.
29320 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29321 (ctan_upward_test_data): New variable.
29322 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29323 (ctanh_test_data): New variable.
29324 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29325 (ctanh_tonearest_test_data): New variable.
29326 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29327 (ctanh_towardzero_test_data): New variable.
29328 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29329 (ctanh_downward_test_data): New variable.
29330 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29331 (ctanh_upward_test_data): New variable.
29332 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29333 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29336 * math/libm-test.inc (struct test_ff_f_data): New type.
29337 (struct test_ff_f_data_nexttoward): Likewise.
29338 (RUN_TEST_LOOP_2_f): New macro.
29339 (RUN_TEST_LOOP_ff_f): Likewise.
29340 (atan2_test_data): New variable.
29341 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29342 (copysign_test_data): New variable.
29343 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29344 (fdim_test_data): New variable.
29345 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29346 (fmax_test_data): New variable.
29347 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29348 (fmin_test_data): New variable.
29349 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29350 (fmod_test_data): New variable.
29351 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29352 (hypot_test_data): New variable.
29353 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29354 (nextafter_test_data): New variable.
29355 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29356 (nexttoward_test_data): New variable.
29357 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29358 (pow_test_data): New variable.
29359 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29360 (pow_tonearest_test_data): New variable.
29361 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29362 (pow_towardzero_test_data): New variable.
29363 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29364 (pow_downward_test_data): New variable.
29365 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29366 (pow_upward_test_data): New variable.
29367 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29368 (remainder_test_data): New variable.
29369 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29370 (scalb_test_data): New variable.
29371 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29372 * sysdeps/i386/fpu/libm-test-ulps: Update.
29374 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29376 * math/libm-test.inc (fma_test): Use max_value instead of local
29378 (nextafter_test): Likewise.
29380 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29381 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29382 (acos_downward_test_data): New variable.
29383 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29384 (acos_upward_test_data): New variable.
29385 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29386 (acosh_test_data): New variable.
29387 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29388 (asin_test_data): New variable.
29389 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29390 (asin_tonearest_test_data): New variable.
29391 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29392 (asin_towardzero_test_data): New variable.
29393 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29394 (asin_downward_test_data): New variable.
29395 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29396 (asin_upward_test_data): New variable.
29397 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29398 (asinh_test_data): New variable.
29399 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29400 (atan_test_data): New variable.
29401 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29402 (atanh_test_data): New variable.
29403 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29404 (cbrt_test_data): New variable.
29405 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29406 (ceil_test_data): New variable.
29407 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29408 (cos_test_data): New variable.
29409 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29410 (cos_tonearest_test_data): New variable.
29411 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29412 (cos_towardzero_test_data): New variable.
29413 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29414 (cos_downward_test_data): New variable.
29415 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29416 (cos_upward_test_data): New variable.
29417 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29418 (cosh_test_data): New variable.
29419 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29420 (cosh_tonearest_test_data): New variable.
29421 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29422 (cosh_towardzero_test_data): New variable.
29423 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29424 (cosh_downward_test_data): New variable.
29425 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29426 (cosh_upward_test_data): New variable.
29427 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29428 (erf_test_data): New variable.
29429 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29430 (erfc_test_data): New variable.
29431 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29432 (exp_test_data): New variable.
29433 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29434 (exp_tonearest_test_data): New variable.
29435 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29436 (exp_towardzero_test_data): New variable.
29437 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29438 (exp_downward_test_data): New variable.
29439 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29440 (exp_upward_test_data): New variable.
29441 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29442 (exp10_test_data): New variable.
29443 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29444 (exp2_test_data): New variable.
29445 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29446 (expm1_test_data): New variable.
29447 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29448 (fabs_test_data): New variable.
29449 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29450 (floor_test_data): New variable.
29451 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29452 (j0_test_data): New variable.
29453 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29454 (j1_test_data): New variable.
29455 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29456 (log_test_data): New variable.
29457 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29458 (log10_test_data): New variable.
29459 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29460 (log1p_test_data): New variable.
29461 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29462 (log2_test_data): New variable.
29463 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29464 (logb_test_data): New variable.
29465 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29466 (logb_downward_test_data): New variable.
29467 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29468 (nearbyint_test_data): New variable.
29469 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29470 (rint_test_data): New variable.
29471 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29472 (rint_tonearest_test_data): New variable.
29473 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29474 (rint_towardzero_test_data): New variable.
29475 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29476 (rint_downward_test_data): New variable.
29477 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29478 (rint_upward_test_data): New variable.
29479 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29480 (round_test_data): New variable.
29481 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29482 (sin_test_data): New variable.
29483 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29484 (sin_tonearest_test_data): New variable.
29485 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29486 (sin_towardzero_test_data): New variable.
29487 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29488 (sin_downward_test_data): New variable.
29489 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29490 (sin_upward_test_data): New variable.
29491 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29492 (sinh_test_data): New variable.
29493 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29494 (sinh_tonearest_test_data): New variable.
29495 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29496 (sinh_towardzero_test_data): New variable.
29497 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29498 (sinh_downward_test_data): New variable.
29499 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29500 (sinh_upward_test_data): New variable.
29501 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29502 (sqrt_test_data): New variable.
29503 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29504 (tan_test_data): New variable.
29505 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29506 (tan_tonearest_test_data): New variable.
29507 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29508 (tan_towardzero_test_data): New variable.
29509 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29510 (tan_downward_test_data): New variable.
29511 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29512 (tan_upward_test_data): New variable.
29513 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29514 (tanh_test_data): New variable.
29515 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29516 (tgamma_test_data): New variable.
29517 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29518 (trunc_test_data): New variable.
29519 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29520 (y0_test_data): New variable.
29521 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29522 (y1_test_data): New variable.
29523 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29524 (significand_test_data): New variable.
29525 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29527 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29530 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29532 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29534 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29536 2013-05-10 Andreas Jaeger <aj@suse.de>
29539 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29540 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29542 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29544 * math/gen-libm-test.pl (adjust_arg): New function.
29545 (special_functions): Handle generating output in both functions
29547 (parse_args): Likewise.
29548 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29549 $in_func argument to parse_args.
29550 * math/libm-test.inc (struct test_f_f_data): New type.
29551 (IF_ROUND_INIT_): New macro.
29552 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29553 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29554 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29555 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29556 (ROUND_RESTORE_): Likewise.
29557 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29558 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29559 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29560 (ROUND_RESTORE_FE_UPWARD): Likewise.
29561 (RUN_TEST_LOOP_f_f): New macro.
29562 (acos_test_data): New variable.
29563 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29564 (acos_tonearest_test_data): New variable.
29565 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29567 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29569 * benchtests/bench-skeleton.c (startup): Fix coding style.
29571 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29574 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29575 negative infinity argument.
29576 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29577 negative infinity argument.
29578 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29579 negative infinity argument.
29580 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29583 2013-05-10 Florian Weimer <fweimer@redhat.com>
29585 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29586 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29587 * iconv/iconv_prog.c (main): Likewise.
29588 * locale/programs/charmap-dir.c (charmap_readdir)
29589 (fopen_uncompressed): Likewise.
29590 * locale/programs/locfile.c (siblings_uncached)
29591 (write_locale_data): Use lstat64 instead of lstat.
29592 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29595 2013-05-10 Andreas Jaeger <aj@suse.de>
29598 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29600 Include <locale.h>.
29602 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29604 * elf/dl-close.c (_dl_close_worker): Add comments.
29606 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29611 (__ieee754_rem_pio2l): Update comments.
29614 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29616 (__ieee754_rem_pio2l): Update comments.
29618 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29619 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29621 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29624 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29625 (M_PI_34_LOG10El): Likewise.
29626 (M_PI2_LOG10El): Likewise.
29627 (M_PI4_LOG10El): Likewise.
29628 (M_PI_LOG10El): Likewise.
29630 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29634 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29636 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29637 (MINUS_ZERO_INIT): Likewise.
29638 (PLUS_INFTY_INIT): Likewise.
29639 (MINUS_INFTY_INIT): Likewise.
29640 (QNAN_VALUE_INIT): Likewise.
29641 (MAX_VALUE_INIT): Likewise.
29642 (MIN_VALUE_INIT): Likewise.
29643 (MIN_SUBNORM_VALUE_INIT): Likewise.
29644 (plus_zero): Initialize with PLUS_ZERO_INIT.
29645 (minus_zero): Initialize with MINUS_ZERO_INIT.
29646 (plus_infty): Initialize with PLUS_INFTY_INIT.
29647 (minus_infty): Initialize with MINUS_INFTY_INIT.
29648 (qnan_value): Initialize with QNAN_VALUE_INIT.
29649 (max_value): Initialize with MAX_VALUE_INIT.
29650 (min_value): Initialize with MIN_VALUE_INIT.
29651 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29653 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29654 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29655 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29656 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29658 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29659 (RUN_TEST_2_f): Likewise.
29660 (RUN_TEST_ff_f): Likewise.
29661 (RUN_TEST_fi_f): Likewise.
29662 (RUN_TEST_fl_f): Likewise.
29663 (RUN_TEST_fff_f): Likewise.
29664 (RUN_TEST_c_f): Likewise.
29665 (RUN_TEST_f_f1): Likewise.
29666 (RUN_TEST_fF_f1): Likewise.
29667 (RUN_TEST_fI_f1): Likewise.
29668 (RUN_TEST_ffI_f1): Likewise.
29669 (RUN_TEST_c_c): Likewise.
29670 (RUN_TEST_cc_c): Likewise.
29671 (RUN_TEST_f_i): Likewise.
29672 (RUN_TEST_f_i_tg): Likewise.
29673 (RUN_TEST_ff_i_tg): Likewise.
29674 (RUN_TEST_f_b): Likewise.
29675 (RUN_TEST_f_b_tg): Likewise.
29676 (RUN_TEST_f_l): Likewise.
29677 (RUN_TEST_f_L): Likewise.
29678 (RUN_TEST_sincos): Likewise.
29679 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29680 whether to show exceptions. Do not include ");\n" in return
29682 (special_functions): Output call to RUN_TEST_sincos instead of
29683 check_float calls. Update calls to new_test.
29684 (parse_args): Output call to single RUN_TEST_* macro instead of
29685 check_* calls and other assignments. Update calls to new_test.
29691 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29692 input to result for tgamma overflow.
29693 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29694 (gamma_coeff): New variable.
29695 (NCOEFF): New macro.
29696 (gamma_positive): New function.
29697 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29698 underflow here. Use gamma_positive instead of exp (lgamma) for
29700 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29701 (gamma_coeff): New variable.
29702 (NCOEFF): New macro.
29703 (gammaf_positive): New function.
29704 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29705 underflow here. Use gamma_positive instead of exp (lgamma) for
29707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29708 (gamma_coeff): New variable.
29709 (NCOEFF): New macro.
29710 (gammal_positive): New function.
29711 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29712 underflow here. Use gamma_positive instead of exp (lgamma) for
29714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29715 (gamma_coeff): New variable.
29716 (NCOEFF): New macro.
29717 (gammal_positive): New function.
29718 (__ieee754_gammal_r): Handle positive infinity, overflow and
29719 underflow here. Handle NaN the same as positive infinity. Remove
29720 check x < 0xffffffff for negative integers. Use gamma_positive
29721 instead of exp (lgamma) for other arguments.
29722 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29723 (gamma_coeff): New variable.
29724 (NCOEFF): New macro.
29725 (gammal_positive): New function.
29726 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29727 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29728 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29729 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29731 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29732 * sysdeps/generic/math_private.h (__gamma_productf): New
29734 (__gamma_product): Likewise.
29735 (__gamma_productl): Likewise.
29736 * math/Makefile (libm-calls): Add gamma_product.
29737 * math/libm-test.inc (tgamma_test): Add more tests.
29738 * sysdeps/i386/fpu/libm-test-ulps: Update.
29739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29741 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29743 * benchtests/bench-skeleton.c (main): Preheat CPU.
29745 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29747 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29749 2013-05-07 Roland McGrath <roland@hack.frob.com>
29751 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29752 and _dl_skip_args_internal.
29754 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29756 * manual/message.texi (Message Translation): Talk about users.
29757 Message to key mapping impacts design.
29759 2013-05-06 Roland McGrath <roland@hack.frob.com>
29761 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29763 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29765 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29766 * sysdeps/wordsize-64/glob64.c: ... here.
29768 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29769 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29772 * debug/getlogin_r_chk.c: Moved to ...
29773 * login/getlogin_r_chk.c: ... here.
29774 * debug/Makefile (routines): Move getlogin_r_chk to ...
29775 * login/Makefile (routines): ... here.
29776 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29777 * login/Versions (libc: GLIBC_2.4): ... here.
29779 * io/poll.c (__poll): Renamed from poll.
29780 Add libc_hidden_def.
29781 (poll): Define as weak alias.
29783 * debug/ptsname_r_chk.c: Moved to ...
29784 * login/ptsname_r_chk.c: ... here.
29785 * debug/Makefile (routines): Move ptsname_r_chk to ...
29786 * login/Makefile (routines): ... here.
29787 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29788 * login/Versions (libc: GLIBC_2.4): ... here.
29790 * posix/getlogin.c: Moved to ...
29791 * login/getlogin.c: ... here.
29792 * posix/getlogin_r.c: Moved to ...
29793 * login/getlogin_r.c: ... here.
29794 * posix/getlogin_r.c: Moved to ...
29795 * login/getlogin_r.c: ... here.
29796 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29797 * login/Makefile (routines): ... here.
29798 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29799 * login/Versions (libc: GLIBC_2.0): ... here.
29801 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29802 (setrlimit): Define as weak alias.
29804 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29805 Call __ names for open, ftruncate, and close.
29806 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29807 (truncate): Define as weak alias.
29809 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29811 * math/gen-libm-test.pl (parse_args): Initialize x before each
29812 test of frexp, modf and remquo.
29814 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29815 test signgam value.
29817 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29821 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29825 2013-05-06 Roland McGrath <roland@hack.frob.com>
29827 * elf/dl-writev.h: New file.
29828 * elf/dl-misc.c: Include it.
29829 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29830 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29832 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29834 * math/libm-test.inc (noXFails): Remove variable.
29835 (noXPasses): Likewise.
29836 (BUILD_COMPLEX_INT): Remove macro.
29837 (print_screen): Remove xfail argument.
29838 (print_screen_max_error): Likewise.
29839 (update_stats): Likewise.
29840 (print_max_error): Likewise. Update calls to other affected
29842 (print_complex_max_error): Likewise.
29843 (test_single_exception): Update calls to print_screen.
29844 (test_single_errno): Likewise.
29845 (check_float_internal): Remove xfail argument. Update calls to
29846 other affected functions.
29847 (check_float): Likewise.
29848 (check_complex): Likewise.
29849 (check_int): Likewise.
29850 (check_long): Likewise.
29851 (check_bool): Likewise.
29852 (check_longlong): Likewise.
29853 (main): Don't print noXFails and noXPasses.
29854 * math/gen-libm-test.pl (top level): Don't mention expected
29855 failure handling in comment.
29856 (new_test): Don't handle expected failures.
29857 (parse_args): Don't mention expected failure handling in comment.
29858 (generate_testfile): Don't handle expected failures.
29859 (parse_ulps): Likewise.
29860 (print_ulps_file): Likewise.
29861 (get_failure): Remove function.
29862 (output_test): Don't handle expected failures.
29863 * make/README.libm-test: Don't mention expected failure handling.
29865 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29866 (minus_zero): Likewise.
29867 (plus_infty): Likewise.
29868 (minus_infty): Likewise.
29869 (qnan_value): Likewise.
29870 (max_value): Likewise.
29871 (min_value): Likewise.
29872 (min_subnorm_value): Likewise.
29873 (initialize): Do not initialize those variables dynamically.
29875 2013-05-03 Roland McGrath <roland@hack.frob.com>
29877 * io/open.c (__open_2): Moved to ...
29878 * io/open_2.c: ... this new file.
29879 * io/open64.c (__open64_2): Moved to ...
29880 * io/open64_2.c: ... this new file.
29881 * io/openat.c (__openat_2): Moved to ...
29882 * io/openat_2.c: ... this new file.
29883 * io/openat64.c (__openat64_2): Moved to ...
29884 * io/openat64_2.c: ... this new file.
29885 * io/Makefile (routines): Add them.
29886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29887 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29888 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29889 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29890 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29891 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29892 (__openat64): Add hidden_ver.
29893 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29894 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29896 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29897 Separately conditionalize setting of GLRO(dl_sysinfo) so
29898 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29899 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29901 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29903 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29904 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29906 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29907 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29908 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29909 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29910 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29912 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29914 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29915 test signgam value.
29917 * math/libm-test.inc (hypot_test): Do not use
29918 IGNORE_ZERO_INF_SIGN.
29920 2013-05-03 Andreas Jaeger <aj@suse.de>
29922 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29924 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29925 (PF_MAX): Adjust for VSOCK change.
29927 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29931 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29934 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29935 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29936 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29938 2013-05-02 David S. Miller <davem@davemloft.net>
29940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29942 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29944 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29946 2013-05-01 Roland McGrath <roland@hack.frob.com>
29948 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29950 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29953 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29954 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29955 Use __attribute__ ((__gnu_inline__)).
29956 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29957 Don't use __attribute__ ((__gnu_inline__)).
29959 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29962 * math/s_catan.c (__catan): Handle small real or imaginary part of
29963 input specially to avoid spurious underflow.
29964 * math/s_catanf.c (__catanf): Likewise.
29965 * math/s_catanh.c (__catanh): Likewise.
29966 * math/s_catanhf.c (__catanhf): Likewise.
29967 * math/s_catanhl.c (__catanhl): Likewise.
29968 * math/s_catanl.c (__catanl): Likewise.
29969 * math/libm-test.inc (catan_test): Add more tests.
29970 (catanh_test): Likewise.
29971 * sysdeps/i386/fpu/libm-test-ulps: Update.
29972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29974 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29978 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29981 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29982 accurately for denominator in atan2.
29983 * math/s_catanf.c (__catanf): Likewise.
29984 * math/s_catanh.c (__catanh): Likewise.
29985 * math/s_catanhf.c (__catanhf): Likewise.
29986 * math/s_catanhl.c (__catanhl): Likewise.
29987 * math/s_catanl.c (__catanl): Likewise.
29988 * math/libm-test.inc (catan_test): Add more tests.
29989 (catanh_test): Likewise.
29990 * sysdeps/i386/fpu/libm-test-ulps: Update.
29991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29993 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29995 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29997 * benchtests/Makefile (bench): Remove slow benchmarks.
29998 * benchtests/atan-inputs: Add slow benchmark inputs.
29999 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30000 (BENCH_FUNC): Accept variant offset.
30002 * benchtests/bench-skeleton.c (main): Run benchmark for each
30004 * benchtests/cos-inputs: Add slow benchmark inputs.
30005 * benchtests/exp-inputs: Likewise.
30006 * benchtests/pow-inputs: Likewise.
30007 * benchtests/sin-inputs: Likewise.
30008 * benchtests/slowatan-inputs: Remove.
30009 * benchtests/slowatan.c: Remove.
30010 * benchtests/slowcos-inputs: Remove.
30011 * benchtests/slowcos.c: Remove.
30012 * benchtests/slowexp-inputs: Remove.
30013 * benchtests/slowexp.c: Remove.
30014 * benchtests/slowpow-inputs: Remove.
30015 * benchtests/slowpow.c: Remove.
30016 * benchtests/slowsin-inputs: Remove.
30017 * benchtests/slowsin.c: Remove.
30018 * benchtests/slowtan-inputs: Remove.
30019 * benchtests/slowtan.c: Remove.
30020 * benchtests/tan-inputs: Add slow benchmark inputs.
30021 * scripts/bench.pl: Parse comments and directives.
30023 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30025 ($(objpfx)bench-%.c): Remove *-ITER.
30026 * benchtests/bench-modf.c: Remove definition of ITER.
30027 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30028 (main): Loop for DURATION seconds instead of fixed number of
30030 * scripts/bench.pl: Don't expect iterations in parameters.
30032 2013-04-29 Roland McGrath <roland@hack.frob.com>
30034 * io/fchdir.c (__fchdir): Renamed from fchdir.
30035 (fchdir): Define as weak alias.
30037 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30039 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30040 (ERRNO_EDOM): Likewise.
30041 (ERRNO_ERANGE): Likewise.
30042 (noErrnoTests): New variable.
30043 (init_max_error): Set errno to 0.
30044 (test_single_errno): New function.
30045 (test_errno): Likewise.
30046 (check_float_internal): Call test_errno. Set errno to 0.
30047 (check_complex): Refer to errno tests in comment.
30048 (check_int): Call test_errno. Set errno to 0.
30049 (check_long): Likewise.
30050 (check_bool): Likewise.
30051 (check_longlong): Likewise.
30052 (cos_test): Use ERRNO_* flags for errno tests instead of
30054 (expm1_test): Likewise.
30055 (fmod_test): Likewise.
30056 (ilogb_test): Likewise.
30057 (lgamma_test): Likewise.
30058 (pow_test): Likewise.
30059 (remainder_test): Likewise.
30060 (sin_test): Likewise.
30061 (tan_test): Likewise.
30062 (yn_test): Likewise.
30063 (initialize): Set errno to 0.
30064 (main): Print number of errno tests.
30065 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30067 2013-04-29 Andreas Jaeger <aj@suse.de>
30070 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30074 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30075 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30079 * stdlib/random.c (__initstate): Return NULL if
30083 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30084 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30087 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30091 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30093 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30094 of individual tests.
30095 (casin_test): Likewise.
30096 (casinh_test): Likewise.
30098 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30101 * math/s_catan.c (__catan): Handle arguments with large real or
30102 imaginary part separately without squaring.
30103 * math/s_catanf.c (__catanf): Likewise.
30104 * math/s_catanh.c (__catanh): Likewise.
30105 * math/s_catanhf.c (__catanhf): Likewise.
30106 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30108 (__catanhl): Handle arguments with large real or imaginary part
30109 separately without squaring.
30110 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30112 (__catanl): Handle arguments with large real or imaginary part
30113 separately without squaring.
30114 * math/libm-test.inc (catan_test): Add more tests.
30115 (catanh_test): Likewise.
30116 * sysdeps/i386/fpu/libm-test-ulps: Update.
30117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30119 2013-04-27 Andreas Jaeger <aj@suse.de>
30122 * stdlib/stdlib.h: Update guards for qecvt.
30123 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30126 2013-04-27 Allan McRae <allan@archlinux.org>
30128 * sysdeps/i386/fpu/libm-test-ulps: Update.
30130 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30133 * math/s_catan.c: Include <float.h>.
30134 (__catan): Ensure underflow exception occurs for underflowed
30136 * math/s_catanf.c: Include <float.h>.
30137 (__catanf): Ensure underflow exception occurs for underflowed
30139 * math/s_catanh.c: Include <float.h>.
30140 (__catanh): Ensure underflow exception occurs for underflowed
30142 * math/s_catanhf.c: Include <float.h>.
30143 (__catanhf): Ensure underflow exception occurs for underflowed
30145 * math/s_catanhl.c: Include <float.h>.
30146 (__catanhl): Ensure underflow exception occurs for underflowed
30148 * math/s_catanl.c: Include <float.h>.
30149 (__catanl): Ensure underflow exception occurs for underflowed
30151 * math/libm-test.inc (catan_test): Add more tests.
30152 (catanh_test): Likewise.
30155 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30156 underflowed result.
30157 * math/s_ccoshf.c (__ccoshf): Likewise.
30158 * math/s_ccoshl.c (__ccoshl): Likewise.
30159 * math/s_csin.c (__csin): Likewise.
30160 * math/s_csinf.c (__csinf): Likewise.
30161 * math/s_csinh.c (__csinh): Likewise.
30162 * math/s_csinhf.c (__csinhf): Likewise.
30163 * math/s_csinhl.c (__csinhl): Likewise.
30164 * math/s_csinl.c (__csinl): Likewise.
30165 * math/libm-test.inc (ccos_test): Add more tests.
30166 (ccosh_test): Likewise.
30167 (csin_test): Likewise.
30168 (csinh_test): Likewise.
30170 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30172 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30173 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30174 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30175 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30176 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30177 powerpc/power5+/fpu folders.
30178 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30181 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30185 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30187 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30188 additions to variable.
30189 [$(config-machine) = x86_64] (modules-names): Likewise.
30190 ($(objpfx)tst-audit3): Remove dependency.
30191 ($(objpfx)tst-audit3.out): Likewise.
30192 ($(objpfx)tst-audit4): Likewise.
30193 ($(objpfx)tst-audit4.out): Likewise.
30194 ($(objpfx)tst-audit5): Likewise.
30195 ($(objpfx)tst-audit5.out): Likewise.
30196 ($(objpfx)tst-audit6): Likewise.
30197 ($(objpfx)tst-audit6.out): Likewise.
30198 ($(objpfx)tst-audit7): Likewise.
30199 ($(objpfx)tst-audit7.out): Likewise.
30200 (tst-audit3-ENV): Remove variable.
30201 (tst-audit4-ENV): Likewise.
30202 (tst-audit5-ENV): Likewise.
30203 (tst-audit6-ENV): Likewise.
30204 (tst-audit7-ENV): Likewise.
30205 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30206 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30207 addition to variable.
30208 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30213 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30214 tst-audit3, tst-audit4 and tst-audit5.
30215 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30216 tst-audit6 and tst-audit7.
30217 [$(subdir) = elf] (modules-names): Add audit modules for those
30219 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30220 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30221 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30222 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30223 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30224 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30225 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30226 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30227 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30228 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30229 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30230 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30231 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30232 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30233 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30234 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30236 [$(subdir) = elf && $(config-cflags-avx) = yes]
30237 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30238 [$(subdir) = elf && $(config-cflags-avx) = yes]
30239 (CFLAGS-tst-auditmod4a.c): Likewise.
30240 [$(subdir) = elf && $(config-cflags-avx) = yes]
30241 (CFLAGS-tst-auditmod4b.c): Likewise.
30242 [$(subdir) = elf && $(config-cflags-avx) = yes]
30243 (CFLAGS-tst-auditmod6b.c): Likewise.
30244 [$(subdir) = elf && $(config-cflags-avx) = yes]
30245 (CFLAGS-tst-auditmod6c.c): Likewise.
30246 [$(subdir) = elf && $(config-cflags-avx) = yes]
30247 (CFLAGS-tst-auditmod7b.c): Likewise.
30248 * elf/tst-audit3.c: Move to ...
30249 * sysdeps/x86_64/tst-audit3.c: ... here.
30250 * elf/tst-audit4.c: Move to ...
30251 * sysdeps/x86_64/tst-audit4.c: ... here.
30252 * elf/tst-audit5.c: Move to ...
30253 * sysdeps/x86_64/tst-audit5.c: ... here.
30254 * elf/tst-audit6.c: Move to ...
30255 * sysdeps/x86_64/tst-audit6.c: ... here.
30256 * elf/tst-audit7.c: Move to ...
30257 * sysdeps/x86_64/tst-audit7.c: ... here.
30258 * elf/tst-auditmod3a.c: Move to ...
30259 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30260 * elf/tst-auditmod3b.c: Move to ...
30261 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30262 * elf/tst-auditmod4a.c: Move to ...
30263 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30264 * elf/tst-auditmod4b.c: Move to ...
30265 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30266 * elf/tst-auditmod5a.c: Move to ...
30267 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30268 * elf/tst-auditmod5b.c: Move to ...
30269 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30270 * elf/tst-auditmod6a.c: Move to ...
30271 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30272 * elf/tst-auditmod6b.c: Move to ...
30273 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30274 * elf/tst-auditmod6c.c: Move to ...
30275 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30276 * elf/tst-auditmod7a.c: Move to ...
30277 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30278 * elf/tst-auditmod7b.c: Move to ...
30279 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30281 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30284 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30285 define unconditionally.
30286 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30287 define unconditionally.
30288 (INT8_C, INT16_C, etc.): Likewise.
30290 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30292 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30293 __ehdr_start with hidden visibility.
30295 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30297 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30299 * math/libm-test.inc (cos_test): Use accurate hex constants.
30300 (sincost_test): Likewise.
30302 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30304 * math/libm-test.inc (catan_test): Add more tests.
30305 (catanh_test): Likewise.
30307 * math/s_catanf.c (__catanf): Use suffixed floating-point
30309 * math/s_catanhf.c (__catanhf): Likewise.
30310 * math/s_catanhl.c (__catanhl): Likewise.
30311 * math/s_catanl.c (__catanl): Likewise.
30314 * math/s_catan.c (__catan): Calculate imaginary part of result
30315 with log1p not log unless computing log of number close to 0.
30316 * math/s_catanf.c (__catanf): Likewise.
30317 * math/s_catanl.c (__catanl): Likewise.
30318 * math/s_catanh.c (__catanh): Calculate real part of result with
30319 log1p not log unless computing log of number close to 0.
30320 * math/s_catanhf.c (__catanhf): Likewise.
30321 * math/s_catanhl.c (__catanhl): Likewise.
30322 * math/libm-test.inc (catan_test): Add more tests.
30323 (catanh_test): Likewise.
30324 * sysdeps/i386/fpu/libm-test-ulps: Update.
30325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30327 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30329 * benchtests/Makefile: Mention files in which fast and slow
30330 paths of math functions are implemented.
30332 2013-04-23 Roland McGrath <roland@hack.frob.com>
30334 * sysdeps/posix/timespec_get.c: New file.
30336 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30338 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30340 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30342 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30343 powerpc/power5/fpu folders.
30344 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30345 * benchtests/Makefile: Add modf testcase.
30346 * benchtests/bench-modf.c: New file: Benchmark test for mo
30348 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30351 * time/Makefile (tests): Add tst-strptime-whitespace.
30352 * time/strptime_l.c (get_number): Use ISSPACE.
30353 (__strptime_internal): Likewise.
30354 * time/tst-strptime-whitespace.c: New test case.
30356 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30358 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30360 (_nss_files_init): Set it here.
30362 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30364 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30365 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30368 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30370 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30372 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30374 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30377 2013-04-21 David S. Miller <davem@davemloft.net>
30379 * po/ru.po: Update Russion translation from translation project.
30381 2013-04-17 Adam Conrad <adconrad@0c3.net>
30383 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30386 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30388 * configure.in: Remove i386 configure warning. Remove i386 case.
30389 * configure: Regenerate.
30390 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30391 Add example to error message.
30392 * sysdeps/i386/configure: Regenerate.
30394 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30396 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30398 * benchtests/cos-inputs: New file.
30399 * benchtests/slowcos-inputs: New file.
30400 * benchtests/slowcos.c: New file.
30401 * benchtests/slowtan-inputs: New file.
30402 * benchtests/slowtan.c: New file.
30403 * benchtests/tan-inputs: New file.
30405 2013-04-16 Roland McGrath <roland@hack.frob.com>
30407 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30410 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30412 * benchtests/Makefile: Include cppflags-iterator.mk to add
30413 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30415 * Makefile.in (bench-clean): New target.
30416 * benchtests/Makefile (bench-clean): Likewise.
30418 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30420 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30422 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30424 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30426 2013-04-15 Andreas Schwab <schwab@suse.de>
30428 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30429 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30430 * nscd/pwdcache.c (cache_addpw): Likewise.
30431 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30434 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30436 * benchtests/Makefile (bench): Write all output to
30437 bench-out.tmp together.
30439 2013-04-15 Andreas Schwab <schwab@suse.de>
30441 * nscd/nscd.c (main): Don't fork again after closing files.
30443 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30445 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30447 * benchtests/Rules (bench-deps): Collect dependencies into a
30448 single variable. Add Makefile to dependencies.
30449 ($(objpfx)bench-%.c): Depend on bench-deps.
30451 2013-04-12 Roland McGrath <roland@hack.frob.com>
30452 Xavier Roche <roche+kml2@exalead.com>
30455 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30456 just that it's a file descriptor.
30457 * manual/llio.texi (Synchronizing AIO Operations): Update description
30458 for EBADF error from aio_fsync.
30460 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30462 * Rules (bench): Move target definition...
30463 * benchtests/Makefile: ... here.
30465 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30467 * math/libm-test.inc (cos_test): Fix PI/2 test.
30468 (sincos_test): Likewise.
30469 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30470 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30472 2013-04-11 Andreas Schwab <schwab@suse.de>
30475 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30476 accept exponent character only when digits were seen.
30477 * stdio-common/Makefile (tests): Add bug26.
30478 * stdio-common/bug26.c: New file.
30481 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30484 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30486 * Makeconfig (rtld-prefix): Define built linker prefix.
30487 * Rules (run-bench): Use it.
30488 * math/Makefile (run-regen-ulps): Likewise.
30490 * Rules (bench): Remove eval.
30492 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30493 Roland McGrath <roland@hack.frob.com>
30494 Ondrej Bilka <neleai@seznam.cz>
30497 * time/getdate.c: Include ctype.h and alloca.h.
30498 (__getdate_r): Trim leading and trailing spaces of input.
30499 * time/tst-getdate.c (tests): Add tests with leading and
30502 2013-04-08 Roland McGrath <roland@hack.frob.com>
30505 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30506 when computing value.
30508 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30510 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30511 Use testrun.sh to run libm tests.
30514 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30516 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30519 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30521 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30523 * Makefile.in (regen-ulps): New target.
30524 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30525 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30526 [ifneq (no,$(PERL)] (regen-ulps): New target.
30527 [ifeq (no,$(PERL)] (regen-ulps): New target.
30528 * math/libm-test.inc (ulps_file_name): Define.
30529 (output_dir): New variable.
30530 (options): Add "output-dir" option.
30531 (parse_opt): Handle 'o' case.
30532 (main): If output_dir is non-NULL use it as a prefix
30534 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30536 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30538 [BZ #10060, #10062]
30539 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30540 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30541 fail configure if __sync_val_compare_and_swap is not inlined.
30542 * sysdeps/i386/configure: Regenerate.
30543 * configure.in: Build for i686 when configured for i386.
30544 * configure: Regenerate.
30545 * README: Remove i386 reference.
30547 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30549 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30550 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30552 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30554 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30555 (lmsnanval): New variables.
30556 (F): Add conversion tests.
30557 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30558 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30560 * stdio-common/tstdiomisc.c (F): Properly collect individual
30563 [BZ #14686, #15336]
30564 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30565 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30566 Instead, use input NaN values or generate a qNaN by arithmetic
30567 operation. Also fix bugs to comply with the standard.
30568 * math/libm-test.inc (remainder_test): Add more tests.
30570 [BZ #15335, #15342]
30571 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30573 input NaN values or generate a qNaN by arithmetic operation.
30575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30578 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30581 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30584 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30585 underflowed result.
30586 * math/s_cexpf.c (__cexpf): Likewise.
30587 * math/s_cexpl.c (__cexpl): Likewise.
30588 * math/libm-test.inc (cexp_test): Add more tests.
30590 2013-04-03 Andreas Schwab <schwab@suse.de>
30593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30594 order arrays from heap if bigger than alloca cutoff.
30596 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30598 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30599 (SNAN_TESTS_double): Refer to GCC PR56831.
30600 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30603 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30605 * Rules (bench): Move bench.out after the run is complete.
30607 * Rules (bench): Echo currently running benchmark.
30609 * benchtests/Makefile (bench): Add atan and slowatan.
30610 * benchtests/atan-inputs: New file.
30611 * benchtests/slowatan-inputs: New file.
30612 * benchtests/slowatan.c: New file.
30614 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30619 * sysdeps/unix/sysv/linux/kernel-features.h
30620 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30621 __ASSUME_XFS_RESTRICTED_CHOWN.
30622 * sysdeps/unix/sysv/linux/pathconf.c
30623 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30624 Save and restore errno.
30626 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30629 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30630 arguments using __kernel_casinh.
30631 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30632 arguments using __kernel_casinhf.
30633 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30634 arguments using __kernel_casinhl.
30635 * math/libm-test.inc (cacosh_test): Add more tests.
30636 * sysdeps/i386/fpu/libm-test-ulps: Update.
30637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30639 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30641 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30644 * bench/Makefile (bench): Add sin and slowsin.
30645 * benchtests/sin-inputs: New file.
30646 * benchtests/slowsin-inputs: New file.
30647 * benchtests/slowsin.c: New file.
30649 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30650 (bench): Add slowexp and slowpow.
30651 (exp-ITER): Increase iterations.
30652 (pow-ITER): Likewise.
30653 * benchtests/exp-inputs: Change input.
30654 * benchtests/pow-inputs: Likewise.
30655 * benchtests/slowexp-inputs: New file.
30656 * benchtests/slowexp.c: New file.
30657 * benchtests/slowpow-inputs: New file.
30658 * benchtests/slowpow.c: New file.
30660 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30662 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30664 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30665 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30666 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30667 * benchtests/Makefile: Add rint benchtest.
30668 * benchtests/rint-inputs: Input for rint benchtest.
30670 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30672 * Versions.def (libm): Add GLIBC_2.18.
30673 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30674 hidden libm prototypes.
30675 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30676 * math/Makefile (libm-calls): Add s_issignaling.
30677 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30678 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30679 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30681 * math/math.h [__USE_GNU] (issignaling): New macro.
30682 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30683 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30684 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30688 * manual/arith.texi (issignaling): New section.
30689 * manual/libm-err-tab.pl (@all_functions): Update comment.
30690 * math/gen-libm-test.pl (parse_args): Apply special handling for
30692 * math/libm-test.inc (print_float, issignaling_test): New
30694 (check_float_internal): Add issignaling checks.
30695 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30696 default definition.
30697 * sysdeps/powerpc/math-tests.h: New file.
30698 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30700 * math/test-snan.c (TEST_FUNC): Likewise.
30702 2013-03-30 David S. Miller <davem@davemloft.net>
30704 * po/de.po: Update from translation team.
30706 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30710 imaginary part less than 1.0 and real part less than 0.5
30712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30714 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30715 (cacos_test): Add more tests.
30716 (casin_test): Likewise.
30717 (casinh_test): Likewise.
30718 * sysdeps/i386/fpu/libm-test-ulps: Update.
30719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30721 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30723 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30724 ONE with its value.
30726 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30727 (__pow_mp): Replace ONE and MONE with their values.
30728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30730 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30731 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30735 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30737 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30738 (__pow_mp): Replace ZERO and MZERO with their values.
30739 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30744 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30747 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30749 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30751 2013-03-28 Roland McGrath <roland@hack.frob.com>
30753 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30754 Declare with __attribute__ ((weak)).
30755 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30756 Call __call_tls_dtors only if it's not NULL.
30758 2013-03-28 Roland McGrath <roland@hack.frob.com>
30760 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30761 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30762 magic __ehdr_start linker symbol if it's defined.
30763 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30764 them up here if it was already done.
30766 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30767 (_dl_aux_init): Use const in cast when setting it.
30768 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30769 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30770 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30772 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30774 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30775 * csu/libc-tls.c: Nor here.
30776 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30778 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30779 (__libc_message): Never call vsyslog.
30781 2013-03-28 Alan Modra <amodra@gmail.com>
30783 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30785 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30788 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30795 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30798 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30799 Don't add gid passed as argument.
30801 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30803 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30806 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30807 imaginary part between 1.0 and 1.5 and real part less than 0.5
30809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30811 * math/libm-test.inc (cacos_test): Add more tests.
30812 (casin_test): Likewise.
30813 (casinh_test): Likewise.
30814 * sysdeps/i386/fpu/libm-test-ulps: Update.
30815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30817 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30819 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30822 (denorm): Likewise.
30823 (__dbl_mp): Likewise.
30824 (add_magnitudes): Likewise.
30825 (sub_magnitudes): Likewise.
30833 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30835 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30836 (__dubcos): Likewise.
30837 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30838 (__ieee754_acos): Likewise.
30839 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30841 (__exp1): Likewise.
30842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30845 (my_log2): Likewise.
30846 (checkint): Likewise.
30847 * sysdeps/ieee754/dbl-64/e_remainder.c
30848 (__ieee754_remainder): Likewise.
30849 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30851 (bsloww): Likewise.
30852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30854 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30855 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30856 MANTISSA_STORE_T to store computations on mantissa. Use
30857 macros for rounding and division.
30858 (denorm): Likewise.
30859 (__dbl_mp): Likewise.
30860 (add_magnitudes): Likewise.
30861 (sub_magnitudes): Likewise.
30864 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30865 powers of two in terms of TWOPOW macro.
30866 (mp_no): Make type of mantissa as MANTISSA_T.
30867 [!RADIXI]: Define RADIXI.
30868 [!TWO52]: Define TWO52.
30869 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30871 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30873 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30874 llroundl symbol when building for PPC32.
30876 2013-03-24 Mark H Weaver <mhw@netris.org>
30878 * manual/arith.texi (Normalization Functions): Fix prototypes for
30879 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30881 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30885 high value to check if expl overflow.
30886 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30887 to check for underflow and overflow.
30888 * math/libm-test.inc: Add exp test.
30890 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30893 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30896 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30898 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30901 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30903 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30904 wrap blocks consisting of several statements.
30906 * sysdeps/generic/math-tests.h: New file.
30907 * sysdeps/i386/fpu/math-tests.h: Likewise.
30908 * math/test-snan.c: Include it.
30909 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30911 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30914 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30915 (__ieee754_j0l): Do not improve calculations using cos of twice
30916 input for inputs above LDBL_MAX / 2.0L.
30917 (__ieee754_y0l): Likewise.
30918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30919 (__ieee754_j1l): Do not improve calculations using cos of twice
30920 input for inputs above LDBL_MAX / 2.0L.
30921 (__ieee754_y1l): Likewise.
30922 * math/libm-test.inc (j0_test): Add another test.
30923 (j1_test): Likewise.
30924 (y0_test): Likewise.
30925 (y1_test): Likewise.
30926 * sysdeps/i386/fpu/libm-test-ulps: Update.
30928 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30930 * Rules ($(objpfx)bench-%.c): Include code from a C source
30933 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30937 imaginary part 1.0 and real part less than 0.5 specially.
30938 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30939 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30940 * math/libm-test.inc (cacos_test): Add more tests.
30941 (casin_test): Likewise.
30942 (casinh_test): Likewise.
30943 * sysdeps/i386/fpu/libm-test-ulps: Update.
30944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30946 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30948 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30949 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30951 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30953 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30954 * config.make.in (config-cflags-sse4): Remove variable.
30955 (config-cflags-avx): Likewise.
30956 (config-cflags-sse2avx): Likewise.
30957 (config-cflags-novzeroupper): Likewise.
30958 (config-asflags-i686): Likewise.
30959 (have-mfma4): Likewise.
30960 (have-as-vis3): Likewise.
30962 * configure.in (MIG): Do not AC_SUBST.
30963 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30964 (libc_cv_cc_sse4): Do not AC_SUBST.
30965 (libc_cv_cc_avx): Likewise.
30966 (libc_cv_cc_sse2avx): Likewise.
30967 (libc_cv_cc_novzeroupper): Likewise.
30968 (libc_cv_cc_fma4): Likewise.
30969 (libc_cv_as_i686): Likewise.
30970 (libc_cv_sparc_as_vis3): Likewise.
30971 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30973 (config-asflags-i686): Likewise.
30974 (config-cflags-avx): Likewise.
30975 (config-cflags-sse2avx): Likewise.
30976 (have-mfma4): Likewise.
30977 (config-cflags-novzeroupper): Likewise.
30978 * sysdeps/mach/configure.in (MIG): Likewise.
30979 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30980 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30982 (config-cflags-avx): Likewise.
30983 (config-cflags-sse2avx): Likewise.
30984 (have-mfma4): Likewise.
30985 (config-cflags-novzeroupper): Likewise.
30986 * configure: Regenerated.
30987 * sysdeps/i386/configure: Likewise.
30988 * sysdeps/mach/configure: Likewise.
30989 * sysdeps/sparc/configure: Likewise.
30990 * sysdeps/x86_64/configure: Likewise.
30992 2013-03-20 Roland McGrath <roland@hack.frob.com>
30995 * locale/programs/localedef.c (options): Put N_ translation marker
30996 on argument names, not just descriptions.
30998 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31000 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31002 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31005 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31007 2013-03-19 Roland McGrath <roland@hack.frob.com>
31009 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31010 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31011 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31012 [!BEFORE_ABORT] (before_abort): New function.
31013 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31014 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31015 (writev_for_fatal): New function.
31016 (WRITEV_FOR_FATAL): New macro; call that.
31017 (backtrace_and_maps): New function.
31018 (BEFORE_ABORT): New macro; call that.
31019 (struct str_list): Type removed.
31020 (__libc_message, __libc_fatal): Functions removed.
31021 Include <sysdeps/posix/libc_fatal.c> instead.
31023 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31025 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31027 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31030 2013-03-19 Andreas Schwab <schwab@suse.de>
31032 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31033 * sysdeps/gnu/configure: Regenerate.
31035 * configure.in: Substitute libc_cv_rtlddir.
31036 * configure: Regenerate.
31037 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31038 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31039 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31040 * elf/Makefile (install-others, CFLAGS-interp.c)
31041 (ldso_install, common-ldd-rewrite): Likewise.
31042 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31043 $(inst_slibdir)/$(rtld-installed-name).
31044 * scripts/rellns-sh: Add -p option.
31045 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31048 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31050 * manual/nptl.texi: Renamed to ...
31051 * manual/threads.texi: ... this.
31052 * manual/Makefile (chapters): Update.
31054 2013-03-18 Roland McGrath <roland@hack.frob.com>
31057 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31058 on argument names, not just descriptions.
31059 * malloc/memusagestat.c (options): Likewise.
31060 * nss/getent.c (options): Likewise.
31062 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31065 * iconv/iconv_prog.c (options): Put N_ translation marker
31066 on argument names, not just descriptions.
31067 * iconv/iconvconfig.c (options): Likewise.
31069 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31071 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31072 implementation which is faster on all x86_64 architectures.
31073 Tested on AMD, Intel Nehalem, SNB, IVB.
31074 * sysdeps/x86_64/strnlen.S: Likewise.
31076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31077 Remove all multiarch strlen and strnlen versions.
31078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31079 Remove strlen and strnlen related parts.
31081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31082 Inline strlen part.
31083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31085 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31087 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31088 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31089 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31090 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31092 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31094 * manual/memory.texi (Malloc Tunable Parameters):
31095 Sort parameters alphabetically. Add comments for missing entries.
31097 2013-03-17 David S. Miller <davem@davemloft.net>
31099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31101 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31104 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31105 for arguments at most half maximum finite value.
31106 * math/libm-test.inc (j0_test): Add more tests.
31107 (j1_test): Likewise.
31108 (y0_test): Likewise.
31109 (y1_test): Likewise.
31110 * sysdeps/i386/fpu/libm-test-ulps: Update.
31111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31114 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31115 1 / x and functions P and Q for arguments above 0x1p256L.
31116 (__ieee754_y0l): Likewise.
31117 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31118 (__ieee754_y1l): Likewise.
31119 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31120 (j1_test): Likewise.
31121 (y0_test): Likewise.
31122 (y1_test): Likewise.
31124 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31126 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31129 2013-03-15 Roland McGrath <roland@hack.frob.com>
31131 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31132 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31133 zero since it's initialized to EXEC_PAGESIZE.
31135 * sysdeps/unix/sysv/linux/ldsodefs.h
31136 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31137 * sysdeps/generic/ldsodefs.h: ... here.
31139 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31141 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31143 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31145 * math/test-snan.c: Renamed from
31146 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31147 * math/Makefile (tests): Add test-snan.
31148 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31151 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31152 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31154 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31155 __builtin_nan family of functions.
31156 * math/libm-test.inc (initialize): Initialize qnan_value with
31157 __builtin_nan family of functions.
31158 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31160 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31162 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31163 storage class. Initialize qNaN_var and sNaN_var with
31164 __builtin_nan and __builtin_nans families of functions,
31167 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31168 (sqrt_test): Remove duplicate test with qNaN input.
31169 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31170 (round_test, signbit_test, significand_test): Note missing +/-Inf
31171 as well as qNaN tests.
31173 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31174 qNaN_var. Fix a few strings, too.
31175 * math/libm-test.inc (nan_value): Rename to qnan_value.
31176 * math/gen-libm-test.pl (%beautify): Adjust to that.
31177 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31178 * math/test-misc.c (main): Likewise.
31179 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31180 to __qnan_bytes, and __qnan_union, respectively.
31181 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31183 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31184 and lqnanval, respectively.
31185 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31186 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31187 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31188 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31190 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31191 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31194 * math/test-misc.c (main): Fix copy'n'pastos.
31195 * misc/tst-efgcvt.c (special): Likewise.
31197 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31198 Remove declarations.
31200 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31202 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31203 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31204 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31205 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31207 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31210 macro to return vdso values correctly in IFUNC implementations.
31211 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31212 Optimization by using IFUNC.
31214 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31215 Richard Henderson <rth@redhat.com>
31216 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31218 * Makefile.in (bench): New target.
31219 * NEWS: Mention the benchmark framework.
31220 * Rules (bench): Likewise.
31221 (binaries-bench): Generate binaries for functions to
31223 * benchtests/Makefile: New makefile for benchmark tests.
31224 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31226 * benchtests/exp-inputs: New input file for EXP function.
31227 * benchtests/pow-inputs: New input file for POW function.
31228 * scripts/bench.pl: New script to generate source files for
31229 benchmark programs.
31231 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31233 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31234 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31235 computations on mantissa. Use macros for rounding and
31237 (denorm): Likewise.
31238 (__dbl_mp): Likewise.
31239 (add_magnitudes): Likewise.
31240 (sub_magnitudes): Likewise.
31243 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31244 powers of two in terms of TWOPOW macro.
31245 (mp_no): Make type of mantissa as MANTISSA_T.
31246 [!RADIXI]: Define RADIXI.
31247 [!TWO52]: Define TWO52.
31248 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31250 * manual/nptl.texi (cindex): Modify threads to pthreads.
31252 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31254 * sysdeps/x86_64/preconfigure: Regenerated.
31256 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31259 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31261 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31262 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31264 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31265 * math/libm-test.inc (j0_test): Do not allow one spurious
31266 underflow exception.
31267 (y1_test): Likewise.
31269 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31271 * manual/Makefile (chapters): Add nptl.
31272 * manual/debug.texi (Debugging Support): Add link to Threads
31274 * manual/nptl.texi: New file.
31276 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31278 2013-03-14 Petr Baudis <pasky@ucw.cz>
31280 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31281 for non-NULL pointer before the memory validity test. Pointed
31282 out by Holger Brunck <holger.brunck@keymile.com>.
31284 2013-03-13 Andreas Schwab <schwab@suse.de>
31286 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31289 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31291 * timezone/zic.c: Update from tzcode 2013b.
31293 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31295 * manual/install.texi (Configuring and compiling):
31296 Mention i686 and i586.
31297 * INSTALL: Regenerate.
31299 2013-03-12 Roland McGrath <roland@hack.frob.com>
31301 * sysdeps/init_array/elf-init.c: New file.
31303 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31304 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31306 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31307 __gmon_start__ as global, but as static with a .preinit_array pointer.
31308 * sysdeps/init_array/gmon-start.c: New file. Use that.
31309 * sysdeps/init_array/crti.S: New file, empty except for comments.
31310 * sysdeps/init_array/crtn.S: Likewise.
31312 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31314 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31317 Remove Prefer_SSE_for_memop.
31318 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31319 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31320 HAS_PREFER_SSE_FOR_MEMOP.
31321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31324 Remove bzero, memset ifunc support.
31325 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31326 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31327 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31328 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31330 2013-03-11 Andreas Schwab <schwab@suse.de>
31333 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31336 (GLIBC_2.16): Remove pthread_atfork.
31338 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31340 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31341 (ptestcases.h): Likewise.
31343 2013-03-08 Roland McGrath <roland@hack.frob.com>
31345 * Makeconfig ($(common-objpfx)config.status): Depend on
31346 sysdeps/*/preconfigure{,.in} too.
31348 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31350 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31351 (__free_hook): Use void * instead of __malloc_ptr_t.
31352 (__malloc_hook): Likewise.
31353 (__realloc_hook): Likewise.
31354 (__memalign_hook): Likewise.
31355 (__after_morecore_hook): Likewise.
31356 * malloc/arena.c (save_malloc_hook): Likewise.
31357 (save_free_hook): Likewise.
31358 * malloc/hooks.c (malloc_hook_ini): Likewise.
31359 (realloc_hook_ini): Likewise.
31360 (memalign_hook_ini): Likewise.
31361 * malloc/malloc.c (malloc_hook_ini): Likewise.
31362 (realloc_hook_ini): Likewise.
31363 (memalign_hook_ini): Likewise.
31364 (__free_hook): Likewise.
31365 (__malloc_hook): Likewise.
31366 (__realloc_hook): Likewise.
31367 (__memalign_hook): Likewise.
31368 (__libc_malloc): Likewise.
31369 (__libc_free): Likewise.
31370 (__libc_realloc): Likewise.
31371 (__libc_memalign): Likewise.
31372 (__libc_valloc): Likewise.
31373 (__libc_pvalloc): Likewise.
31374 (__libc_calloc): Likewise.
31375 (__posix_memalign): Likewise.
31376 * malloc/morecore.c (__sbrk): Likewise.
31377 (__default_morecore): Likewise.
31379 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31381 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31382 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31383 __malloc_ptrdiff_t.
31385 * malloc/malloc.h (__malloc_size_t): Remove macro.
31386 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31388 (old_memalign_hook): Likewise.
31389 (old_realloc_hook): Likewise.
31390 (struct hdr): Likewise.
31392 (mallochook): Likewise.
31393 (memalignhook): Likewise.
31394 (reallochook): Likewise.
31395 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31396 (tr_old_realloc_hook): Likewise.
31397 (tr_old_memalign_hook): Likewise.
31398 (tr_mallochook): Likewise.
31399 (tr_reallochook): Likewise.
31400 (tr_memalignhook): Likewise.
31402 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31405 default_ldbl_pack and using as default implementation.
31406 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31408 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31409 redundant definition.
31410 (ldbl_insert_mantissa): Likewise.
31411 (ldbl_canonicalize): Likewise.
31412 (ldbl_nearbyint): Likewise.
31413 (ldbl_pack): Rename to ldbl_pack_ppc.
31414 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31415 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31416 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31418 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31421 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31422 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31423 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31426 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31427 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31429 2013-03-07 Andreas Jaeger <aj@suse.de>
31431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31434 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31436 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31437 Include mpa.h and declare __MPEXP.
31438 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31440 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31443 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31446 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31447 (__slowpow): Use long double EXPL and LOGL functions to
31449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31450 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31453 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31454 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31457 intermediate variable to calculate exponent.
31459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31463 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31464 [!NO__SQR]: Define __sqr.
31465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31466 and NO__SQR. Remove all code except __mul and __sqr. Include
31467 sysdeps/ieee754/dbl-64/mpa.c.
31468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31471 * posix/Makefile (tests): Add tst-pathconf.
31472 * posix/tst-pathconf.c: New test case.
31473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31475 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31477 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31479 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31481 2013-03-06 Andreas Jaeger <aj@suse.de>
31483 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31484 definition via __MAP_ANONYMOUS.
31486 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31487 it's not part of Linux headers.
31489 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31490 (MAP_HUGE_MASK): Define.
31492 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31494 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31497 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31498 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31500 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31505 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31506 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31507 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31508 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31509 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31510 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31512 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31515 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31516 Handle f2fs and efivarfs.
31518 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31521 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31522 (EFIVARFS_MAGIC): Add.
31523 (F2FS_LINK_MAX): Add.
31525 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31527 * stdio-common/vfprintf.c: Replace __builtin_expect with
31530 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31533 * sysdeps/generic/bp-sym.h: Remove file.
31534 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31535 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31536 <bp-sym.h> and <bp-asm.h>.
31537 (__longjmp): Don't use BP_SYM.
31538 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31540 (memcpy): Don't use BP_SYM.
31541 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31542 <bp-sym.h> and <bp-asm.h>.
31543 (memcpy): Don't use BP_SYM.
31544 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31546 (memcpy): Don't use BP_SYM.
31547 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31549 (memset): Don't use BP_SYM.
31550 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31551 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31552 (__bzero): Don't use BP_SYM.
31553 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31554 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31556 <bp-sym.h> and <bp-asm.h>.
31557 (memcmp): Don't use BP_SYM. Remove comment about bounded
31559 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31560 <bp-sym.h> and <bp-asm.h>.
31561 (memcpy): Don't use BP_SYM.
31562 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31563 <bp-sym.h> and <bp-asm.h>.
31564 (memset): Don't use BP_SYM.
31565 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31566 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31567 (__bzero): Don't use BP_SYM.
31568 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31569 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31571 <bp-sym.h> and <bp-asm.h>.
31572 (strncmp): Don't use BP_SYM. Remove comment about bounded
31574 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31575 <bp-sym.h> and <bp-asm.h>.
31576 (memcpy): Don't use BP_SYM.
31577 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31578 <bp-sym.h> and <bp-asm.h>.
31579 (memset): Don't use BP_SYM.
31580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31582 (__bzero): Don't use BP_SYM.
31583 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31584 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31586 <bp-sym.h> and <bp-asm.h>.
31587 (__memchr): Don't use BP_SYM.
31588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31589 <bp-sym.h> and <bp-asm.h>.
31590 (memcmp): Don't use BP_SYM. Remove comment about bounded
31592 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31593 <bp-sym.h> and <bp-asm.h>.
31594 (memcpy): Don't use BP_SYM.
31595 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31596 <bp-sym.h> and <bp-asm.h>.
31597 (__mempcpy): Don't use BP_SYM.
31598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31599 <bp-sym.h> and <bp-asm.h>.
31600 (__memrchr): Don't use BP_SYM.
31601 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31602 <bp-sym.h> and <bp-asm.h>.
31603 (memset): Don't use BP_SYM.
31604 (__bzero): Likewise.
31605 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31606 <bp-sym.h> and <bp-asm.h>.
31607 (__rawmemchr): Don't use BP_SYM.
31608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31609 <bp-sym.h> and <bp-asm.h>.
31610 (__STRCMP): Don't use BP_SYM.
31611 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31612 <bp-sym.h> and <bp-asm.h>.
31613 (strchr): Don't use BP_SYM.
31614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31615 <bp-sym.h> and <bp-asm.h>.
31616 (__strchrnul): Don't use BP_SYM.
31617 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31618 <bp-sym.h> and <bp-asm.h>.
31619 (strlen): Don't use BP_SYM.
31620 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31621 <bp-sym.h> and <bp-asm.h>.
31622 (strncmp): Don't use BP_SYM. Remove comment about bounded
31624 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31625 <bp-sym.h> and <bp-asm.h>.
31626 (__strnlen): Don't use BP_SYM.
31627 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31628 <bp-sym.h> and <bp-asm.h>.
31629 (__GI__setjmp): Don't use BP_SYM.
31630 (_setjmp): Likewise.
31631 (__sigsetjmp): Likewise.
31632 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31633 (L(start_addresses)): Don't use BP_SYM.
31634 (_start): Likewise.
31635 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31637 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31638 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31639 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31640 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31641 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31643 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31644 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31645 about bounded pointers.
31646 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31647 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31648 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31650 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31651 about bounded pointers. Remove GKM FIXME comments.
31652 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31653 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31655 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31656 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31657 Remove GKM FIXME comments.
31658 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31659 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31660 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31662 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31663 about bounded pointers. Remove GKM FIXME comment.
31664 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31666 (strncmp): Don't use BP_SYM. Remove comment about bounded
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31669 <bp-sym.h> and <bp-asm.h>.
31670 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31672 <bp-sym.h> and <bp-asm.h>.
31673 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31676 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31678 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31681 2013-03-05 David S. Miller <davem@davemloft.net>
31683 * po/es.po: Update from translation team.
31685 2013-03-05 Andreas Jaeger <aj@suse.de>
31687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31688 <bits/mman-linux.h>.
31689 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31692 <bits/mman-linux.h> to end of file.
31693 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31695 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31696 <bits/mman-linux.h> to end of file.
31697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31700 <bits/mman-linux.h> to end of file.
31702 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31703 (MCL_CURRENT, MCL_FUTURE): Define here.
31705 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31710 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31712 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31715 fourth parameter needed for rt_sigprocmask syscall.
31716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31717 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31718 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31719 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31720 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31721 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31723 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31726 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31727 comment about bounded pointers.
31728 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31729 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31731 2013-03-04 Andreas Jaeger <aj@suse.de>
31733 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31734 common definitions.
31736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31737 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31738 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31740 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31743 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31747 __ieee754_sqrl instead of __sqrl.
31749 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31751 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31752 * sysdeps/powerpc/fpu_control.h: ... here.
31753 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31754 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31755 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31756 * sysdeps/powerpc/bits/mathinline.h: ... here.
31758 2013-03-01 Roland McGrath <roland@hack.frob.com>
31760 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31761 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31762 to just [NEED_DL_SYSINFO_DSO].
31763 * elf/dl-support.c: Likewise.
31764 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31765 * elf/rtld.c (dl_main): Likewise.
31766 * elf/setup-vdso.h (setup_vdso): Likewise.
31767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31768 * sysdeps/unix/sysv/linux/dl-sysdep.c
31769 (_dl_discover_osversion): Likewise.
31771 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31773 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31774 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31776 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31778 * NEWS: Mention libm performance improvements and non-x86 PI
31781 * csu/libc-start.c (__pthread_initialize_minimal): Change
31782 function arguments.
31783 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31785 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31788 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31789 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31790 <bp-sym.h> and <bp-asm.h>.
31791 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31794 (memcpy): Don't use BP_SYM.
31795 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31797 (__mpn_add_n): Don't use BP_SYM.
31798 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31799 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31801 (__mpn_addmul_1): Don't use BP_SYM.
31802 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31803 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31805 (_setjmp): Don't use BP_SYM.
31806 (__novmx_setjmp): Likewise.
31807 (__GI__setjmp): Likewise.
31808 (__vmx_setjmp): Likewise.
31809 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31811 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31812 (__bzero): Don't use BP_SYM.
31813 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31814 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31815 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31816 <bp-sym.h> and <bp-asm.h>.
31817 (memcpy): Don't use BP_SYM.
31818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31819 <bp-sym.h> and <bp-asm.h>.
31820 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31822 <bp-sym.h> and <bp-asm.h>.
31823 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31824 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31826 (__mpn_lshift): Don't use BP_SYM.
31827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31828 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31830 (memset): Don't use BP_SYM.
31831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31833 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31835 (__mpn_mul_1): Don't use BP_SYM.
31836 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31837 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31838 <bp-sym.h> and <bp-asm.h>.
31839 (memcmp): Don't use BP_SYM.
31840 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31841 <bp-sym.h> and <bp-asm.h>.
31842 (memcpy): Don't use BP_SYM.
31843 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31844 <bp-sym.h> and <bp-asm.h>.
31845 (memset): Don't use BP_SYM.
31846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31847 <bp-sym.h> and <bp-asm.h>.
31848 (strncmp): Don't use BP_SYM.
31849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31850 <bp-sym.h> and <bp-asm.h>.
31851 (memcpy): Don't use BP_SYM.
31852 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31853 <bp-sym.h> and <bp-asm.h>.
31854 (memset): Don't use BP_SYM.
31855 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31856 <bp-sym.h> and <bp-asm.h>.
31857 (__memchr): Don't use BP_SYM.
31858 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31859 <bp-sym.h> and <bp-asm.h>.
31860 (memcmp): Don't use BP_SYM.
31861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31862 <bp-sym.h> and <bp-asm.h>.
31863 (memcpy): Don't use BP_SYM.
31864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31865 <bp-sym.h> and <bp-asm.h>.
31866 (__mempcpy): Don't use BP_SYM.
31867 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31868 <bp-sym.h> and <bp-asm.h>.
31869 (__memrchr): Don't use BP_SYM.
31870 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31871 <bp-sym.h> and <bp-asm.h>.
31872 (memset): Don't use BP_SYM.
31873 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31874 <bp-sym.h> and <bp-asm.h>.
31875 (__rawmemchr): Don't use BP_SYM.
31876 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31877 <bp-sym.h> and <bp-asm.h>.
31878 (__STRCMP): Don't use BP_SYM.
31879 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31880 <bp-sym.h> and <bp-asm.h>.
31881 (strchr): Don't use BP_SYM.
31882 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31883 <bp-sym.h> and <bp-asm.h>.
31884 (__strchrnul): Don't use BP_SYM.
31885 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31886 <bp-sym.h> and <bp-asm.h>.
31887 (strlen): Don't use BP_SYM.
31888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31889 <bp-sym.h> and <bp-asm.h>.
31890 (strncmp): Don't use BP_SYM.
31891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31892 <bp-sym.h> and <bp-asm.h>.
31893 (__strnlen): Don't use BP_SYM.
31894 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31896 (__mpn_rshift): Don't use BP_SYM.
31897 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31898 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31899 <bp-sym.h> and <bp-asm.h>.
31900 (__sigsetjmp): Don't use BP_SYM.
31901 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31902 (L(start_addresses)): Don't use BP_SYM.
31903 (_start): Likewise.
31904 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31906 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31907 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31908 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31909 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31911 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31912 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31913 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31914 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31916 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31919 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31921 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31923 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31924 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31925 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31927 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31929 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31931 (strncmp): Don't use BP_SYM,
31932 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31934 (__mpn_sub_n): Don't use BP_SYM.
31935 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31936 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31938 (__mpn_submul_1): Don't use BP_SYM.
31939 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31941 <bp-sym.h> and <bp-asm.h>.
31942 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31944 <bp-sym.h> and <bp-asm.h>.
31945 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31948 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31951 Use ZK to minimize writes to Z.
31952 (sub_magnitudes): Simplify code a bit.
31953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31954 Use ZK to minimize writes to Z.
31955 (sub_magnitudes): Simplify code a bit.
31957 2013-02-27 Roland McGrath <roland@hack.frob.com>
31959 * csu/gmon-start.c: Add special exception to license text.
31961 2013-02-27 Richard Henderson <rth@redhat.com>
31963 * scripts/config.guess: Update from config.git.
31964 * scripts/config.sub: Likewise.
31966 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31968 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31970 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31972 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31974 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31976 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31978 2013-02-26 Roland McGrath <roland@hack.frob.com>
31980 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31981 [$(build-shared = yes].
31983 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31985 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31986 (__mul): Reduce iterations for calculating mantissa.
31988 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31990 (__mpranred): Likewise.
31993 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31994 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31996 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31998 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31999 Define __attribute__.
32001 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32003 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32005 * posix/regex_internal.h (__attribute): Remove.
32006 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32007 (re_string_context_at): Likewise.
32008 (bitset_not): Use __attribute__ and mark function as possibly
32010 (bitset_merge): Likewise.
32011 (bitset_mask): Likewise.
32012 (re_string_char_size_at): Likewise.
32013 (re_string_wchar_at): Likewise.
32014 (re_string_elem_size_at): Likewise.
32016 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32018 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32022 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32026 (denorm): Likewise.
32027 (__dbl_mp): Likewise.
32028 (add_magnitudes): Likewise.
32029 (sub_magnitudes): Likewise.
32033 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32036 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32039 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32043 up changes with default code.
32044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32047 2013-02-24 Allan McRae <allan@archlinux.org>
32049 * manual/socket.texi (The Internet Namespace): Order menu items
32050 to match that in the file.
32052 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32053 node listing of the info page menu.
32055 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32058 * sysdeps/i386/bp-asm.h: Remove file.
32059 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32060 (PARMS): Do not use macros from bp-asm.h.
32064 (__mpn_add_n): Do not use BP_SYM
32065 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32067 (PARMS): Do not use macros from bp-asm.h.
32070 (__mpn_addmul_1): Do not use BP_SYM
32071 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32073 (PARMS): Do not use macros from bp-asm.h.
32074 (SIGMSK): Likewise.
32075 (_setjmp): Likewise. Do not use BP_SYM.
32076 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32078 (PARMS): Do not use macros from bp-asm.h.
32079 (SIGMSK): Likewise.
32080 (setjmp): Likewise. Do not use BP_SYM.
32081 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32083 (PARMS): Do not use macros from bp-asm.h.
32084 (__frexp): Do not use BP_SYM.
32086 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32088 (PARMS): Do not use macros from bp-asm.h.
32089 (__frexpf): Do not use BP_SYM.
32090 (frexpf): Likewise.
32091 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32093 (PARMS): Do not use macros from bp-asm.h.
32094 (__frexpl): Do not use BP_SYM.
32095 (frexpl): Likewise.
32096 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32098 (PARMS): Do not use macros from bp-asm.h.
32099 (__remquo): Do not use BP_SYM.
32100 (remquo): Likewise.
32101 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32103 (PARMS): Do not use macros from bp-asm.h.
32104 (__remquof): Do not use BP_SYM.
32105 (remquof): Likewise.
32106 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32108 (PARMS): Do not use macros from bp-asm.h.
32109 (__remquol): Do not use BP_SYM.
32110 (remquol): Likewise.
32111 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32113 (PARMS): Do not use macros from bp-asm.h.
32116 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32117 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32119 (PARMS): Do not use macros from bp-asm.h.
32120 (strlen): Do not use BP_SYM.
32121 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32123 (PARMS): Do not use macros from bp-asm.h.
32127 (__mpn_add_n): Do not use BP_SYM.
32128 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32130 (PARMS): Do not use macros from bp-asm.h.
32133 (__mpn_addmul_1): Do not use BP_SYM.
32134 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32137 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32139 (PARMS): Do not use macros from bp-asm.h.
32142 (__mpn_lshift): Do not use BP_SYM.
32143 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32145 (PARMS): Do not use macros from bp-asm.h.
32149 (memcpy): Likewise. Do not use BP_SYM.
32150 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32151 libc_hidden_def and weak_alias.
32152 (mempcpy): Do not use BP_SYM in weak_alias.
32153 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32155 (PARMS): Do not use macros from bp-asm.h.
32158 [!BZERO_P] (CHR): Likewise.
32159 (memset): Likewise. Do not use BP_SYM.
32160 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32162 (PARMS): Do not use macros from bp-asm.h.
32165 (__mpn_mul_1): Do not use BP_SYM.
32166 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32168 (PARMS): Do not use macros from bp-asm.h.
32171 (__mpn_rshift): Do not use BP_SYM.
32172 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32174 (PARMS): Do not use macros from bp-asm.h.
32177 (strchr): Likewise. Do not use BP_SYM.
32178 (index): Do not use BP_SYM in weak_alias.
32179 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32181 (PARMS): Do not use macros from bp-asm.h.
32184 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32185 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32187 (PARMS): Do not use macros from bp-asm.h.
32188 (strlen): Do not use BP_SYM.
32189 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32191 (PARMS): Do not use macros from bp-asm.h.
32195 (__mpn_sub_n): Do not use BP_SYM.
32196 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32198 (PARMS): Do not use macros from bp-asm.h.
32201 (__mpn_submul_1): Do not use BP_SYM.
32202 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32204 (PARMS): Do not use macros from bp-asm.h.
32208 (__mpn_add_n): Do not use BP_SYM.
32209 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32212 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32214 (PARMS): Do not use macros from bp-asm.h.
32217 (memcmp): Do not use BP_SYM.
32218 (bcmp): Do not use BP_SYM in weak_alias.
32219 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32221 (PARMS): Do not use macros from bp-asm.h.
32225 (memcpy): Likewise. Do not use BP_SYM.
32226 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32228 (PARMS): Do not use macros from bp-asm.h.
32232 (memmove): Likewise. Do not use BP_SYM.
32233 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32235 (PARMS): Do not use macros from bp-asm.h.
32239 (__mempcpy): Likewise. Do not use BP_SYM.
32240 (mempcpy): Do not use BP_SYM in weak_alias.
32241 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32243 (PARMS): Do not use macros from bp-asm.h.
32246 [!BZERO_P] (CHR): Likewise.
32247 (memset): Likewise. Do not use BP_SYM.
32248 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32250 (PARMS): Do not use macros from bp-asm.h.
32252 (strcmp): Do not use BP_SYM.
32253 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32255 (PARMS): Do not use macros from bp-asm.h.
32258 [USE_AS_STRTOK_R] (SAVE): Likewise.
32259 (FUNCTION): Likewise. Do not use BP_SYM.
32260 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32262 (strtok_r): Likewise.
32263 (__GI___strtok_r): Likewise.
32264 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32265 (PARMS): Do not use macros from bp-asm.h.
32268 (__mpn_lshift): Do not use BP_SYM.
32269 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32270 (PARMS): Do not use macros from bp-asm.h.
32273 (__memchr): Do not use BP_SYM.
32274 (memchr): Do not use BP_SYM in weak_alias.
32275 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32276 (PARMS): Do not use macros from bp-asm.h.
32279 (memcmp): Do not use BP_SYM.
32280 (bcmp): Do not use BP_SYM in weak_alias.
32281 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32282 (PARMS): Do not use macros from bp-asm.h.
32285 (__mpn_mul_1): Do not use BP_SYM.
32286 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32288 (PARMS): Do not use macros from bp-asm.h.
32291 (__rawmemchr): Do not use BP_SYM.
32292 (rawmemchr): Do not use BP_SYM in weak_alias.
32293 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32294 (PARMS): Do not use macros from bp-asm.h.
32297 (__mpn_rshift): Do not use BP_SYM.
32298 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32299 (PARMS): Do not use macros from bp-asm.h.
32300 (SIGMSK): Likewise.
32301 (__sigsetjmp): Likewise. Do not use BP_SYM.
32302 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32303 (_start): Do not use BP_SYM.
32304 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32305 (PARMS): Do not use macros from bp-asm.h.
32308 (__stpcpy): Likewise. Do not use BP_SYM.
32309 (stpcpy): Do not use BP_SYM in weak_alias.
32310 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32312 (PARMS): Do not use macros from bp-asm.h.
32316 (__stpncpy): Likewise. Do not use BP_SYM.
32317 (stpncpy): Do not use BP_SYM in weak_alias.
32318 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32319 (PARMS): Do not use macros from bp-asm.h.
32322 (strchr): Likewise. Do not use BP_SYM.
32323 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32325 (PARMS): Do not use macros from bp-asm.h.
32328 (__strchrnul): Likewise. Do not use BP_SYM.
32329 (strchrnul): Do not use BP_SYM in weak_alias.
32330 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32332 (PARMS): Do not use macros from bp-asm.h.
32334 (strcspn): Do not use BP_SYM.
32335 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32337 (PARMS): Do not use macros from bp-asm.h.
32340 (strpbrk): Likewise. Do not use BP_SYM.
32341 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32343 (PARMS): Do not use macros from bp-asm.h.
32346 (strrchr): Likewise. Do not use BP_SYM.
32347 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32348 (PARMS): Do not use macros from bp-asm.h.
32350 (strspn): Do not use BP_SYM.
32351 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32352 (PARMS): Do not use macros from bp-asm.h.
32356 (FUNCTION): Likewise. Do not use BP_SYM.
32357 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32359 (strtok_r): Likewise.
32360 (__GI___strtok_r): Likewise.
32361 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32362 (PARMS): Do not use macros from bp-asm.h.
32366 (__mpn_sub_n): Do not use BP_SYM.
32367 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32369 (PARMS): Do not use macros from bp-asm.h.
32372 (__mpn_submul_1): Do not use BP_SYM.
32373 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32375 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32377 (PARMS): Do not use macros from bp-asm.h.
32382 (__clone): Do not use BP_SYM.
32383 (clone): Do not use BP_SYM in weak_alias.
32384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32386 (PARMS): Do not use macros from bp-asm.h.
32388 (__mmap64): Do not use BP_SYM.
32389 (mmap64): Do not use BP_SYM in weak_alias.
32390 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32391 <bp-sym.h> and <bp-asm.h>.
32392 (PARMS): Do not use macros from bp-asm.h.
32393 (__posix_fadvise64_l64): Do not use BP_SYM.
32394 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32395 (PARMS): Do not use macros from bp-asm.h.
32397 (semtimedop): Do not use BP_SYM.
32398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32401 2013-02-21 Allan McRae <allan@archlinux.org>
32403 * manual/message.texi (Charset conversion in gettext):
32404 Move @end statement to beginning of line.
32406 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32413 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32414 (denorm): Likewise.
32415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32418 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32420 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32421 tail-call to the resolved function if pltexit isn't needed.
32423 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32426 or Y being zero as being unlikely.
32427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32430 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32432 * manual/nss.texi (System Databases and Name Service Switch):
32433 Remove frobnicate @pxref.
32435 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32437 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32438 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32440 2013-02-20 Petr Machata <pmachata@redhat.com>
32442 * elf/elf.h (R_ARM_TARGET1): New macro.
32443 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32444 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32445 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32446 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32447 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32448 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32449 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32450 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32451 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32452 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32453 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32454 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32455 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32456 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32457 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32458 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32459 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32460 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32461 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32462 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32463 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32464 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32465 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32466 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32467 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32468 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32469 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32470 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32471 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32472 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32473 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32474 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32475 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32476 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32477 (R_ARM_THM_GOT_BREL12): Likewise.
32478 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32479 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32480 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32481 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32482 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32483 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32484 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32485 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32486 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32488 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32490 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32491 __attribute_used__ to __attribute__ ((unused)).
32493 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32495 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32498 comment formatting.
32499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32501 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32504 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32506 (ENTER): Remove both macro definitions.
32508 (CHECK_BOUNDS_LOW): Likewise.
32509 (CHECK_BOUNDS_HIGH): Likewise.
32510 (CHECK_BOUNDS_BOTH): Likewise.
32511 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32512 (RETURN_BOUNDED_POINTER): Likewise.
32513 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32514 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32515 (POP_ERRNO_LOCATION_RETURN): Likewise.
32516 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32517 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32518 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32520 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32521 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32522 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32523 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32524 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32525 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32526 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32527 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32528 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32529 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32530 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32531 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32532 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32533 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32535 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32536 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32538 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32539 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32540 * sysdeps/i386/i586/memset.S (memset): Likewise.
32541 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32542 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32543 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32546 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32547 Change uses of L(2) to L(out).
32548 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32549 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32550 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32551 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32552 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32554 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32555 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32557 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32558 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32559 (RETURN): Do not use macro LEAVE.
32560 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32561 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32562 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32563 * sysdeps/i386/i686/memset.S (memset): Likewise.
32564 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32565 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32566 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32567 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32569 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32570 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32571 L(1_2) and L(1_3) into L(1).
32572 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32573 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32575 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32576 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32577 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32578 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32580 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32582 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32583 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32584 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32585 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32586 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32587 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32588 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32589 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32590 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32591 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32592 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32593 * sysdeps/i386/strspn.S (strspn): Likewise.
32594 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32597 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32598 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32599 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32600 L(1_3) into L(1_1).
32601 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32602 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32603 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32607 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32609 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32612 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32614 * math/atest-exp.c (exp_mpn): Remove ROUND.
32615 * math/atest-exp2.c (exp_mpn): Likewise.
32616 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32618 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32619 * stdlib/tst-tls-atexit-lib.c: Likewise.
32620 * stdlib/tst-tls-atexit.c: Likewise.
32622 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32624 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32625 and __attribute_alloc_size__.
32627 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32629 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32630 __attribute_alloc_size__.
32631 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32632 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32634 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32636 * include/programs/xmalloc.h: New file.
32637 * catgets/gencat.c: Include it.
32638 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32639 * elf/pldd.c: Likewise.
32640 * iconv/iconv_charmap.c: Likewise.
32641 * iconv/iconvconfig.c: Likewise.
32642 * iconv/strtab.c: Likewise.
32643 * locale/programs/locale.c: Likewise.
32644 * locale/programs/localedef.h: Likewise.
32645 * locale/programs/simple-hash.c: Likewise.
32646 * nscd/nscd.h: Likewise.
32647 * nss/makedb.c: Likewise.
32648 * sysdeps/generic/ldconfig.h: Likewise.
32650 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32652 * Versions.def: Add GLIBC_2.18.
32653 * include/link.h (struct link_map): New member l_tls_dtor_count.
32654 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32655 (__call_tls_dtors): Likewise.
32656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32657 __cxa_thread_atexit_impl.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32674 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32675 (tests): Add test case tst-tls-atexit.
32676 (modules-names): Add shared library for tst-tls-atexit.
32677 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32678 (GLIBC_PRIVATE): Add __call_tls_dtors.
32679 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32681 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32682 * stdlib/tst-tls-atexit.c: New test case.
32683 * stdlib/tst-tls-atexit-lib.c: New test case.
32685 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32687 * elf/Versions (ld): Add _dl_find_dso_for_object.
32688 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32689 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32690 (dl_open_worker): Use _dl_find_dso_for_object.
32691 * elf/dl-sym.c (do_sym): Likewise.
32692 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32694 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32696 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32697 Syntactic changes only.
32698 (_dl_runtime_profile): Do a tail-call to the resolved function.
32700 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32703 * sysdeps/x86_64/bp-asm.h: Remove file.
32704 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32705 <bp-sym.h> and <bp-asm.h>.
32706 (__clone): Do not use BP_SYM.
32707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32708 <bp-sym.h> and <bp-asm.h>.
32709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32710 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32712 (_setjmp): Do not use BP_SYM.
32713 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32715 (setjmp): Do not use BP_SYM.
32716 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32718 (mempcpy): Do not use BP_SYM in weak_alias.
32719 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32721 (strchr): Do not use BP_SYM.
32722 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32724 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32725 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32726 (_start): Do not use BP_SYM.
32727 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32729 (strcat): Do not use BP_SYM.
32730 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32732 (STRCMP): Do not use BP_SYM.
32733 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32735 (STRCPY): Do not use BP_SYM.
32736 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32738 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32740 (FUNCTION): Do not use BP_SYM.
32741 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32743 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32745 2013-02-17 Andreas Jaeger <aj@suse.de>
32747 * time/Versions: Sort entries.
32748 * string/Versions: Likewise.
32749 * resolv/Versions: Likewise.
32750 * posix/Versions: Likewise.
32751 * iconv/Versions: Likewise.
32752 * elf/Versions: Likewise.
32753 * wcsmbs/Versions: Likewise.
32755 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32758 loop termination condition.
32760 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32761 variable to calculate EZ.
32764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32765 the lower precision input.
32767 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32770 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32771 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32772 (run-via-rtld-prefix): Do not handle %-bp tests.
32773 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32774 (all-object-suffixes): Remove .ob.
32775 (bppfx): Remove variable.
32776 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32777 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32778 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32779 [$(build-bounded) = yes] (libtype.ob): Likewise.
32780 * Makerules (elide-routines.ob): Remove variable.
32781 (do-tests-clean): Do not handle *-bp.out.
32782 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32783 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32784 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32785 (tests): Do not include $(tests-bp.out).
32786 (xtests): Do not include $(xtests-bp.out).
32787 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32788 [$(build-bounded) = yes] ($(addprefix
32789 $(objpfx),$(binaries-bounded))): Remove rule.
32790 ($(objpfx)%-bp.out): Remove rule.
32791 * config.make.in (build-bounded): Remove variable.
32792 * crypt/Makefile [$(build-bounded) = yes]
32793 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32794 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32795 append to variable.
32796 [$(build-bounded) = yes] (install-lib): Likewise.
32797 [$(build-bounded) = yes] (generated): Likewise.
32798 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32800 * intl/Makefile [$(build-bounded) = yes]
32801 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32802 * math/Makefile [$(build-bounded) = yes]
32803 ($(tests:%=$(objpfx)%-bp): Likewise.
32804 * misc/Makefile [$(build-bounded) = yes]
32805 ($(objpfx)tst-tsearch-bp): Likewise.
32806 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32807 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32809 * string/Makefile (o-objects.ob): Remove variable.
32810 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32811 (CFLAGS-.ob): Remove variable.
32812 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32813 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32814 both definitions of variable.
32815 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32816 (ASFLAGS-.ob): Remove variable.
32818 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32821 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32822 Remove __BOUNDED_POINTERS__ from condition.
32823 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32824 * string/bits/string2.h [!__NO_STRING_INLINES &&
32825 !__BOUNDED_POINTERS__]: Likewise.
32826 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32828 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32829 Remove conditional code.
32830 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32831 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32832 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32836 * csu/libc-start.c: Do not include <bp-sym.h>.
32837 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32838 * elf/dl-open.c: Do not include <bp-sym.h>.
32839 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32840 * math/fegetenv.c: Do not include <bp-sym.h>.
32841 (fegetenv): Do not use BP_SYM in versioned symbols.
32842 * nptl/sysdeps/pthread/bits/libc-lockP.h
32843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32846 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32848 (__pthread_mutex_destroy): Likewise.
32849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32850 (__pthread_mutex_lock): Likewise.
32851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32852 (__pthread_mutex_trylock): Likewise.
32853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32854 (__pthread_mutex_unlock): Likewise.
32855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32856 (__pthread_mutexattr_init): Likewise.
32857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32858 (__pthread_mutexattr_destroy): Likewise.
32859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32860 (__pthread_mutexattr_settype): Likewise.
32861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32862 (__pthread_rwlock_init): Likewise.
32863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32864 (__pthread_rwlock_destroy): Likewise.
32865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32866 (__pthread_rwlock_rdlock): Likewise.
32867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32868 (__pthread_rwlock_tryrdlock): Likewise.
32869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32870 (__pthread_rwlock_wrlock): Likewise.
32871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32872 (__pthread_rwlock_trywrlock): Likewise.
32873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32874 (__pthread_rwlock_unlock): Likewise.
32875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32876 (__pthread_key_create): Likewise.
32877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32878 (__pthread_setspecific): Likewise.
32879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32880 (__pthread_getspecific): Likewise.
32881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32884 (_pthread_cleanup_push_defer): Likewise.
32885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32886 (_pthread_cleanup_pop_restore): Likewise.
32887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32888 (pthread_setcancelstate): Likewise.
32889 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32891 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32892 (memchr): Do not use BP_SYM in weak_alias.
32893 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32894 (fegetenv): Do not use BP_SYM in versioned symbols.
32895 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32896 (fesetenv): Do not use BP_SYM in versioned symbols.
32897 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32898 (feupdateenv): Do not use BP_SYM in versioned symbols.
32899 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32900 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32901 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32902 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32903 (open64): Do not use BP_SYM in weak_alias.
32904 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32905 (fegetenv): Do not use BP_SYM in versioned symbols.
32906 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32907 (fesetenv): Do not use BP_SYM in versioned symbols.
32908 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32909 (feupdateenv): Do not use BP_SYM in versioned symbols.
32910 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32911 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32912 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32913 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32914 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32915 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32918 (__libc_start_main): Do not use BP_SYM.
32920 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32923 redundant return line.
32925 (denorm): Likewise.
32926 (dbl_mp): Likewise.
32927 (sub_magnitudes): Likewise.
32933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32935 (denorm): Likewise.
32936 (dbl_mp): Likewise.
32937 (sub_magnitudes): Likewise.
32944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32947 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32950 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32951 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32953 of __mul for squares.
32954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32958 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32959 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32961 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32964 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32966 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32967 prototype or function definition. Rename ubp_* variables and
32968 parameters. Remove argv definitions conditional on
32969 [__BOUNDED_POINTERS__].
32970 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32971 * elf/dl-runtime.c (_dl_fixup): Likewise.
32972 * include/set-hooks.h (RUN_HOOK): Likewise.
32973 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32975 * string/strcpy.c (strcpy): Do not use __unbounded.
32976 * sysdeps/generic/frame.h (struct layout): Likewise.
32977 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32978 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32979 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32980 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32981 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32982 (__backtrace): Likewise.
32983 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32985 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32986 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32987 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32989 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32990 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32991 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32993 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32994 Do not use __unbounded.
32995 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32996 Rename __unboundedrlimits parameter to rlimits in prototype.
32997 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32998 Do not use __unbounded.
32999 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33000 not use __ptrvalue.
33001 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33002 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33003 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33005 __ptrvalue or __unbounded.
33006 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33007 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33009 (__new_msgctl): Do not use __ptrvalue.
33010 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33012 (__libc_msgrcv): Do not use __ptrvalue.
33013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33014 startup_info): Do not use __unbounded.
33015 (__libc_start_main): Likewise. Rename ubp_* variables and
33016 parameters. Remove argv definitions conditional on
33017 [__BOUNDED_POINTERS__].
33018 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33020 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33024 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33026 (__new_shmctl): Do not use __ptrvalue.
33027 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33028 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33030 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33032 (__libc_sigaction): Likewise.
33033 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33034 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33036 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33038 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33040 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33042 * string/mempcpy.c: Implement by calling memcpy.
33044 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33052 values in the mantissa.
33054 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33055 minimize writes to Z.
33056 (sub_magnitudes): Simplify code a bit.
33058 2013-02-12 Roland McGrath <roland@hack.frob.com>
33060 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33061 from the message. The linker prefixes all warnings with that already.
33063 2013-02-12 Andreas Schwab <schwab@suse.de>
33066 * posix/regexec.c (extend_buffers): Add parameter min_len.
33067 (check_matching): Pass minimum needed length.
33068 (clean_state_log_if_needed): Likewise.
33069 (get_subexp): Likewise.
33070 * posix/Makefile (tests): Add bug-regex34.
33071 (bug-regex34-ENV): Define.
33072 * posix/bug-regex34.c: New file.
33075 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33076 elements compare against the byte sequence of it, not its name.
33077 * posix/Makefile (tests): Add bug-regex35.
33078 (bug-regex35-ENV): Define.
33079 * posix/bug-regex35.c: New file.
33081 2013-02-11 Tom de Vries <tom@codesourcery.com>
33083 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33085 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33086 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33087 (CHECK_EOL): Add undef.
33089 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33091 * bits/stdlib-bsearch.h: New file.
33092 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33093 * stdlib/stdlib.h: Likewise.
33095 2013-02-11 Roland McGrath <roland@hack.frob.com>
33097 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33098 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33100 * manual/search.texi (Array Search Function): Add missing const in
33102 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33103 declaration to use rlim_t.
33104 (Basic Scheduling Functions): Remove erroneous const from
33105 sched_getparam prototype. Remove erroneous * from
33106 sched_get_priority_max and sched_get_priority_min prototypes.
33107 (Resource Usage): Fix summary @comment on vtimes to refer to
33108 sys/vtimes.h rather than vtimes.h.
33109 Add missing *s in vtimes prototype.
33110 (Limits on Resources): Fix ulimit prototype to return long int.
33111 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33112 prototypes to use long int rather than double.
33113 (BSD Random): Fix initstate and setstate to use char *, not void *.
33114 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33115 prototype to make second argument 'struct aiocb64 *const[]'.
33116 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33117 (Status of AIO Operations): Remove erroneous const in aio_return and
33118 aio_return64 prototypes.
33119 (Synchronizing I/O): Fix sync prototype to return void.
33120 * manual/startup.texi (Suboptions): Remove an erroneous const in
33121 getsubopt prototype.
33122 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33123 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33124 use size_t rather than int.
33125 (Scanning All Users): Likewise for getpwent_r.
33126 (Setting Groups): Add missing const to setgroups prototype.
33127 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33128 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33129 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33130 'const void *' rather than 'const char *'.
33131 (Host Address Functions): Likewise for inet_ntop.
33132 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33133 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33134 ssize_t for return value.
33135 (Sending Data): Likewise for send, sendto, sendmsg.
33136 (Socket Option Functions): Add a missing const in setsockopt prototype.
33137 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33138 use wchar_t for the argument.
33139 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33140 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33142 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33143 double/float/long double for second argument.
33144 Fix return types of significand, significandf, significandl.
33145 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33146 argument in fchmod prototype.
33147 (File Owner): Use uid_t and gid_t in fchown prototype.
33148 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33149 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33150 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33151 use 'const struct dirent **' as argument types to CMP function pointer
33153 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33154 (File Times): Fix summary magic @comment for struct utimbuf and utime
33155 to refer to utime.h, not time.h.
33156 * manual/string.texi (Argz Functions): Add missing const in
33157 argz_extract and argz_next prototypes.
33158 (Finding Tokens in a String): Likewise for basename.
33159 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33160 (Copying and Concatenation): Fix typo in wmemmove prototype.
33161 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33162 (Signal Stack): Remove erroneous const in sigstack prototype.
33163 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33165 (Simple Calendar Time): Likewise for stime.
33166 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33168 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33169 say sys/sysctl.h instead.
33170 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33171 and vsyslog prototypes.
33173 2013-02-11 Tom de Vries <tom@codesourcery.com>
33175 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33178 2013-02-11 Roland McGrath <roland@hack.frob.com>
33180 * misc/sys/mman.h: Fix typo in mremap comment.
33182 2013-02-08 Roland McGrath <roland@hack.frob.com>
33184 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33185 the '\0' terminator.
33187 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33190 * debug/segfault.c: Don't include <bp-checks.h>.
33191 * sysdeps/generic/bp-checks.h: Remove file.
33192 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33193 (__GETDENTS): Don't use CHECK_N.
33194 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33195 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33196 (__getgroups): Don't use CHECK_N.
33197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33198 (setgroups): Don't use CHECK_N.
33199 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33200 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33201 (__libc_msgrcv): Don't use CHECK_N.
33202 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33203 (__libc_msgsnd): Don't use CHECK_N.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33206 (__libc_pread): Don't use CHECK_N.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33208 include <bp-checks.h>.
33209 (__libc_pread64): Don't use CHECK_N.
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33211 include <bp-checks.h>.
33212 (__libc_pwrite): Don't use CHECK_N.
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33214 include <bp-checks.h>.
33215 (__libc_pwrite64): Don't use CHECK_N.
33216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33218 (__libc_pread): Don't use CHECK_N.
33219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33220 include <bp-checks.h>.
33221 (__libc_pread64): Don't use CHECK_N.
33222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33223 include <bp-checks.h>.
33224 (__libc_pwrite): Don't use CHECK_N.
33225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33226 include <bp-checks.h>.
33227 (__libc_pwrite64): Don't use CHECK_N.
33228 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33229 (do_pread): Don't use CHECK_N.
33230 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33231 (do_pread64): Don't use CHECK_N.
33232 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33233 (do_pwrite): Don't use CHECK_N.
33234 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33235 (do_pwrite64): Don't use CHECK_N.
33236 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33237 (__libc_readv): Don't use CHECK_N.
33238 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33239 (semop): Don't use CHECK_N.
33240 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33242 (semtimedop): Don't use CHECK_N.
33243 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33244 (__libc_pread): Don't use CHECK_N.
33245 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33247 (__libc_pread64): Don't use CHECK_N.
33248 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33250 (__libc_pwrite): Don't use CHECK_N.
33251 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33253 (__libc_pwrite64): Don't use CHECK_N.
33254 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33256 (__libc_msgrcv): Don't use CHECK_N.
33257 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33258 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33259 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33260 (__libc_writev): Don't use CHECK_N.
33262 2013-02-08 Roland McGrath <roland@hack.frob.com>
33264 * string/strcpy.c: Removed unused variable.
33266 * Makeconfig (+sysdep-includes): Define with := rather than =.
33267 Use an existing include/ subdir of each sysdeps dir before it.
33269 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33271 * nscd/connection.c (register_traced_file): Comment function.
33272 [HAVE_INOTIFY] (union __inev): Define.
33273 [HAVE_INOTIFY] (inotify_check_files): New function.
33274 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33275 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33277 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33279 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33281 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33282 loaded if not already and that a failure is permanent.
33284 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33287 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33288 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33290 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33293 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33294 (CHECK_1_NULL_OK): Likewise.
33295 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33296 (__fxstat): Do not use CHECK_1.
33297 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33299 (___fxstat64): Do not use CHECK_1.
33300 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33302 (__fxstatat): Do not use CHECK_1.
33303 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33305 (__fxstatat64): Do not use CHECK_1.
33306 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33308 (__fxstat): Do not use CHECK_1.
33309 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33311 (__fxstatat): Do not use CHECK_1.
33312 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33314 (__getresgid): Do not use CHECK_1.
33315 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33317 (__getresuid): Do not use CHECK_1.
33318 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33320 (__lxstat): Do not use CHECK_1.
33321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33323 (__old_msgctl): Do not use CHECK_1.
33324 (__new_msgctl): Likewise.
33325 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33327 (__new_setrlimit): Do not use CHECK_1.
33328 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33330 (__old_shmctl): Do not use CHECK_1.
33331 (__new_shmctl): Likewise.
33332 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33334 (__xstat): Do not use CHECK_1.
33335 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33336 (__lxstat): Do not use CHECK_1.
33337 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33339 (___lxstat64): Do not use CHECK_1.
33340 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33341 (__old_msgctl): Do not use CHECK_1.
33342 (__new_msgctl): Likewise.
33343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33345 (__gettimeofday): Do not use CHECK_1.
33346 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33347 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33348 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33350 (__gettimeofday): Do not use CHECK_1.
33351 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33352 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33353 (__new_shmctl): Do not use CHECK_1.
33354 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33356 (do_sigtimedwait): Do not use CHECK_1.
33357 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33359 (do_sigwaitinfo): Do not use CHECK_1.
33360 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33362 (msgctl): Do not use CHECK_1.
33363 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33365 (shmctl): Do not use CHECK_1.
33366 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33367 (ustat): Do not use CHECK_1.
33368 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33370 (__fxstat): Do not use CHECK_1.
33371 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33373 (__fxstatat): Do not use CHECK_1.
33374 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33376 (__lxstat): Do not use CHECK_1.
33377 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33379 (__xstat): Do not use CHECK_1.
33380 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33381 (__xstat): Do not use CHECK_1.
33382 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33383 (___xstat64): Do not use CHECK_1.
33386 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33388 (CHECK_BOUNDS_HIGH): Likewise.
33389 * string/strcpy.c: Do not include <bp-checks.h>.
33390 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33392 2013-02-07 Roland McGrath <roland@hack.frob.com>
33394 * nscd/nscd-client.h (__nscd_drop_map_ref):
33395 Add __attribute__ ((unused)).
33396 * nis/nss-nisplus.h (niserr2nss): Likewise.
33398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33399 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33401 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33402 Remove inline keyword.
33403 * include/rounding-mode.h (round_away): Likewise.
33404 * libio/wfileops.c (adjust_wide_data): Likewise.
33405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33406 (__m128i_strloadu_tolower): Likewise.
33407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33408 (__m128i_strloadu_tolower): Likewise.
33409 * time/mktime.c (ydhms_diff): Likewise.
33410 * locale/elem-hash.h (elem_hash): Likewise.
33411 * locale/setlocale.c (setdata): Likewise.
33412 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33413 (re_string_wchar_at): Likewise.
33414 (bitset_not, bitset_merge, bitset_mask): Likewise.
33415 [!(__GNUC__ > 3)] (inline): Remove macro.
33416 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33417 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33418 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33419 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33420 * string/memcmp.c (memcmp_bytes): Likewise.
33421 * locale/programs/locarchive.c (compute_hashval): Likewise.
33422 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33423 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33424 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33425 * nss/getent.c (print_rpc, print_protocols): Likewise.
33426 (print_passwd, print_group, print_aliases): Likewise.
33427 * nis/nss-nisplus.h (niserr2nss): Likewise.
33428 * nscd/connections.c (restart_p): Likewise.
33429 Change return type to bool.
33431 2013-02-05 Roland McGrath <roland@hack.frob.com>
33433 * Makeconfig (all-Depend-files): Add existing
33434 $(sorted-subdirs:=/Depend) files.
33435 (all-subdirs): Remove nss.
33436 * sysdeps/unix/inet/Subdirs: Add it here instead.
33437 * hesiod/Depend: New file.
33439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33440 instead of calling alloca.
33442 * io/lseek.c (__lseek): Rename to __libc_lseek.
33443 Define __lseek as an alias.
33445 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33447 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33449 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33450 else clause and remove check for non-standard endianness.
33452 2013-02-04 David S. Miller <davem@davemloft.net>
33454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33456 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33459 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33460 (__ubp_memchr): Remove prototype.
33461 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33462 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33463 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33464 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33465 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33467 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33468 (__ubp_memchr): Likewise.
33469 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33470 (__ubp_memchr): Likewise.
33471 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33472 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33473 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33474 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33476 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33477 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33478 (__getcwd): Do not use CHECK_STRING.
33479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33481 (__real_chown): Do not use CHECK_STRING.
33482 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33484 (fchownat): Do not use CHECK_STRING.
33485 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33487 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33489 (__lchown): Do not use CHECK_STRING.
33490 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33491 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33492 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33493 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33495 include <bp-checks.h>.
33496 (truncate64): Do not use CHECK_STRING.
33497 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33499 (__real_chown): Do not use CHECK_STRING.
33500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33502 (__lchown): Do not use CHECK_STRING.
33503 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33505 (__chown): Do not use CHECK_STRING.
33506 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33508 (truncate64): Do not use CHECK_STRING.
33509 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33511 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33512 (__xmknod): Do not use CHECK_STRING.
33513 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33515 (__xmknodat): Do not use CHECK_STRING.
33516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33517 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33519 2013-02-04 Andreas Schwab <schwab@suse.de>
33522 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33523 * include/netdb.h: Likewise for h_errno.
33524 * elf/tst-stackguard1.c: Include <tls.h>.
33526 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33528 * elf/link.h (struct link_map): Extend the l_addr comment.
33529 * include/link.h (struct link_map): Likewise.
33531 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33534 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33535 (BOUNDED_1): Remove macro.
33536 * debug/backtrace.c: Don't include <bp-checks.h>.
33537 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33538 (__backtrace): Likewise.
33539 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33541 (__backtrace): Don't use BOUNDED_1.
33542 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33544 (__backtrace): Don't use BOUNDED_1.
33545 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33546 (__backtrace): Don't use BOUNDED_1.
33547 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33548 (shmat): Don't use BOUNDED_N.
33550 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33553 * sysdeps/generic/bp-start.h: Remove file.
33554 * csu/libc-start.c: Don't include <bp-start.h>.
33555 (LIBC_START_MAIN): Set up __environ directly instead of using
33556 INIT_ARGV_and_ENVIRON.
33557 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33561 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33563 (CHECK_FCNTL): Likewise.
33564 (CHECK_N_PAGES): Likewise.
33567 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33569 (CHECK_SIGSET_NULL_OK): Likewise.
33570 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33572 (sigpending): Don't use CHECK_SIGSET.
33573 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33576 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33578 (do_sigsuspend): Don't use CHECK_SIGSET.
33579 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33581 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33582 (do_sigwait): Don't use CHECK_SIGSET.
33583 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33586 include <bp-checks.h>.
33587 (sigpending): Don't use CHECK_SIGSET.
33588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33589 include <bp-checks.h>.
33590 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33591 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33593 (sigpending): Don't use CHECK_SIGSET.
33594 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33596 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33599 * sysdeps/generic/bp-semctl.h: Remove file.
33600 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33601 <bp-checks.h> and <bp-semctl.h>.
33602 (__old_semctl): Don't use CHECK_SEMCTL.
33603 (__new_semctl): Likewise.
33604 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33606 (__old_semctl): Don't use CHECK_SEMCTL.
33607 (__new_semctl): Likewise.
33608 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33609 <bp-checks.h> and <bp-semctl.h>.
33610 (__old_semctl): Don't use CHECK_SEMCTL.
33611 (__new_semctl): Likewise.
33612 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33613 <bp-checks.h> and <bp-semctl.h>.
33614 (semctl): Don't use CHECK_SEMCTL.
33617 * Makerules (elide-bp-thunks): Remove variable.
33618 (elide-routines.oS): Don't use $(elide-bp-thunks).
33619 (elide-routines.os): Likewise.
33620 (elide-routines.o): Likewise.
33621 (elide-routines.op): Likewise.
33622 (elide-routines.og): Likewise.
33623 (objects): Don't use $(bp-thunks).
33624 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33626 (common-generated): Do not add s-proto-bp.d.
33627 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33630 Do not generate makefile rules for bounded-pointer thunks.
33631 * sysdeps/generic/bp-thunks.h: Remove file.
33632 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33633 * sysdeps/unix/s-proto-bp.S: Likewise.
33636 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33637 parts of result separately when argument is not close to line from
33638 -i to i and one part of argument is small.
33639 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33640 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33641 * math/libm-test.inc (cacos_test): Add more tests.
33642 (casin_test): Likewise.
33643 (casinh_test): Likewise.
33644 * sysdeps/i386/fpu/libm-test-ulps: Update.
33645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33647 2013-01-31 David S. Miller <davem@davemloft.net>
33649 * po/de.po: Update from translation team.
33651 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33653 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33655 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33657 * configure.in (_AC_PROG_CC_C89): New definition.
33658 * configure: Regenerate.
33660 * configure.in (AC_PROG_CPP): New definition.
33661 * configure: Regenerate.
33663 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33665 * debug/tst-backtrace.h: New file.
33666 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33667 (ret): Remove variable.
33669 (FAIL): Remove macro.
33670 (NO_INLINE): Likewise.
33671 (fn1): Use match function instead of strstr.
33672 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33673 (ret): Remove variable.
33675 (FAIL): Remove macro.
33676 (NO_INLINE): Likewise.
33677 (fn): Use match function instead of strstr.
33678 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33679 (ret): Remove variable.
33681 (FAIL): Remove macro.
33682 (NO_INLINE): Likewise.
33683 (handle_signal): Use match function instead of strstr.
33684 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33685 (ret): Remove variable.
33687 (FAIL): Remove macro.
33688 (NO_INLINE): Likewise.
33689 (handle_signal): Use match function instead of strstr.
33691 2013-01-23 Roland McGrath <roland@hack.frob.com>
33693 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33695 2013-01-23 David S. Miller <davem@davemloft.net>
33697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33698 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33699 argument of CAS if possible.
33700 * sysdeps/sparc/sparc64/bits/atomic.h
33701 (__arch_compare_and_exchange_val_32_acq): Likewise.
33702 (__arch_compare_and_exchange_val_64_acq): Likewise.
33704 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33706 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33707 * sysdeps/posix/ulimit.c: ... this.
33708 Include <limits.h>.
33709 * sysdeps/unix/bsd/ulimit.c: Remove file.
33711 2013-01-23 Adam Conrad <adconrad@0c3.net>
33713 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33714 (LDFLAGS-tst-array5): Likewise.
33716 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33719 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33720 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33721 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33722 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33724 2013-01-21 David S. Miller <davem@davemloft.net>
33726 * sysdeps/sparc/backtrace.c: New file.
33727 * sysdeps/sparc/sparc32/backtrace.h: New file.
33728 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33729 * sysdeps/sparc/sparc64/backtrace.h: New file.
33730 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33731 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33734 2013-01-21 Andreas Schwab <schwab@suse.de>
33737 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33740 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33746 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33747 Mark Mitchell <mark@codesourcery.com>
33748 Tom de Vries <tom@codesourcery.com>
33749 Paul Pluzhnikov <ppluzhnikov@google.com>
33751 * debug/tst-backtrace2.c: New file.
33752 * debug/tst-backtrace3.c: Likewise.
33753 * debug/tst-backtrace4.c: Likewise.
33754 * debug/tst-backtrace5.c: Likewise.
33755 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33756 (CFLAGS-tst-backtrace3.c): Likewise.
33757 (CFLAGS-tst-backtrace4.c): Likewise.
33758 (CFLAGS-tst-backtrace5.c): Likewise.
33759 (LDFLAGS-tst-backtrace2): Likewise.
33760 (LDFLAGS-tst-backtrace3): Likewise.
33761 (LDFLAGS-tst-backtrace4): Likewise.
33762 (LDFLAGS-tst-backtrace5): Likewise.
33763 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33764 tst-backtrace4 and tst-backtrace5.
33766 2013-01-18 Anton Blanchard <anton@samba.org>
33767 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33770 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33772 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33774 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33775 "+r" and remove output regs list as redundant. Add explicit inline
33776 asm to specify register of return val to work around compiler codegen
33777 bug. Remove (int) cast on return value. Add return type parameter to
33778 use in macro so that this macro does not truncate return value for
33780 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33781 pass to INTERNAL_VSYSCALL_NCS.
33782 (INLINE_VSYSCALL): Add 'long int' as return type to
33783 INTERNAL_VSYSCALL_NCS macro invocation.
33784 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33785 INTERNAL_VSYSCALL_NCS macro invocation.
33786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33788 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33791 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33792 Fix application of SIMD FP exception mask.
33794 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33795 mp_no from a power of two.
33796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33797 __mpexp_twomm1. Use __pow_mp.
33799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33802 2013-01-17 David S. Miller <davem@davemloft.net>
33804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33806 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33809 * include/complex.h: Condition contents on [!_COMPLEX_H].
33810 (__kernel_casinhf): New prototype.
33811 (__kernel_casinh): Likewise.
33812 (__kernel_casinhl): Likewise.
33813 * math/Makefile (libm_calls): Add k_casinh.
33814 * math/k_casinh.c: New file.
33815 * math/k_casinhf.c: Likewise.
33816 * math/k_casinhl.c: Likewise.
33817 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33818 finite nonzero arguments.
33819 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33820 finite nonzero arguments.
33821 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33822 finite nonzero arguments.
33823 * math/s_casinh.c: Do not include <float.h>.
33824 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33825 * math/s_casinhf.c: Do not include <float.h>.
33826 (__casinhf): Move code for finite nonzero arguments to
33828 * math/s_casinhl.c: Do not include <float.h>.
33829 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33831 (__casinhl): Move code for finite nonzero arguments to
33833 * math/libm-test.inc (cacos_test): Add more tests.
33834 * sysdeps/i386/fpu/libm-test-ulps: Update.
33835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33837 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33839 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33840 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33841 [!HAVE_MREMAP]: Remove [defined linux] case.
33842 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33844 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33846 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33848 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33850 * elf/elf.h (R_386_SIZE32): New relocation.
33851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33853 (elf_machine_rela): Likewise.
33854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33855 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33857 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33859 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33860 (FP_FAST_FMA): Do not define.
33861 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33862 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33863 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33864 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33865 !_SOFT_FLOAT]: Likewise.
33866 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33867 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33869 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33870 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33873 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33874 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33877 2013-01-16 Andreas Schwab <schwab@suse.de>
33880 * include/stdlib.h (__mktemp): Add declaration.
33881 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33882 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33884 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33886 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33889 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33890 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33892 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33893 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33895 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33897 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33898 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33902 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33904 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33906 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33908 2013-01-15 David S. Miller <davem@davemloft.net>
33910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33911 trunc{,f} to libm-sysdep_routes.
33912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33923 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33926 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33927 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33930 nearbyint{,f} to libm-sysdep_routes.
33931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33942 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33948 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33949 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33951 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33952 libc_feholdexcept and libc_fesetenv.
33954 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33956 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33958 2013-01-14 David S. Miller <davem@davemloft.net>
33960 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33961 (SPARC_ASM_VIS2_IFUNC): Likewise.
33962 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33964 use of 'siam' instruction.
33965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33998 routines to libm-sysdep_routines.
33999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34002 fdim/fdimf to libm-sysdep_routines.
34003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34011 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34012 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34013 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34014 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34016 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34019 to optimize copies.
34021 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34026 local variable MPTWO.
34027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34030 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34032 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34035 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34037 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34039 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34041 * manual/pattern.texi (glob_t): Document gl_flags.
34042 (glob64_t): Likewise.
34044 2013-01-11 David S. Miller <davem@davemloft.net>
34046 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34047 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34048 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34049 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34050 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34051 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34052 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34053 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34054 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34055 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34056 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34057 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34058 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
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 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34070 2013-01-11 Roland McGrath <roland@hack.frob.com>
34072 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34073 not in the main loop.
34074 * configure: Regenerated.
34076 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34078 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34079 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34081 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34082 [!__GLIBC_HAVE_LONG_LONG] case.
34083 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34084 condition to just #else.
34085 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34086 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34087 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34088 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34090 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34091 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34092 #elif condition to just #else.
34093 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34094 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34095 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34096 #elif condition to just #else.
34098 2013-01-11 Steve Ellcey <sellcey@mips.com>
34100 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34101 (EF_MIPS_ARCH_64): Fix value.
34102 (EF_MIPS_ARCH_32R2): New.
34103 (EF_MIPS_ARCH_64R2): New.
34105 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34107 * Makeconfig (+link-pie-before-libc): New.
34108 (+link-pie-after-libc): Likewise.
34109 (+link-pie-tests): Likewise.
34110 (+link-pie): Rewritten.
34111 (link-before-libc): Remove $(config-LDFLAGS).
34112 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34113 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34114 (config-LDFLAGS): Renamed to ...
34115 (rtld-LDFLAGS): This.
34116 (rtld-tests-LDFLAGS): New macro.
34117 (link-libc-rpath-link): Likewise.
34118 (link-libc-tests-rpath-link): Likewise.
34119 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34120 (link-libc): Prepand $(link-libc-rpath-link).
34121 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34122 (test-program-prefix): New macro.
34123 (test-via-rtld-prefix): Likewise.
34124 (test-program-cmd): Likewise.
34125 (host-test-program-cmd): Likewise.
34126 * Makefile ($(common-objpfx)testrun.sh): Replace
34127 $(run-program-prefix) with $(test-program-prefix).
34128 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34130 ($(common-objpfx)shlib.lds): Likewise.
34131 (build-module-helper): Likewise.
34132 ($(common-objpfx)format.lds): Likewise.
34133 * Rules (binaries-pie-tests): New.
34134 (binaries-pie-notests): Likewise.
34135 (binaries-pie): Rewritten.
34136 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34137 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34138 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34139 (make-test-out): Replace $(host-built-program-cmd) with
34140 $(host-test-program-cmd).
34141 * config.make.in (build-hardcoded-path-in-tests): New variable.
34142 * configure.in (--enable-hardcoded-path-in-tests): New configure
34144 (hardcoded_path_in_tests): New AC_SUBST.
34145 * configure: Regenerated.
34146 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34147 $(built-program-cmd) with $(test-program-cmd).
34148 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34149 (test_program_cmd): This.
34150 * elf/Makefile ($(objpfx)order.out): Run test with
34151 $(test-program-prefix).
34152 ($(objpfx)order2.out): Likewise.
34153 ($(objpfx)tst-initorder.out): Likewise.
34154 ($(objpfx)tst-initorder2.out): Likewise.
34155 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34156 $(test-program-cmd).
34157 ($(objpfx)tst-array1-static.out): Likewise.
34158 ($(objpfx)tst-array2.out): Likewise.
34159 ($(objpfx)tst-array3.out): Likewise.
34160 ($(objpfx)tst-array4.out): Likewise.
34161 ($(objpfx)tst-array5.out): Likewise.
34162 ($(objpfx)tst-array5-static.out): Likewise.
34163 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34164 $(test-program-cmd).
34165 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34166 $(run-program-prefix) with $(test-program-prefix).
34167 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34168 (test_program_prefix): This.
34169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34170 $(run-program-prefix) with $(test-program-prefix).
34171 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34172 (test_program_prefix): This.
34173 * iconvdata/tst-tables.sh: Likewise.
34174 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34175 $(run-program-prefix) with $(test-program-prefix).
34176 ($(objpfx)tst-translit.out): Likewise.
34177 ($(objpfx)tst-gettext2.out): Likewise.
34178 ($(objpfx)tst-gettext4.out): Likewise.
34179 ($(objpfx)tst-gettext6.out): Likewise.
34180 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34181 (test_program_prefix): This.
34182 * intl/tst-gettext2.sh: Likewise.
34183 * intl/tst-gettext4.sh Likewise.
34184 * intl/tst-gettext6.sh: Likewise.
34185 * intl/tst-translit.sh: Likewise.
34186 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34187 with $(test-program-cmd).
34188 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34189 $(run-program-prefix) with $(test-program-prefix).
34190 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34191 (test_program_prefix): This.
34192 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34193 $(run-program-prefix) with $(test-program-prefix).
34194 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34195 (test_program_prefix): This.
34196 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34197 * posix/Makefile ($(objpfx)globtest.out): Replace
34198 $(run-via-rtld-prefix) and $(test-wrapper) with
34199 $(test-program-prefix) and $(test-via-rtld-prefix).
34200 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34201 $(test-program-prefix).
34202 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34203 $(host-test-program-cmd).
34204 (tst-spawn-ARGS): Likewise.
34205 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34206 $(test-program-prefix).
34207 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34208 (test_via_rtld_prefix): This.
34209 (test_wrapper): Renamed to ...
34210 (test_program_prefix): This.
34211 (run_program_prefix): Replaced by test_program_prefix.
34212 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34213 (test_program_prefix): This.
34214 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34215 with $(host-test-program-cmd).
34216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34217 $(run-program-prefix) with $(test-program-prefix).
34218 ($(objpfx)tst-printf.out): Likewise.
34219 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34220 $(test-program-cmd).
34221 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34222 (test_program_prefix): This.
34223 * stdio-common/tst-unbputc.sh: Likewise.
34224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34225 $(run-program-prefix) with $(test-program-prefix).
34226 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34227 (test_program_prefix): This.
34228 * string/Makefile ($(objpfx)tst-svc.out): Replace
34229 $(built-program-cmd) with $(test-program-cmd).
34231 2013-01-11 Andreas Jaeger <aj@suse.de>
34234 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34235 value. Sync with Linux 3.7.
34237 2013-01-10 David S. Miller <davem@davemloft.net>
34239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34243 2013-01-10 Roland McGrath <roland@hack.frob.com>
34245 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34247 * configure: Regenerated.
34249 2013-01-10 David S. Miller <davem@davemloft.net>
34251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34252 sparc V9 rather than using V8 code.
34253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34256 2013-01-10 Roland McGrath <roland@hack.frob.com>
34258 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34259 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34260 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34261 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34262 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34263 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34264 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34265 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34266 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34267 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34268 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34269 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34270 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34271 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34272 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34273 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34274 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34275 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34276 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34277 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34278 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34279 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34280 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34281 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34282 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34283 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34284 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34286 2013-01-10 David S. Miller <davem@davemloft.net>
34288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34290 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34292 * posix/Makefile (tests-static): New variable.
34293 (tests): Add $(tests-static).
34294 (tst-exec-static-ARGS): New variable.
34295 (tst-spawn-static-ARGS): Likewise.
34296 * posix/tst-exec-static.c: New file.
34297 * posix/tst-spawn-static.c: Likewise.
34298 * posix/tst-exec.c: Support run directly.
34299 * posix/tst-spawn.c: Likewise.
34301 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34303 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34305 * math/bits/mathcalls.h (llrint): Likewise.
34306 (llround): Likewise.
34307 * stdlib/stdlib.h (struct drand48_data): Likewise.
34308 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34309 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34310 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34312 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34314 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34315 (elf_greg_t): Likewise.
34316 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34317 (__jmp_buf): Likewise.
34318 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34320 (llrint): Likewise, for all definitions.
34321 (llrintl): Likewise.
34323 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34324 Remove [__GNUC__] condition.
34325 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34326 condition to just [__USE_ISOC99].
34327 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34329 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34332 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34333 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34335 (_POSIX_V6_ILP32_OFF32): Likewise.
34336 (_XBS5_ILP32_OFF32): Likewise.
34337 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34338 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34340 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34342 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34345 doubles __mpexp_twomm1. Adjust usage.
34346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34349 2013-01-10 Andreas Schwab <schwab@suse.de>
34352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34353 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34355 2013-01-09 David S. Miller <davem@davemloft.net>
34358 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34359 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34360 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34361 (TCP_FASTOPEN): Define.
34362 (tcp_repair_opt): New structure.
34363 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34365 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34366 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34367 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34368 (tcp_cookie_transactions): New structure.
34370 2013-01-09 Anton Blanchard <anton@samba.org>
34372 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34375 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34377 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34379 * include/features.h (__USE_ANSI): Remove.
34381 2013-01-09 Roland McGrath <roland@hack.frob.com>
34383 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34385 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34387 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34389 * sysdeps/s390/fpu/libm-test-ulps: Update.
34391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34393 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34397 (denorm): Likewise.
34398 (__mp_dbl): Likewise.
34399 (__dbl_mp): Likewise.
34400 (add_magnitudes): Likewise.
34401 (sub_magnitudes): Likewise.
34407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34411 (denorm): Likewise.
34412 (__mp_dbl): Likewise.
34413 (__dbl_mp): Likewise.
34414 (add_magnitudes): Likewise.
34415 (sub_magnitudes): Likewise.
34421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34425 (denorm): Likewise.
34426 (__mp_dbl): Likewise.
34427 (__dbl_mp): Likewise.
34428 (add_magnitudes): Likewise.
34429 (sub_magnitudes): Likewise.
34436 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34438 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34439 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34440 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34441 2 && __USE_EXTERN_INLINES]: Likewise.
34443 2013-01-08 Andreas Jaeger <aj@suse.de>
34446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34448 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34449 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34451 2013-01-07 Anton Blanchard <anton@samba.org>
34453 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34455 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34459 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34464 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34465 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34469 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34471 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34473 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34474 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34476 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34477 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34480 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34482 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34488 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34489 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34495 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34497 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34499 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34500 (__MALLOC_PMT): Likewise.
34501 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34502 [__GNUC__], only on [_LIBC].
34503 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34504 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34505 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34506 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34507 forward declaration.
34508 (realloc_hook_ini): Likewise.
34509 (memalign_hook_ini): Likewise.
34510 (__libc_memalign): Do not use __MALLOC_PMT in variable
34512 (__libc_valloc): Likewise.
34513 (__libc_pvalloc): Likewise.
34514 (__libc_calloc): Likewise.
34515 (__posix_memalign): Likewise.
34518 * math/s_casinh.c: Include <float.h>.
34519 (__casinh): Do not do computation with squaring and square root
34520 for large arguments.
34521 * math/s_casinhf.c: Include <float.h>.
34522 (__casinhf): Do not do computation with squaring and square root
34523 for large arguments.
34524 * math/s_casinhl.c: Include <float.h>.
34525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34526 (__casinhl): Do not do computation with squaring and square root
34527 for large arguments.
34528 * math/libm-test.inc (casin_test): Add more tests.
34529 (casinh_test): Likewise.
34530 * sysdeps/i386/fpu/libm-test-ulps: Update.
34531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34533 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34535 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34536 (__x86_64_raw_data_cache_size): Likewise.
34537 (__x86_64_data_cache_size_half): Likewise.
34538 (__x86_64_raw_data_cache_size_half): Likewise.
34539 (__x86_64_shared_cache_size): Likewise.
34540 (__x86_64_raw_shared_cache_size): Likewise.
34541 (__x86_64_shared_cache_size_half): Likewise.
34542 (__x86_64_raw_shared_cache_size_half): Likewise.
34543 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34545 (__x86_data_cache_size): This.
34546 (__x86_64_raw_data_cache_size): Renamed to ...
34547 (__x86_raw_data_cache_size): This.
34548 (__x86_64_data_cache_size_half): Renamed to ...
34549 (__x86_data_cache_size_half): This.
34550 (__x86_64_raw_data_cache_size_half): Renamed to ...
34551 (__x86_raw_data_cache_size_half): This.
34552 (__x86_64_shared_cache_size): Renamed to ...
34553 (__x86_shared_cache_size): This.
34554 (__x86_64_raw_shared_cache_size): Renamed to ...
34555 (__x86_raw_shared_cache_size): This.
34556 (__x86_64_shared_cache_size_half): Renamed to ...
34557 (__x86_shared_cache_size_half): This.
34558 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34559 (__x86_raw_shared_cache_size_half): This.
34560 * sysdeps/x86_64/memcpy.S: Updated.
34561 * sysdeps/x86_64/memset.S: Likewise.
34562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34566 2013-01-04 David S. Miller <davem@davemloft.net>
34568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34570 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34573 1 to avoid redefinition warning.
34574 (__USE_GNU): Don't define.
34575 (init_signaling_nan): Protoize.
34577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34579 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34581 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34583 (__cpymn): Likewise.
34584 (norm): Remove commented code.
34585 (denorm): Likewise.
34586 (__mp_dbl): Likewise.
34588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34589 (__cpymn): Likewise.
34590 (norm): Remove commented code.
34591 (denorm): Likewise.
34592 (__mp_dbl): Likewise.
34595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34596 mp_no value for 1.0 and 2.0.
34597 (norm): Use RADIXI instead of radixi.d.
34598 (denorm): Likewise.
34599 (__mul): Use 0.0 instead of zero.d.
34600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34601 mp_no value for 1.0 and 2.0.
34602 (norm): Use RADIXI instead of radixi.d.
34603 (denorm): Likewise.
34604 (__mul): Use 0.0 instead of zero.d.
34606 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34609 * math/s_casinh.c (__casinh): Reduce finite argument to first
34610 quadrant then set signs of results at the end.
34611 * math/s_casinhf.c (__casinhf): Likewise.
34612 * math/s_casinhl.c (__casinhl): Likewise.
34613 * math/libm-test.inc (casin_test): Add more tests.
34614 (casinh_test): Likewise.
34615 * sysdeps/i386/fpu/libm-test-ulps: Update.
34616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34618 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34620 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34622 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34624 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34626 (denorm): Likewise.
34627 (__mp_dbl): Likewise.
34630 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34631 and adjust the header comment.
34633 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34634 variable name from declaration.
34636 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34639 Initialize COMMON_CPUID_INDEX_7 element.
34640 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34641 (CPUID_RTM): Likewise.
34642 (HAS_RTM): Likewise.
34643 (COMMON_CPUID_INDEX_7): New enum.
34645 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34648 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34649 size is zero, record memory as freed.
34651 2013-01-03 Andreas Jaeger <aj@suse.de>
34653 * po/ia.po: Add new Interlingua translation.
34655 2012-01-03 Allan McRae <allan@archlinux.org>
34657 * locale/programs/localedef.c: Fix description of '--posix' flag.
34659 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34661 * NEWS: Update dates in second copyright notice.
34662 * README: Update copyright dates in example.
34663 * manual/libc.texinfo: Update copyright dates.
34664 * scripts/test-installation.pl: Update copyright date in --version
34667 * hurd/ctty-input.c: Fix copyright notice formatting.
34668 * hurd/ctty-output.c: Likewise.
34669 * hurd/dtable.c: Likewise.
34670 * hurd/hurd-raise.c: Likewise.
34671 * hurd/hurdprio.c: Likewise.
34672 * hurd/msgportdemux.c: Likewise.
34673 * misc/sys/file.h: Likewise.
34674 * misc/sys/ioctl.h: Likewise.
34675 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34676 * sysdeps/mach/hurd/chdir.c: Likewise.
34677 * sysdeps/mach/hurd/fchdir.c: Likewise.
34678 * sysdeps/mach/hurd/rename.c: Likewise.
34679 * sysdeps/mach/hurd/rmdir.c: Likewise.
34680 * sysdeps/mach/hurd/seekdir.c: Likewise.
34681 * sysdeps/mach/hurd/setsid.c: Likewise.
34682 * sysdeps/posix/wait3.c: Likewise.
34684 * All files with FSF copyright notices: Update copyright dates
34685 using scripts/update-copyrights.
34686 * intl/plural.c: Regenerated.
34687 * locale/programs/charmap-kw.h: Likewise.
34688 * locale/programs/locfile-kw.h: Likewise.
34690 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34692 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34696 calculation loop and add branch prediction.
34698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34699 check access beyond bounds of m1np.
34701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34703 (__inv): Remove local variable MPTWO to use the global
34705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34709 MP3HALFS static const.
34711 2013-01-01 David S. Miller <davem@davemloft.net>
34713 * po/ca.po: Update from translation team.
34715 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34717 * scripts/update-copyrights: New file.
34718 * Makeconfig: Reformat copyright notice.
34719 * ctype/ctype.h: Likewise.
34720 * debug/swprintf_chk.c: Likewise.
34721 * elf/dl-cache.c: Likewise.
34722 * elf/dl-debug.c: Likewise.
34723 * elf/dl-object.c: Likewise.
34724 * grp/initgroups.c: Likewise.
34725 * hurd/Makefile: Likewise.
34726 * hurd/hurd/signal.h: Likewise.
34727 * hurd/hurdfault.c: Likewise.
34728 * hurd/hurdioctl.c: Likewise.
34729 * hurd/hurdlookup.c: Likewise.
34730 * hurd/intr-msg.c: Likewise.
34731 * iconv/gconv_open.c: Likewise.
34732 * libio/swprintf.c: Likewise.
34733 * locale/lc-ctype.c: Likewise.
34734 * locale/nl_langinfo.c: Likewise.
34735 * mach/Machrules: Likewise.
34736 * mach/Makefile: Likewise.
34737 * malloc/obstack.h: Likewise.
34738 * manual/Makefile: Likewise.
34739 * manual/tsort.awk: Likewise.
34740 * misc/bits/stab.def: Likewise.
34741 * nis/nis_print_group_entry.c: Likewise.
34742 * nis/nis_table.c: Likewise.
34743 * nis/nss_compat/compat-pwd.c: Likewise.
34744 * nis/nss_compat/compat-spwd.c: Likewise.
34745 * po/Makefile: Likewise.
34746 * posix/fnmatch.c: Likewise.
34747 * posix/regex.h: Likewise.
34748 * resolv/Makefile: Likewise.
34749 * resolv/nss_dns/dns-network.c: Likewise.
34750 * resolv/res_hconf.c: Likewise.
34751 * scripts/gen-sorted.awk: Likewise.
34752 * soft-fp/soft-fp.h: Likewise.
34753 * stdio-common/printf.h: Likewise.
34754 * stdlib/monetary.h: Likewise.
34755 * stdlib/random.c: Likewise.
34756 * stdlib/random_r.c: Likewise.
34757 * sysdeps/generic/Makefile: Likewise.
34758 * sysdeps/gnu/Makefile: Likewise.
34759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34782 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34787 * sysdeps/mach/hurd/errnos.awk: Likewise.
34788 * sysdeps/mach/hurd/fork.c: Likewise.
34789 * sysdeps/mach/hurd/getcwd.c: Likewise.
34790 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34791 * sysdeps/mach/hurd/mmap.c: Likewise.
34792 * sysdeps/mach/hurd/utimes.c: Likewise.
34793 * sysdeps/mach/hurd/xmknod.c: Likewise.
34794 * sysdeps/posix/profil.c: Likewise.
34795 * sysdeps/posix/readdir_r.c: Likewise.
34796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34797 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34798 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34801 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34802 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34807 * sysdeps/pthread/lio_listio.c: Likewise.
34808 * sysdeps/sparc/dl-procinfo.h: Likewise.
34809 * sysdeps/unix/i386/sysdep.S: Likewise.
34810 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34811 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34812 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34813 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34815 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34816 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34817 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34818 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34819 * sysdeps/wordsize-32/divdi3.c: Likewise.
34820 * time/sys/time.h: Likewise.
34821 * wcsmbs/Makefile: Likewise.
34823 2013-01-01 David S. Miller <davem@davemloft.net>
34825 * po/fr.po: Update from translation team.
34827 * catgets/gencat.c: Update copyright year.
34828 * csu/version.c: Likewise.
34829 * debug/catchsegv.sh: Likewise.
34830 * debug/pcprofiledump.c: Likewise.
34831 * debug/xtrace.sh: Likewise.
34832 * elf/ldconfig.c: Likewise.
34833 * elf/ldd.bash.in: Likewise.
34834 * elf/pldd.c: Likewise.
34835 * elf/sotruss.ksh: Likewise.
34836 * elf/sprof.c: Likewise.
34837 * iconv/iconv_prog.c: Likewise.
34838 * iconv/iconvconfig.c: Likewise.
34839 * locale/programs/locale.c: Likewise.
34840 * locale/programs/localedef.c: Likewise.
34841 * login/programs/pt_chown.c: Likewise.
34842 * malloc/memusage.sh: Likewise.
34843 * malloc/memusagestat.c: Likewise.
34844 * malloc/mtrace.pl: Likewise.
34845 * nscd/nscd.c: Likewise.
34846 * nss/getent.c: Likewise.
34847 * nss/makedb.c: Likewise.
34848 * posix/getconf.c: Likewise.
34850 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34852 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34855 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34857 * math/bits/mathcalls.h (modf): Use __nonnull.
34859 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34861 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34862 (split): Use macro CN instead of the bare value.
34863 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34866 instead of the bare value.
34867 (power1): Likewise.
34869 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34875 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34877 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34879 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34880 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34882 2012-12-28 Andreas Jaeger <aj@suse.de>
34884 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34885 values are from Linux 3.7.
34887 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34888 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34890 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34892 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34897 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34898 variables with preprocessor constants.
34899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34903 2012-12-27 Bruno Haible <bruno@clisp.org>
34906 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34909 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34912 and use variable directly.
34913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34915 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34917 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34920 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34922 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34923 include directive. Remove local variable MPONE.
34924 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34928 2012-12-25 David S. Miller <davem@davemloft.net>
34930 * version.h (RELEASE): Set to "development".
34931 (VERSION): Set to "2.17.90".
34932 * NEWS: Add 2.18 section.
34934 2012-12-21 David S. Miller <davem@davemloft.net>
34936 * po/hr.po: Update from translation team.
34938 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34940 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34942 2012-12-19 Steve Ellcey <sellcey@mips.com>
34944 * NEWS: Mention new memcpy for MIPS.
34946 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34948 * manual/contrib.texi (Contributors): Spelling correction.
34950 2012-12-15 David S. Miller <davem@davemloft.net>
34952 * po/ru.po: Update from translation team.
34954 2012-12-13 David S. Miller <davem@davemloft.net>
34956 * NEWS: Mention IFUNC testsuite enhancements.
34958 * po/pl.po: Update from translation team.
34959 * po/bg.po: Likewise.
34961 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34962 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34964 2012-12-11 David S. Miller <davem@davemloft.net>
34966 * po/sv.po: Update from translation team.
34968 * po/vi.po: Update from translation team.
34970 * po/cs.po: Update from translation team.
34972 * po/de.po: Update from translation team.
34973 * po/eo.po: Likewise.
34974 * po/nl.po: Likewise.
34976 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34979 * manual/argp.texi (Argp Helper Functions): Move node to follow
34980 Argp Parsing State.
34983 * manual/conf.texi (Limits on File System Capacity): Mention if
34984 terminating null is included in the max size.
34986 2012-12-10 Andreas Jaeger <aj@suse.de>
34988 * po/cs.po: Update from translation team.
34990 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34992 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34993 void pointer and cast to uintptr_t.
34994 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34996 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34997 * sysdeps/s390/s390-64/memset.S: Likewise.
34999 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35002 * menual/message.texi (Message Translation): Fix typos.
35003 (Helper programs for gettext): Likewise.
35005 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35008 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35011 2012-12-07 David S. Miller <davem@davemloft.net>
35013 * po/libc.pot: Update.
35015 2012-12-07 Richard Henderson <rth@redhat.com>
35018 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35019 normal/normal case to before the switch.
35020 (_FP_DIV): Likewise.
35022 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35023 Mike Frysinger <vapier@gentoo.org>
35025 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35026 check for __NR_fadvise64_64.
35028 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35030 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35031 0, not just to plain "0" as a statement.
35032 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35035 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35037 * NEWS: Use sourceware.org in Bugzilla URL.
35039 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35042 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35044 * stdio-common/tst-put-error.c (do_test): Add newline to the
35045 padded test to ensure flush.
35047 2012-12-05 Jeff Law <law@redhat.com>
35049 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35051 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35053 * README: Don't refer to ports add-on as distributed separately.
35054 Mention AArch64 in list of systems supported in the ports add-on.
35056 * LICENSES: Add more non-FSF copyright and license notices.
35058 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35063 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35064 10000 as width of padded output.
35066 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35068 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35071 variable LX with __attribute__ ((unused)).
35072 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35077 with __attribute__ ((unused)).
35079 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35081 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35083 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35085 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35086 (CFLAGS-nldbl-acos.c): New variable.
35087 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35088 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35089 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35090 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35091 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35092 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35093 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35094 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35095 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35096 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35097 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35098 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35099 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35100 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35101 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35102 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35103 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35104 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35105 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35106 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35107 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35108 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35109 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35110 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35111 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35112 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35113 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35114 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35115 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35116 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35117 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35118 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35119 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35120 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35121 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35122 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35123 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35124 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35125 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35126 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35127 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35128 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35129 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35130 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35131 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35132 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35133 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35134 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35135 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35136 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35137 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35138 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35139 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35140 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35141 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35142 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35143 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35144 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35145 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35146 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35147 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35148 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35149 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35150 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35151 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35152 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35153 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35154 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35155 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35156 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35157 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35158 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35159 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35160 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35161 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35162 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35163 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35164 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35165 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35166 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35167 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35168 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35169 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35170 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35171 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35172 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35173 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35174 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35175 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35176 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35177 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35178 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35179 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35180 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35181 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35182 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35183 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35186 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35190 whole low double instead of just low 47 bits when splitting values
35193 2012-12-03 Allan McRae <allan@archlinux.org>
35195 * manual/stdio.texi (Predefined Printf Handlers): Remove
35196 @hsep and @vsep usage.
35198 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35200 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35201 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35203 2012-12-03 Jeff Law <law@redhat.com>
35205 * time/sys/time.h (settimeofday): Do not mark TV argument
35208 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35210 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35211 when currently writing and seek to current position when not.
35212 * libio/Makefile (tests): Remove bug-fclose1.
35213 * libio/bug-fclose1.c: Delete.
35215 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35217 * manual/arith.texi (feenableexcept): Fix typo.
35218 (fedisableexcept): Likewise.
35220 2012-11-30 Roland McGrath <roland@hack.frob.com>
35222 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35223 second, differently-typed declaration, rather than a cast.
35225 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35227 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35228 * include/rpc/svc.h: ... here.
35230 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35233 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35234 depending n and resplen2 to catch cases where answer
35237 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35240 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35242 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35246 2012-11-29 Roland McGrath <roland@hack.frob.com>
35248 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35250 2012-11-28 Jeff Law <law@redhat.com>
35253 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35254 dataset_temporary. Track alloca usage into alloca_used.
35255 If dataset is large allocate and release it via malloc/free.
35257 2012-06-04 Florian Weimer <fweimer@redhat.com>
35260 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35262 2012-11-28 David S. Miller <davem@davemloft.net>
35264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35266 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35269 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35270 of pi/2 rounded to nearest to 64 bits.
35271 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35272 nearest to 64 bits.
35273 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35276 2012-11-28 Jeff Law <law@redhat.com>
35277 Martin Osvald <mosvald@redhat.com>
35280 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35281 * sunrpc/svc.c: Include time.h.
35282 (__svc_accept_failed): New function.
35283 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35284 any reason other than EINTR, call __svc_accept_failed.
35285 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35286 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35288 2012-11-28 Andreas Schwab <schwab@suse.de>
35290 * scripts/abilist.awk: Also handle indirect functions in .opd
35293 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35296 * sysdeps/x86/fpu/powl_helper.c: New file.
35297 * sysdeps/x86/fpu/Makefile: Likewise.
35298 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35300 (__ieee754_powl): Use __powl_helper for finite arguments except
35301 integer exponents below 8.
35302 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35304 (__ieee754_powl): Use __powl_helper for finite arguments except
35305 integer exponents below 8.
35306 * math/libm-test.inc (pow_test): Add more tests and enable some
35307 previously disabled tests.
35308 * sysdeps/i386/fpu/libm-test-ulps: Update.
35309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35311 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35312 Carlos O'Donell <carlos_odonell@mentor.com>
35314 * nss/makedb.c (is_prime): Assert that input is odd and greater
35315 than 4. Note that fact in a comment too.
35316 (next_prime): Add 4 to input.
35318 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35321 * libio/Makefile (tests): Add test case tst-fwrite-error.
35322 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35323 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35324 * libio/tst-fwrite-error.c: New test case.
35326 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35328 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35329 before casting to void *.
35330 * include/libc-internal.h (__pointer_type): New macro.
35331 (__integer_if_pointer_type_sub): Likewise.
35332 (__integer_if_pointer_type): Likewise.
35333 (cast_to_integer): Likewise.
35334 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35335 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35336 before casting to atomic64_t.
35337 (atomic_exchange_acq): Likewise.
35338 (__arch_exchange_and_add_body): Likewise.
35339 (__arch_add_body): Likewise.
35340 (atomic_add_negative): Likewise.
35341 (atomic_add_zero): Likewise.
35343 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35345 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35346 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35347 (add_fdes): Likewise.
35348 (linear_search_fdes): Likewise.
35349 (binary_search_unencoded_fdes): Likewise.
35351 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35353 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35355 2012-11-24 Adam Conrad <adconrad@0c3.net>
35357 * configure.in: Autodetect C++ header directories.
35358 * configure: Regenerated.
35360 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35362 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35364 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35368 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35370 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35371 LDBL_MANT_DIG == 106]: Disable some tests.
35372 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35374 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35379 input for small inputs. Return +/- pi/2 for large inputs.
35380 * math/libm-test.inc (atan_test): Add more tests.
35382 * sysdeps/generic/unwind-dw2-fde-glibc.c
35383 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35384 __attribute__ ((unused)).
35387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35388 x * y if x and y are nonzero and z is zero.
35391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35392 nonzero exponents with absolute value below 0x1p-117 to +/-
35396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35397 up arguments below 2**-450, not just those below 2**-500.
35398 * math/libm-test.inc (hypot_test): Add another test.
35401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35402 Return a+b for ratio over 2**120, not 2**60.
35403 * math/libm-test.inc (hypot_test): Add another test.
35405 * math/libm-test.inc (clog_test): Use
35406 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35407 (clog10_test): Likewise.
35410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35412 2012-11-22 Andreas Schwab <schwab@suse.de>
35414 * sysdeps/i386/fpu/libm-test-ulps: Update.
35416 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35418 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35419 printf output with newline.
35421 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35424 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35425 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35426 -z nodlopen, -z initfirst and -z execstack support.
35427 * configure: Regenerated.
35429 * elf/elf.h (DF_1_NODIRECT): New macro.
35430 (DF_1_IGNMULDEF): Likewise.
35431 (DF_1_NOKSYMS): Likewise.
35432 (DF_1_NOHDR): Likewise.
35433 (DF_1_EDITED): Likewise.
35434 (DF_1_NORELOC): Likewise.
35435 (DF_1_SYMINTPOSE): Likewise.
35436 (DF_1_GLOBAUDIT): Likewise.
35437 (DF_1_SINGLETON): Likewise.
35438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35439 DT_1_SUPPORTED_MASK bits.
35440 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35442 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35444 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35446 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35448 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35451 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35452 (sendmmsg): Move declarations...
35453 * socket/sys/socket.h: ... here.
35454 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35455 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35457 * socket/recvmmsg.c: ... this new file.
35458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35459 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35460 definition of __sendmmsg hidden.
35461 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35462 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35463 Move ENOSYS stub into and include it from...
35464 * socket/sendmmsg.c: ... this new file.
35465 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35466 (sysdep_routines): Move recvmmsg and sendmmsg...
35467 * socket/Makefile (routines): ... here.
35468 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35469 (GLIBC_PRIVATE): Add __sendmmsg.
35470 * include/sys/socket.h (__sendmmsg): Add declarations.
35471 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35474 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35477 variable I1 with __attribute__ ((unused)).
35478 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35480 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35482 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35483 DUMMY variables with __attribute__ ((unused)).
35485 * bits/byteswap.h: Include <bits/types.h>.
35486 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35488 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35490 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35491 string_t. Do not manually set errno.
35492 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35493 length with __strnlen. Make sure to both set errno and return it on
35496 2012-11-19 David S. Miller <davem@davemloft.net>
35498 With help from Joseph Myers.
35499 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35500 very large arguments properly.
35501 * math/libm-test.inc (atan_test): New tests.
35502 (atan2_test): New tests.
35503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35506 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35509 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35512 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35513 [POSIX] (EADDRNOTAVAIL): Likewise.
35514 [POSIX] (EAFNOSUPPORT): Likewise.
35515 [POSIX] (EALREADY): Likewise.
35516 [POSIX] (ECONNABORTED): Likewise.
35517 [POSIX] (ECONNREFUSED): Likewise.
35518 [POSIX] (ECONNRESET): Likewise.
35519 [POSIX] (EDESTADDRREQ): Likewise.
35520 [POSIX] (EDQUOT): Likewise.
35521 [POSIX] (EHOSTUNREACH): Likewise.
35522 [POSIX] (EIDRM): Likewise.
35523 [POSIX] (EISCONN): Likewise.
35524 [POSIX] (ELOOP): Likewise.
35525 [POSIX] (EMULTIHOP): Likewise.
35526 [POSIX] (ENETDOWN): Likewise.
35527 [POSIX] (ENETUNREACH): Likewise.
35528 [POSIX] (ENOBUFS): Likewise.
35529 [POSIX] (ENODATA): Likewise.
35530 [POSIX] (ENOLINK): Likewise.
35531 [POSIX] (ENOMSG): Likewise.
35532 [POSIX] (ENOPROTOOPT): Likewise.
35533 [POSIX] (ENOSR): Likewise.
35534 [POSIX] (ENOSTR): Likewise.
35535 [POSIX] (ENOTCONN): Likewise.
35536 [POSIX] (ENOTSOCK): Likewise.
35537 [POSIX] (EOPNOTSUPP): Likewise.
35538 [POSIX] (EOVERFLOW): Likewise.
35539 [POSIX] (EPROTO): Likewise.
35540 [POSIX] (EPROTONOSUPPORT): Likewise.
35541 [POSIX] (EPROTOTYPE): Likewise.
35542 [POSIX] (ESTALE): Likewise.
35543 [POSIX] (ETIME): Likewise.
35544 [POSIX] (ETXTBSY): Likewise.
35545 [POSIX] (EWOULDBLOCK): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35547 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35548 [POSIX] (SEEK_CUR): Likewise.
35549 [POSIX] (SEEK_END): Likewise.
35550 [POSIX || UNIX98] (mode_t): Do not require.
35551 [POSIX] (off_t): Likewise.
35552 [POSIX] (pid_t): Likewise.
35553 [POSIX] (sys/stat.h): Do not allow header.
35554 [POSIX] (unistd.h): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35556 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35558 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35560 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35561 sigevent): Specify elements.
35562 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35564 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35565 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35567 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35568 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35569 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35570 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35571 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35572 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35573 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35574 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35575 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35577 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35578 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35579 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35580 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35592 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35593 Specify lower bound on value.
35594 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35595 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35596 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35597 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35598 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35599 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35600 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35601 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35603 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35615 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35622 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35626 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35627 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35628 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35629 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35636 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35637 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35643 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35644 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35645 specify as optional.
35646 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35647 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35649 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35650 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35651 [XPG3] (NL_LANGMAX): Likewise.
35652 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35653 [POSIX || XPG3] (NL_NMAX): Likewise.
35654 [POSIX || XPG3] (NL_SETMAX): Likewise.
35655 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35656 [XPG3] (NZERO): Likewise.
35657 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35658 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35659 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35660 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35661 (REG_ERANGE): Expect.
35662 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35664 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35665 Use (void) in prototype.
35666 [POSIX] (*_t): Allow.
35667 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35668 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35669 (WRDE_BADVAL): Expect.
35671 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35673 [XPG3 || XPG4] (O_RSYNC): Likewise.
35674 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35676 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35677 [XPG3 || XPG4] (sigqueue): Likewise.
35678 [XPG3 || XPG4] (sigtimedwait): Likewise.
35679 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35680 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35681 [XPG3 || XPG4] (vsnprintf): Likewise.
35682 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35684 [XPG3 || XPG4] (blksize_t): Likewise.
35685 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35687 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35688 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35689 [XPG3 || XPG4] (struct itimerspec): Likewise.
35690 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35691 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35692 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35693 [XPG3 || XPG4] (clockid_t): Likewise.
35694 [XPG3 || XPG4] (timer_t): Likewise.
35695 [XPG3 || XPG4] (clock_getres): Likewise.
35696 [XPG3 || XPG4] (clock_gettime): Likewise.
35697 [XPG3 || XPG4] (clock_settime): Likewise.
35698 [XPG3 || XPG4] (nanosleep): Likewise.
35699 [XPG3 || XPG4] (timer_create): Likewise.
35700 [XPG3 || XPG4] (timer_delete): Likewise.
35701 [XPG3 || XPG4] (timer_gettime): Likewise.
35702 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35703 [XPG3 || XPG4] (timer_settime): Likewise.
35704 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35705 [XPG3 || XPG4] (getlogin_r): Likewise.
35706 [XPG3 || XPG4] (pread): Likewise.
35707 [XPG3 || XPG4] (pthread_atfork): Likewise.
35708 [XPG3 || XPG4] (pwrite): Likewise.
35711 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35714 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35716 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35717 finalizing MALLSTREAM.
35719 * sysdeps/mach/hurd/syncfs.c: New file.
35721 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35724 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35725 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35727 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35728 (_nss_dns_gethostbyname4_r): Likewise.
35729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35730 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35732 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35735 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35737 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35739 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35740 * elf/cache.c (print_entry): Print ",AArch64" for
35743 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35744 * elf/cache.c (print_entry): Print ",hard-float" for
35747 2012-11-18 David S. Miller <davem@davemloft.net>
35749 With help from Joseph Myers.
35750 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35752 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35754 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35755 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35758 * math/libm-test.inc (y0_test): New tests.
35759 (y1_test): New tests.
35760 * sysdeps/i386/fpu/libm-test-ulps: Update.
35761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35764 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35766 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35768 * configure: Regenerated.
35770 2012-11-17 David S. Miller <davem@davemloft.net>
35773 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35774 nonzero exponents with absolute value below 0x1p-128 to +/-
35777 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35779 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35781 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35783 * posix/getconf-speclist.c: New file.
35784 * posix/posix-envs.def: Likewise.
35785 * posix/confstr.c (START_ENV_GROUP): New macro.
35786 (END_ENV_GROUP): Likewise.
35787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35788 (KNOWN_PRESENT_ENV_STRING): Likewise.
35789 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35790 (UNKNOWN_ENVIRONMENT): Likewise.
35791 (confstr): Include posix-envs.def instead of handling
35792 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35793 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35794 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35795 (END_ENV_GROUP): Likewise.
35796 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35798 (UNKNOWN_ENVIRONMENT): Likewise.
35799 (__sysconf): Include posix-envs.def instead of handling associated
35800 cases directly here.
35801 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35802 preprocessing getconf-speclist.c rather than running getconf or
35803 generating empty file.
35805 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35807 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35809 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35812 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35814 2012-11-16 David S. Miller <davem@davemloft.net>
35816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35817 smaller than LDBL_EPSILON/2.0L, just return xm1.
35819 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35821 * elf/tst-array1.c (init): Set constructor priority to 1000.
35822 (fini): Set destructor priority to 1000.
35823 * elf/tst-array2dep.c: Likewise.
35825 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35828 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35829 (_IO_new_file_xsputn): Also return EOF if none of the input
35830 data was written when overflow failed.
35831 * libio/iopadn.c (_IO_padn): Likewise.
35832 * libio/iowpadn.c (_IO_wpadn): Likewise.
35833 * stdio-common/tst-put-error.c: Add copyright notice.
35834 (do_test): Add case for printing padded string.
35835 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35836 _IO_padn returned error.
35837 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35838 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35841 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35843 * libio/libioP.h: Add comment note that the references to C++
35844 bits are now obsolete.
35846 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35848 * math/libm-test.inc (check_complex): Use asprintf.
35850 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35852 * debug/pcprofiledump.c (print_version): Update copyright year.
35853 * malloc/memusagestat.c (print_version): Likewise.
35855 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35858 * elf/Makefile (tests): Add tst-audit8.
35859 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35860 ($(objpfx)tst-audit8.out): New target.
35861 (tst-audit8-ENV): New variable.
35862 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35863 audit if l_reloc_result is NULL.
35864 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35865 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35866 * elf/tst-audit8.c: New file.
35868 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35870 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35871 * misc/Makefile (CFLAGS-select.c): Define.
35872 * posix/Makefile (CFLAGS-pause.c): Define.
35874 2012-11-13 David S. Miller <davem@davemloft.net>
35876 * crypt/Makefile: Move test targets after toplevel Rules
35877 inclusion. Grab any necessary sysdep routines when linking.
35878 * crypt/md5.c (md5_process_block): Remove define, we will always
35879 name it __md5_process_block.
35880 (md5_finish_ctx): Update md5_process_block call.
35881 (md5_stream): Likewise.
35882 (md5_process_bytes): Likewise.
35883 (md5_process_block): Rename to __md5_process_block and move to ...
35884 * crypt/md5-block.c: ... here.
35885 * crypt/sha256.c (sha256_process_block): Move to ...
35886 * crypt/sha256-block.c: ... here.
35887 * crypt/sha512.c (sha512_process_block): Move to ...
35888 * crypt/sha512-block.c: ... here.
35889 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35891 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35892 * sysdeps/sparc/sparc64/multiarch/Makefile
35893 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35895 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35896 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35898 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35899 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35900 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35901 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35902 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35903 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35906 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35913 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35915 * timezone/tzselect.ksh: Update from tzcode git revision
35916 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35917 * timezone/zdump.c: Likewise.
35918 * timezone/zic.c: Likewise.
35919 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35920 in TZVERSION setting, not $(PKGVERSION).
35921 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35922 REPORT_BUGS_TO settings.
35925 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35928 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35931 detection to immediately after _FP_ROUND().
35932 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35935 2012-11-11 David S. Miller <davem@davemloft.net>
35937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35939 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35940 __close rather than their public counterparts.
35942 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35944 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35946 [UNIX98] (sem_timedwait): Do not expect.
35947 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35948 [XPG4 || UNIX98] (sockatmark): Do not expect.
35949 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35950 (clock_getcpuclockid): Do not expect.
35951 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35952 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35954 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35955 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35956 [UNIX98] (vwscanf): Likewise.
35957 [UNIX98] (vswscanf): Likewise.
35959 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35961 * timezone/version.h: Remove file.
35962 * timezone/README: Do not refer to version.h.
35963 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35964 $(objpfx)version.h.
35965 ($(objpfx)zdump.o): Likewise.
35966 ($(objpfx)version.h): New target.
35968 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35970 * timezone/README: Don't mention modification to tzselect.ksh.
35971 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35972 work on unmodified tzselect.ksh. Substitute version numbers in
35975 * Makefile (format-me): Remove.
35976 (INSTALL): Adjust indentation. Use commands directly instead of
35977 using $(format-me).
35979 * aclocal.m4 (ACX_PKGVERSION): New macro.
35980 (ACX_BUGURL): Likewise.
35981 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35982 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35983 (REPORT_BUGS_TO): Likewise.
35984 * configure: Regenerated.
35985 * config.h.in (PKGVERSION): New macro.
35986 (REPORT_BUGS_TO): Likewise.
35987 * config.make.in (PKGVERSION): New variable.
35988 (PKGVERSION_TEXI): Likewise.
35989 (REPORT_BUGS_TO): Likewise.
35990 (REPORT_BUGS_TEXI): Likewise.
35991 * Makefile (format-me): Use -I$(common-objpfx)manual.
35992 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35993 ($(common-objpfx)manual/%): New target.
35994 (manual/%): Remove target.
35995 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35996 (print_version): Use PKGVERSION.
35997 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35998 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35999 and REPORT_BUGS_TO.
36000 ($(objpfx)xtrace): Likewise.
36001 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36002 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36003 (print_version): Use PKGVERSION.
36004 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36005 (do_version): Use PKGVERSION.
36006 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36008 (common-ldd-rewrite): Likewise.
36009 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36010 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36011 (print_version): Use PKGVERSION.
36012 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36013 * elf/pldd.c (argp_program_bug_address): Remove variable.
36014 (more_help): New function.
36015 (argp): Use more_help.
36016 (print_version): Use PKGVERSION.
36017 * elf/sln.c (main): Use PKGVERSION.
36018 (usage): Use REPORT_BUGS_TO.
36019 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36020 (top level): Use PKGVERSION.
36021 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36022 (print_version): Use PKGVERSION.
36023 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36024 (print_version): Use PKGVERSION.
36025 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36026 (print_version): Use PKGVERSION.
36027 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36028 (print_version): Use PKGVERSION.
36029 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36030 (print_version): Use PKGVERSION.
36031 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36032 (print_version): Use PKGVERSION.
36033 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36035 ($(objpfx)memusage): Likewise.
36036 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36037 (do_version): Use PKGVERSION.
36038 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36039 (print_version): Use PKGVERSION.
36040 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36041 ($PKGVERSION): New variable.
36042 ($REPORT_BUGS_TO): Likewise.
36043 (usage): Use $REPORT_BUGS_TO.
36044 (top level): Use $PKGVERSION.
36045 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36046 ($(objpfx)pkgvers.texi): New rule.
36047 ($(objpfx)stamp-pkgvers): Likewise.
36048 * manual/install.texi: Include pkgvers.texi.
36049 (--with-pkgversion): Document new configure option.
36050 (--with-bugurl): Likewise.
36051 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36052 than necessarily for this particular distribution. Use
36053 REPORT_BUGS_TO for where to report bugs.
36054 * INSTALL: Regenerated.
36055 * manual/libc.texinfo: Include pkgvers.texi.
36056 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36057 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36058 (print_version): Use PKGVERSION.
36059 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36060 (print_version): Use PKGVERSION.
36061 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36062 (print_version): Use PKGVERSION.
36063 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36064 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36066 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36067 (print_version): Use PKGVERSION.
36068 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36069 (print_version): Use PKGVERSION.
36070 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36073 * timezone/checktab.awk: Update from tzcode 2012i.
36074 * timezone/ialloc.c: Likewise.
36075 * timezone/private.h: Likewise.
36076 * timezone/scheck.c: Likewise.
36077 * timezone/tzfile.h: Likewise.
36078 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36079 (TZVERSION): Hardcode tzcode version number.
36080 * timezone/zdump.c: Update from tzcode 2012i.
36081 * timezone/zic.c: Likewise.
36082 * timezone/version.h: New file.
36083 * timezone/README: Describe version.h. Update upstream location.
36086 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36087 (mktemp): Enable declaration.
36088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36105 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36106 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36107 for copies of such integer values.
36108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36111 2012-11-09 Andreas Jaeger <aj@suse.de>
36113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36114 definitions and declarations that are provided by
36115 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36117 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36120 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36121 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36124 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36126 * elf/elf.h: Update comment before AArch64 relocations.
36128 2012-11-07 David S. Miller <davem@davemloft.net>
36130 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36131 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36132 (__start_context): Declare.
36133 (__makecontext_ret): Delete.
36134 (__makecontext): Hook up __start_context instead of
36136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36137 (sysdep_routines): Add __start_context when in stdlib.
36139 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36141 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36142 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36143 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36145 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36146 (READELF): New variable. Use it instead of hardcoded "readelf".
36148 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36150 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36151 * sysdeps/x86/Makefile: Here.
36152 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36153 * sysdeps/x86/tst-xmmymm.sh: This.
36155 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36157 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36159 [UNIX98] (pthread_barrier_t): Do not expect.
36160 [UNIX98] (pthread_barrierattr_t): Likewise.
36161 [UNIX98] (pthread_spinlock_t): Likewise.
36162 [UNIX98] (pthread_barrier_destroy): Likewise.
36163 [UNIX98] (pthread_barrier_init): Likewise.
36164 [UNIX98] (pthread_barrier_wait): Likewise.
36165 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36166 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36167 [UNIX98] (pthread_barrierattr_init): Likewise.
36168 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36169 [UNIX98] (pthread_getcpuclockid): Likewise.
36170 [UNIX98] (pthread_mutex_timedlock): Likewise.
36171 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36172 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36173 [UNIX98] (pthread_sigmask): Likewise.
36174 [UNIX98] (pthread_spin_destroy): Likewise.
36175 [UNIX98] (pthread_spin_init): Likewise.
36176 [UNIX98] (pthread_spin_lock): Likewise.
36177 [UNIX98] (pthread_spin_trylock): Likewise.
36178 [UNIX98] (pthread_spin_unlock): Likewise.
36179 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36181 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36182 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36183 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36184 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36185 [XPG3 || XPG4] (pthread_key_t): Likewise.
36186 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36187 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36188 [XPG3 || XPG4] (pthread_once_t): Likewise.
36189 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36190 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36191 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36192 [XPG3 || XPG4] (pthread_t): Likewise.
36194 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36196 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36199 Change function return type to int.
36201 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36202 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36203 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36204 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36205 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36206 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36207 [!POSIX] (posix_madvise): Likewise.
36208 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36210 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36211 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36212 (mode_t): Likewise.
36213 (posix_mem_offset): Likewise.
36214 (posix_typed_mem_get_info): Likewise.
36215 (posix_typed_mem_open): Likewise.
36217 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36218 Change condition to [XOPEN2K8].
36220 * conform/conformtest.pl: Preprocess allow-header data with -x c
36221 instead of from stdin.
36222 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36223 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36224 [C99-based standards] (cerfc): Likewise.
36225 [C99-based standards] (cexp2): Likewise.
36226 [C99-based standards] (cexpm1): Likewise.
36227 [C99-based standards] (clog10): Likewise.
36228 [C99-based standards] (clog1p): Likewise.
36229 [C99-based standards] (clog2): Likewise.
36230 [C99-based standards] (clgamma): Likewise.
36231 [C99-based standards] (ctgamma): Likewise.
36232 [C99-based standards] (cerff): Likewise.
36233 [C99-based standards] (cerfcf): Likewise.
36234 [C99-based standards] (cexp2f): Likewise.
36235 [C99-based standards] (cexpm1f): Likewise.
36236 [C99-based standards] (clog10f): Likewise.
36237 [C99-based standards] (clog1pf): Likewise.
36238 [C99-based standards] (clog2f): Likewise.
36239 [C99-based standards] (clgammaf): Likewise.
36240 [C99-based standards] (ctgammaf): Likewise.
36241 [C99-based standards] (cerfl): Likewise.
36242 [C99-based standards] (cerfcl): Likewise.
36243 [C99-based standards] (cexp2l): Likewise.
36244 [C99-based standards] (cexpm1l): Likewise.
36245 [C99-based standards] (clog10l): Likewise.
36246 [C99-based standards] (clog1pl): Likewise.
36247 [C99-based standards] (clog2l): Likewise.
36248 [C99-based standards] (clgammal): Likewise.
36249 [C99-based standards] (ctgammal): Likewise.
36250 * conform/data/inttypes.h-data [C99-based standards]: Include
36251 stdint.h-data. Remove all expectations for stdint.h contents.
36252 [C99-based standards] (PRI*): Do not allow.
36253 [C99-based standards] (SCN*): Likewise.
36254 [C99-based standards] (*_t): Likewise.
36255 [C99-based-standards] (PRId8): Expect macro.
36256 [C99-based-standards] (PRIi8): Likewise.
36257 [C99-based-standards] (PRIo8): Likewise.
36258 [C99-based-standards] (PRIu8): Likewise.
36259 [C99-based-standards] (PRIx8): Likewise.
36260 [C99-based-standards] (PRIX8): Likewise.
36261 [C99-based-standards] (SCNd8): Likewise.
36262 [C99-based-standards] (SCNi8): Likewise.
36263 [C99-based-standards] (SCNo8): Likewise.
36264 [C99-based-standards] (SCNu8): Likewise.
36265 [C99-based-standards] (SCNx8): Likewise.
36266 [C99-based-standards] (PRIdLEAST8): Likewise.
36267 [C99-based-standards] (PRIiLEAST8): Likewise.
36268 [C99-based-standards] (PRIoLEAST8): Likewise.
36269 [C99-based-standards] (PRIuLEAST8): Likewise.
36270 [C99-based-standards] (PRIxLEAST8): Likewise.
36271 [C99-based-standards] (PRIXLEAST8): Likewise.
36272 [C99-based-standards] (SCNdLEAST8): Likewise.
36273 [C99-based-standards] (SCNiLEAST8): Likewise.
36274 [C99-based-standards] (SCNoLEAST8): Likewise.
36275 [C99-based-standards] (SCNuLEAST8): Likewise.
36276 [C99-based-standards] (SCNxLEAST8): Likewise.
36277 [C99-based-standards] (PRIdFAST8): Likewise.
36278 [C99-based-standards] (PRIiFAST8): Likewise.
36279 [C99-based-standards] (PRIoFAST8): Likewise.
36280 [C99-based-standards] (PRIuFAST8): Likewise.
36281 [C99-based-standards] (PRIxFAST8): Likewise.
36282 [C99-based-standards] (PRIXFAST8): Likewise.
36283 [C99-based-standards] (SCNdFAST8): Likewise.
36284 [C99-based-standards] (SCNiFAST8): Likewise.
36285 [C99-based-standards] (SCNoFAST8): Likewise.
36286 [C99-based-standards] (SCNuFAST8): Likewise.
36287 [C99-based-standards] (SCNxFAST8): Likewise.
36288 [C99-based-standards] (PRId16): Likewise.
36289 [C99-based-standards] (PRIi16): Likewise.
36290 [C99-based-standards] (PRIo16): Likewise.
36291 [C99-based-standards] (PRIu16): Likewise.
36292 [C99-based-standards] (PRIx16): Likewise.
36293 [C99-based-standards] (PRIX16): Likewise.
36294 [C99-based-standards] (SCNd16): Likewise.
36295 [C99-based-standards] (SCNi16): Likewise.
36296 [C99-based-standards] (SCNo16): Likewise.
36297 [C99-based-standards] (SCNu16): Likewise.
36298 [C99-based-standards] (SCNx16): Likewise.
36299 [C99-based-standards] (PRIdLEAST16): Likewise.
36300 [C99-based-standards] (PRIiLEAST16): Likewise.
36301 [C99-based-standards] (PRIoLEAST16): Likewise.
36302 [C99-based-standards] (PRIuLEAST16): Likewise.
36303 [C99-based-standards] (PRIxLEAST16): Likewise.
36304 [C99-based-standards] (PRIXLEAST16): Likewise.
36305 [C99-based-standards] (SCNdLEAST16): Likewise.
36306 [C99-based-standards] (SCNiLEAST16): Likewise.
36307 [C99-based-standards] (SCNoLEAST16): Likewise.
36308 [C99-based-standards] (SCNuLEAST16): Likewise.
36309 [C99-based-standards] (SCNxLEAST16): Likewise.
36310 [C99-based-standards] (PRIdFAST16): Likewise.
36311 [C99-based-standards] (PRIiFAST16): Likewise.
36312 [C99-based-standards] (PRIoFAST16): Likewise.
36313 [C99-based-standards] (PRIuFAST16): Likewise.
36314 [C99-based-standards] (PRIxFAST16): Likewise.
36315 [C99-based-standards] (PRIXFAST16): Likewise.
36316 [C99-based-standards] (SCNdFAST16): Likewise.
36317 [C99-based-standards] (SCNiFAST16): Likewise.
36318 [C99-based-standards] (SCNoFAST16): Likewise.
36319 [C99-based-standards] (SCNuFAST16): Likewise.
36320 [C99-based-standards] (SCNxFAST16): Likewise.
36321 [C99-based-standards] (PRId32): Likewise.
36322 [C99-based-standards] (PRIi32): Likewise.
36323 [C99-based-standards] (PRIo32): Likewise.
36324 [C99-based-standards] (PRIu32): Likewise.
36325 [C99-based-standards] (PRIx32): Likewise.
36326 [C99-based-standards] (PRIX32): Likewise.
36327 [C99-based-standards] (SCNd32): Likewise.
36328 [C99-based-standards] (SCNi32): Likewise.
36329 [C99-based-standards] (SCNo32): Likewise.
36330 [C99-based-standards] (SCNu32): Likewise.
36331 [C99-based-standards] (SCNx32): Likewise.
36332 [C99-based-standards] (PRIdLEAST32): Likewise.
36333 [C99-based-standards] (PRIiLEAST32): Likewise.
36334 [C99-based-standards] (PRIoLEAST32): Likewise.
36335 [C99-based-standards] (PRIuLEAST32): Likewise.
36336 [C99-based-standards] (PRIxLEAST32): Likewise.
36337 [C99-based-standards] (PRIXLEAST32): Likewise.
36338 [C99-based-standards] (SCNdLEAST32): Likewise.
36339 [C99-based-standards] (SCNiLEAST32): Likewise.
36340 [C99-based-standards] (SCNoLEAST32): Likewise.
36341 [C99-based-standards] (SCNuLEAST32): Likewise.
36342 [C99-based-standards] (SCNxLEAST32): Likewise.
36343 [C99-based-standards] (PRIdFAST32): Likewise.
36344 [C99-based-standards] (PRIiFAST32): Likewise.
36345 [C99-based-standards] (PRIoFAST32): Likewise.
36346 [C99-based-standards] (PRIuFAST32): Likewise.
36347 [C99-based-standards] (PRIxFAST32): Likewise.
36348 [C99-based-standards] (PRIXFAST32): Likewise.
36349 [C99-based-standards] (SCNdFAST32): Likewise.
36350 [C99-based-standards] (SCNiFAST32): Likewise.
36351 [C99-based-standards] (SCNoFAST32): Likewise.
36352 [C99-based-standards] (SCNuFAST32): Likewise.
36353 [C99-based-standards] (SCNxFAST32): Likewise.
36354 [C99-based-standards] (PRId64): Likewise.
36355 [C99-based-standards] (PRIi64): Likewise.
36356 [C99-based-standards] (PRIo64): Likewise.
36357 [C99-based-standards] (PRIu64): Likewise.
36358 [C99-based-standards] (PRIx64): Likewise.
36359 [C99-based-standards] (PRIX64): Likewise.
36360 [C99-based-standards] (SCNd64): Likewise.
36361 [C99-based-standards] (SCNi64): Likewise.
36362 [C99-based-standards] (SCNo64): Likewise.
36363 [C99-based-standards] (SCNu64): Likewise.
36364 [C99-based-standards] (SCNx64): Likewise.
36365 [C99-based-standards] (PRIdLEAST64): Likewise.
36366 [C99-based-standards] (PRIiLEAST64): Likewise.
36367 [C99-based-standards] (PRIoLEAST64): Likewise.
36368 [C99-based-standards] (PRIuLEAST64): Likewise.
36369 [C99-based-standards] (PRIxLEAST64): Likewise.
36370 [C99-based-standards] (PRIXLEAST64): Likewise.
36371 [C99-based-standards] (SCNdLEAST64): Likewise.
36372 [C99-based-standards] (SCNiLEAST64): Likewise.
36373 [C99-based-standards] (SCNoLEAST64): Likewise.
36374 [C99-based-standards] (SCNuLEAST64): Likewise.
36375 [C99-based-standards] (SCNxLEAST64): Likewise.
36376 [C99-based-standards] (PRIdFAST64): Likewise.
36377 [C99-based-standards] (PRIiFAST64): Likewise.
36378 [C99-based-standards] (PRIoFAST64): Likewise.
36379 [C99-based-standards] (PRIuFAST64): Likewise.
36380 [C99-based-standards] (PRIxFAST64): Likewise.
36381 [C99-based-standards] (PRIXFAST64): Likewise.
36382 [C99-based-standards] (SCNdFAST64): Likewise.
36383 [C99-based-standards] (SCNiFAST64): Likewise.
36384 [C99-based-standards] (SCNoFAST64): Likewise.
36385 [C99-based-standards] (SCNuFAST64): Likewise.
36386 [C99-based-standards] (SCNxFAST64): Likewise.
36387 [C99-based-standards] (PRIdMAX): Likewise.
36388 [C99-based-standards] (PRIiMAX): Likewise.
36389 [C99-based-standards] (PRIoMAX): Likewise.
36390 [C99-based-standards] (PRIuMAX): Likewise.
36391 [C99-based-standards] (PRIxMAX): Likewise.
36392 [C99-based-standards] (PRIXMAX): Likewise.
36393 [C99-based-standards] (SCNdMAX): Likewise.
36394 [C99-based-standards] (SCNiMAX): Likewise.
36395 [C99-based-standards] (SCNoMAX): Likewise.
36396 [C99-based-standards] (SCNuMAX): Likewise.
36397 [C99-based-standards] (SCNxMAX): Likewise.
36398 [C99-based-standards] (PRIdPTR): Likewise.
36399 [C99-based-standards] (PRIiPTR): Likewise.
36400 [C99-based-standards] (PRIoPTR): Likewise.
36401 [C99-based-standards] (PRIuPTR): Likewise.
36402 [C99-based-standards] (PRIxPTR): Likewise.
36403 [C99-based-standards] (PRIXPTR): Likewise.
36404 [C99-based-standards] (SCNdPTR): Likewise.
36405 [C99-based-standards] (SCNiPTR): Likewise.
36406 [C99-based-standards] (SCNoPTR): Likewise.
36407 [C99-based-standards] (SCNuPTR): Likewise.
36408 [C99-based-standards] (SCNxPTR): Likewise.
36409 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36411 * conform/data/stdint.h-data: Update comments to clarify
36413 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36415 [C99-based standards] (INT8_MAX): Likewise.
36416 [C99-based standards] (INT16_MIN): Likewise.
36417 [C99-based standards] (INT16_MAX): Likewise.
36418 [C99-based standards] (INT32_MIN): Likewise.
36419 [C99-based standards] (INT32_MAX): Likewise.
36420 [C99-based standards] (INT64_MIN): Likewise.
36421 [C99-based standards] (INT64_MAX): Likewise.
36422 [C99-based standards] (UINT8_MAX): Likewise.
36423 [C99-based standards] (UINT16_MAX): Likewise.
36424 [C99-based standards] (UINT32_MAX): Likewise.
36425 [C99-based standards] (UINT64_MAX): Likewise.
36426 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36427 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36428 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36429 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36430 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36431 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36432 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36433 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36434 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36435 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36436 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36437 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36438 [C99-based standards] (INT_FAST8_MIN): Likewise.
36439 [C99-based standards] (INT_FAST8_MAX): Likewise.
36440 [C99-based standards] (INT_FAST16_MIN): Likewise.
36441 [C99-based standards] (INT_FAST16_MAX): Likewise.
36442 [C99-based standards] (INT_FAST32_MIN): Likewise.
36443 [C99-based standards] (INT_FAST32_MAX): Likewise.
36444 [C99-based standards] (INT_FAST64_MIN): Likewise.
36445 [C99-based standards] (INT_FAST64_MAX): Likewise.
36446 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36447 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36448 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36449 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36450 [C99-based standards] (INTPTR_MIN): Likewise.
36451 [C99-based standards] (INTPTR_MAX): Likewise.
36452 [C99-based standards] (UINTPTR_MAX): Likewise.
36453 [C99-based standards] (INTMAX_MIN): Likewise.
36454 [C99-based standards] (INTMAX_MAX): Likewise.
36455 [C99-based standards] (UINTMAX_MAX): Likewise.
36456 [C99-based standards] (PTRDIFF_MIN): Likewise.
36457 [C99-based standards] (PTRDIFF_MAX): Likewise.
36458 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36459 [C99-based standards] (SIZE_MAX): Likewise.
36460 [C99-based standards] (WCHAR_MAX): Likewise.
36461 [C99-based standards] (WINT_MAX): Likewise.
36462 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36463 constraint on value.
36464 [C99-based standards] (WCHAR_MIN): Likewise.
36465 [C99-based standards] (WINT_MIN): Likewise.
36466 [C99-based standards] (*_t): Allow.
36467 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36468 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36469 Include math.h-data and complex.h-data. Remove all expectations
36470 of math.h and complex.h contents.
36471 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36473 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36474 (struct tm): Expect tag.
36475 [C99-based-standards] (wcstof): Expect function.
36476 [C99-based-standards] (wcstold): Likewise.
36477 [C99-based-standards] (wcstoll): Likewise.
36478 [C99-based-standards] (wcstoull): Likewise.
36479 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36480 macro-int-constant. Specify type.
36481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36482 constraint on value.
36483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36485 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36487 [ISO C standards]: Do not allow headers.
36488 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36489 wcs[abcdefghijklmnopqrstuvwxyz]*.
36490 [ISO C standards] (*_t): Do not allow.
36491 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36493 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36496 [ISO C standards]: Do not allow headers.
36497 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36498 is[abcdefghijklmnopqrstuvwxyz]*.
36499 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36500 to[abcdefghijklmnopqrstuvwxyz]*.
36501 [ISO C standards] (*_t): Do not allow.
36502 * conform/data/stdalign.h-data: New file.
36503 * conform/data/stdbool.h-data: Likewise.
36504 * conform/data/stdnoreturn.h-data: Likewise.
36506 2012-11-07 Roland McGrath <roland@hack.frob.com>
36509 * manual/filesys.texi (Directory Entries): Typo fix.
36510 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36512 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36514 * elf/elf.h (EM_AARCH64): New macro.
36515 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36516 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36517 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36518 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36519 (R_AARCH64_TLSDESC): Likewise.
36520 (NT_ARM_TLS): Likewise.
36521 (NT_ARM_HW_BREAK): Likewise.
36522 (NT_ARM_HW_WATCH): Likewise.
36524 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36527 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36528 (__ieee754_powl): Saturate nonzero exponents with absolute value
36529 below 0x1p-79 to +/- 0x1p-79.
36530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36531 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36532 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36533 nonzero exponents with absolute value below 0x1p-32 to +/-
36535 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36536 (__ieee754_powl): Saturate nonzero exponents with absolute value
36537 below 0x1p-79 to +/- 0x1p-79.
36538 * math/libm-test.inc (pow_test): Add more tests.
36540 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36543 _dl_s390_cap_flags with kernel. Increase string length.
36544 (_dl_s390_platforms): Add z196 and zEC12.
36546 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36548 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36549 Change XOPEN21K to XOPEN2K.
36551 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36553 * string/memmove.c: Use memcpy when possible.
36555 2012-11-06 Andreas Jaeger <aj@suse.de>
36557 * po/eo.po: Update from translation team.
36559 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36563 exponent and small x and y exponents, scale x or y up. Increase
36564 by 2 the exponent used in scaling up.
36565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36567 * math/libm-test.inc (fma_test): Add more tests.
36568 (fma_test_towardzero): Likewise.
36569 (fma_test_downward): Likewise.
36570 (fma_test_upward): Likewise.
36572 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36575 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36579 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36580 namespace for names of struct fields.
36581 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36583 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36584 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36586 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36589 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36591 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36593 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36597 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36600 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36604 definitely overflow as x * y not x * y + z.
36605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36607 * math/libm-test.inc (fma_test): Add more tests.
36608 (fma_test_towardzero): Likewise.
36609 (fma_test_downward): Likewise.
36610 (fma_test_upward): Likewise.
36612 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36616 * include/stub-tag.h: Remove file.
36617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36619 * manual/maint.texi (Porting): Don't reference it.
36620 * Makerules ($(objpfx)stubs): Likewise.
36621 * dirent/closedir.c: Don't include <stub-tag.h>.
36622 * dirent/dirfd.c: Likewise.
36623 * dirent/fdopendir.c: Likewise.
36624 * dirent/getdents.c: Likewise.
36625 * dirent/getdents64.c: Likewise.
36626 * dirent/opendir.c: Likewise.
36627 * dirent/readdir.c: Likewise.
36628 * dirent/readdir64.c: Likewise.
36629 * dirent/readdir64_r.c: Likewise.
36630 * dirent/readdir_r.c: Likewise.
36631 * dirent/rewinddir.c: Likewise.
36632 * dirent/seekdir.c: Likewise.
36633 * dirent/telldir.c: Likewise.
36634 * gmon/profil.c: Likewise.
36635 * grp/setgroups.c: Likewise.
36636 * inet/if_index.c: Likewise.
36637 * io/access.c: Likewise.
36638 * io/chdir.c: Likewise.
36639 * io/chmod.c: Likewise.
36640 * io/chown.c: Likewise.
36641 * io/close.c: Likewise.
36642 * io/dup.c: Likewise.
36643 * io/dup2.c: Likewise.
36644 * io/dup3.c: Likewise.
36645 * io/euidaccess.c: Likewise.
36646 * io/faccessat.c: Likewise.
36647 * io/fchdir.c: Likewise.
36648 * io/fchmod.c: Likewise.
36649 * io/fchmodat.c: Likewise.
36650 * io/fchown.c: Likewise.
36651 * io/fchownat.c: Likewise.
36652 * io/fcntl.c: Likewise.
36653 * io/flock.c: Likewise.
36654 * io/fstatfs.c: Likewise.
36655 * io/fstatfs64.c: Likewise.
36656 * io/fstatvfs.c: Likewise.
36657 * io/fstatvfs64.c: Likewise.
36658 * io/futimens.c: Likewise.
36659 * io/fxstat.c: Likewise.
36660 * io/fxstat64.c: Likewise.
36661 * io/fxstatat.c: Likewise.
36662 * io/fxstatat64.c: Likewise.
36663 * io/getcwd.c: Likewise.
36664 * io/isatty.c: Likewise.
36665 * io/lchmod.c: Likewise.
36666 * io/lchown.c: Likewise.
36667 * io/link.c: Likewise.
36668 * io/linkat.c: Likewise.
36669 * io/lseek.c: Likewise.
36670 * io/lseek64.c: Likewise.
36671 * io/lxstat64.c: Likewise.
36672 * io/mkdir.c: Likewise.
36673 * io/mkdirat.c: Likewise.
36674 * io/mkfifo.c: Likewise.
36675 * io/mkfifoat.c: Likewise.
36676 * io/open.c: Likewise.
36677 * io/open64.c: Likewise.
36678 * io/openat.c: Likewise.
36679 * io/openat64.c: Likewise.
36680 * io/pipe.c: Likewise.
36681 * io/pipe2.c: Likewise.
36682 * io/poll.c: Likewise.
36683 * io/posix_fadvise.c: Likewise.
36684 * io/posix_fadvise64.c: Likewise.
36685 * io/posix_fallocate.c: Likewise.
36686 * io/posix_fallocate64.c: Likewise.
36687 * io/read.c: Likewise.
36688 * io/readlink.c: Likewise.
36689 * io/readlinkat.c: Likewise.
36690 * io/rmdir.c: Likewise.
36691 * io/sendfile.c: Likewise.
36692 * io/sendfile64.c: Likewise.
36693 * io/statfs.c: Likewise.
36694 * io/statfs64.c: Likewise.
36695 * io/statvfs.c: Likewise.
36696 * io/statvfs64.c: Likewise.
36697 * io/symlink.c: Likewise.
36698 * io/symlinkat.c: Likewise.
36699 * io/ttyname.c: Likewise.
36700 * io/ttyname_r.c: Likewise.
36701 * io/umask.c: Likewise.
36702 * io/unlink.c: Likewise.
36703 * io/unlinkat.c: Likewise.
36704 * io/utime.c: Likewise.
36705 * io/utimensat.c: Likewise.
36706 * io/write.c: Likewise.
36707 * io/xmknod.c: Likewise.
36708 * io/xmknodat.c: Likewise.
36709 * io/xstat.c: Likewise.
36710 * io/xstat64.c: Likewise.
36711 * login/getpt.c: Likewise.
36712 * login/grantpt.c: Likewise.
36713 * login/unlockpt.c: Likewise.
36714 * math/e_acoshl.c: Likewise.
36715 * math/e_acosl.c: Likewise.
36716 * math/e_asinl.c: Likewise.
36717 * math/e_atan2l.c: Likewise.
36718 * math/e_atanhl.c: Likewise.
36719 * math/e_coshl.c: Likewise.
36720 * math/e_expl.c: Likewise.
36721 * math/e_fmodl.c: Likewise.
36722 * math/e_gammal_r.c: Likewise.
36723 * math/e_hypotl.c: Likewise.
36724 * math/e_j0l.c: Likewise.
36725 * math/e_j1l.c: Likewise.
36726 * math/e_jnl.c: Likewise.
36727 * math/e_lgammal_r.c: Likewise.
36728 * math/e_log10l.c: Likewise.
36729 * math/e_log2l.c: Likewise.
36730 * math/e_logl.c: Likewise.
36731 * math/e_powl.c: Likewise.
36732 * math/e_rem_pio2l.c: Likewise.
36733 * math/e_sinhl.c: Likewise.
36734 * math/e_sqrtl.c: Likewise.
36735 * math/fclrexcpt.c: Likewise.
36736 * math/fedisblxcpt.c: Likewise.
36737 * math/feenablxcpt.c: Likewise.
36738 * math/fegetenv.c: Likewise.
36739 * math/fegetexcept.c: Likewise.
36740 * math/fegetround.c: Likewise.
36741 * math/feholdexcpt.c: Likewise.
36742 * math/fesetenv.c: Likewise.
36743 * math/fesetround.c: Likewise.
36744 * math/feupdateenv.c: Likewise.
36745 * math/fgetexcptflg.c: Likewise.
36746 * math/fraiseexcpt.c: Likewise.
36747 * math/fsetexcptflg.c: Likewise.
36748 * math/ftestexcept.c: Likewise.
36749 * math/k_cosl.c: Likewise.
36750 * math/k_rem_pio2l.c: Likewise.
36751 * math/k_sinl.c: Likewise.
36752 * math/k_tanl.c: Likewise.
36753 * math/s_asinhl.c: Likewise.
36754 * math/s_atanl.c: Likewise.
36755 * math/s_cbrtl.c: Likewise.
36756 * math/s_erfl.c: Likewise.
36757 * math/s_expm1l.c: Likewise.
36758 * math/s_log1pl.c: Likewise.
36759 * math/s_tanhl.c: Likewise.
36760 * misc/acct.c: Likewise.
36761 * misc/brk.c: Likewise.
36762 * misc/chflags.c: Likewise.
36763 * misc/chroot.c: Likewise.
36764 * misc/fchflags.c: Likewise.
36765 * misc/fgetxattr.c: Likewise.
36766 * misc/flistxattr.c: Likewise.
36767 * misc/fremovexattr.c: Likewise.
36768 * misc/fsetxattr.c: Likewise.
36769 * misc/fsync.c: Likewise.
36770 * misc/ftruncate.c: Likewise.
36771 * misc/futimes.c: Likewise.
36772 * misc/futimesat.c: Likewise.
36773 * misc/getdomain.c: Likewise.
36774 * misc/getdtsz.c: Likewise.
36775 * misc/gethostid.c: Likewise.
36776 * misc/gethostname.c: Likewise.
36777 * misc/getloadavg.c: Likewise.
36778 * misc/getpagesize.c: Likewise.
36779 * misc/getsysstats.c: Likewise.
36780 * misc/getxattr.c: Likewise.
36781 * misc/gtty.c: Likewise.
36782 * misc/ioctl.c: Likewise.
36783 * misc/lgetxattr.c: Likewise.
36784 * misc/listxattr.c: Likewise.
36785 * misc/llistxattr.c: Likewise.
36786 * misc/lremovexattr.c: Likewise.
36787 * misc/lsetxattr.c: Likewise.
36788 * misc/lutimes.c: Likewise.
36789 * misc/madvise.c: Likewise.
36790 * misc/mincore.c: Likewise.
36791 * misc/mlock.c: Likewise.
36792 * misc/mlockall.c: Likewise.
36793 * misc/mmap.c: Likewise.
36794 * misc/mprotect.c: Likewise.
36795 * misc/msync.c: Likewise.
36796 * misc/munlock.c: Likewise.
36797 * misc/munlockall.c: Likewise.
36798 * misc/munmap.c: Likewise.
36799 * misc/preadv.c: Likewise.
36800 * misc/preadv64.c: Likewise.
36801 * misc/ptrace.c: Likewise.
36802 * misc/pwritev.c: Likewise.
36803 * misc/pwritev64.c: Likewise.
36804 * misc/readv.c: Likewise.
36805 * misc/reboot.c: Likewise.
36806 * misc/remap_file_pages.c: Likewise.
36807 * misc/removexattr.c: Likewise.
36808 * misc/revoke.c: Likewise.
36809 * misc/select.c: Likewise.
36810 * misc/setdomain.c: Likewise.
36811 * misc/setegid.c: Likewise.
36812 * misc/seteuid.c: Likewise.
36813 * misc/sethostid.c: Likewise.
36814 * misc/sethostname.c: Likewise.
36815 * misc/setregid.c: Likewise.
36816 * misc/setreuid.c: Likewise.
36817 * misc/setxattr.c: Likewise.
36818 * misc/sstk.c: Likewise.
36819 * misc/stty.c: Likewise.
36820 * misc/swapoff.c: Likewise.
36821 * misc/swapon.c: Likewise.
36822 * misc/sync.c: Likewise.
36823 * misc/syncfs.c: Likewise.
36824 * misc/syscall.c: Likewise.
36825 * misc/truncate.c: Likewise.
36826 * misc/ualarm.c: Likewise.
36827 * misc/usleep.c: Likewise.
36828 * misc/ustat.c: Likewise.
36829 * misc/utimes.c: Likewise.
36830 * misc/vhangup.c: Likewise.
36831 * misc/writev.c: Likewise.
36832 * posix/_exit.c: Likewise.
36833 * posix/alarm.c: Likewise.
36834 * posix/execve.c: Likewise.
36835 * posix/fexecve.c: Likewise.
36836 * posix/fork.c: Likewise.
36837 * posix/fpathconf.c: Likewise.
36838 * posix/getaddrinfo.c: Likewise.
36839 * posix/getegid.c: Likewise.
36840 * posix/geteuid.c: Likewise.
36841 * posix/getgid.c: Likewise.
36842 * posix/getgroups.c: Likewise.
36843 * posix/getlogin.c: Likewise.
36844 * posix/getlogin_r.c: Likewise.
36845 * posix/getpgid.c: Likewise.
36846 * posix/getpid.c: Likewise.
36847 * posix/getppid.c: Likewise.
36848 * posix/getresgid.c: Likewise.
36849 * posix/getresuid.c: Likewise.
36850 * posix/getsid.c: Likewise.
36851 * posix/getuid.c: Likewise.
36852 * posix/glob64.c: Likewise.
36853 * posix/nanosleep.c: Likewise.
36854 * posix/pathconf.c: Likewise.
36855 * posix/pause.c: Likewise.
36856 * posix/posix_madvise.c: Likewise.
36857 * posix/pread.c: Likewise.
36858 * posix/pread64.c: Likewise.
36859 * posix/pwrite.c: Likewise.
36860 * posix/pwrite64.c: Likewise.
36861 * posix/sched_getaffinity.c: Likewise.
36862 * posix/sched_getp.c: Likewise.
36863 * posix/sched_gets.c: Likewise.
36864 * posix/sched_primax.c: Likewise.
36865 * posix/sched_primin.c: Likewise.
36866 * posix/sched_rr_gi.c: Likewise.
36867 * posix/sched_setaffinity.c: Likewise.
36868 * posix/sched_setp.c: Likewise.
36869 * posix/sched_sets.c: Likewise.
36870 * posix/sched_yield.c: Likewise.
36871 * posix/setgid.c: Likewise.
36872 * posix/setlogin.c: Likewise.
36873 * posix/setpgid.c: Likewise.
36874 * posix/setresgid.c: Likewise.
36875 * posix/setresuid.c: Likewise.
36876 * posix/setsid.c: Likewise.
36877 * posix/setuid.c: Likewise.
36878 * posix/sleep.c: Likewise.
36879 * posix/spawni.c: Likewise.
36880 * posix/sysconf.c: Likewise.
36881 * posix/times.c: Likewise.
36882 * posix/wait.c: Likewise.
36883 * posix/wait3.c: Likewise.
36884 * posix/wait4.c: Likewise.
36885 * posix/waitpid.c: Likewise.
36886 * resolv/gai_sigqueue.c: Likewise.
36887 * resource/getpriority.c: Likewise.
36888 * resource/getrlimit.c: Likewise.
36889 * resource/getrusage.c: Likewise.
36890 * resource/nice.c: Likewise.
36891 * resource/setpriority.c: Likewise.
36892 * resource/setrlimit.c: Likewise.
36893 * resource/ulimit.c: Likewise.
36894 * rt/aio_cancel.c: Likewise.
36895 * rt/aio_fsync.c: Likewise.
36896 * rt/aio_read.c: Likewise.
36897 * rt/aio_sigqueue.c: Likewise.
36898 * rt/aio_suspend.c: Likewise.
36899 * rt/aio_write.c: Likewise.
36900 * rt/clock_getres.c: Likewise.
36901 * rt/clock_gettime.c: Likewise.
36902 * rt/clock_nanosleep.c: Likewise.
36903 * rt/clock_settime.c: Likewise.
36904 * rt/lio_listio.c: Likewise.
36905 * rt/mq_close.c: Likewise.
36906 * rt/mq_getattr.c: Likewise.
36907 * rt/mq_notify.c: Likewise.
36908 * rt/mq_open.c: Likewise.
36909 * rt/mq_receive.c: Likewise.
36910 * rt/mq_send.c: Likewise.
36911 * rt/mq_setattr.c: Likewise.
36912 * rt/mq_timedreceive.c: Likewise.
36913 * rt/mq_timedsend.c: Likewise.
36914 * rt/mq_unlink.c: Likewise.
36915 * rt/shm_open.c: Likewise.
36916 * rt/shm_unlink.c: Likewise.
36917 * rt/timer_create.c: Likewise.
36918 * rt/timer_delete.c: Likewise.
36919 * rt/timer_getoverr.c: Likewise.
36920 * rt/timer_gettime.c: Likewise.
36921 * rt/timer_settime.c: Likewise.
36922 * setjmp/__longjmp.c: Likewise.
36923 * setjmp/setjmp.c: Likewise.
36924 * signal/kill.c: Likewise.
36925 * signal/killpg.c: Likewise.
36926 * signal/raise.c: Likewise.
36927 * signal/sigaction.c: Likewise.
36928 * signal/sigaltstack.c: Likewise.
36929 * signal/sigblock.c: Likewise.
36930 * signal/sigignore.c: Likewise.
36931 * signal/sigintr.c: Likewise.
36932 * signal/signal.c: Likewise.
36933 * signal/sigpause.c: Likewise.
36934 * signal/sigpending.c: Likewise.
36935 * signal/sigqueue.c: Likewise.
36936 * signal/sigreturn.c: Likewise.
36937 * signal/sigset.c: Likewise.
36938 * signal/sigsetmask.c: Likewise.
36939 * signal/sigstack.c: Likewise.
36940 * signal/sigsuspend.c: Likewise.
36941 * signal/sigtimedwait.c: Likewise.
36942 * signal/sigvec.c: Likewise.
36943 * signal/sigwait.c: Likewise.
36944 * signal/sigwaitinfo.c: Likewise.
36945 * signal/sysv_signal.c: Likewise.
36946 * socket/accept.c: Likewise.
36947 * socket/accept4.c: Likewise.
36948 * socket/bind.c: Likewise.
36949 * socket/connect.c: Likewise.
36950 * socket/getpeername.c: Likewise.
36951 * socket/getsockname.c: Likewise.
36952 * socket/getsockopt.c: Likewise.
36953 * socket/isfdtype.c: Likewise.
36954 * socket/listen.c: Likewise.
36955 * socket/recv.c: Likewise.
36956 * socket/recvfrom.c: Likewise.
36957 * socket/recvmsg.c: Likewise.
36958 * socket/send.c: Likewise.
36959 * socket/sendmsg.c: Likewise.
36960 * socket/sendto.c: Likewise.
36961 * socket/setsockopt.c: Likewise.
36962 * socket/shutdown.c: Likewise.
36963 * socket/sockatmark.c: Likewise.
36964 * socket/socket.c: Likewise.
36965 * socket/socketpair.c: Likewise.
36966 * stdio-common/ctermid.c: Likewise.
36967 * stdio-common/cuserid.c: Likewise.
36968 * stdio-common/remove.c: Likewise.
36969 * stdio-common/rename.c: Likewise.
36970 * stdio-common/renameat.c: Likewise.
36971 * stdio-common/tempname.c: Likewise.
36972 * stdlib/getcontext.c: Likewise.
36973 * stdlib/makecontext.c: Likewise.
36974 * stdlib/setcontext.c: Likewise.
36975 * stdlib/swapcontext.c: Likewise.
36976 * stdlib/system.c: Likewise.
36977 * streams/fattach.c: Likewise.
36978 * streams/fdetach.c: Likewise.
36979 * streams/getmsg.c: Likewise.
36980 * streams/getpmsg.c: Likewise.
36981 * streams/putmsg.c: Likewise.
36982 * streams/putpmsg.c: Likewise.
36983 * sysdeps/unix/bsd/getpt.c: Likewise.
36984 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36985 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36989 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36990 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36991 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36992 * sysvipc/msgctl.c: Likewise.
36993 * sysvipc/msgget.c: Likewise.
36994 * sysvipc/msgrcv.c: Likewise.
36995 * sysvipc/msgsnd.c: Likewise.
36996 * sysvipc/semctl.c: Likewise.
36997 * sysvipc/semget.c: Likewise.
36998 * sysvipc/semop.c: Likewise.
36999 * sysvipc/semtimedop.c: Likewise.
37000 * sysvipc/shmat.c: Likewise.
37001 * sysvipc/shmctl.c: Likewise.
37002 * sysvipc/shmdt.c: Likewise.
37003 * sysvipc/shmget.c: Likewise.
37004 * termios/tcdrain.c: Likewise.
37005 * termios/tcflow.c: Likewise.
37006 * termios/tcflush.c: Likewise.
37007 * termios/tcgetattr.c: Likewise.
37008 * termios/tcgetpgrp.c: Likewise.
37009 * termios/tcsendbrk.c: Likewise.
37010 * termios/tcsetattr.c: Likewise.
37011 * termios/tcsetpgrp.c: Likewise.
37012 * time/adjtime.c: Likewise.
37013 * time/clock.c: Likewise.
37014 * time/getitimer.c: Likewise.
37015 * time/gettimeofday.c: Likewise.
37016 * time/setitimer.c: Likewise.
37017 * time/settimeofday.c: Likewise.
37018 * time/stime.c: Likewise.
37019 * time/time.c: Likewise.
37021 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37023 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37026 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37028 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37030 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37034 FE_TONEAREST before applying Dekker multiplication and Knuth
37035 addition. Clear inexact exceptions and check for exact zero
37036 results afterwards.
37037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37040 * math/libm-test.inc (fma_test): Add more tests.
37041 (fma_test_towardzero): Likewise.
37042 (fma_test_downward): Likewise.
37043 (fma_test_upward): Likewise.
37044 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37046 (libc_fesetround): New macro.
37047 (libc_fesetroundf): Likewise.
37048 (libc_fesetroundl): Likewise.
37049 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37051 (libc_fesetround_387): Likewise.
37052 (libc_fesetroundf): New macro.
37053 (libc_fesetround): Likewise.
37054 (libc_fesetroundl): Likewise.
37055 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37057 (libc_fesetroundf): New macro.
37058 (libc_fesetround): Likewise.
37059 (libc_fesetroundl): Likewise.
37060 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37061 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37062 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37064 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37065 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37068 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37070 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37074 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37075 integer constant usable in #if and use that to give value to enum
37077 (FE_DIVBYZERO): Likewise.
37078 (FE_UNDERFLOW): Likewise.
37079 (FE_OVERFLOW): Likewise.
37080 (FE_INVALID): Likewise.
37081 (FE_INVALID_SNAN): Likewise.
37082 (FE_INVALID_ISI): Likewise.
37083 (FE_INVALID_IDI): Likewise.
37084 (FE_INVALID_ZDZ): Likewise.
37085 (FE_INVALID_IMZ): Likewise.
37086 (FE_INVALID_COMPARE): Likewise.
37087 (FE_INVALID_SOFTWARE): Likewise.
37088 (FE_INVALID_SQRT): Likewise.
37089 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37090 (FE_TONEAREST): Likewise.
37091 (FE_TOWARDZERO): Likewise.
37092 (FE_UPWARD): Likewise.
37093 (FE_DOWNWARD): Likewise.
37094 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37095 (FE_DIVBYZERO): Likewise.
37096 (FE_OVERFLOW): Likewise.
37097 (FE_UNDERFLOW): Likewise.
37098 (FE_INEXACT): Likewise.
37099 (FE_TONEAREST): Likewise.
37100 (FE_DOWNWARD): Likewise.
37101 (FE_UPWARD): Likewise.
37102 (FE_TOWARDZERO): Likewise.
37103 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37104 (FE_UNDERFLOW): Likewise.
37105 (FE_OVERFLOW): Likewise.
37106 (FE_DIVBYZERO): Likewise.
37107 (FE_INVALID): Likewise.
37108 (FE_TONEAREST): Likewise.
37109 (FE_TOWARDZERO): Likewise.
37110 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37111 (FE_OVERFLOW): Likewise.
37112 (FE_UNDERFLOW): Likewise.
37113 (FE_DIVBYZERO): Likewise.
37114 (FE_INEXACT): Likewise.
37115 (FE_TONEAREST): Likewise.
37116 (FE_TOWARDZERO): Likewise.
37117 (FE_UPWARD): Likewise.
37118 (FE_DOWNWARD): Likewise.
37119 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37120 (FE_DIVBYZERO): Likewise.
37121 (FE_OVERFLOW): Likewise.
37122 (FE_UNDERFLOW): Likewise.
37123 (FE_INEXACT): Likewise.
37124 (FE_TONEAREST): Likewise.
37125 (FE_DOWNWARD): Likewise.
37126 (FE_UPWARD): Likewise.
37127 (FE_TOWARDZERO): Likewise.
37129 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37131 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37133 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37135 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37136 commands. Quote $PWD.
37137 (blacklist_exports): Don't use remove_newlines. Replace "declare
37139 (remove_newlines): Remove.
37141 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37143 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37144 * stdlib/stdlib.h (atof): Moved to ...
37145 * include/bits/stdlib-float.h: Here. New file.
37146 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37147 * stdlib/bits/stdlib-float.h: New file.
37148 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37153 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37155 * conform/conformtest.pl (@headers): Add fenv.h.
37156 * conform/data/fenv.h-data: New file.
37157 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37158 include of <math/fenv.h>.
37160 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37161 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37162 && !UNIX98]. Enables tests for XOPEN2K8.
37163 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37164 POSIX2008]: Likewise.
37166 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37167 (struct rusage): Do not expect type or its members.
37170 * math/math.h (FP_NAN): Define macro to integer constant usable in
37171 #if and use that to give value to enum constant.
37172 (FP_INFINITE): Likewise.
37173 (FP_ZERO): Likewise.
37174 (FP_SUBNORMAL): Likewise.
37175 (FP_NORMAL): Likewise.
37177 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37179 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37180 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37183 2012-11-02 Roland McGrath <roland@hack.frob.com>
37185 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37186 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37187 autoconf-time if not.
37188 * configure.in: Remove AC_PREREQ.
37190 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37192 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37193 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37194 of the internal implementation.
37196 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37198 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37199 except include of <misc/sys/syslog.h>.
37201 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37204 function returns with a NULL context exit with zero.
37206 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37208 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37210 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37212 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37213 (run_program_cmd): This.
37214 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37215 (tst_langinfo): New variable. Use it.
37217 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37219 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37220 floating point opcodes.
37222 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37224 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37227 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37229 * sysdeps/mach/hurd/powerpc: Remove directory.
37230 * sysdeps/mach/powerpc: Likewise.
37232 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37234 * scripts/check-local-headers.sh: Ignore c++ headers.
37236 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37238 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37239 __libc_cleanup_region_start argument.
37241 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37246 x * y using scaling, not as x * y + z.
37247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37249 * math/libm-test.inc (fma_test): Add more tests.
37250 (fma_test_towardzero): Likewise.
37251 (fma_test_downward): Likewise.
37252 (fma_test_upward): Likewise.
37254 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37256 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37258 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37260 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37263 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37265 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37267 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37274 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37277 Fix the order of the list for glibc 2.17.
37278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37281 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37285 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37289 for low part of x being zero before using __atanl (y).
37290 * math/libm-test.inc (atan2_test): Add another test.
37292 * manual/install.texi (Configuring and compiling): Document
37293 general use of test-wrapper and test-wrapper-env.
37294 * INSTALL: Regenerated.
37296 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37297 (__fma): Do not extract and scale down low bits on after-rounding
37298 systems when result rounded to normal precision would have normal
37300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37301 (__fmal): Do not extract and scale down low bits on after-rounding
37302 systems when result rounded to normal precision would have normal
37304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37305 (__fmal): Do not extract and scale down low bits on after-rounding
37306 systems when result rounded to normal precision would have normal
37308 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37310 (fma_test): Add more tests.
37311 (fma_test_towardzero): Likewise.
37312 (fma_test_downward): Likewise.
37313 (fma_test_upward): Likewise.
37315 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37317 * sysdeps/i386/tininess.h: Renamed to ...
37318 * sysdeps/x86/tininess.h: This.
37319 * sysdeps/x86_64/tininess.h: Removed.
37321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37323 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37324 input. Use $(build-program-cmd).
37325 ($(objpfx)tst-array1-static.out): Likewise.
37326 ($(objpfx)tst-array2.out): Likewise.
37327 ($(objpfx)tst-array3.out): Likewise.
37328 ($(objpfx)tst-array4.out): Likewise.
37329 ($(objpfx)tst-array5.out): Likewise.
37330 ($(objpfx)tst-array5-static.out): Likewise.
37332 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37334 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37337 * nss/nsswitch.h (nss_interface_function): Provide new
37338 macro for use with NSS functions.
37339 * grp/initgroups.c: Use new macro.
37340 * nss/getXXbyYY.c: Likewise.
37341 * nss/getXXbyYY_r.c: Likewise.
37342 * nss/getXXent.c: Likewise.
37343 * nss/getXXent_r.c: Likewise.
37344 * sysdeps/posix/getaddrinfo.c: Likewise.
37346 2012-10-30 Andreas Jaeger <aj@suse.de>
37348 * po/ru.po: Update Russion translation from translation project.
37350 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37355 result and shift together with sticky bit instead of replicating
37356 round-to-nearest rounding.
37357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37359 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37360 missing underflow exceptions.
37361 (fma_test_towardzero): Add more tests.
37362 (fma_test_downward): Likewise.
37363 (fma_test_upward): Likewise.
37366 * sysdeps/generic/tininess.h: New file.
37367 * sysdeps/i386/tininess.h: Likewise.
37368 * sysdeps/sh/tininess.h: Likewise.
37369 * sysdeps/x86_64/tininess.h: Likewise.
37370 * stdlib/tst-strtod-underflow.c: Likewise.
37371 * stdlib/tst-tininess.c: Likewise.
37372 * stdlib/strtod_l.c: Include <tininess.h>.
37373 (round_and_return): Do not set errno for exact underflow cases.
37374 Force an underflow exception when setting errno for underflow.
37375 Determine underflow based on rounding to normal precision if
37376 TININESS_AFTER_ROUNDING.
37377 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37378 ERANGE for exact underflow cases.
37379 * stdlib/Makefile (tests): Add tst-tininess and
37380 tst-strtod-underflow.
37381 ($(objpfx)tst-tininess): Use $(link-libm).
37382 ($(objpfx)tst-strtod-underflow): Likewise.
37384 2012-10-30 Andreas Jaeger <aj@suse.de>
37387 * elf/Makefile (tests): Remove conditional for have-initfini-array
37388 since this is now always required and the variable does not exist
37390 (tests-static): Likewise.
37391 (modules-names): Likewise.
37393 * po/eo.po: Add Esperanto translation from translation project.
37395 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37396 merged with constructor/destructor.
37397 (init_array): Likewise.
37398 * elf/tst-array2dep.c (fini_array): Likewise.
37399 (init_array): Likewise.
37401 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37403 * manual/message.texi: Delete @cartouche tags.
37405 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37407 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37409 * sysdeps/mach/hurd/fsync.c: Likewise.
37411 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37412 [_POSIX_REALTIME_SIGNALS]: Change condition to
37413 [_POSIX_REALTIME_SIGNALS > 0].
37415 2012-10-27 Andreas Jaeger <aj@suse.de>
37417 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37418 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37420 [__WORDSIZE != 64]: Likewise.
37422 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37424 * iconvdata/tst-table.sh: Remove ${SHELL}.
37425 * iconvdata/tst-tables.sh: Likewise.
37427 2012-10-25 David S. Miller <davem@davemloft.net>
37429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37430 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37436 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37437 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37440 2012-10-25 Roland McGrath <roland@hack.frob.com>
37442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37443 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37446 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37447 Jim Blandy <jimb@codesourcery.com>
37449 * scripts/cross-test-ssh.sh: New file.
37450 * manual/install.texi (Configuring and compiling): Document use of
37452 * INSTALL: Regenerated.
37454 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37456 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37459 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37461 * Makeconfig (run-program-prefix): Fix comment.
37463 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37464 Jim Blandy <jimb@codesourcery.com>
37466 * Makeconfig (test-wrapper): New variable,
37467 (test-wrapper-env): Likewise.
37468 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37469 (run-built-tests): Define to yes.
37470 (run-program-prefix): Use $(test-wrapper).
37471 (built-program-cmd): Likewise.
37472 * Rules (make-test-out): Use $(test-wrapper-env) and
37473 $(host-built-program-cmd).
37474 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37475 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37477 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37478 $(test-wrapper-env) to tst-rtld-load-self.sh.
37479 ($(objpfx)order2.out): Use $(test-wrapper).
37480 ($(objpfx)tst-initorder.out): Likewise.
37481 ($(objpfx)tst-initorder2.out): Likewise.
37482 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37483 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37484 (test_wrapper_env): New variable. Use it to run ld.so.
37485 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37486 Use it to run ld.so.
37487 (test_wrapper_env): Likewise.
37488 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37489 $(test-wrapper) to run-iconv-test.sh.
37490 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37491 (ICONV): Use $test_wrapper.
37492 * posix/Makefile ($(objpfx)globtest.out): Pass
37493 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37494 globtest.sh, not $(run-program-prefix).
37495 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37496 (test_wrapper): Likewise.
37497 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37498 set together with run_via_rtld_prefix.
37499 (run_program_prefix): Define in terms of test_wrapper and
37500 run_via_rtld_prefix.
37502 2012-10-24 Roland McGrath <roland@hack.frob.com>
37504 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37505 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37509 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37510 Declare __clock_getres, __clock_gettime, __clock_settime,
37511 __clock_nanosleep, and __clock_getcpuclockid.
37512 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37513 Remove librt_hidden_def (clock_gettime).
37514 * sysdeps/unix/clock_gettime.c: Likewise.
37515 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37517 * rt/clock_getres.c: Define __clock_getres as an alias.
37518 * sysdeps/posix/clock_getres.c: Likewise.
37519 * rt/clock_settime.c: Define __clock_settime as an alias.
37520 * sysdeps/unix/clock_settime.c: Likewise.
37521 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37522 * sysdeps/unix/clock_nanosleep.c: Likewise.
37523 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37524 * rt/clock-compat.c: New file.
37525 * rt/Makefile (librt-routines): Add clock-compat and move
37526 $(clock-routines) to ...
37527 (routines): ... here, new variable.
37528 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37529 Don't add get_clockfreq here.
37530 * rt/Versions (libc: GLIBC_2.17): New version set.
37531 Add clock_* symbols here.
37532 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37534 (GLIBC_2.17): Add clock_* symbols.
37535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37546 * NEWS: Mention the move.
37548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37549 Use __open, __read, __close rather than their public counterparts.
37550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37551 (__get_clockfreq_via_cpuinfo): Likewise.
37552 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37553 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37555 * config.h.in (HAVE_IFUNC): New #undef.
37556 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37558 * configure: Regenerated.
37560 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37562 * configure.in: Move READELF check to start of file.
37563 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37564 libc_cv_asm_gnu_indirect_function in the process.
37565 * configure: Regenerated.
37567 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37569 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37570 send the output to /dev/null.
37571 (libc_cv_cc_with_libunwind): Likewise.
37572 (libc_cv_as_noexecstack): Likewise.
37573 * configure: Regenerate.
37575 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37577 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37579 * posix/globtest.sh (TMPDIR): Do not set.
37580 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37581 (testout): Likewise.
37583 2012-10-24 Andreas Jaeger <aj@suse.de>
37585 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37586 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37587 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37588 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37589 posix_fadvise64, posix_fallocate64.
37591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37592 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37593 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37595 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37597 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37600 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37601 <bits/fcntl-linux.h>.
37602 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37605 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37606 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37607 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37608 [__WORDSIZE != 64]: Likewise.
37610 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37612 * Makeconfig (run-built-tests): New variable.
37613 * Rules [$(cross-compiling) = yes]: Change condition to
37614 [$(run-built-tests) = no].
37615 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37616 to [$(run-built-tests) = yes].
37617 * elf/Makefile [$(cross-compiling) = no]: Likewise
37618 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37619 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37620 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37621 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37622 * io/Makefile [$(cross-compiling) = no]: Likewise.
37623 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37624 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37625 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37626 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37627 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37628 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37629 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37630 * string/Makefile [$(cross-compiling) = no]: Likewise.
37632 * posix/Makefile ($(objpfx)globtest.out): Pass
37633 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37634 $(rtld-installed-name).
37635 * posix/globtest.sh (elf_objpfx): Remove variable.
37636 (rtld_installed_name): Likewise.
37637 (library_path): Likewise.
37638 (run_program_prefix): New variable. Use for running globtest
37641 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37642 Joseph Myers <joseph@codesourcery.com>
37644 * Makeconfig (host-built-program-cmd): New variable.
37645 * elf/Makefile (tst-stackguard1-ARGS): Use
37646 $(host-built-program-cmd).
37647 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37648 (tst-spawn-ARGS): Likewise.
37649 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37651 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37652 Jim Blandy <jimb@codesourcery.com>
37654 * Makeconfig (run-via-rtld-prefix): New variable.
37655 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37656 (built-program-cmd): Likewise.
37658 2012-10-22 Andreas Jaeger <aj@suse.de>
37660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37661 __O_RSYNC if it exists, otherwise to O_SYNC.
37663 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37664 Joseph Myers <joseph@codesourcery.com>
37666 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37668 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37670 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37673 2012-10-22 Andreas Jaeger <aj@suse.de>
37675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37680 bits/fcntl-linux.h.
37682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37683 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37690 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37691 Joseph Myers <joseph@codesourcery.com>
37693 * config.make.in (NM): New variable.
37695 2012-10-21 Andreas Jaeger <aj@suse.de>
37697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37698 definitions and declarations that are provided by
37699 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37701 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37704 * elf/Makefile (tests-static): Add tst-leaks1-static.
37705 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37706 ($(objpfx)tst-leaks1-static): New rule.
37707 ($(objpfx)tst-leaks1-static-mem): Likewise.
37708 (tst-leaks1-static-ENV): New macro.
37709 * elf/dl-open.c (dl_open_worker): Check the main application
37710 only if SHARED is defined.
37711 * elf/tst-leaks1-static.c: New file.
37713 2012-10-20 Andreas Jaeger <aj@suse.de>
37715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37716 generic values for Linux.
37717 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37718 and declarations that are provided by <bits/fcntl-linux.h> and
37719 include <bits/fcntl-linux.h>.
37720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37723 2012-10-20 Roland McGrath <roland@hack.frob.com>
37725 * io/fcntl.h: Move include of <bits/types.h> to the top and
37726 include it unconditionally.
37728 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37730 * wcsmbs/Makefile (tests-ifunc): New variable.
37731 (tests): Add $(tests-ifunc).
37732 * wcsmbs/test-wcschr-ifunc.c: New file.
37733 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37734 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37735 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37736 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37737 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37739 * string/Makefile (tests-ifunc): New variable.
37740 (tests): Add $(tests-ifunc).
37741 * string/test-memccpy.c (TEST_NAME): New macro.
37742 * string/test-memchr.c (TEST_NAME): Likewise.
37743 * string/test-memcmp.c (TEST_NAME): Likewise.
37744 * string/test-memcpy.c (TEST_NAME): Likewise.
37745 * string/test-memmem.c (TEST_NAME): Likewise.
37746 * string/test-memmove.c (TEST_NAME): Likewise.
37747 * string/test-memset.c (TEST_NAME): Likewise.
37748 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37749 * string/test-stpcpy.c (TEST_NAME): Likewise.
37750 * string/test-stpncpy.c (TEST_NAME): Likewise.
37751 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37752 * string/test-strcasestr.c (TEST_NAME): Likewise.
37753 * string/test-strcat.c (TEST_NAME): Likewise.
37754 * string/test-strchr.c (TEST_NAME): Likewise.
37755 * string/test-strcmp.c(TEST_NAME): Likewise.
37756 * string/test-strcpy.c (TEST_NAME): Likewise.
37757 * string/test-strcspn.c (TEST_NAME): Likewise.
37758 * string/test-strlen.c (TEST_NAME): Likewise.
37759 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37760 * string/test-strncmp.c (TEST_NAME): Likewise.
37761 * string/test-strncpy.c (TEST_NAME): Likewise.
37762 * string/test-strnlen.c (TEST_NAME): Likewise.
37763 * string/test-strpbrk.c (TEST_NAME): Likewise.
37764 * string/test-strrchr.c (TEST_NAME): Likewise.
37765 * string/test-strspn.c (TEST_NAME): Likewise.
37766 * string/test-strstr.c (TEST_NAME): Likewise.
37767 * string/test-bcopy-ifunc.c: New file.
37768 * string/test-bzero-ifunc.c: Likewise.
37769 * string/test-memccpy-ifunc.c: Likewise.
37770 * string/test-memchr-ifunc.c: Likewise.
37771 * string/test-memcmp-ifunc.c: Likewise.
37772 * string/test-memcpy-ifunc.c: Likewise.
37773 * string/test-memmem-ifunc.c: Likewise.
37774 * string/test-memmove-ifunc.c: Likewise.
37775 * string/test-mempcpy-ifunc.c: Likewise.
37776 * string/test-memset-ifunc.c: Likewise.
37777 * string/test-rawmemchr-ifunc.c: Likewise.
37778 * string/test-stpcpy-ifunc.c: Likewise.
37779 * string/test-stpncpy-ifunc.c: Likewise.
37780 * string/test-strcasecmp-ifunc.c: Likewise.
37781 * string/test-strcasestr-ifunc.c: Likewise.
37782 * string/test-strcat-ifunc.c: Likewise.
37783 * string/test-strchr-ifunc.c: Likewise.
37784 * string/test-strchrnul-ifunc.c: Likewise.
37785 * string/test-strcmp-ifunc.c: Likewise.
37786 * string/test-strcpy-ifunc.c: Likewise.
37787 * string/test-strcspn-ifunc.c: Likewise.
37788 * string/test-strlen-ifunc.c: Likewise.
37789 * string/test-strncasecmp-ifunc.c: Likewise.
37790 * string/test-strncat-ifunc.c: Likewise.
37791 * string/test-strncmp-ifunc.c: Likewise.
37792 * string/test-strncpy-ifunc.c: Likewise.
37793 * string/test-strnlen-ifunc.c: Likewise.
37794 * string/test-strpbrk-ifunc.c: Likewise.
37795 * string/test-strrchr-ifunc.c: Likewise.
37796 * string/test-strspn-ifunc.c: Likewise.
37797 * string/test-strstr-ifunc.c: Likewise.
37799 * debug/Makefile (tests-ifunc): New variable.
37800 (tests): Add $(tests-ifunc).
37801 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37802 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37803 * debug/test-stpcpy_chk-ifunc.c: New file.
37804 * debug/test-strcpy_chk-ifunc.c: Likewise.
37806 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37809 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37810 header is not read in.
37812 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37814 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37815 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37816 directly. Pass built executable to script as
37817 $(built-program-cmd).
37818 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37819 $testprogram without using LD_LIBRARY_PATH and $ldso.
37821 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37822 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37823 $(rtld-installed-name).
37824 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37825 (rtld_installed_name): Likewise.
37826 (library_path): Likewise.
37827 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37828 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37829 $(run-program-prefix) to tst-tables.sh.
37830 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37831 it to run tst-table-from and tst-table-to.
37832 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37833 Pass it to tst-table.sh.
37834 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37835 $(run-program-prefix) to tst-gettext.sh.
37836 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37838 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37840 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37841 to run tst-gettext.
37842 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37843 to run tst-gettext2.
37844 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37845 to run tst-translit.
37846 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37847 $(run-program-prefix) to tst-mtrace.sh.
37848 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37850 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37851 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37852 $(rtld-installed-name).
37853 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37854 (rtld_installed_name): Likewise.
37855 (run_program_prefix): New variable. Use it to run wordexp-test.
37857 * Makeconfig (ARCH): Remove all definitions.
37858 (machine): Likewise.
37859 [ARCH]: Remove conditional code.
37860 [!objdir]: Give error.
37861 [!objdir] (objpfx): Remove.
37862 [!objdir] (common-objpfx): Likewise.
37863 [!objdir] (common-objdir): Likewise.
37864 * configure.in (config_makefile): Remove. Hardcode Makefile in
37865 AC_CONFIG_FILES call.
37866 * configure: Regenerated.
37869 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37871 (testout): Likewise.
37873 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37874 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37875 $(rtld-installed-name).
37876 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37877 (rtld_installed_name): Likwise.
37878 (runit): Remove function.
37879 (run_getconf): New variable, Use it for running getconf binary.
37881 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37884 * string/test-memmem.c (check_result): New function.
37885 (do_one_test): Use it.
37886 (check1): New function.
37887 (test_main): Use it.
37889 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37891 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37893 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37895 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37896 (_G_LSEEK64): Likewise.
37897 (_G_MMAP64): Likewise.
37898 (_G_FSTAT64): Likewise.
37899 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37900 (_G_LSEEK64): Likewise.
37901 (_G_MMAP64): Likewise.
37902 (_G_FSTAT64): Likewise.
37903 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37904 unconditional. Call __mmap64 directly.
37905 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37906 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37907 __lseek64 directly.
37908 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37909 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37911 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37912 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37913 __lseek64 directly.
37914 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37915 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37916 __lseek64 directly.
37917 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37918 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37919 __lseek64 directly.
37920 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37921 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37922 __fxstat64 directly.
37923 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37924 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37926 (freopen64) [!_G_OPEN64]: Remove conditional code.
37927 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37929 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37930 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37932 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37933 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37935 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37936 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37938 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37939 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37941 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37942 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37944 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37945 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37947 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37949 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37952 * manual/memory.texi (Malloc Tunable Parameters): Add note
37953 about free list pointers overwriting some perturb bytes.
37954 Wording suggested by Roland McGrath.
37956 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37958 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37959 (lgamma_test): Likewise.
37960 (tgamma_test): Likewise.
37962 2012-10-16 Florian Weimer <fweimer@redhat.com>
37965 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37966 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37968 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37970 * NEWS: Mention BZ #14716.
37971 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37972 when removing AVAILABLE1_USES_J macro.
37974 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37976 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37977 (__bswap_64): __uint64_t for unsigned 64-bit int.
37979 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37981 * include/string.h (memmem): Declare libc hidden alias.
37982 * string/memmem.c (memmem): Define libc hidden alias.
37983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37984 __read, __close instead of open, read, close.
37986 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37989 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37991 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37992 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37993 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37995 (__rawmemchr_sse2): Likewise.
37996 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37997 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37998 (__strchr_sse2): Likewise.
37999 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38000 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38001 (__strcasecmp_sse2): Likewise.
38002 (__strncasecmp_sse2): Likewise.
38003 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38004 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38005 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38006 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38007 (__strrchr_sse2): Likewise.
38008 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38010 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38011 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38012 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38014 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38015 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38016 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38018 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38019 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38020 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38023 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38024 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38025 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38026 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38027 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38028 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38029 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38030 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38031 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38032 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38033 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38034 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38037 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38038 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38039 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38041 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38043 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38044 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38045 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38046 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38048 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38050 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38051 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38052 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38053 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38055 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38056 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38068 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38072 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38073 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38074 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38075 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38076 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38077 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38078 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38079 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38080 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38081 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38082 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38083 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38085 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38086 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38087 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38088 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38089 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38090 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38091 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38092 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38093 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38094 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38095 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38097 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38098 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38099 * include/ifunc-impl-list.h: New file.
38100 * misc/ifunc-impl-list.c: Likewise.
38101 * misc/Makefile (routines): Add ifunc-impl-list.
38102 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38103 * string/test-string.h: Include <ifunc-impl-list.h>.
38104 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38105 TEST_NAME]: New variables.
38106 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38108 (test_init): Call __libc_ifunc_impl_list to initialize
38109 func_list if TEST_IFUNC and TEST_NAME are defined.
38111 * string/Makefile (strop-tests): Add bcopy and bzero.
38112 * string/test-bcopy.c: New file.
38113 * string/test-bzero.c: Likewise.
38114 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38116 * string/test-memset.c: Support bzero test if TEST_BZERO is
38118 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38120 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38122 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38125 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38127 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38128 * configure: Regenerated.
38130 * Makeconfig (+link-static-before-libc): Don't include
38131 $(link-static-libc).
38133 * libio/libio.h (_IO_pos_t): Remove.
38135 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38137 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38140 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38142 * crypt/crypt-entry.c: Include fips-private.h.
38143 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38144 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38145 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38146 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38148 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38150 * crypt/crypt-private.h: Include stdbool.h.
38151 (_ufc_setup_salt_r): Return bool.
38152 * crypt/crypt-entry.c: Include errno.h.
38153 (__crypt_r): Return NULL with EINVAL for bad salt.
38154 * crypt/crypt_util.c (bad_for_salt): New.
38155 (_ufc_setup_salt_r): Check that salt is long enough and within
38156 the specified alphabet.
38157 * crypt/badsalttest.c: New file.
38158 * crypt/Makefile (tests): Add it.
38159 ($(objpfx)badsalttest): New.
38161 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38163 * NEWS: Add entry for BZ #14602.
38165 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38167 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38169 * math/libm-test.inc: Update comment listing what functions and
38171 (isgreater_test): New function.
38172 (isgreaterequal_test): Likewise.
38173 (isless_test): Likewise.
38174 (islessequal_test): Likewise.
38175 (islessgreater_test): Likewise.
38176 (isunordered_test): Likewise.
38177 (main): Call the new functions.
38179 2012-10-09 Roland McGrath <roland@hack.frob.com>
38181 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38182 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38183 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38184 * sysdeps/i386/configure: Regenerated.
38185 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38186 * sysdeps/mach/configure: Regenerated.
38187 * sysdeps/mach/hurd/configure: Regenerated.
38188 * sysdeps/powerpc/configure: Regenerated.
38189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38190 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38191 * sysdeps/s390/s390-32/configure: Regenerated.
38192 * sysdeps/s390/s390-64/configure: Regenerated.
38193 * sysdeps/sh/configure: Regenerated.
38194 * sysdeps/sparc/configure: Regenerated.
38195 * sysdeps/unix/sysv/linux/configure: Regenerated.
38196 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38197 * sysdeps/x86_64/configure: Regenerated.
38199 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38200 defined. Don't check if MAP is NULL.
38202 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38204 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38205 (_G_stat64): Likewise.
38206 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38207 (_G_stat64): Likewise.
38208 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38209 instead of struct _G_stat64.
38210 * libio/fileops.c (mmap_remap_check): Likewise.
38211 (decide_maybe_mmap): Likewise.
38212 (_IO_new_file_seekoff): Likewise.
38213 (_IO_file_stat): Likewise.
38214 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38216 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38217 instead of struct _G_stat64.
38218 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38220 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38223 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38225 (CHECK_EOL): New macro.
38226 (two_way_short_needle): Check beginning of haystack for EOL. Use
38228 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38229 Replace with CHECK_EOL.
38230 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38231 Replace with CHECK_EOL.
38233 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38235 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38237 * math/libm-test.inc: Update comment listing what functions and
38239 (finite_test): New function.
38240 (isinf_test): Likewise.
38241 (isnan_test): Likewise.
38242 (fpclassify_test): Test subnormal input.
38243 (isfinite_test): Likewise.
38244 (isnormal_test): Likewise.
38245 (main): Call the new functions.
38247 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38250 * Makerules (%.dynsym): Force C locale when running
38251 $(OBJDUMP) --dynamic-syms.
38253 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38255 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38258 2012-10-06 David S. Miller <davem@davemloft.net>
38260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38261 upper 32-bits of the length value in %o2 since we use branch-on-register
38262 tests which consider the entire 64-bit register.
38264 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38266 * string/test-strstr.c (check2): Add a test for page boundary.
38268 2012-10-05 David S. Miller <davem@davemloft.net>
38270 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38271 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38273 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38275 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38276 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38277 and bzero when HWCAP_SPARC_CRYPTO is present.
38279 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38282 * string/test-strstr.c (check2): New function.
38283 (test_main): Call check2.
38285 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38287 * string/bug-strcasestr1.c (do_test): Moved to ...
38288 * string/test-strcasestr.c (check1): Here. New function.
38289 (do_one_test): Break out result checking code into ...
38290 (check_result): This. New function.
38291 (do_one_test): Call check_result.
38292 (test_main): Call check1.
38293 * string/bug-strchr1.c (do_test): Moved to ...
38294 * string/test-strchr.c (check1): Here. New function.
38295 (do_one_test): Break out result checking code into ...
38296 (check_result): This. New function.
38297 (do_one_test): Call check_result.
38298 (test_main): Call check1.
38299 * string/bug-strstr1.c (main): Moved to ...
38300 * string/test-strstr.c (check1): Here. New function.
38301 (do_one_test): Break out result checking code into ...
38302 (check_result): This. New function.
38303 (do_one_test): Call check_result.
38304 (test_main): Call check1.
38305 * string/bug-strcasestr1.c: Removed.
38306 * string/bug-strchr1.c: Likewise.
38307 * string/bug-strstr1.c: Likewise.
38309 * elf/Makefile (dl-routines): Add hwcaps.
38310 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38311 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38312 (_dl_important_hwcaps): Moved to ...
38313 * elf/dl-hwcaps.c: Here. New file.
38314 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38317 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38318 if IS_IN_rtld isn't defined.
38320 * elf/dl-support.c (_dl_sysinfo_map): New.
38321 Include "get-dynamic-info.h" and "setup-vdso.h".
38322 (_dl_non_dynamic_init): Call setup_vdso.
38323 * elf/dynamic-link.h: Don't include <assert.h>.
38324 (elf_get_dynamic_info): Moved to ...
38325 * elf/get-dynamic-info.h: Here. New file.
38326 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38327 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38328 * elf/setup-vdso.h: Here. New file.
38329 * elf/rtld.c: Include "setup-vdso.h".
38330 (dl_main): Call setup_vdso.
38332 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38334 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38335 creal in comment listing functions tested. List finite, isinf,
38336 isnan, isless, islessequal, isgreater, isgreaterequal,
38337 islessgreater, isunordered, lgamma_r and pow10 as functions and
38338 macros not tested. Mention which functions not tested are aliases
38339 for other functions. Fix typo. Note that signs of NaNs are not
38342 * scripts/config.guess: Update from config.git.
38343 * scripts/config.sub: Likewise.
38345 2012-10-04 Roland McGrath <roland@hack.frob.com>
38347 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38348 * misc/madvise.c (madvise): Renamed to __madvise.
38349 Make madvise a weak alias.
38350 * include/sys/mman.h: Declare __madvise.
38351 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38352 * sysdeps/unix/syscalls.list
38353 (madvise): Make __madvise the strong name, and madvise a weak alias.
38354 * sysdeps/unix/sysv/linux/syscalls.list
38355 (madvise, mmap): Remove redundant entries.
38356 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38357 * malloc/malloc.c (mtrim): Likewise.
38358 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38360 2012-10-03 Roland McGrath <roland@hack.frob.com>
38362 * sysdeps/mach/hurd/dl-cache.c: File removed.
38363 * config.h.in (USE_LDCONFIG): New #undef.
38364 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38365 * configure: Regenerated.
38366 * elf/Makefile (dl-routines): Add dl-cache only under
38367 [$(use-ldconfig) = yes].
38368 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38369 cache on [USE_LDCONFIG].
38370 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38372 * elf/rtld.c (dl_main): Likewise.
38374 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38376 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38377 _SC_LEVEL4_CACHE_LINESIZE.
38379 2012-10-03 Roland McGrath <roland@hack.frob.com>
38381 * sysdeps/unix/bsd/confstr.h: File removed.
38383 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38385 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38388 2012-10-02 Roland McGrath <roland@hack.frob.com>
38390 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38391 Make 'mapoff' field ElfW(Off) rather than off_t.
38393 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38395 * nscd/Makefile: Remove nscd-cflags and all its users.
38396 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38397 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38400 * malloc.c (malloc_printerr): Clarify error message.
38402 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38406 Set bit_FMA_Usable if FMA is supported.
38407 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38409 (bit_FMA4_Usable): Updated.
38410 (index_FMA_Usable): New macro.
38411 (CPUID_FMA): Likewise
38412 (HAS_FMA): Defined with bit_FMA_Usable.
38414 2012-10-01 Roland McGrath <roland@hack.frob.com>
38416 * bits/types.h (__swblk_t): Type removed.
38417 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38418 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38420 (__SWBLK_T_TYPE): Likewise.
38421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38422 (__SWBLK_T_TYPE): Likewise.
38423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38424 (__SWBLK_T_TYPE): Likewise.
38425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38426 (__SWBLK_T_TYPE): Likewise.
38428 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38429 Honza Horak <hhorak@redhat.com>
38431 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38432 (xdr_mapname): Use YPMAXMAP as maxsize.
38433 (xdr_peername): Use YPMAXPEER as maxsize.
38434 (xdr_keydat): Use YPAXRECORD as maxsize.
38435 (xdr_valdat): Use YPMAXRECORD as maxsize.
38437 2012-10-01 Roland McGrath <roland@hack.frob.com>
38439 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38441 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38442 * csu/init-first.c: ... here.
38443 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38444 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38447 * sysdeps/i386/init-first.c: File removed.
38448 * sysdeps/sh/init-first.c: File removed.
38450 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38454 if x * y might underflow to zero and z is zero.
38455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38457 * math/libm-test.inc (min_subnorm_value): New variable.
38458 (fma_test): Add more tests.
38459 (fma_test_towardzero): Likewise.
38460 (fma_test_downward): Likewise
38461 (fma_test_upward): Likewise.
38462 (initialize): Set min_subnorm_value.
38464 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38470 mode for addition resulting in exact zero.
38471 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38476 * math/libm-test.inc (fma_test): Add more tests.
38477 (fma_test_towardzero): New function.
38478 (fma_test_downward): Likewise.
38479 (fma_test_upward): Likewise.
38480 (main): Call the new functions.
38482 2012-09-28 David S. Miller <davem@davemloft.net>
38484 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38486 2012-09-28 Roland McGrath <roland@hack.frob.com>
38488 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38489 instead of SIGALRM.
38491 * sysdeps/gnu/_G_config.h: Moved to ...
38492 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38493 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38494 * sysdeps/generic/_G_config.h: ... here.
38496 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38498 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38500 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38501 Conditionalize target on [libnss_test1.so-version].
38503 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38505 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38506 (elfobjdir): Move out of conditionals.
38508 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38509 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38510 (__nss_lookup_function): Conditionalize label remove_from_tree on
38511 [!DO_STATIC_NSS || SHARED], matching its only use.
38513 2012-09-28 David S. Miller <davem@davemloft.net>
38515 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38518 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38522 when HWCAP_SPARC_CRYPTO is present.
38524 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38526 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38528 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38531 * stdio-common/vfprintf.c (process_string_arg): Revert
38534 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38536 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38538 * stdio-common/tst-sprintf.c: Include <locale.h>
38539 (main): Test sprintf's handling of incomplete multibyte
38542 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38544 * elf/dl-runtime.c (VERSYMIDX): Removed.
38545 * elf/dl-version.c (VERSYMIDX): Likewise.
38546 * elf/do-rel.h (VERSYMIDX): Likewise.
38547 (VALIDX): Likewise.
38548 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38549 * elf/rtld.c (VALIDX): Likewise.
38550 (ADDRIDX): Likewise.
38551 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38552 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38553 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38554 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38555 (VALIDX): Likewise.
38556 (ADDRIDX): Likewise.
38558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38560 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38562 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38565 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38567 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38568 addresses are in the same scope as 192.0.2/24.
38569 * posix/gai.conf: Document new scope table defaults.
38571 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38574 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38575 for ftell. Compute offsets from write pointers instead.
38576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38578 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38581 * libio/Makefile (tests): New test case tst-fseek.
38582 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38583 combination works in wide mode.
38584 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38585 state when the external buffer state changes.
38587 2012-09-27 David S. Miller <davem@davemloft.net>
38590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38591 pass reloc->r_addend in as the 'high' argument to
38592 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38596 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38598 * rt/tst-aio2.c: Include <pthread.h>.
38599 * rt/tst-aio3.c: Likewise.
38601 2012-09-27 Steve Ellcey <sellcey@mips.com>
38603 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38605 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38607 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38608 contents on [SHARED].
38610 2012-09-26 Marek Polacek <polacek@redhat.com>
38614 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38615 for C++ and GCC <4.3 as well as for non GCC compilers.
38617 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38621 2012-09-25 Roland McGrath <roland@hack.frob.com>
38623 * Makefile.in (all, install): Declare with .PHONY.
38624 Reported by Michael Hope <michael.hope@linaro.org>.
38626 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38628 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38629 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38633 (sydep_routines): Add the new and the internal functions.
38634 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38635 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38637 (GLIBC_2.17): Add the new function.
38638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38639 (GLIBC_2.17): Likewise.
38640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38641 (GLIBC_2.17): Likewise.
38642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38643 (GLIBC_2.17): Likewise.
38644 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38646 2012-09-25 Alan Modra <amodra@gmail.com>
38648 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38649 Add release barrier before setting once_control to say
38650 initialisation is done. Add hints on lwarx. Use macro in
38652 (clear_once_control): Add release barrier.
38654 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38657 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38659 * math/s_clog10.c (__clog10): Likewise.
38660 * math/s_clog10f.c (__clog10f): Likewise.
38661 * math/s_clog10l.c (__clog10l): Likewise.
38662 * math/s_clogf.c (__clogf): Likewise.
38663 * math/s_clogl.c (__clogl): Likewise.
38664 * math/Makefile (libm-calls): Add x2y2m1.
38665 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38666 (__x2y2m1): Likewise.
38667 (__x2y2m1l): Likewise.
38668 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38669 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38670 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38671 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38672 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38674 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38675 * sysdeps/i386/fpu/libm-test-ulps: Update.
38676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38679 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38680 int as type of variable DEPTH.
38681 (glob): Use size_t instead of int as type of variables NEWCOUNT
38684 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38686 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38687 Add s_sincosf-sse2.
38688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38690 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38691 macros for using routine as __sincosf_ia32.
38692 Use macro for function declaration and weak_alias.
38693 * sysdeps/i386/fpu/libm-test-ulps: Update.
38695 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38698 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38699 subnormal argument.
38700 * math/s_cexpf.c (__cexpf): Likewise.
38701 * math/s_csinf.c (__csinf): Likewise.
38702 * math/s_csinhf.c (__csinhf): Likewise.
38703 * math/s_ctanf.c (__ctanf): Likewise.
38704 * math/s_ctanhf.c (__ctanhf): Likewise.
38705 * math/s_ccosh.c (__ccoshf): Likewise.
38706 * math/s_cexp.c (__cexpl): Likewise.
38707 * math/s_csin.c (__csin): Likewise.
38708 * math/s_csinh.c (__csinh): Likewise.
38709 * math/s_ctan.c (__ctan): Likewise.
38710 * math/s_ctanh.c (ctanh): Likewise.
38711 * math/s_ccoshl.c (__ccoshl): Likewise.
38712 * math/s_cexpl.c (__cexpl): Likewise.
38713 * math/s_csinl.c (__csinl): Likewise.
38714 * math/s_csinhl.c (__csinhl): Likewise.
38715 * math/s_ctanl.c (__ctanl): Likewise.
38716 * math/s_ctanhl.c (__ctanhl): Likewise.
38718 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38720 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38721 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38722 (_IO_off_t): Define to __off_t, not _G_off_t.
38723 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38724 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38725 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38726 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38727 type of __dummy and __dummy2 fields.
38728 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38729 (_G_ssize_t): Likewise.
38730 (_G_off_t): Likewise.
38731 (_G_pid_t): Likewise.
38732 (_G_uid_t): Likewise.
38733 (_G_wchar_t): Likewise.
38734 (_G_wint_t): Likewise.
38735 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38736 (_G_ssize_t): Likewise.
38737 (_G_off_t): Likewise.
38738 (_G_pid_t): Likewise.
38739 (_G_uid_t): Likewise.
38740 (_G_wchar_t): Likewise.
38741 (_G_wint_t): Likewise.
38742 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38743 (_G_ssize_t): Likewise.
38744 (_G_off_t): Likewise.
38745 (_G_pid_t): Likewise.
38746 (_G_uid_t): Likewise.
38747 (_G_wchar_t): Likewise.
38748 (_G_wint_t): Likewise.
38750 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38752 * malloc/arena.c: Include malloc-sysdep.h.
38753 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38754 is sufficient to shrink the heap or an unmap is needed.
38755 * sysdeps/generic/malloc-sysdep.h: New file. Define
38756 new function check_may_shrink_heap.
38757 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38758 new function check_may_shrink_heap.
38760 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38762 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38765 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38767 * catgets/test-gencat.sh: Add "set -e".
38768 * elf/tst-pathopt.sh: Likewise.
38769 * grp/tst_fgetgrent.sh: Likewise.
38770 * iconvdata/run-iconv-test.sh: Likewise.
38771 * intl/tst-gettext.sh: Likewise.
38772 * intl/tst-gettext2.sh: Likewise.
38773 * intl/tst-gettext4.sh: Likewise.
38774 * intl/tst-gettext6.sh: Likewise.
38775 * intl/tst-translit.sh: Likewise.
38776 * io/ftwtest-sh: Likewise.
38777 * libio/test-freopen.sh: Likewise.
38778 * malloc/tst-mtrace.sh: Likewise.
38779 * posix/globtest.sh: Likewise.
38780 * posix/tst-getconf.sh: Likewise.
38781 * posix/wordexp-tst.sh: Likewise.
38782 * stdio-common/tst-printf.sh: Likewise.
38783 * stdio-common/tst-unbputc.sh: Likewise.
38784 * stdlib/tst-fmtmsg.sh: Likewise.
38785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38786 * catgets/Makefile: Do not specify -e option when running
38787 testsuite shell scripts.
38788 * elf/Makefile: Likewise.
38789 * grp/Makefile: Likewise.
38790 * iconvdata/Makefile: Likewise.
38791 * intl/Makefile: Likewise.
38792 * io/Makefile: Likewise.
38793 * libio/Makefile: Likewise.
38794 * malloc/Makefile: Likewise.
38795 * posix/Makefile: Likewise.
38796 * stdio-common/Makefile: Likewise.
38797 * stdlib/Makefile: Likewise.
38798 * sysdeps/x86_64/Makefile: Likewise.
38800 * io/ftwtest-sh: Add copyright header.
38801 * posix/globtest.sh: Likewise.
38802 * posix/tst-getconf.sh: Likewise.
38803 * posix/wordexp-tst.sh: Likewise.
38804 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38806 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38809 * Makeconfig (+link): Defined as $(+link-static) if
38810 $(build-shared) isn't yes.
38811 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38813 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38815 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38818 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38819 new chunk size with MALLOC_ALIGN_MASK.
38821 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38824 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38826 (__printf_fphex): Determine rounding using get_rounding_mode and
38828 * stdio-common/tst-printf-round.c (struct hex_test): New
38830 (hex_tests): New variable.
38831 (test_hex_in_one_mode): New function.
38832 (do_test): Also run tests for hex float output.
38834 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38836 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38837 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38838 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38839 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38841 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38842 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38845 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38847 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38848 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38849 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38850 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38852 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38855 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38857 * elf/tst-rtld-load-self.sh: New test.
38858 * elf/Makefile: Run it.
38860 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38862 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38863 (tst-writev-ENV): Remove.
38864 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38866 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38868 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38870 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38872 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38874 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38876 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38877 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38881 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38884 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38885 * config.make.in (have-cpp-asm-debuginfo): Removed.
38886 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38887 * configure: Regenerated.
38889 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38892 * stdio-common/printf_fp.c: Include <stdbool.h> and
38894 (___printf_fp): Determine rounding using get_rounding_mode and
38896 * stdio-common/tst-printf-round.c: New file.
38897 * stdio-common/Makefile (tests): Add tst-printf-round.
38898 (link-libm): New variable.
38899 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38901 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38904 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38905 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38907 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38910 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38912 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38913 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38914 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38917 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38920 * include/rounding-mode.h: New file.
38921 * sysdeps/generic/get-rounding-mode.h: Likewise.
38922 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38923 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38924 (MAX_VALUE): New macro.
38925 (MIN_VALUE): Likewise.
38926 (overflow_value): New function.
38927 (underflow_value): Likewise.
38928 (round_and_return): Use overflow_value and underflow_value to
38929 determine return values in overflow and underflow cases. Use
38930 round_away to determine rounding depending on rounding mode.
38931 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38932 determine return values in overflow and underflow cases.
38933 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38934 (struct test_results): New structure.
38935 (struct test): Use struct test_results to store expected results
38936 for all rounding modes.
38937 (TEST): Include expected results for all rounding modes.
38938 (test_in_one_mode): New function.
38939 (do_test): Use test_in_one_mode to compute and check results.
38940 Check results for all rounding modes.
38941 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38944 2012-12-09 Allan McRae <allan@archlinux.org>
38946 * sysdeps/i386/fpu/libm-test-ulps: Update
38948 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38950 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38951 (_G_int32_t): Likewise.
38952 (_G_uint16_t): Likewise.
38953 (_G_uint32_t): Likewise.
38954 (_G_HAVE_BOOL): Likewise.
38955 (_G_HAVE_ATEXIT): Likewise.
38956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38957 (_G_HAVE_IO_FILE_OPEN): Likewise.
38958 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38959 (_G_int32_t): Likewise.
38960 (_G_uint16_t): Likewise.
38961 (_G_uint32_t): Likewise.
38962 (_G_HAVE_BOOL): Likewise.
38963 (_G_HAVE_ATEXIT): Likewise.
38964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38965 (_G_HAVE_IO_FILE_OPEN): Likewise.
38966 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38967 (_G_int32_t): Likewise.
38968 (_G_uint16_t): Likewise.
38969 (_G_uint32_t): Likewise.
38970 (_G_HAVE_BOOL): Likewise.
38971 (_G_HAVE_ATEXIT): Likewise.
38972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38973 (_G_HAVE_IO_FILE_OPEN): Likewise.
38975 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38977 * csu/libc-tls.c: Update copyright years.
38979 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38981 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38982 [!_G_USING_THUNKS]: Remove conditional code.
38983 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38984 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38986 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38987 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38988 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38989 (_G_VTABLE_LABEL_PREFIX): Likewise.
38990 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38991 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38993 (_G_VTABLE_LABEL_PREFIX): Likewise.
38994 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38995 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38997 (_G_VTABLE_LABEL_PREFIX): Likewise.
38998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39000 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39002 * libio/Makefile: Include ../Makeconfig before tests.
39003 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39004 only if $(build-shared) is yes.
39006 * iconv/gconv_db.c: Update copyright years.
39008 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39010 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39011 unwind info if defined PIC. Fix special cases description.
39012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39014 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39016 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39018 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39020 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39022 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39025 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39026 (LDLIBS-tst-chk4): This.
39027 (LDFLAGS-tst-chk5): Renamed to ...
39028 (LDLIBS-tst-chk5): This.
39029 (LDFLAGS-tst-chk6): Renamed to ...
39030 (LDLIBS-tst-chk6): This.
39031 (LDFLAGS-tst-lfschk4): Renamed to ...
39032 (LDLIBS-tst-lfschk4): This.
39033 (LDFLAGS-tst-lfschk5): Renamed to ...
39034 (LDLIBS-tst-lfschk5): This.
39035 (LDFLAGS-tst-lfschk6): Renamed to ...
39036 (LDLIBS-tst-lfschk6): This.
39038 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39039 on $(common-objpfx)soversions.mk.
39041 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39044 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39047 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39049 * malloc/arena.c (arena_get_retry): New function that gets
39050 another arena for the caller to try its request on.
39051 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39052 current arena cannot fulfill the request.
39053 (__libc_memalign): Likewise.
39054 (__libc_memalign): Likewise.
39055 (__libc_pvalloc): Likewise.
39056 (__libc_calloc): Likewise.
39058 2012-09-05 John Tobey <john.tobey@gmail.com>
39061 * manual/arith.texi (Operations on Complex): Fix description
39062 of carg branch cut.
39064 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39067 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39071 * manual/memory.texi (Memory): Make order of menu items match
39074 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39076 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39077 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39078 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39080 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39082 * csu/libc-tls.c (static_dtv): Renamed to ...
39083 (_dl_static_dtv): This. Make it global.
39084 (_dl_initial_dtv): Removed.
39085 (__libc_setup_tls): Updated.
39086 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39087 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39090 2012-09-06 Petr Machata <pmachata@redhat.com>
39092 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39093 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39094 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39095 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39097 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39100 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39101 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39104 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39107 * Makeconfig (link-static-before-libc): Replace $(+prector)
39109 (link-static-after-libc): Replace $(+postctor) with
39111 (link-bounded): Replace $(+prector)/$(+postctor) with
39112 $(+prectorT)/$(+postctorT).
39113 (+prectorT): New macro.
39114 (+postctorT): Likewise.
39116 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39118 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39119 (round_str): Handle values above the maximum for IBM long double
39121 * stdlib/tst-strtod-round.c (tests): Regenerated.
39123 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39125 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39127 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39128 zarch_nohighgprs around the zarch optimized routines.
39129 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39130 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39134 2012-09-05 David S. Miller <davem@davemloft.net>
39136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39138 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39139 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39140 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39141 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39144 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39146 * malloc/arena.c: Fold copyright years.
39147 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39149 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39151 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39153 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39155 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39157 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39160 change internal state upon failure.
39162 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39164 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39165 * malloc/memusage.c (mmap): Likewise.
39166 (mmap64, mremap): Likewise. Adjust name in comment.
39168 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39170 * libio/fileops.c: Fix typos in comments.
39171 * libio/oldfileops.c: Likewise.
39172 * libio/wfileops.c: Likewise.
39174 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39177 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39178 (tst-malloc-usable-ENV): Set environment for test case.
39179 * malloc/hooks.c (malloc_check_get_size): New function to get
39181 * malloc/malloc.c (musable): Use malloc_check_get_size.
39182 * malloc/tst-malloc-usable.c: New test case.
39184 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39186 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39188 2012-09-05 Allan McRae <allan@archlinux.org>
39191 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39192 determine header location.
39193 * configure: Regenerated.
39195 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39197 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39199 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39200 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39202 (test): Regenerate.
39204 2012-09-04 David S. Miller <davem@davemloft.net>
39206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39210 2012-09-04 Florian Weimer <fweimer@redhat.com>
39212 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39215 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39217 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39220 * libio/iogetdelim.c: Include <limits.h>.
39221 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39222 + len + 1 would overflow.
39224 2012-09-03 Andreas Jaeger <aj@suse.de>
39226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39227 * sysdeps/i386/fpu/libm-test-ulps: Update.
39229 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39231 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39232 Add s_sinf-sse2, s_conf-sse2.
39234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39236 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39237 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39239 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39240 for using routine as __sinf_ia32.
39241 Use macro for function declaration and weak_alias.
39242 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39243 for using routine as __cosf_ia32.
39244 Use macro for function declaration and weak_alias.
39246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39247 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39249 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39250 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39253 * math/libm-test.inc (cos_test): Add more test cases.
39254 (sin_test): Likewise.
39255 (sincos_test): Likewise.
39257 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39260 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39264 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39267 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39268 first element of the GOT.
39269 (elf_machine_load_address): Return the difference between
39270 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39272 2012-09-01 Allan McRae <allan@archlinux.org>
39275 * configure.in (AWK): Require gawk version 3.0 or later.
39276 * configure: Regenerated.
39278 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39280 * sysdeps/unix/sysv/linux/kernel-features.h
39281 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39283 [__NR_clock_getres]: Make code unconditional.
39284 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39285 (clock_getcpuclockid): Remove code left unreachable by removal of
39287 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39288 code unconditional.
39289 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39291 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39292 Make code unconditional.
39293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39295 * sysdeps/unix/sysv/linux/clock_settime.c
39296 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39298 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39301 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39304 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39305 scripts/test-installation.pl.
39307 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39308 and $ld_so_version if it is set.
39310 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39314 failure if reading from procfs failed.
39315 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39317 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39319 * sysdeps/unix/sysv/linux/kernel-features.h
39320 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39321 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39322 Remove conditional code.
39323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39324 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39325 Remove conditional code.
39326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39327 * sysdeps/unix/sysv/linux/i386/fxstat.c
39328 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39330 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39333 * sysdeps/unix/sysv/linux/i386/lxstat.c
39334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39336 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39337 Remove conditional code.
39338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39339 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39340 Remove conditional code.
39341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39342 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39343 <kernel-features.h>.
39344 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39346 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39347 Remove conditional code.
39348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39349 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39350 Remove conditional.
39352 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39355 * NEWS: Add fixed bug number.
39357 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39360 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39361 underflowing exponent in case of negative sign.
39362 * stdlib/tst-strtod-round-data: Add more tests.
39363 * stdlib/tst-strtod-round.c (tests): Regenerated.
39366 * stdlib/strtod_l.c (NDIG): Remove.
39367 (HEXNDIG): Likewise.
39368 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39369 smallest representable value.
39370 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39371 lie within an exact representation of 1/2 ulp of the result.
39372 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39374 (TENS_P9_IDX): Define unconditionally.
39375 (TENS_P9_SIZE): Likewise.
39376 (TENS_P10_IDX): Likewise.
39377 (TENS_P10_SIZE): Likewise.
39378 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39379 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39380 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39381 entries for 10^2^13 and 10^2^14.
39382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39383 (TENS_P13_IDX): Define.
39384 (TENS_P13_SIZE): Likewise.
39385 (TENS_P14_IDX): Likewise.
39386 (TENS_P14_SIZE): Likewise.
39387 (_fpioconst_pow10): Change array size to
39388 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39390 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39391 1024]: Add entries for 10^2^13 and 10^2^14.
39392 [LAST_POW10 > _LAST_POW10]: Remove #error.
39393 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39394 (_fpioconst_pow10): Change array size to
39395 FPIOCONST_POW10_ARRAY_SIZE.
39396 * stdlib/gen-fpioconst.c: New file.
39397 * stdlib/gen-tst-strtod-round.c: Likewise.
39398 * stdlib/tst-strtod-round-data: Likewise.
39399 * stdlib/tst-strtod-round.c: Likewise.
39400 * stdlib/Makefile (tests): Add tst-strtod-round.
39403 * stdlib/strtod_l.c: Include <stdint.h>.
39404 (NDEBUG): Do not define.
39405 (round_and_return): Change EXPONENT parameter to type intmax_t.
39406 Rearrange calculations to avoid internal overflow possibilities.
39407 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39408 Rearrange calculations to avoid internal overflow possibilities.
39409 Assert that number fits inside MPNSIZE limbs.
39410 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39411 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39412 calculations and add assertions to avoid internal overflow
39413 possibilities. Add casts to avoid signed/unsigned operations.
39414 * stdlib/tst-strtod-overflow.c: New file.
39415 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39417 2012-08-25 Marek Polacek <polacek@redhat.com>
39419 * time/time.h: Fix some typos in comments.
39421 2012-08-23 Roland McGrath <roland@hack.frob.com>
39423 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39424 * posix/tst-rfc3484-2.c: Likewise.
39425 * posix/tst-rfc3484-3.c: Likewise.
39427 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39429 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39430 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39432 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39434 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39435 #include of fxstatat64.c.
39437 2012-08-22 Roland McGrath <roland@hack.frob.com>
39439 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39440 * shadow/getspent_r.c: Likewise.
39441 * shadow/getspnam.c: Likewise.
39442 * shadow/getspnam_r.c: Likewise.
39443 * gshadow/getsgent.c: Likewise.
39444 * gshadow/getsgent_r.c: Likewise.
39445 * gshadow/getsgnam.c: Likewise.
39446 * gshadow/getsgnam_r.c: Likewise.
39447 * inet/getnetbyad.c: Likewise.
39448 * inet/getnetbyad_r.c: Likewise.
39449 * inet/getnetbynm.c: Likewise.
39450 * inet/getnetbynm_r.c: Likewise.
39451 * inet/getnetent.c: Likewise.
39452 * inet/getnetent_r.c: Likewise.
39453 * inet/getproto.c: Likewise.
39454 * inet/getproto_r.c: Likewise.
39455 * inet/getprtent.c: Likewise.
39456 * inet/getprtent_r.c: Likewise.
39457 * inet/getprtname.c: Likewise.
39458 * inet/getprtname_r.c: Likewise.
39459 * inet/getrpcbyname.c: Likewise.
39460 * inet/getrpcbyname_r.c: Likewise.
39461 * inet/getrpcbynumber.c: Likewise.
39462 * inet/getrpcbynumber_r.c: Likewise.
39463 * inet/getrpcent.c: Likewise.
39464 * inet/getrpcent_r.c: Likewise.
39465 * inet/getaliasent.c: Likewise.
39466 * inet/getaliasent_r.c: Likewise.
39467 * inet/getaliasname.c: Likewise.
39468 * inet/getaliasname_r.c: Likewise.
39469 * nscd/getgrgid_r.c: Likewise.
39470 * nscd/getgrnam_r.c: Likewise.
39471 * nscd/gethstbyad_r.c: Likewise.
39472 * nscd/gethstbynm3_r.c: Likewise.
39473 * nscd/getpwnam_r.c: Likewise.
39474 * nscd/getpwuid_r.c: Likewise.
39475 * nscd/getsrvbynm_r.c: Likewise.
39476 * nscd/getsrvbypt_r.c: Likewise.
39477 * nscd/gai.c: Likewise.
39479 * configure.in (build_nscd): New substituted variable, set
39480 by --disable-build-nscd and defaults to $use_nscd.
39481 * configure: Regenerated.
39482 * config.make.in (build-nscd): New substituted variable.
39483 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39484 Change conditional to require [$(build-nscd) = yes] as well.
39485 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39488 * configure.in (use_nscd): New substituted variable, set by
39489 --disable-nscd. If enabled, define USE_NSCD.
39490 * configure: Regenerated.
39491 * config.h.in: Add USE_NSCD.
39492 * config.make.in (use-nscd): New substituted variable.
39493 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39494 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39495 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39496 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39497 (CFLAGS-getgrnam_r.c): Likewise.
39498 (CFLAGS-initgroups.c): Likewise.
39499 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39500 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39502 * inet/getnetgrent_r.c
39503 (nscd_setnetgrent): New function, broken out of ...
39504 (setnetgrent): ... here. Call it.
39505 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39506 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39507 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39508 * nscd/Makefile (routines, aux): Move definitions after include of
39509 Makeconfig. Conditionalize on [$(use-nscd) != no].
39510 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39511 Conditionalize on [USE_NSCD].
39512 (is_nscd, nscd_init_cb): Likewise.
39513 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39514 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39515 * nss/nss_db/db-init.c: Likewise.
39516 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39518 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39519 (make_request): Use it.
39520 (cache_valid_p): New function.
39521 (__check_pf): Use it.
39522 * NEWS: Add item for --disable-nscd.
39524 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39526 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39527 to support sed >= 4.2.1-20-ga9bf076.
39528 * configure: Regenerated.
39530 2012-08-22 Roland McGrath <roland@hack.frob.com>
39532 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39533 Conditionalize whole body on [IREL].
39535 2012-08-22 Jeff Law <law@redhat.com>
39538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39539 if the family is PF_UNSPEC.
39541 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39543 * Makerules (lib-version): Rename from V.
39544 (install-lib-nosubdir): Change V to lib-version.
39546 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39549 * powerpc32/power6/wcschr.c: New file.
39550 * powerpc32/power6/wcscpy.c: New file.
39551 * powerpc32/power6/wcsrchr.c: New file.
39552 * powerpc64/power6/wcschr.c: New file.
39553 * powerpc64/power6/wcscpy.c: New file.
39554 * powerpc64/power6/wcsrchr.c: New file.
39556 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39558 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39559 (two_way_short_needle): Use it.
39560 * string/strstr.c (AVAILABLE1_USES_J): Define.
39561 * string/strcasestr.c: Likewise.
39563 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39565 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39568 * NEWS: Add an entry.
39569 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39570 define their defaults.
39571 (two_way_short_needle): Detect end-of-string on-the-fly.
39572 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39573 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39574 * string/bug-strcasestr1.c: New test.
39575 * string/Makefile: Run it.
39577 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39580 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39581 the first character.
39583 2012-08-21 Roland McGrath <roland@hack.frob.com>
39585 * csu/elf-init.c (__libc_csu_irel): Function removed.
39586 * csu/libc-start.c (apply_irel): New function.
39587 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39589 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39591 * sysdeps/unix/sysv/linux/kernel-features.h
39592 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39593 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39594 <kernel-features.h>.
39595 [__NR_fadvise64_64]: Make code unconditional.
39596 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39597 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39598 !__NR_fadvise64_64)]: Likewise.
39599 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39600 !__NR_fadvise64_64))]: Likewise.
39601 [__NR_fadvise64]: Make code unconditional.
39602 [!__NR_fadvise64]: Remove conditional code.
39603 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39604 <kernel-features.h>.
39605 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39607 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39610 not include <kernel-features.h>.
39611 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39613 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39615 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39616 include <kernel-features.h>.
39617 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39619 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39622 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39624 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39625 slight instruction rearrangements per scrollpipe analysis.
39626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39628 2012-08-20 Roland McGrath <roland@hack.frob.com>
39630 * manual/syslog.texi (syslog; vsyslog, closelog):
39631 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39632 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39634 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39635 DSOCAPS to match condition on defining it.
39637 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39639 * sysdeps/unix/sysv/linux/kernel-features.h
39640 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39642 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39643 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39651 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39652 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39654 * sysdeps/unix/sysv/linux/kernel-features.h
39655 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39656 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39658 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39659 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39662 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39663 Make code unconditional.
39664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39665 (__mmap64) [!__NR_mmap2]: Likewise.
39666 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39667 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39668 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39670 [__NR_mmap2]: Make code unconditional.
39671 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39672 (__mmap64) [!__NR_mmap2]: Likewise.
39674 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39676 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39678 2012-08-18 Andreas Jaeger <aj@suse.de>
39680 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39682 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39684 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39685 * include/unistd.h (__have_sock_cloexec): Likewise.
39686 (__have_pipe2): Likewise.
39687 (__have_dup3): Likewise.
39689 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39692 * include/unistd.h (__have_pipe2): Change define into an extern int.
39693 (__have_dup3): Likewise.
39694 * socket/have_sock_cloexec.c: Include fcntl.h.
39695 (__have_pipe2): New variable.
39696 (__have_dup3): Likewise.
39698 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39700 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39702 2012-08-17 Marek Polacek <polacek@redhat.com>
39704 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39705 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39707 2012-08-17 Roland McGrath <roland@hack.frob.com>
39709 * configure.in: Add AC_SUBST for sysheaders.
39710 * configure: Regenerated.
39711 * config.make.in (sysheaders): New substituted variable.
39713 * sysdeps/unix/mkfifo.c: Moved ...
39714 * sysdeps/posix/mkfifo.c: ... here.
39715 * sysdeps/unix/mkfifoat.c: Moved ...
39716 * sysdeps/posix/mkfifoat.c: ... here.
39718 * sysdeps/unix/utime.c: Moved ...
39719 * sysdeps/posix/utime.c: ... here.
39721 * sysdeps/unix/time.c: Moved ...
39722 * sysdeps/posix/time.c: ... here.
39723 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39724 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39726 * sysdeps/unix/nice.c: Moved ...
39727 * sysdeps/posix/nice.c: ... here.
39729 * sysdeps/unix/alarm.c: Moved ...
39730 * sysdeps/posix/alarm.c: ... here.
39732 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39734 2012-08-17 Jeff Law <law@redhat.com>
39736 * intl/Makefile (codeset_mo): New variable.
39737 ($(codeset_mo)): New target.
39738 (tst-codeset.out): Depend on that. Remove explicit rule.
39739 (tst-gettext3.out, tst-gettext5.out): Likewise.
39740 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39741 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39742 * intl/tst-codeset.sh: Remove.
39743 * intl/tst-gettext3.sh: Likewise.
39744 * intl/tst-gettext5.sh: Likewise.
39746 2012-08-17 Roland McGrath <roland@hack.frob.com>
39748 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39749 * sysdeps/unix/syscalls.list: ... here.
39751 * sysdeps/posix/getaddrinfo.c
39752 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39753 (gaiconf_init, gaiconf_reload): Use them.
39754 [!_STATBUF_ST_NSEC]
39755 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39756 Define using time_t rather than struct timespec.
39758 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39759 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39761 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39763 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39764 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39768 __libc_cleanup_push argument.
39770 * bits/param.h: New file.
39771 * misc/sys/param.h: New file.
39772 * include/sys/param.h: New file.
39773 * misc/Makefile (headers): Add bits/param.h.
39774 * sysdeps/generic/sys/param.h: File removed.
39775 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39776 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39777 * sysdeps/mach/hurd/bits/param.h: New file.
39778 * sysdeps/mach/hurd/sys/param.h: File removed.
39780 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39783 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39785 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39786 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39789 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39790 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39791 rather than -D_IO_MTSAFE_IO conditionally.
39792 * stdio-common/Makefile (CPPFLAGS): Likewise.
39793 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39794 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39795 Use $(libio-mtsafe).
39796 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39797 of -D_IO_MTSAFE_IO.
39798 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39799 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39800 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39801 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39802 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39803 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39804 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39805 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39806 (CFLAGS-fread_u_chk.c): Likewise.
39807 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39808 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39809 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39810 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39811 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39812 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39813 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39814 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39815 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39817 * libio/Makefile: Test [$(libc-reentrant) = yes]
39818 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39821 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39822 * sysdeps/pthread/configure: File removed.
39823 * sysdeps/pthread/Makeconfig: New file.
39824 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39825 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39827 2012-08-16 Gary Benson <gbenson@redhat.com>
39829 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39830 unmapping the first object in a namespace.
39832 2012-08-16 Roland McGrath <roland@hack.frob.com>
39834 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39835 (__internal_setnetgrent): ... this. Add internal_function to
39836 definition. Add libc_hidden_def.
39837 (setnetgrent): Update caller.
39838 (internal_endnetgrent): Renamed to ...
39839 (__internal_endnetgrent): ... this. Add internal_function to
39840 definition. Add libc_hidden_def.
39841 (endnetgrent): Update caller.
39842 (internal_getnetgrent_r): Renamed to ...
39843 (__internal_getnetgrent_r): ... this. Add internal_function to
39844 definition. Add libc_hidden_def.
39845 (__getnetgrent_r): Update caller.
39846 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39848 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39850 * stdlib/longlong.h: Update from GCC.
39852 2012-08-16 Roland McGrath <roland@hack.frob.com>
39854 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39855 on _QL, which is set by umul_ppmm but never used.
39856 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39857 variables, which are set by GMP macros but never used.
39858 * stdio-common/_itowa.c (_itowa): Likewise.
39859 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39860 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39862 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39864 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39865 struct La_sh_regs is not constant.
39866 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39867 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39868 and struct La_sparc64_regs are not constant.
39870 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39872 * sysdeps/unix/sysv/linux/kernel-features.h
39873 (__ASSUME_POSIX_TIMERS): Remove.
39874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39876 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39877 Make code unconditional.
39878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39879 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39880 Make code unconditional.
39881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39882 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39883 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39885 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39886 Make code unconditional.
39887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39888 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39889 (__libc_missing_posix_timers): Remove.
39891 2012-08-15 Roland McGrath <roland@hack.frob.com>
39893 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39894 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39896 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39898 * elf/dl-sym.c: Include <stdlib.h>.
39900 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39901 constants, which avoids warnings in 32-bit builds.
39903 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39904 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39906 * misc/lseek.c: File moved to ...
39907 * io/lseek.c: ... here.
39909 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39911 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39912 shifting LEN more than 31 bits at once.
39914 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39917 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39918 segmentation fault for a case of two empty input strings.
39919 * string/test-strncasecmp.c (check1): Renamed to...
39920 (bz12205): ...this.
39921 (bz14195): Add new testcase for two empty input strings and N > 0.
39922 (test_main): Call new testcase, adapt for renamed function.
39924 2012-08-15 Andreas Jaeger <aj@suse.de>
39927 * crypt/md5test2.c: New test, based on test supplied by Serge
39928 Belyshev <belyshev@depni.sinp.msu.ru>.
39929 * crypt/Makefile (xtests): Add md5test-giant..
39930 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39932 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39935 * crypt/md5.c (md5_process_block): Don't assume the buffer
39936 length is less than 2**32.
39937 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39938 length is less than 2**64.
39940 2012-08-15 Roland McGrath <roland@hack.frob.com>
39942 * string/str-two-way.h: Include <sys/param.h>.
39943 (MAX): Macro removed.
39945 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39946 Move #define and #undef of memmove to just before and after
39947 including <string.h>.
39949 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39950 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39951 and after including <string.h>. Move declarations of
39952 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39953 to before #include "string/memmove.c".
39955 * include/dirent.h: Declare __getdirentries.
39957 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39958 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39960 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39962 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39963 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39964 * sysdeps/i386/configure: Regenerated.
39965 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39966 STABS_CURRENT_FILE, and STABS_FUN.
39967 (END): Remove call to STABS_FUN_END.
39968 (STABS_CURRENT_FILE1): Delete.
39969 (STABS_CURRENT_FILE): Likewise.
39970 (STABS_FUN): Likewise.
39971 (STABS_FUN_END): Likewise.
39972 (STABS_FUN2): Likewise.
39973 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39974 * sysdeps/x86_64/configure: Regenerated.
39976 2012-08-14 Roland McGrath <roland@hack.frob.com>
39978 * elf/dl-open.c: Include <atomic.h>.
39979 * elf/dl-lookup.c: Likewise.
39981 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39983 * sysdeps/unix/sysv/linux/kernel-features.h
39984 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39985 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39987 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39989 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39990 condition on __ASSUME_CLONE_THREAD_FLAGS.
39992 2012-08-14 Andreas Jaeger <aj@suse.de>
39994 * sysdeps/i386/fpu/libm-test-ulps: Update.
39996 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39998 * include/atomic.h (atomic_exchange_and_add): Split into ...
39999 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40002 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40006 2012-08-13 Jeff Law <law@redhat.com>
40008 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40009 null byte in the output string.
40011 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40013 * sysdeps/unix/sysv/linux/kernel-features.h
40014 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40015 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40016 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40018 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40019 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40020 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40022 2012-08-09 Jeff Law <law@redhat.com>
40025 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40026 When avoid_arena is set, don't retry in the that arena. Pick the
40027 next one, whatever it might be.
40028 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40029 (arena_lock): Pass in new parameter to arena_get2.
40030 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40032 (__libc_malloc): Unify retrying after main arena failure with
40033 __libc_memalign version.
40034 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40036 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40039 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40040 to __redirect_strstr.
40041 (__strstr_sse42): Use typeof __redirect_strstr.
40042 (__strstr_ia32): Likewise.
40043 (__libc_strstr): New prototype.
40044 (strstr): Renamed to ...
40045 (__libc_strstr): This.
40046 (strstr): New strong alias of __libc_strstr.
40047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40048 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40051 (__libc_time): New prototype.
40052 (time_ifunc): Replace time with __libc_time.
40053 (time): New strong alias and hidden definition of __libc_time.
40054 (__GI_time): Remove strong alias.
40055 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40056 Include <stddef.h>.
40057 (memmove): Redefined to __redirect_memmove.
40058 (__memmove_sse2): Use typeof __redirect_memmove.
40059 (__memmove_ssse3): Likewise.
40060 (__memmove_ssse3_back): Likewise.
40061 (__libc_memmove): New prototype.
40062 (memmove): Renamed to ...
40063 (__libc_memmove): This.
40064 (memmove): New strong alias of __libc_memmove.
40066 2012-08-08 Mark Salter <msalter@redhat.com>
40069 (R_MN10300_TLS_GD): Define.
40070 (R_MN10300_TLS_LD): Likewise.
40071 (R_MN10300_TLS_LDO): Likewise.
40072 (R_MN10300_TLS_GOTIE): Likewise.
40073 (R_MN10300_TLS_IE): Likewise.
40074 (R_MN10300_TLS_LE): Likewise.
40075 (R_MN10300_TLS_DTPMOD): Likewise.
40076 (R_MN10300_TLS_DTPOFF): Likewise.
40077 (R_MN10300_TLS_TPOFF): Likewise.
40078 (R_MN10300_SYM_DIFF): Likewise.
40079 (R_MN10300_ALIGN): Likewise.
40080 (R_MN10300_NUM): Update.
40082 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40087 2012-08-08 Roland McGrath <roland@hack.frob.com>
40089 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40091 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40092 sysdeps/unix -> sysdeps/posix move.
40093 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40095 2012-08-07 Allan McRae <allan@archlinux.org>
40098 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40099 (SUNOS_CPP): Likewise.
40100 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40102 (open_input): Call CPP using execvp.
40104 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40106 * sysdeps/unix/sysv/linux/kernel-features.h
40107 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40108 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40109 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40110 (__ASSUME_WAITID_SYSCALL): Likewise.
40111 * sysdeps/unix/sysv/linux/dl-execstack.c
40112 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40113 code unconditional.
40114 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40117 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40118 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40120 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40122 [__ASSUME_WAITID_SYSCALL]: Likewise.
40123 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40125 2012-08-07 Roland McGrath <roland@hack.frob.com>
40127 * sysdeps/unix/closedir.c: Renamed to ...
40128 * sysdeps/posix/closedir.c: ... here.
40129 * sysdeps/unix/dirfd.c: Renamed to ...
40130 * sysdeps/posix/dirfd.c: ... here.
40131 * sysdeps/unix/dirstream.h: Renamed to ...
40132 * sysdeps/posix/dirstream.h: ... here.
40133 * sysdeps/unix/fdopendir.c: Renamed to ...
40134 * sysdeps/posix/fdopendir.c: ... here.
40135 * sysdeps/unix/opendir.c: Renamed to ...
40136 * sysdeps/posix/opendir.c: ... here.
40137 * sysdeps/unix/readdir.c: Renamed to ...
40138 * sysdeps/posix/readdir.c: ... here.
40139 * sysdeps/unix/readdir_r.c: Renamed to ...
40140 * sysdeps/posix/readdir_r.c: ... here.
40141 * sysdeps/unix/rewinddir.c: Renamed to ...
40142 * sysdeps/posix/rewinddir.c: ... here.
40143 * sysdeps/unix/seekdir.c: Renamed to ...
40144 * sysdeps/posix/seekdir.c: ... here.
40145 * sysdeps/unix/telldir.c: Renamed to ...
40146 * sysdeps/posix/telldir.c: ... here.
40147 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40148 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40149 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40150 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40152 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40153 * bits/fcntl.h: ... here.
40155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40157 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40158 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40159 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40160 (struct flock): Move l_start, l_len to the beginning.
40161 Use __pid_t for l_pid.
40162 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40163 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40164 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40165 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40166 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40167 [__USE_LARGEFILE64] (struct flock64): New type.
40168 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40170 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40171 * bits/dirent.h: ... here.
40173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40174 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40176 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40179 Change from 2.6.0 to 2.6.16.
40180 * sysdeps/unix/sysv/linux/configure: Regenerated.
40181 * sysdeps/unix/sysv/linux/kernel-features.h
40182 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40183 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40185 (__ASSUME_UTIMES): Likewise.
40186 (__ASSUME_CLONE_STOPPED): Remove.
40187 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40188 architectures, not kernel version.
40189 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40192 (__ASSUME_WAITID_SYSCALL): Likewise.
40193 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40194 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40195 * README: State 2.6.16 as minimum Linux kernel version. Do not
40196 refer to older versions.
40198 2012-08-06 Roland McGrath <roland@hack.frob.com>
40200 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40201 Define alphasort64 as an alias.
40202 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40203 Define versionsort64 as an alias.
40204 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40205 Define scandir64 as an alias.
40206 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40207 Define scandirat64 as an alias.
40208 * dirent/alphasort64.c (alphasort64):
40209 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40210 * dirent/versionsort64.c: Likewise.
40211 * dirent/scandir64.c: Likewise.
40212 * dirent/scandirat64.c: Likewise.
40213 * sysdeps/wordsize-64/alphasort.c: File removed.
40214 * sysdeps/wordsize-64/alphasort64.c: File removed.
40215 * sysdeps/wordsize-64/scandir.c: File removed.
40216 * sysdeps/wordsize-64/scandir64.c: File removed.
40217 * sysdeps/wordsize-64/scandirat.c: File removed.
40218 * sysdeps/wordsize-64/scandirat64.c: File removed.
40219 * sysdeps/wordsize-64/versionsort.c: File removed.
40220 * sysdeps/wordsize-64/versionsort64.c: File removed.
40221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40230 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40232 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40234 [defined __arch64__ || defined __sparcv9]
40235 (__INO_T_MATCHES_INO64_T): New macro.
40236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40237 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40238 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40239 * sysdeps/unix/sysv/linux/bits/dirent.h
40240 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40241 (_DIRENT_MATCHES_DIRENT64): New macro.
40243 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40244 Define lockf64 as an alias.
40245 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40246 Define fseeko64 as an alias.
40247 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40248 Define ftello64 as an alias.
40249 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40250 Define _IO_fgetpos64 and fgetpos64 as aliases.
40251 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40252 Define _IO_fsetpos64 and fsetpos64 as aliases.
40253 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40254 Conditionalize body on this.
40255 * libio/fseeko64.c: Likewise.
40256 * libio/ftello64.c: Likewise.
40257 * libio/iofgetpos64.c: Likewise.
40258 * libio/iofsetpos64.c: Likewise.
40259 * sysdeps/wordsize-64/lockf.c: File removed.
40260 * sysdeps/wordsize-64/lockf64.c: File removed.
40261 * sysdeps/wordsize-64/fseeko.c: File removed.
40262 * sysdeps/wordsize-64/fseeko64.c: File removed.
40263 * sysdeps/wordsize-64/ftello.c: File removed.
40264 * sysdeps/wordsize-64/ftello64.c: File removed.
40265 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40266 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40267 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40268 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40280 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40282 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40284 [defined __arch64__ || defined __sparcv9]
40285 (__OFF_T_MATCHES_OFF64_T): New macro.
40286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40287 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40289 (__OFF_T_MATCHES_OFF64_T): New macro.
40291 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40293 * stdlib/secure-getenv.c (__secure_getenv): Replace
40294 GLIBC_2_16 with GLIBC_2_17.
40296 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40301 2012-08-03 David S. Miller <davem@davemloft.net>
40303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40305 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40309 (__ASSUME_CORRECT_SI_PID): Likewise.
40310 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40311 (__ASSUME_TMPFS_NAME): Likewise.
40312 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40313 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40314 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40315 (HAVE_AUX_SECURE): Make definition unconditional.
40316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40317 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40319 2012-08-03 Roland McGrath <roland@hack.frob.com>
40321 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40322 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40323 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40325 __eloop_threshold instead of SYMLOOP_MAX.
40327 * sysdeps/generic/eloop-threshold.h: New file.
40328 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40330 * elf/chroot_canon.c (chroot_canon): Likewise.
40332 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40336 Change to 2.6.0 everywhere.
40337 * sysdeps/unix/sysv/linux/configure: Regenerated.
40338 * sysdeps/unix/sysv/linux/kernel-features.h
40339 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40340 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40342 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40343 (__ASSUME_FUTEX_REQUEUE): Remove.
40344 (__ASSUME_STATFS64): Define unconditionally.
40345 (__ASSUME_AT_SECURE): Likewise.
40346 (__ASSUME_CORRECT_SI_PID): Likewise.
40347 (__ASSUME_TGKILL): Define without depending on kernel version for
40349 (__ASSUME_UTIMES): Likewise.
40350 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40352 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40353 (__ASSUME_TMPFS_NAME): Likewise.
40354 * README: Update reference to Linux kernel versions.
40356 2012-08-02 Marek Polacek <polacek@redhat.com>
40359 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40360 libc_cv_asm_type_prefix with %.
40361 * configure: Regenerated.
40362 * include/libc-symbols.h: Remove comment about
40363 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40364 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40365 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40366 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40367 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40368 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40371 * elf/tst-unique2mod1.c: Likewise.
40372 * elf/tst-unique1mod2.c: Likewise.
40373 * elf/tst-unique1mod1.c: Likewise.
40374 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40375 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40376 Replace ASM_TYPE_DIRECTIVE with .type.
40377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40378 * sysdeps/i386/sysdep.h: Likewise.
40379 * sysdeps/x86_64/sysdep.h: Likewise.
40380 * sysdeps/sh/sysdep.h: Likewise.
40381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40382 Do not define ASM_TYPE_DIRECTIVE.
40383 * sysdeps/powerpc/sysdep.h: Likewise.
40384 * sysdeps/powerpc/powerpc32/sysdep.h:
40385 Replace ASM_TYPE_DIRECTIVE with .type.
40386 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40388 * sysdeps/i386/fpu/e_powf.S: Likewise.
40389 * sysdeps/i386/fpu/e_expl.S: Likewise.
40390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40391 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40392 * sysdeps/i386/fpu/e_pow.S: Likewise.
40393 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40395 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40396 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40397 * sysdeps/i386/fpu/e_log2.S: Likewise.
40398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40400 * sysdeps/i386/fpu/e_powl.S: Likewise.
40401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40403 * sysdeps/i386/fpu/e_logl.S: Likewise.
40404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40409 * sysdeps/i386/fpu/e_log.S: Likewise.
40410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40411 * sysdeps/i386/fpu/e_logf.S: Likewise.
40412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40415 * sysdeps/i386/fpu/e_log10.S: Likewise.
40416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40421 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40423 * sysdeps/i386/i686/strtok.S: Likewise.
40424 * sysdeps/i386/i386-mcount.S: Likewise.
40425 * sysdeps/i386/strtok.S: Likewise.
40426 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40430 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40435 * sysdeps/x86_64/_mcount.S: Likewise.
40436 * sysdeps/x86_64/strtok.S: Likewise.
40437 * sysdeps/sh/_mcount.S: Likewise.
40439 2012-08-01 Roland McGrath <roland@hack.frob.com>
40441 * libio/iofopen.c: Include <fcntl.h>.
40442 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40443 (_IO_fopen64, fopen64): Define as aliases.
40444 * libio/iofopen64.c: Include <fcntl.h>.
40445 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40446 Conditionalize body on this.
40447 * sysdeps/wordsize-64/iofopen.c: File removed.
40448 * sysdeps/wordsize-64/iofopen64.c: File removed.
40450 2012-08-01 Marek Polacek <polacek@redhat.com>
40452 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40453 Use dlfcn directly instead of a variable.
40454 (binfmt-subdir): Do not define.
40457 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40460 Remove all definitions.
40461 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40462 <kernel-features.h>.
40463 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40464 (miss_F_GETOWN_EX): Remove all definitions.
40465 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40467 [!__ASSUME_FCNTL64]: Remove conditional code.
40468 [__ASSUME_FCNTL64]: Make code unconditional.
40469 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40470 <kernel-features.h>.
40471 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40472 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40473 (lockf64) [__NR_fcntl64]: Make code unconditional.
40474 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40476 * sysdeps/unix/sysv/linux/kernel-features.h
40477 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40478 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40479 Make code unconditional.
40480 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40481 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40483 [__NR_vfork]: Make code unconditional.
40484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40487 [__NR_vfork]: Make code unconditional.
40488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40491 2012-08-01 Roland McGrath <roland@hack.frob.com>
40493 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40494 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40496 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40497 Define mkstemp64 as an alias.
40498 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40499 Define mkstemps64 as an alias.
40500 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40501 Define mkostemp64 as an alias.
40502 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40503 Define mkostemps64 as an alias.
40504 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40505 Conditionalize body on this.
40506 * misc/mkostemp64.c: Likewise.
40507 * misc/mkostemps64.c: Likewise.
40508 * misc/mkstemps64.c: Likewise.
40509 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40510 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40511 * sysdeps/wordsize-64/mkostemp.c: File removed.
40512 * sysdeps/wordsize-64/mkstemp.c: File removed.
40513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40519 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40520 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40521 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40522 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40524 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40525 compat_symbol macros from <shlib-compat.h> rather than the underlying
40526 default_symbol_version and symbol_version macros, so that DEFAULT
40527 lines in shlib-versions are respected.
40528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40530 2012-08-01 Florian Weimer <fweimer@redhat.com>
40532 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40533 Declare with warn_unused_result.
40534 (setgid, setregid, setegid, setresgid): Likewise.
40535 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40537 * WUR-REPORT: Remove set*id functions.
40539 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40541 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40543 2012-07-31 Roland McGrath <roland@hack.frob.com>
40546 * include/sys/socket.h (__libc_accept, __libc_accept4):
40547 Add attribute_hidden.
40548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40552 * inet/getnetgrent_r.c (setup): Likewise.
40554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40556 2012-07-31 David S. Miller <davem@davemloft.net>
40558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40560 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40564 value between 1.0 and 2.0 and smaller part has absolute value less
40566 * math/s_clog10.c (__clog10): Likewise.
40567 * math/s_clog10f.c (__clog10f): Likewise.
40568 * math/s_clog10l.c (__clog10l): Likewise.
40569 * math/s_clogf.c (__clogf): Likewise.
40570 * math/s_clogl.c (__clogl): Likewise.
40571 * math/libm-test.inc (clog_test): Add more tests.
40572 (clog10_test): Likewise.
40573 * sysdeps/i386/fpu/libm-test-ulps: Update.
40574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40576 2012-07-31 Florian Weimer <fweimer@redhat.com>
40578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40579 Exit with zero in case no suitable GID is found, and write a
40580 message to standard error.
40582 2012-07-30 Roland McGrath <roland@hack.frob.com>
40584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40587 (MAXPATHLEN): Removed.
40588 (NOGROUP, NODEV): New macros.
40589 (setbit, clrbit, isset, isclr): New macros.
40590 (howmany, roundup, powerof2): New macros.
40591 (DEV_BSIZE): New macro.
40593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40597 definition on [!__NO_LONG_DOUBLE_MATH].
40599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40600 PTR_MANGLE and PTR_DEMANGLE.
40602 * socket/accept4.c (accept4): Rename to __libc_accept4.
40603 Define accept4 as a weak alias.
40605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40606 on [_DIRENT_HAVE_D_TYPE].
40607 * io/ftw.c (ftw_dir): Likewise.
40609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40614 Use the BSD numbers rather than the arbitrary ones we had.
40615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40617 (SIGXCPU, SIGXFSZ): New macros.
40620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40621 initializer on [_LIBC_REENTRANT].
40623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40624 definitions inside [_POSIX_MAPPED_FILES].
40626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40628 * dirent/opendir.c: Include <fcntl.h>.
40630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40631 (__libc_getspecific): Likewise.
40632 (__libc_key_create): Likewise.
40634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40637 (tmpfile64): Define as alias.
40638 * sysdeps/wordsize-64/tmpfile.c: File removed.
40639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40643 * stdio-common/vfscanf.c: Include <stdbool.h>.
40644 * nss/makedb.c: Likewise.
40645 * stdio-common/_i18n_number.h: Likewise.
40646 * argp/argp-help.c: Likewise.
40647 * posix/wordexp.c: Likewise.
40648 * sysdeps/posix/spawni.c: Likewise.
40649 * nss/nss_files/files-initgroups.c: Likewise.
40650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40651 * nss/nss_files/files-initgroups.c: Likewise.
40652 * nss/nss_db/db-netgrp.c: Likewise.
40653 * nss/nss_db/db-initgroups.c: Likewise.
40654 * io/fchmodat.c: Include <sys/stat.h>.
40656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40663 Add multiple inclusion protection.
40665 2012-07-27 David S. Miller <davem@davemloft.net>
40667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40669 2012-07-27 Gary Benson <gbenson@redhat.com>
40672 * elf/rtld.c: Include <stap-probe.h>.
40673 (dl_main): Added static probes "init_start" and "init_complete".
40674 * elf/dl-load.c: Include <stap-probe.h>.
40675 (lose): Take new parameter "nsid".
40676 Added static probe "map_failed".
40677 (_dl_map_object_from_fd): Pass namespace id to lose.
40678 Added static probe "map_start".
40679 (open_verify): Pass namespace id to lose.
40680 * elf/dl-open.c: Include <stap-probe.h>.
40681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40682 and "reloc_complete".
40683 * elf/dl-close.c: Include <stap-probe.h>.
40684 (_dl_close_worker): Added static probes "unmap_start" and
40686 * elf/rtld-debugger-interface.txt: New file documenting the above.
40688 2012-07-26 Roland McGrath <roland@hack.frob.com>
40690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40691 rather than a string variable.
40692 * sunrpc/rpc_main.c (h_output): Likewise.
40693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40695 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40697 * inet/check_native.c: New file.
40699 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40703 if larger part has absolute value 1.0.
40704 * math/s_clog10.c (__clog10): Likewise.
40705 * math/s_clog10f.c (__clog10f): Likewise.
40706 * math/s_clog10l.c (__clog10l): Likewise.
40707 * math/s_clogf.c (__clogf): Likewise.
40708 * math/s_clogl.c (__clogl): Likewise.
40709 * math/libm-test.inc (clog_test): Add more tests.
40710 (clog10_test): Likewise.
40711 * sysdeps/i386/fpu/libm-test-ulps: Update.
40712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40715 (pltexit): Likewise.
40716 (La_regs): Likewise.
40717 (La_retval): Likewise.
40718 (int_retval): Likewise.
40719 Update #error for removed macros to refer only to definitions in
40721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40723 (pltexit): Likewise.
40724 (La_regs): Likewise.
40725 (La_retval): Likewise.
40726 (int_retval): Likewise.
40727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40729 (pltexit): Likewise.
40730 (La_regs): Likewise.
40731 (La_retval): Likewise.
40732 (int_retval): Likewise.
40733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40735 (pltexit): Likewise.
40736 (La_regs): Likewise.
40737 (La_retval): Likewise.
40738 (int_retval): Likewise.
40739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40741 (pltexit): Likewise.
40742 (La_regs): Likewise.
40743 (La_retval): Likewise.
40744 (int_retval): Likewise.
40745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40747 (pltexit): Likewise.
40748 (La_regs): Likewise.
40749 (La_retval): Likewise.
40750 (int_retval): Likewise.
40751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40753 (pltexit): Likewise.
40754 (La_regs): Likewise.
40755 (La_retval): Likewise.
40756 (int_retval): Likewise.
40757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40758 macro definitions in tst-audit.h.
40759 * sysdeps/i386/tst-audit.h: New file.
40760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40764 * sysdeps/sh/tst-audit.h: Likewise.
40765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40767 * sysdeps/x86_64/tst-audit.h: Likewise.
40769 2012-07-26 Andreas Jaeger <aj@suse.de>
40771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40787 (si_call_addr, si_syscall, si_arch): Define new macro.
40788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40790 (si_call_addr, si_syscall, si_arch): Define new marcro.
40791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40793 (si_call_addr, si_syscall, si_arch): Define new macro.
40794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40796 (si_call_addr, si_syscall, si_arch): Define new macro.
40798 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40802 Change to 2.4.21 where previously 2.4.1.
40803 * sysdeps/unix/sysv/linux/configure: Regenerated.
40804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40806 Linux kernel version.
40807 (__ASSUME_STD_AUXV): Remove.
40808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40814 (__ASSUME_NETLINK_SUPPORT): Likewise.
40815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40816 (__no_netlink_support): Remove conditional definition.
40817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40822 (if_nameindex_ioctl): Remove.
40823 (if_nameindex_netlink): Do not handle __no_netlink_support.
40824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40827 Remove conditional code.
40828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40837 [!__ASSUME_STD_AUXV]: Remove conditional code.
40838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40859 code unconditional.
40860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40873 code unconditional.
40874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40882 code unconditional.
40883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40890 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40916 2012-07-25 Florian Weimer <fweimer@redhat.com>
40918 * Versions.def: Add GLIBC_2.17.
40919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40921 Introduce __libc_secure_getenv.
40922 * stdlib/Versions (2.17): Add secure_getenv
40923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40924 * stdlib/secure-getenv.c: Rename __secure_getenv to
40925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40926 symbol __secure_getenv for GLIBC_2.0.
40927 * stdlib/tst-secure-getenv.c: New.
40928 * stdlib/Makefile (tests): Add testcase.
40929 * manual/startup.texi (Environment Access): Document
40931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40932 __libc_secure_getenv.
40933 * inet/ruserpass.c (ruserpass): Likewise.
40934 * malloc/mtrace.c (mtrace): Likewise.
40935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40938 * sysdeps/posix/tempname.c: Likewise. Evaluate
40939 HAVE_SECURE_GETENV.
40940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40941 __secure_getenv to __libc_secure_getenv.
40942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40955 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40958 (struct La_i86_retval): Likewise.
40959 (struct La_x86_64_regs): Likewise.
40960 (struct La_x86_64_retval): Likewise.
40961 (struct La_x32_regs): Likewise.
40962 (struct La_x32_retval): Likewise.
40963 (struct La_ppc32_regs): Likewise.
40964 (struct La_ppc32_retval): Likewise.
40965 (struct La_ppc64_regs): Likewise.
40966 (struct La_ppc64_retval): Likewise.
40967 (struct La_sh_regs): Likewise.
40968 (struct La_sh_retval): Likewise.
40969 (struct La_s390_32_regs): Likewise.
40970 (struct La_s390_32_retval): Likewise.
40971 (struct La_s390_64_regs): Likewise.
40972 (struct La_s390_64_retval): Likewise.
40973 (struct La_sparc32_regs): Likewise.
40974 (struct La_sparc32_retval): Likewise.
40975 (struct La_sparc64_regs): Likewise.
40976 (struct La_sparc64_retval): Likewise.
40977 (struct audit_ifaces): Remove architecture-specific pltenter and
40979 * sysdeps/i386/ldsodefs.h: New file.
40980 * sysdeps/powerpc/ldsodefs.h: Likewise.
40981 * sysdeps/s390/ldsodefs.h: Likewise.
40982 * sysdeps/sh/ldsodefs.h: Likewise.
40983 * sysdeps/sparc/ldsodefs.h: Likewise.
40984 * sysdeps/x86_64/ldsodefs.h: Likewise.
40986 2012-07-25 Marek Polacek <polacek@redhat.com>
40989 * math/libm-test.inc (yn_test): Add another test.
40990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40991 to ERANGE when the result is +-Inf.
40992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40997 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40999 * conform/data/time.h-data (NULL): Use macro-constant. Require
41001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41005 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41007 * configure.in <sysdeps resolving>: Correct printing
41009 * configure: Regenerate.
41011 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41013 * math/w_ilogb.c: Include <limits.h>.
41014 * math/w_ilogbl.c: Likewise.
41016 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41019 va_copy. Document allowing for unavailable va_copy only as
41020 pre-C99 compatibility.
41021 * manual/string.texi (Copying and Concatenation): Use va_copy
41022 instead of __va_copy in concat example.
41024 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41027 (__sendto): Use create_address_port. Initialize APORT and deallocate
41030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41031 with O_NOLINK passed to __file_name_lookup.
41033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41034 with O_NOLINK passed to __file_name_lookup.
41036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41037 negative N or less than NGIDS.
41039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41040 type to string_t. Set ERANGE as errno and return it if NAME is not big
41041 enough. Use memcpy instead of strncpy.
41043 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41045 * elf/Makefile (check-data): Remove.
41046 (localplt.data): New vpath directive.
41047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41048 instead of $(check-data).
41049 * scripts/data/localplt-generic.data: Move to ...
41050 * sysdeps/generic/localplt.data: ... here.
41051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41072 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41075 PPC32 and PPC64 files.
41076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41079 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41082 __makecontext_ret to ...
41083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41084 ... here and call exit if uc_link is NULL. New file.
41085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41086 __makecontext_ret.S.
41087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41088 __makecontext_ret to ...
41089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41090 ... here and call exit if uc_link is NULL. New file.
41091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41092 __makecontext_ret.S.
41094 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41096 * elf/elf.h (R_390_IRELATIVE): New definition.
41097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41101 (elf_machine_lazy_rel): Likewise.
41102 * sysdeps/s390/dl-irel.h: New file.
41103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41104 * sysdeps/s390/s390-64/memset.S: New asm code.
41105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41117 * sysdeps/s390/s390-32/memset.S: New asm code.
41118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41120 2012-07-17 Marek Polacek <polacek@redhat.com>
41123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41124 * sysdeps/s390/s390-64/configure.in: Likewise.
41125 * sysdeps/sparc/configure.in: Likewise.
41126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41128 * sysdeps/i386/configure.in: Likewise.
41129 * sysdeps/x86_64/configure.in: Likewise.
41130 * sysdeps/sh/configure.in: Likewise.
41131 * sysdeps/s390/s390-32/configure: Regenerated.
41132 * sysdeps/s390/s390-64/configure: Likewise.
41133 * sysdeps/x86_64/configure: Likewise.
41134 * sysdeps/sh/configure: Likewise.
41135 * sysdeps/powerpc/powerpc64/configure: Likewise.
41136 * sysdeps/powerpc/powerpc32/configure: Likewise.
41137 * sysdeps/sparc/configure: Likwise.
41138 * sysdeps/i386/configure: Likewise.
41140 * elf/dl-open.c: Comment fixes.
41142 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41144 * Makefile [CXX] (check-data): Remove.
41145 [CXX] (c++-types.data): New vpath directive.
41146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41147 vpath. Do not allow for C++ type data being missing.
41148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41179 definitions to architecture-specific files.
41180 (TLS_IE): Likewise.
41181 (TLS_LD): Likewise.
41182 (TLS_GD): Likewise.
41183 * sysdeps/i386/tls-macros.h: New file.
41184 * sysdeps/powerpc/tls-macros.h: Likewise.
41185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41187 * sysdeps/sh/tls-macros.h: Likewise.
41188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41190 * sysdeps/x86_64/tls-macros.h: Likewise.
41192 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41195 zero value for regular exit case.
41197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41198 (__start_context): Preserve zero value for regular exit case.
41200 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41203 * manual/setjmp.texi (setcontext): Clarify normal process
41204 termination when uc_link is the null pointer.
41205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41208 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41211 preprocessor. Test for each exception mask separately.
41213 2012-07-16 Andreas Jaeger <aj@suse.de>
41215 * po/ru.po: Update from translation team.
41217 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41219 * conform/data/string.h-data (NULL): Use macro-constant. Require
41221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41227 2012-07-13 Andreas Jaeger <aj@suse.de>
41229 * po/fr.po: Update from translation team.
41231 2012-07-12 Marek Polacek <polacek@redhat.com>
41234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41238 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41242 Change to 2.4.1 where previously 2.4.0.
41243 * sysdeps/unix/sysv/linux/configure: Regenerated.
41244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41248 (__ASSUME_AT_CLKTCK): Remove.
41249 (__ASSUME_AT_PAGESIZE): Likewise.
41250 (__ASSUME_AT_XID): Likewise.
41251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41255 (HAVE_AUX_PAGESIZE): Likewise.
41256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41260 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41264 the temporary buffer used to invoke __gethostbyname2_r,
41265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41266 host_data / struct gaih_addrtuple.
41267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41269 header file nss/nsswitch.h.
41270 * nss/nsswitch.h (global scope): Add definition of implementation
41271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41272 resolv/nss_dns/dns-host.c).
41274 2012-07-11 Andreas Jaeger <aj@suse.de>
41276 * po/fr.po: Update from translation team.
41278 * po/sv.po: Update from translation team
41279 * po/fr.po: Another update from translation team.
41281 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41284 for subnormals or multiply small sinh result by itself.
41285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41288 2012-07-11 David S. Miller <davem@davemloft.net>
41290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41292 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41296 (INTERNAL_MARK): Shift it here.
41298 2012-07-10 Marek Polacek <polacek@redhat.com>
41301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41302 libc_cv_asm_global_directive with .globl.
41303 * configure: Regenerated.
41304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41306 * sysdeps/i386/configure: Regenerated.
41307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41309 * sysdeps/x86_64/configure: Regenerated.
41310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41312 * elf/tst-unique2mod2.c: Likewise.
41313 * elf/tst-unique2mod1.c: Likewise.
41314 * elf/tst-unique1mod2.c: Likewise.
41315 * elf/tst-unique1mod1.c: Likewise.
41316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41320 * sysdeps/mach/sysdep.h: Likewise.
41321 * sysdeps/i386/sysdep.h: Likewise.
41322 * sysdeps/i386/i386-mcount.S: Likewise.
41323 * sysdeps/x86_64/_mcount.S: Likewise.
41324 * sysdeps/x86_64/sysdep.h: Likewise.
41325 * sysdeps/sh/_mcount.S: Likewise.
41326 * sysdeps/sh/sysdep.h: Likewise.
41327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41334 * locale/localeinfo.h: Likewise.
41335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41338 2012-07-09 Roland McGrath <roland@hack.frob.com>
41341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41343 * manual/message.texi (The Uniforum approach): Likewise.
41344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41345 (glibc iconv Implementation): Likewise.
41347 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41350 * math/s_clog.c (__clog): Avoid scaling a value down where that
41351 could result in underflow.
41352 * math/s_clog10.c (__clog10): Likewise.
41353 * math/s_clog10f.c (__clog10f): Likewise.
41354 * math/s_clog10l.c (__clog10l): Likewise.
41355 * math/s_clogf.c (__clogf): Likewise.
41356 * math/s_clogl.c (__clogl): Likewise.
41357 * math/libm-test.inc (clog_test): Add more tests.
41358 (clog10_test): Likewise.
41359 * sysdeps/i386/fpu/libm-test-ulps: Update.
41360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41362 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41366 by 7 not 8 to examine high bit of fractional part.
41369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41370 for call to __mcount_internal.
41371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41375 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41379 approximation for values within 0x1p-13f of an odd multiple of
41381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41382 exception. Add more tests.
41383 * sysdeps/i386/fpu/libm-test-ulps: Update.
41386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41387 inputs and return -1 for them. Do not check for +Inf in case not
41388 reachable for +Inf.
41389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41392 and return -1 for them. Do not check for +Inf in case not
41393 reachable for +Inf.
41394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41397 and return -1 for them. Do not check for +Inf in case not
41398 reachable for +Inf.
41399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41400 spurious underflow.
41401 * sysdeps/i386/fpu/libm-test-ulps: Update.
41402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41404 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41408 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41413 could result in spurious underflow. Scale down values above
41414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41415 * math/s_csqrtf.c (__csqrtf): Likewise.
41416 * math/s_csqrtl.c (__csqrtl): Likewise.
41417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41418 spurious underflow.
41419 * sysdeps/i386/fpu/libm-test-ulps: Update.
41420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41422 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41426 * catgets/xopen-msg.awk: New file.
41427 * catgets/xopen-msg.sed: Removed.
41429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41431 * intl/po2test.awk: New file.
41432 * intl/po2test.sed: Removed.
41434 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41438 or multiply small sinh result by itself.
41439 * math/s_ctanf.c (__ctanf): Likewise.
41440 * math/s_ctanh.c (__ctanh): Likewise.
41441 * math/s_ctanhf.c (__ctanhf): Likewise.
41442 * math/s_ctanhl.c (__ctanhl): Likewise.
41443 * math/s_ctanl.c (__ctanl): Likewise.
41444 * math/libm-test.inc (ctan_test_tonearest): New function.
41445 (ctan_test_towardzero): Likewise.
41446 (ctan_test_downward): Likewise.
41447 (ctan_test_upward): Likewise.
41448 (ctanh_test_tonearest): Likewise.
41449 (ctanh_test_towardzero): Likewise.
41450 (ctanh_test_downward): Likewise.
41451 (ctanh_test_upward): Likewise.
41452 (main): Call these new functions.
41453 * sysdeps/i386/fpu/libm-test-ulps: Update.
41454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41456 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41458 * .gitignore: Delete /ports entry.
41460 2012-07-03 Andreas Jaeger <aj@suse.de>
41462 * po/bg.po: Update from translation team.
41463 * po/cs.po: Likewise.
41464 * po/de.po: Likewise.
41465 * po/hr.po: Likewise.
41466 * po/nl.pl: Likewise.
41467 * po/pl.po: Likewise.
41468 * po/vi.po: Likewise.
41470 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41472 * Makeconfig [!+link] (+link-before-libc): New variable.
41473 [!+link] (+link-after-libc): Likewise.
41474 [!+link] (+link-tests): Likewise.
41475 [!+link] (+link): Define in terms of $(+link-before-libc) and
41476 $(+link-after-libc).
41477 [!+link-static] (+link-static-before-libc): New variable.
41478 [!+link-static] (+link-static-after-libc): Likewise.
41479 [!+link-static] (+link-static-tests): Likewise.
41480 [!+link-static] (+link-static): Define in terms of
41481 $(+link-static-before-libc) and $(+link-static-after-libc).
41482 [build-shared] (link-libc-before-gnulib): New variable.
41483 [build-shared] (link-libc-tests): Likewise.
41484 [build-shared] (link-libc): Define in terms of
41485 $(link-libc-before-gnulib).
41486 [!build-shared] (link-libc-tests): New variable.
41487 (link-libc-static-tests): New variable.
41488 [!gnulib] (gnulib-arch): New variable.
41489 [!gnulib] (gnulib-tests): Likewise.
41490 [!gnulib] (static-gnulib-arch): Likewise.
41491 [!gnulib] (static-gnulib-tests): Likewise.
41492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41493 Define with "=" instead of ":=".
41494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41496 * Rules (binaries-all-notests): New variable.
41497 (binaries-all-tests): Likewise.
41498 (binaries-static-notests): Likewise.
41499 (binaries-static-tests): Likewise.
41500 (binaries-all): Define using $(binaries-all-notests) and
41501 $(binaries-all-tests).
41502 (binaries-static): Define using $(binaries-static-notests) and
41503 $(binaries-static-tests).
41504 (binaries-shared-tests): New variable.
41505 (binaries-shared-notests): Likewise.
41506 (binaries-shared): Remove variable.
41507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41513 * elf/Makefile (sln-modules): New variable.
41514 (extra-objs): Add $(sln-modules:=.o).
41515 (ldconfig-modules): Add static-stubs.
41516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41517 * elf/static-stubs.c: New file.
41520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41521 by 7 not 8 to examine high bit of fractional part. Use volatile
41522 variables when splitting into final array of floats if
41523 __FLT_EVAL_METHOD__ != 0.
41524 * math/libm-test.inc (cos_test): Add another test.
41525 (sin_test): Likewise.
41526 * sysdeps/i386/fpu/libm-test-ulps: Update.
41529 * math/libm-test.inc (cosh_test): Add more tests.
41531 * version.h (RELEASE): Set to "development".
41532 (VERSION): Set to "2.16.90".
41534 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41536 * NEWS: Update copyright. Remove last-updated date.
41537 Mention math library bug fixes and timezone data changes.
41538 * README: Mention GNU/Hurd, x32, and HPPA support status.
41540 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41544 2012-06-27 Andreas Jaeger <aj@suse.de>
41546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41548 2012-06-25 Andreas Jaeger <aj@suse.de>
41550 * sysdeps/s390/fpu/libm-test-ulps: Update.
41552 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41553 Thomas Schwinge <thomas@codesourcery.com>
41555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41560 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41562 * sysdeps/mach/start.c: Remove file.
41563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41565 * sysdeps/sh/init-first.c: Likewise.
41567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41568 registers for frame unwinding purposes, add CFI directives.
41569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41575 __fortify_fail returning.
41576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41579 sysdeps/sh/____longjmp_chk.S.
41580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41585 * sysdeps/sh/abort-instr.h: New file.
41586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41587 process in case exit returns.
41589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41590 initialize the GOT register before use.
41592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41593 calculation of ARGC > 4.
41595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41596 meaningful names to some local labels.
41598 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41603 (__arch_compare_and_exchange_val_16_acq): Likewise.
41604 (__arch_compare_and_exchange_val_32_acq): Likewise.
41605 (atomic_exchange_and_add): Fix gUSA sequence.
41606 (atomic_add): Likewise.
41607 (atomic_add_negative): Likewise.
41608 (atomic_add_zero): Likewise.
41609 (atomic_bit_test_set): Likewise.
41611 2012-06-22 Andreas Schwab <schwab@redhat.com>
41614 * include/link.h (struct link_map): Add l_free_initfini.
41615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41622 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41624 * configure.in: Use AC_LANG_SOURCE.
41625 * configure: Regenerate.
41627 2012-06-22 Roland McGrath <roland@hack.frob.com>
41629 * configure.in (libc_cv_localstatedir): New substituted variable.
41630 * configure: Regenerated.
41631 * config.make.in (localstatedir): New variable, substituted from
41632 libc_cv_localstatedir.
41633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41636 * sysdeps/gnu/configure: Regenerated.
41638 2012-06-21 Jeff Law <law@redhat.com>
41641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41642 free. Simplify list management for _LIBC case.
41644 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41648 Clear sign bit of 64-bit integer value before comparing against
41651 * sysdeps/mach/configure: Regenerated.
41653 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41658 2012-06-21 Jeff Law <law@redhat.com>
41661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41662 uint16_t for elements in the "seen" array to avoid char overflows.
41663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41664 * elf/dl-open.c (dl_open_worker): Likewise.
41666 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41668 * scripts/list-sources.sh: Scan PORTS for translations.
41669 * po/libc.pot: Regenerated.
41671 2012-06-21 Andreas Jaeger <aj@suse.de>
41674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41677 * bits/byteswap-16.h (__bswap_16): Likewise.
41678 * bits/byteswap.h (__bswap_constant_16): Likewise.
41680 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41683 * sysdeps/i386/fpu_control.h: Removed.
41684 * sysdeps/x86_64/fpu_control.h: Moved to ...
41685 * sysdeps/x86/fpu_control.h: Here.
41687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41688 (_FPU_SETCW): Likewise.
41690 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41694 * sysdeps/x86/fpu/bits/mathinline.h: This.
41695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41700 functions if __x86_64__ is defined.
41702 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41704 * string/endian.h: Add !__ASSEMBLER__ condition for including
41705 conversion interfaces.
41707 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41711 of ABS(x) in calculating zero to negative powers other than odd
41713 * math/libm-test.inc (pow_test): Add more tests.
41715 2012-06-15 Andreas Jaeger <aj@suse.de>
41717 * manual/contrib.texi (Contributors): Update entry of Liubov
41718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41721 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41723 * string/string.h: Add __wur to GNU version of strerror_r.
41725 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41728 * string/Makefile (tests): Add tst-strtok_r.
41729 * string/tst-strtok_r.c: New file.
41730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41731 RAX_LP/RDX_LP on SAVE_PTR.
41733 2012-06-14 Roland McGrath <roland@hack.frob.com>
41735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41737 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41739 * libm_test.inc (csqrt_test): Allow more spurious underflow
41741 (j0_test): Likewise.
41742 (j1_test): Likewise.
41743 (y0_test): Likewise.
41744 (y1_test): Likewise.
41746 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41748 * po/Makefile (libc.pot): Use UTF-8 charset.
41750 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41753 Suppress sign-conversion warning from FD_SET.
41754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41756 not unsigned long int.
41757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41759 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41764 __extern_always_inline instead of __extern_inline.
41765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41766 (__signbit): Likewise.
41767 (__signbitl): Support C++ namespace.
41768 (lrintf): New inline function.
41770 (llrintf): Likewise.
41771 (llrint): Likewise.
41781 (floorf): Likewise.
41782 (nearbyint): Likewise.
41783 (nearbyintf): Likewise.
41785 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41788 non-default versions.
41790 2012-06-11 Roland McGrath <roland@hack.frob.com>
41793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41795 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41798 (FE_UPWARD, FE_DOWNWARD): Don't define.
41799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41807 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41814 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41818 * sysdeps/i386/fpu/Implies: New file.
41819 * sysdeps/x86_64/fpu/Implies: Likewise.
41820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41821 * sysdeps/x86/fpu/bits/fenv.h: This.
41823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41826 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41830 character 0xffff that matches the last element of the
41833 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41838 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41841 values higher than 25.6283.
41843 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41846 subnormal exponent extraction and add some __builtin_expect.
41847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41848 Fix for subnormal mantissa calculation.
41850 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41853 cpu2 is -1 and errno is not ENOSYS.
41855 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41859 * sysdeps/x86/bits/string.h: This.
41860 * sysdeps/x86_64/bits/string.h: Removed.
41862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41863 if not compiling for x86-64, but compiling for >= i486.
41865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41869 New macro from Linux kernel 3.4.0.
41870 (FP_XSTATE_MAGIC2): Likewise.
41871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41873 (struct _fpx_sw_bytes): New struct.
41874 (struct _xsave_hdr): Likewise.
41875 (struct _ymmh_state): Likewise.
41876 (struct _xstate): Likewise.
41878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41892 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41897 (sysdep_headers): Include sys/platform/ppc.h.
41898 * sysdeps/powerpc/test-gettimebase.c: Test for
41899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41900 * manual/Makefile (appendices): Include platform.texi.
41901 * manual/contrib.texi (Contributors): Update @node pointers.
41902 * manual/maint.texi (Maintenance): Likewise.
41903 (Platform): New node.
41904 * manual/platform.texi: New file. Document the new features.
41906 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41907 Jakub Jelinek <jakub@redhat.com>
41910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41911 where __builtin_expect is unavailable.
41913 2012-06-03 David S. Miller <davem@davemloft.net>
41915 * stdlib/longlong.h: Updated from GCC.
41917 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41924 (GLIBC_2.16): Likewise.
41926 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41930 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41933 (default-abi): New variable.
41934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41945 definition. Document in comment.
41947 2012-06-01 David S. Miller <davem@davemloft.net>
41949 * stdlib/longlong.h: Updated from GCC.
41951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41956 sys/debugreg.h sys/io.h here.
41957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41968 Define only if __x86_64__ is defined.
41970 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41974 Use int64_t for variable i.
41975 * math/libm-test.inc (fmod_test): Add more tests.
41977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41978 z computation is not scheduled after fetestexcept.
41979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41980 Use math_force_eval instead of asm to ensure calculation scheduled
41981 before exception test.
41982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41985 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41988 computation is not scheduled after fetestexcept.
41990 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41996 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42001 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42006 (__WCHAR_MIN): Support __WORDSIZE == 64.
42007 (__WCHAR_MAX): Likewise.
42009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42024 Defined to 1 if __x86_64__ isn't defined.
42025 (_STAT_VER_LINUX_OLD): New.
42026 (st_atime): Remove duplicate.
42027 (st_mtime): Likewise.
42028 (st_ctime): Likewise.
42030 2012-05-31 David S. Miller <davem@davemloft.net>
42032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42035 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42041 * elf/dl-reloc.c: Include <_itoa.h>.
42042 (_dl_reloc_bad_type): Remove use of INTUSE.
42043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42045 * stdio-common/psiginfo.c (psiginfo): Likewise.
42046 * stdio-common/psignal.c (psignal): Likewise.
42047 * string/strsignal.c (strsignal): Likewise.
42048 * include/signal.h (_sys_siglist): Declare hidden proto.
42049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42050 INTVARDEF with libc_hidden_data_def.
42051 * stdio-common/itoa-udigits.c: Likewise.
42052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42053 (_itoa_lower_digits_internal): Remove declaration.
42054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42056 (_sys_sigabbrev_internal): Remove aliases.
42057 (_sys_siglist): Define hidden alias.
42059 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42064 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42123 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42125 * math/math.h (M_El): Use two more decimal places.
42126 (M_LOG2El): Likewise.
42127 (M_LOG10El): Likewise.
42128 (M_LN2l): Likewise.
42129 (M_LN10l): Likewise.
42131 (M_PI_2l): Likewise.
42132 (M_PI_4l): Likewise.
42133 (M_1_PIl): Likewise.
42134 (M_2_PIl): Likewise.
42135 (M_2_SQRTPIl): Likewise.
42136 (M_SQRT2l): Likewise.
42137 (M_SQRT1_2l): Likewise.
42139 2012-05-31 David S. Miller <davem@davemloft.net>
42141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42142 values between float registers.
42143 * sysdeps/sparc/sparc64/memset.S: Likewise.
42144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42146 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42149 -D_FORTIFY_SOURCE=1.
42150 (CPPFLAGS-tst-longjmp_chk.c): Define.
42151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42154 CFLAGS-tst-wchar-h.c.
42156 2012-05-31 Marek Polacek <polacek@redhat.com>
42159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42160 __endmntent_internal): Remove declaration.
42161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42165 2012-05-30 David S. Miller <davem@davemloft.net>
42167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42168 (___Q_simulate_exceptions): Use real FP ops rather than writing
42170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42173 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42177 * sysdeps/x86/bits/xtitypes.h: This.
42179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42180 * sysdeps/x86/bits/wordsize.h: This.
42182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42183 * sysdeps/x86/bits/huge_vall.h: This.
42185 * sysdeps/i386/bits/select.h: Removed.
42186 * sysdeps/x86_64/bits/select.h: Renamed to ...
42187 * sysdeps/x86/bits/select.h: This.
42189 * sysdeps/i386/bits/setjmp.h: Removed.
42190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42191 * sysdeps/x86/bits/setjmp.h: This.
42193 * sysdeps/i386/bits/mathdef.h: Removed.
42194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42195 * sysdeps/x86/bits/mathdef.h: This.
42197 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42200 * include/sys/socket.h (__connect_internal)
42201 (__libc_sa_len_internal): Remove declaration.
42202 (__connect, __libc_sa_len): Declare hidden_proto.
42203 (SA_LEN): Remove use of INTUSE.
42204 * socket/connect.c: Add libc_hidden_def.
42205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42212 of adding _internal alias.
42214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42217 * sysdeps/i386/bits/link.h: Removed.
42218 * sysdeps/i386/bits/linkmap.h: Likewise.
42219 * sysdeps/x86_64/bits/link.h: Renamed to ...
42220 * sysdeps/x86/bits/link.h: This.
42221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42222 * sysdeps/x86/bits/linkmap.h: This.
42224 * sysdeps/i386/bits/endian.h: Removed.
42225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42226 * sysdeps/x86/bits/endian.h: This.
42228 * sysdeps/i386/bits/byteswap.h: Removed.
42229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42231 * sysdeps/x86/bits/byteswap.h: This.
42232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42233 * sysdeps/x86/bits/byteswap-16.h: This.
42234 * sysdeps/i386/Implies: Add x86.
42235 * sysdeps/x86_64/Implies: Likewise.
42237 2012-05-30 David S. Miller <davem@davemloft.net>
42239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42242 (FP_TRAPPING_EXCEPTIONS): Define.
42243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42244 (FP_TRAPPING_EXCEPTIONS): Define.
42245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42246 subnormals only when inexact has been signalled or underflow
42247 exceptions are enabled.
42248 (_FP_PACK_CANONICAL): Likewise.
42250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42256 2012-05-30 Richard Henderson <rth@twiddle.net>
42258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42259 with #ifndef NOT_IN_libc.
42261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42262 marked to avoid plt entry.
42264 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42267 * Makeconfig (default-abi): New macro.
42268 (abi-includes): Likewise.
42269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42270 $(abi-$(default-abi)-lib-soname) for soname if defined.
42271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42273 * Makefile (installed-stubs): Likewise.
42274 * include/stubs-biarch.h: Removed.
42275 * scripts/lib-names.awk: Only handle one library at a time.
42276 * scripts/soversions.awk: Remove WORDSIZE support.
42277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42281 (syscall-list-default-condition): Likewise.
42282 (syscall-list-default-condition): Likewise.
42283 (syscall-list-includes): Likewise.
42284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42285 syscall-list-* with abi-*. Handle undefined abi-variants.
42286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42293 (syscall-list-32-options): Likewise.
42294 (syscall-list-32-condition): Likewise.
42295 (syscall-list-64-options): Likewise.
42296 (syscall-list-64-condition): Likewise.
42297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42302 (abi-64-ld-soname): New macro.
42303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42310 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42312 * sysdeps/unix/sysv/linux/kernel-features.h
42313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42315 include <kernel-features.h>.
42316 [!__NR_ftruncate64]: Remove conditional code.
42317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42318 [__NR_ftruncate64]: Make code unconditional.
42319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42321 include <kernel-features.h>.
42322 [!__NR_ftruncate64]: Remove conditional code.
42323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42324 [__NR_ftruncate64]: Make code unconditional.
42325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42327 include <kernel-features.h>.
42328 [!__NR_ftruncate64]: Remove conditional code.
42329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42330 [__NR_ftruncate64]: Make code unconditional.
42331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42333 include <kernel-features.h>.
42334 [!__NR_ftruncate64]: Remove conditional code.
42335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42336 [__NR_ftruncate64]: Make code unconditional.
42337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42339 * configure.in (libc_cv_fpie): Weaken to a compile test using
42340 LIBC_TRY_CC_OPTION.
42341 * configure: Regenerated.
42343 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42358 2012-05-27 David S. Miller <davem@davemloft.net>
42360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42362 (__Q_simulate_exceptions): Return void. Change to simulate
42363 exceptions by writing into the %fsr.
42364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42365 (__Qp_handle_exceptions): Likewise.
42367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42368 __Qp_handle_exceptions.
42369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42370 __Qp_handle_exceptions.
42371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42372 as unused and give dummy FP_RND_NEAREST initializer.
42373 (FP_INHIBIT_RESULTS): Define.
42374 (___Q_simulate_exceptions): Update declaration.
42375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42378 as unused and give dummy FP_RND_NEAREST initializer.
42379 (__Qp_handle_exceptions): Update declaration.
42380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42383 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42386 the temporary FPU control word.
42387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42399 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42404 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42415 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42417 * po/h.po: Update from translation team.
42419 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42424 handling of denormals.
42425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42434 2012-05-26 Marek Polacek <polacek@redhat.com>
42437 * math/libm-test.inc (fma_test): Don't always expect underflow
42440 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42443 * elf/tst-execstack.c: Include stackinfo.h.
42444 (do_test): Adjust test case to ensure that pthread_getattr_np
42445 behaviour remains the same after marking stack executable.
42447 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42449 * sysdeps/unix/sysv/linux/kernel-features.h
42450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42460 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42462 * configure.in: Define the default includes to being none.
42463 * configure: Regenerated.
42465 2012-05-25 Roland McGrath <roland@hack.frob.com>
42467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42468 * sysdeps/x86_64/setjmp.S: Likewise.
42469 * sysdeps/i386/bsd-setjmp.S: Likewise.
42470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42471 * sysdeps/i386/setjmp.S: Likewise.
42472 * sysdeps/i386/__longjmp.S: Likewise.
42473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42476 * include/stap-probe.h: New file.
42477 * configure.in: Handle --enable-systemtap.
42478 * configure: Regenerated.
42479 * config.h.in (USE_STAP_PROBE): New #undef.
42480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42484 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42488 to 2.4.0 where earlier.
42489 * sysdeps/unix/sysv/linux/configure: Regenerated.
42490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42491 <kernel-features.h>.
42492 [__ASSUME_32BITUIDS]: Make code unconditional.
42493 [!__ASSUME_32BITUIDS]: Remove conditional code.
42494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42495 <kernel-features.h>.
42496 [__ASSUME_32BITUIDS]: Make code unconditional.
42497 [!__ASSUME_32BITUIDS]: Remove conditional code.
42498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42499 [__ASSUME_32BITUIDS]: Make code unconditional.
42500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42502 <kernel-features.h>.
42503 [__ASSUME_32BITUIDS]: Make code unconditional.
42504 [!__ASSUME_32BITUIDS]: Remove conditional code.
42505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42506 <kernel-features.h>.
42507 [__ASSUME_32BITUIDS]: Make code unconditional.
42508 [!__ASSUME_32BITUIDS]: Remove conditional code.
42509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42510 <kernel-features.h>.
42511 [__ASSUME_32BITUIDS]: Make code unconditional.
42512 [!__ASSUME_32BITUIDS]: Remove conditional code.
42513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42514 <kernel-features.h>.
42515 [__ASSUME_32BITUIDS]: Make code unconditional.
42516 [!__ASSUME_32BITUIDS]: Remove conditional code.
42517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42518 <kernel-features.h>.
42519 [__ASSUME_32BITUIDS]: Make code unconditional.
42520 [!__ASSUME_32BITUIDS]: Remove conditional code.
42521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42522 <kernel-features.h>.
42523 [__ASSUME_32BITUIDS]: Make code unconditional.
42524 [!__ASSUME_32BITUIDS]: Remove conditional code.
42525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42526 <kernel-features.h>.
42527 [__ASSUME_32BITUIDS]: Make code unconditional.
42528 [!__ASSUME_32BITUIDS]: Remove conditional code.
42529 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42530 <kernel-features.h>.
42531 [__ASSUME_32BITUIDS]: Make code unconditional.
42532 [!__ASSUME_32BITUIDS]: Remove conditional code.
42533 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42534 <kernel-features.h>.
42535 [__ASSUME_32BITUIDS]: Make code unconditional.
42536 [!__ASSUME_32BITUIDS]: Remove conditional code.
42537 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42538 <kernel-features.h>.
42539 [__ASSUME_32BITUIDS]: Make code unconditional.
42540 [!__ASSUME_32BITUIDS]: Remove conditional code.
42541 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42542 <kernel-features.h>.
42543 [__NR_setresgid] (__setresgid): Do not declare.
42544 [__ASSUME_32BITUIDS]: Make code unconditional.
42545 [!__ASSUME_32BITUIDS]: Remove conditional code.
42546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42547 <kernel-features.h>.
42548 [__NR_setresuid] (__setresuid): Do not declare.
42549 [__ASSUME_32BITUIDS]: Make code unconditional.
42550 [!__ASSUME_32BITUIDS]: Remove conditional code.
42551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42552 <kernel-features.h>.
42553 [__ASSUME_32BITUIDS]: Make code unconditional.
42554 [!__ASSUME_32BITUIDS]: Remove conditional code.
42555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42556 <kernel-features.h>.
42557 [__ASSUME_32BITUIDS]: Make code unconditional.
42558 [!__ASSUME_32BITUIDS]: Remove conditional code.
42559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42560 <kernel-features.h>.
42561 [__ASSUME_32BITUIDS]: Make code unconditional.
42562 [!__ASSUME_32BITUIDS]: Remove conditional code.
42563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42564 <kernel-features.h>.
42565 [__ASSUME_32BITUIDS]: Make code unconditional.
42566 [!__ASSUME_32BITUIDS]: Remove conditional code.
42567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42568 <kernel-features.h>.
42569 [__ASSUME_32BITUIDS]: Make code unconditional.
42570 [!__ASSUME_32BITUIDS]: Remove conditional code.
42571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42572 <kernel-features.h>.
42573 [__ASSUME_32BITUIDS]: Make code unconditional.
42574 [!__ASSUME_32BITUIDS]: Remove conditional code.
42575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42576 <kernel-features.h>.
42577 [__ASSUME_32BITUIDS]: Make code unconditional.
42578 [!__ASSUME_32BITUIDS]: Remove conditional code.
42579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42580 <kernel-features.h>.
42581 [__ASSUME_32BITUIDS]: Make code unconditional.
42582 [!__ASSUME_32BITUIDS]: Remove conditional code.
42583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42584 <kernel-features.h>.
42585 [__ASSUME_32BITUIDS]: Make code unconditional.
42586 [!__ASSUME_32BITUIDS]: Remove conditional code.
42587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42588 <kernel-features.h>.
42589 [__ASSUME_32BITUIDS]: Make code unconditional.
42590 [!__ASSUME_32BITUIDS]: Remove conditional code.
42591 * sysdeps/unix/sysv/linux/kernel-features.h
42592 (__ASSUME_SETRESUID_SYSCALL): Remove.
42593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42594 (__ASSUME_32BITUIDS): Likewise.
42595 (__ASSUME_LDT_WORKS): Likewise.
42596 (__ASSUME_O_DIRECTORY): Likewise.
42597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42598 architecture but not kernel version.
42599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42600 (__ASSUME_MMAP2_SYSCALL): Likewise.
42601 (__ASSUME_STAT64_SYSCALL): Likewise.
42602 (__ASSUME_IPC64): Likewise.
42603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42604 <kernel-features.h>.
42605 [__ASSUME_32BITUIDS]: Make code unconditional.
42606 [!__ASSUME_32BITUIDS]: Remove conditional code.
42607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42608 <kernel-features.h>.
42609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42611 132096]: Remove conditional code.
42612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42613 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42614 <kernel-features.h>.
42615 [__ASSUME_32BITUIDS]: Make code unconditional.
42616 [!__ASSUME_32BITUIDS]: Remove conditional code.
42617 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42618 <kernel-features.h>.
42619 [__ASSUME_32BITUIDS]: Make code unconditional.
42620 [!__ASSUME_32BITUIDS]: Remove conditional code.
42621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42622 <kernel-features.h>.
42623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42625 (__setresgid): Do not declare.
42626 [__ASSUME_32BITUIDS]: Make code unconditional.
42627 [!__ASSUME_32BITUIDS]: Remove conditional code.
42628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42629 <kernel-features.h>.
42630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42632 (__setresuid): Do not declare.
42633 [__ASSUME_32BITUIDS]: Make code unconditional.
42634 [!__ASSUME_32BITUIDS]: Remove conditional code.
42635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42636 <kernel-features.h>.
42637 [__ASSUME_32BITUIDS]: Make code unconditional.
42638 [!__ASSUME_32BITUIDS]: Remove conditional code.
42639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42640 <kernel-features.h>.
42641 [__ASSUME_32BITUIDS]: Make code unconditional.
42642 [!__ASSUME_32BITUIDS]: Remove conditional code.
42644 2012-05-25 Richard Henderson <rth@twiddle.net>
42646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42647 dl_hwcap to ifunc resolver.
42648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42651 dl_hwcap to ifunc resolver.
42652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42654 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42658 for |x| <= 2**-26, not 2**-57.
42659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42662 2012-05-24 Jeff Law <law@redhat.com>
42664 * stdio-common/Makefile (tests): Add bug25.
42665 * stdio-common/bug25.c: New test.
42667 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42671 multiple of MALLOC_ALIGNMENT in size.
42672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42674 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42678 (FILENAME_MAX): Use macro-int-constant.
42679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42680 (_IOFBF): Use macro-int-constant.
42681 (_IOLBF): Likewise.
42682 (_IONBF): Likewise.
42683 (SEEK_CUR): Likewise.
42684 (SEEK_END): Likewise.
42685 (SEEK_SET): Likewise.
42686 (TMP_MAX): Likewise.
42687 (EOF): Use macro-int-constant. Require < 0.
42688 (NULL): Use macro-constant. Require == 0.
42689 (stdin): Require type to be FILE *.
42690 (stdout): Likewise.
42691 (stderr): Likewise.
42692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42693 macro-int-constant.
42694 (EXIT_SUCCESS): Likewise.
42695 (NULL): Use macro-constant. Require == 0.
42696 (RAND_MAX): Use macro-int-constant.
42697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42698 [C99-based standards] (strtof): Require function.
42699 [C99-based standards] (strtold): Likewise.
42700 [C99-based standards] (strtoll): Likewise.
42701 [C99-based standards] (strtoull): Likewise.
42702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42704 [ISO || ISO99 || ISO11] (math.h): Likewise.
42705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42709 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42714 * intl/dgettext.c (DCGETTEXT): Likewise.
42715 * intl/gettext.c (DCGETTEXT): Likewise.
42716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42717 * posix/regex_internal.h (gettext): Likewise.
42718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42719 Remove declaration.
42720 * include/argz.h (__argz_count_internal)
42721 (__argz_stringify_internal): Remove declaration.
42722 (__argz_count, __argz_stringify): Declare hidden proto.
42723 * intl/dcgettext.c: Remove use of INTDEF.
42724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42725 * string/argz-stringify.c: Likewise.
42726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42728 Declare hidden proto.
42729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42731 Declare hidden proto.
42732 * include/stdio.h (__asprintf_internal): Don't declare.
42733 (__asprintf): Don't define as macro. Declare hidden proto.
42734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42735 (__fsetlocking): Declare hidden proto.
42736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42740 (_IO_setlinebuf): Remove use of INTUSE.
42741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42744 Remove declaration.
42745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42746 (_IO_do_flush): Remove use of INTUSE.
42747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42749 (_IO_adjust_column, _IO_least_wmarker)
42750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42753 (_IO_default_doallocate, _IO_wdefault_doallocate)
42754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42768 (_IO_flush_all_internal, _IO_adjust_column_internal)
42769 (_IO_default_uflow_internal, _IO_default_finish_internal)
42770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42778 (_IO_file_close_internal, _IO_file_close_it_internal)
42779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42780 (_IO_file_init_internal, _IO_file_attach_internal)
42781 (_IO_file_fopen_internal, _IO_file_read_internal)
42782 (_IO_file_sync_internal, _IO_file_seek_internal)
42783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42788 (_IO_list_all_internal, _IO_link_in_internal)
42789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42793 (_IO_do_write_internal, _IO_padn_internal)
42794 (_IO_getline_info_internal, _IO_getline_internal)
42795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42802 with libc_hidden_ver, remove use of INTUSE.
42803 * libio/genops.c: Likewise.
42804 * libio/freopen.c: Likewise.
42805 * libio/freopen64.c: Likewise.
42806 * libio/iofclose.c: Likewise.
42807 * libio/iofdopen.c: Likewise.
42808 * libio/iofflush.c: Likewise.
42809 * libio/iofflush_u.c: Likewise.
42810 * libio/iofgets.c: Likewise.
42811 * libio/iofgets_u.c: Likewise.
42812 * libio/iofopen.c: Likewise.
42813 * libio/iofopncook.c: Likewise.
42814 * libio/iofread.c: Likewise.
42815 * libio/iofread_u.c: Likewise.
42816 * libio/ioftell.c: Likewise.
42817 * libio/iofwrite.c: Likewise.
42818 * libio/iogetline.c: Likewise.
42819 * libio/iogets.c: Likewise.
42820 * libio/iogetwline.c: Likewise.
42821 * libio/iopadn.c: Likewise.
42822 * libio/iopopen.c: Likewise.
42823 * libio/ioseekoff.c: Likewise.
42824 * libio/ioseekpos.c: Likewise.
42825 * libio/iosetbuffer.c: Likewise.
42826 * libio/iosetvbuf.c: Likewise.
42827 * libio/ioungetc.c: Likewise.
42828 * libio/ioungetwc.c: Likewise.
42829 * libio/iovdprintf.c: Likewise.
42830 * libio/iovsprintf.c: Likewise.
42831 * libio/iovsscanf.c: Likewise.
42832 * libio/memstream.c: Likewise.
42833 * libio/obprintf.c: Likewise.
42834 * libio/oldfileops.c: Likewise.
42835 * libio/oldiofclose.c: Likewise.
42836 * libio/oldiofdopen.c: Likewise.
42837 * libio/oldiofopen.c: Likewise.
42838 * libio/oldiopopen.c: Likewise.
42839 * libio/oldstdfiles.c: Likewise.
42840 * libio/putc.c: Likewise.
42841 * libio/setbuf.c: Likewise.
42842 * libio/setlinebuf.c: Likewise.
42843 * libio/stdfiles.c: Likewise.
42844 * libio/strops.c: Likewise.
42845 * libio/vasprintf.c: Likewise.
42846 * libio/vscanf.c: Likewise.
42847 * libio/vsnprintf.c: Likewise.
42848 * libio/vswprintf.c: Likewise.
42849 * libio/wfiledoalloc.c: Likewise.
42850 * libio/wfileops.c: Likewise.
42851 * libio/wgenops.c: Likewise.
42852 * libio/wmemstream.c: Likewise.
42853 * libio/wstrops.c: Likewise.
42854 * libio/__fpurge.c: Likewise.
42855 * libio/__fsetlocking.c: Likewise.
42856 * assert/assert.c: Likewise.
42857 * debug/fgets_chk.c: Likewise.
42858 * debug/fgets_u_chk.c: Likewise.
42859 * debug/fread_chk.c: Likewise.
42860 * debug/fread_u_chk.c: Likewise.
42861 * debug/gets_chk.c: Likewise.
42862 * debug/obprintf_chk.c: Likewise.
42863 * debug/vasprintf_chk.c: Likewise.
42864 * debug/vdprintf_chk.c: Likewise.
42865 * debug/vsnprintf_chk.c: Likewise.
42866 * debug/vsprintf_chk.c: Likewise.
42867 * malloc/mtrace.c: Likewise.
42868 * misc/error.c: Likewise.
42869 * misc/syslog.c: Likewise.
42870 * stdio-common/asprintf.c: Likewise.
42871 * stdio-common/fxprintf.c: Likewise.
42872 * stdio-common/getw.c: Likewise.
42873 * stdio-common/isoc99_fscanf.c: Likewise.
42874 * stdio-common/isoc99_scanf.c: Likewise.
42875 * stdio-common/isoc99_vfscanf.c: Likewise.
42876 * stdio-common/isoc99_vscanf.c: Likewise.
42877 * stdio-common/isoc99_vsscanf.c: Likewise.
42878 * stdio-common/printf-prs.c: Likewise.
42879 * stdio-common/printf_fp.c: Likewise.
42880 * stdio-common/printf_fphex.c: Likewise.
42881 * stdio-common/printf_size.c: Likewise.
42882 * stdio-common/putw.c: Likewise.
42883 * stdio-common/scanf.c: Likewise.
42884 * stdio-common/sprintf.c: Likewise.
42885 * stdio-common/tmpfile.c: Likewise.
42886 * stdio-common/vfprintf.c: Likewise.
42887 * stdio-common/vfscanf.c: Likewise.
42888 * stdlib/strfmon_l.c: Likewise.
42889 * sunrpc/openchild.c: Likewise.
42890 * sunrpc/xdr_stdio.c: Likewise.
42891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42894 2012-05-24 Roland McGrath <roland@hack.frob.com>
42896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42899 in the third column, to generate for the shared library an IFUNC
42900 that uses _dl_vdso_vsym.
42901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42902 * Makeconfig (object-suffixes-noshared): New variable.
42904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42910 * include/sys/time.h (__gettimeofday): Remove macro.
42911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42914 (__gettimeofday): Add libc_hidden_def.
42915 (gettimeofday): Add libc_hidden_weak.
42916 * sysdeps/mach/gettimeofday.c: Likewise.
42917 * sysdeps/posix/gettimeofday.c: Likewise.
42918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42921 (__gettimeofday_internal): Remove strong_alias.
42922 (__gettimeofday): Add libc_hidden_def.
42923 (gettimeofday): Add libc_hidden_weak.
42924 * sysdeps/unix/syscalls.list (gettimeofday):
42925 Remove __gettimeofday_internal alias.
42927 2012-05-24 Daniel Jacobowitz <drow@false.org>
42928 H.J. Lu <hongjiu.lu@intel.com>
42931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42933 (largebin_index_32_big): New.
42934 (largebin_index): Use it for 16-byte alignment.
42935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42936 correction with front_misalign.
42938 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42969 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42973 * math/libm-test.inc (exp_test): Add test from bug 14036.
42974 (pow_test): Add test from bug 10846.
42976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42978 (special_function): Do not include flags in test name.
42979 (parse_args): Likewise.
42980 * sysdeps/i386/fpu/libm-test-ulps: Update.
42981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42988 * math/libm-test.inc ("Philosophy"): Update comment about
42990 (UNDERFLOW_EXCEPTION): New macro.
42991 (UNDERFLOW_EXCEPTION_OK): Likewise.
42992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42996 (INVALID_EXCEPTION_OK): Update value.
42997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42998 (OVERFLOW_EXCEPTION_OK): Likewise.
42999 (IGNORE_ZERO_INF_SIGN): Likewise.
43000 (test_exceptions): Handle underflow exceptions.
43001 (acos_test): Update for underflow exception expectations.
43002 (cexp_test): Likewise.
43003 (clog_test): Likewise.
43004 (clog10_test): Likewise.
43005 (csqrt_test): Likewise.
43006 (ctan_test): Likewise.
43007 (ctanh_test): Likewise.
43008 (exp_test): Likewise.
43009 (exp10_test): Likewise.
43010 (exp2_test): Likewise.
43011 (expm1_test): Likewise.
43012 (fma_test): Likewise.
43013 (j0_test): Likewise.
43014 (jn_test): Likewise.
43015 (nexttoward_test): Likewise.
43016 (pow_test): Likewise.
43017 (scalbn_test): Likewise.
43018 (scalbln_test): Likewise.
43019 (tan_test): Likewise.
43020 (y1_test): Likewise.
43021 * sysdeps/i386/fpu/libm-test-ulps: Update.
43022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43024 2012-05-23 David S. Miller <davem@davemloft.net>
43026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43027 (__libc_sigaction): Remove unused local variables.
43029 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43033 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43035 mktime: avoid signed integer overflow
43036 * time/mktime.c (__mktime_internal): Do not mishandle the case
43037 where diff == INT_MIN.
43039 mktime: simplify computation of average
43040 * time/mktime.c (ranged_convert): Use new time_t_avg function
43041 instead of rolling our own (probably-slower) code.
43043 mktime: do not assume signed right shift propagates sign bit
43044 * time/mktime.c (isdst_differ): New static function.
43045 (__mktime_internal): No need to normalize tm_isdst now.
43046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43049 mktime: merge another wrapv change from gnulib
43050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43051 from some compilers.
43053 mktime: remove incorrect attempt at unusual arithmetics
43054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43055 The code didn't really work on such machines anyway.
43056 (TYPE_MINIMUM): Assume two's complement.
43057 (twos_complement_arithmetic): Verify that long_int and time_t
43058 are two's complement (or unsigned, in the latter case).
43060 mktime: check signed shifts on long_int and time_t, too
43061 * time/mktime.c (SHR): Check that shifts work as desired
43062 on the types long_int and time_t too, as SHR is used on
43065 mktime: do not assume 'long' is wide enough
43066 * time/mktime.c (verify): Move decl up.
43067 (long_int): New type.
43068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43069 to remove assumption in the code that 'long' is wide enough to
43070 store year values. This assumption is not true on x32 and on
43071 some non-glibc platforms.
43073 mktime: merge wrapv change from gnulib
43074 * time/mktime.c (WRAPV): New macro.
43075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43076 (guess_time_tm, __mktime_internal): Do not assume that signed
43077 integer overflow wraps around; modern compilers generate code
43078 where this assumption is no longer valid.
43080 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43083 Replace "jmp L(pseudo_end)" with "ret".
43084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43087 2012-05-23 Andreas Jaeger <aj@suse.de>
43089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43092 2012-05-23 Andreas Jaeger <aj@suse.de>
43093 Maximilian Attems <max@stro.at>
43095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43098 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43101 code so that pseudo_end is just ret and the stack pointer is
43102 correct also for static library in error case.
43104 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43107 move to syscalls.list.
43108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43113 * manual/install.texi (Running make install): Do not mention Linux
43114 kernel version for which pt_chown is not needed.
43115 (Linux): Do not mention problems with nscd with 2.0 kernels.
43116 * INSTALL: Regenerated.
43118 2012-05-23 Andreas Jaeger <aj@suse.de>
43120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43133 * sysdeps/unix/sysv/linux/bits/in.h
43134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43136 2012-05-22 Roland McGrath <roland@hack.frob.com>
43138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43139 (PREPARE_VERSION): Just use assert instead, it will be elided
43140 under [NDEBUG] anyway.
43142 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43144 * sysdeps/unix/sysv/linux/Makefile: Include
43145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43146 (sysdep_routines): Remove sysctl.
43147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43153 2012-05-22 Andreas Jaeger <aj@suse.de>
43155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43156 that pseudo_end is just ret and the stack pointer is correct also
43157 for static library in error case.
43159 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43162 * nss/nsswitch.c (defconfig_entries): New variable.
43163 (__nss_database_lookup): Don't leak defconfig entries.
43164 (nss_parse_service_list): Don't leak on error paths.
43165 (free_database_entries): New function.
43166 (free_defconfig): New function.
43167 (free_mem): Move common code to free_database_entries.
43169 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43180 (INTERNAL_SYSCALL_TYPES): Likewise.
43181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43182 (LOAD_REGS_TYPES_[1-6]): Likewise.
43183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43186 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43189 copysignl for GLIBC_2_0.
43190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43193 logbl for GLIBC_2_0.
43194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43205 * time/mktime.c: Update copyright years.
43207 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43209 mktime: merge comment-quoting-style change from gnulib
43210 * time/mktime.c: Quote 'like this' in comments.
43211 The GNU coding standards suggest that we no longer quote `like this',
43212 as "`" and "'" are typically rendered asymmetrically nowadays.
43213 The typical gnulib style is to quote 'like this' when quoting
43214 code, and "like this" when quoting English.
43216 * time/mktime.c (compile-command): Add "-I.".
43218 mktime: merge mktime-internal.h change from gnulib
43219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43221 mktime: merge time_r change from gnulib
43222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43224 mktime: merge DEBUG change from gnulib
43225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43226 case system <time.h> has a #define.
43228 mktime: merge <sys/types.h> change from gnulib
43229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43230 since <time.t> is now guaranteed to define time_t.
43232 mktime: merge HAVE_CONFIG_H change from gnulib
43233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43235 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43242 (struct rusage): Use anonymous union to pad each field to
43245 2012-05-21 David S. Miller <davem@davemloft.net>
43247 * Makefules (o-iterator): Remove .s cases.
43248 (compile-command.s): Delete.
43249 (COMPILE.s): Delete.
43250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43252 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43254 * configure.in (libc_cv_predef_stack_protector): Only consider
43255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43256 * configure: Regenerated.
43258 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43261 New macro. Use R*LP on int and pointer.
43262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43268 [__WORDSIZE_TIME64_COMPAT32] instead of
43269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43270 (struct utmp): Likewise.
43271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43274 (__WORDSIZE_TIME64_COMPAT32): This.
43275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43280 (__WORDSIZE_TIME64_COMPAT32): New macro.
43282 2012-05-21 Andreas Jaeger <aj@suse.de>
43284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43285 only if [SHARED]. Add prototype for __wcschr_ia32.
43287 2012-05-21 Roland McGrath <roland@hack.frob.com>
43289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43290 of %rbp unmolested in the jmp_buf while mangling the low bits.
43291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43292 unmolested high bits of %rbp while demangling the low bits.
43293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43295 2012-05-21 Andreas Jaeger <aj@suse.de>
43297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43298 * sunrpc/svc_simple.c: Use it for registerrpc.
43299 * sunrpc/xcrypt.c: Use it for passwd2des.
43301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43303 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43306 Don't define if [__SYSCALL_WORDSIZE != 32].
43307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43310 2012-05-21 Bruno Haible <bruno@clisp.org>
43311 Andreas Jaeger <aj@suse.de>
43313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43315 inptr and inend for must_buffer_ch.
43316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43318 * stdio-common/Makefile (tests): Remove bug15.
43319 (bug15-ENV): Remove macro.
43320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43323 2012-05-19 Andreas Jaeger <aj@suse.de>
43324 Roland McGrath <roland@hack.frob.com>
43326 * manual/contrib.texi: Completely rewritten. It contains now an
43327 alphabetical list of contributors and their contributions.
43329 2012-05-21 Richard Henderson <rth@twiddle.net>
43331 * misc/getauxval.c (__getauxval): Use unsigned long int.
43332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43333 (getauxval): Use unsigned long int.
43335 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43339 2012-05-21 Roland McGrath <roland@hack.frob.com>
43341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43343 __alignof__ (long double).
43345 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43349 2012-05-20 Richard Henderson <rth@twiddle.net>
43351 * misc/getauxval.c: New file.
43352 * misc/sys/auxv.h: New file.
43353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43354 (routines): Add getauxval.
43355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43357 * elf/dl-sysdep.c (_dl_auxv): Remove.
43358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43359 * elf/dl-support.c (_dl_auxv): New variable.
43360 (_dl_aux_init): Initialize it.
43361 * manual/startup.texi (Auxiliary Vector): New node.
43362 * sysdeps/generic/bits/hwcap.h: New file.
43363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43366 * sysdeps/sparc/sysdep.h: ... here. Include it.
43367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43380 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43384 2012-05-19 David S. Miller <davem@davemloft.net>
43386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43388 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43391 * math/s_ccosh.c: Include <float.h>
43392 (__ccosh): Avoid internal overflow calculating sinh and cosh
43393 values before multiplying by sin and cos values.
43394 * math/s_ccoshf.c: Likewise.
43395 * math/s_ccoshl.c: Likewise.
43396 * math/s_csin.c: Likewise.
43397 * math/s_csinf.c: Likewise.
43398 * math/s_csinl.c: Likewise.
43399 * math/s_csinh.c: Likewise.
43400 * math/s_csinhf.c: Likewise.
43401 * math/s_csinhl.c: Likewise.
43402 * math/libm-test.inc (ccos_test): Add more tests.
43403 (ccosh_test): Likewise.
43404 (csin_test): Likewise.
43405 (csinh_test): Likewise.
43406 * sysdeps/i386/fpu/libm-test-ulps: Update.
43407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43409 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43416 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43450 2012-05-18 Andreas Jaeger <aj@suse.de>
43452 * csu/.gitignore: Delete.
43454 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43457 (timex): Use __syscall_slong_t.
43459 2012-05-18 Andreas Jaeger <aj@suse.de>
43460 Carlos O'Donell <carlos_odonell@mentor.com>
43462 * manual/install.texi (Configuring and compiling): Update
43463 description about files modified in the source directory.
43464 * INSTALL: Regenerated.
43466 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43469 value. Use "or" to set return value to -1.
43470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43471 negate return value.
43473 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43476 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43477 failure if the compiler has Graphite support disabled.
43478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43481 (CFLAGS-memmove.c): Likewise.
43482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43485 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43487 * sysdeps/x86_64/x32/_itoa.h: New file.
43489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43490 getdents system call only if kernel and user dirents have the
43491 same d_ino and d_off.
43493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43494 LLONG_MAX != LONG_MAX.
43495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43496 (_fitoa_word): Likewise.
43498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43505 include <bits/wordsize.h>. Check __x86_64__ instead of
43507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43508 if __x86_64__ is defined. Use anonymous union on fpstate.
43510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43513 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43518 Refer to _rtld_local_ro instead of _rtld_global_ro.
43519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43529 * sysdeps/powerpc/powerpc32/dl-machine.c
43530 (__elf_machine_runtime_setup) [PROF]: Don't reference
43533 2012-05-18 Andreas Jaeger <aj@suse.de>
43535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43536 function only available for GCCs before 3.4 since GCC 3.4
43537 introduced a builtin.
43539 (llrintf): Likewise.
43540 (llrint): Likewise.
43547 (nearbyint): Likewise.
43548 (nearbyintf): Likewise.
43552 (floorf): Likewise.
43554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43556 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43557 on both fields and cast pointer to __syscall_ulong_t.
43559 * bits/types.h (__fsword_t): New type.
43560 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43561 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43563 (__FSWORD_T_TYPE): Likewise.
43564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43565 (__FSWORD_T_TYPE): Likewise.
43566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43567 (__FSWORD_T_TYPE): Likewise.
43568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43569 (__FSWORD_T_TYPE): Likewise.
43570 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43571 __SWORD_TYPE with __fsword_t.
43572 (statfs64): Likewise.
43574 2012-05-17 David S. Miller <davem@davemloft.net>
43576 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43578 2012-05-17 Andreas Jaeger <aj@suse.de>
43580 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43583 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43585 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43587 2012-05-17 Andreas Jaeger <aj@suse.de>
43589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43592 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43594 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43596 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43598 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43599 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43601 2012-05-17 Andreas Jaeger <aj@suse.de>
43602 Carlos O'Donell <carlos_odonell@mentor.com>
43605 * sysdeps/x86_64/multiarch/init-arch.h
43606 (bit_YMM_Usable): Rename to...
43607 (bit_AVX_Usable): ... this.
43608 (bit_FMA4_Usable): New macro.
43609 (bit_XMM_state): New macro.
43610 (bit_YMM_state): New macro.
43611 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43612 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43613 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43614 (CPUID_OSXSAVE): New macro.
43615 (CPUID_AVX): New macro.
43616 (CPUID_FMA4): New macro.
43617 (index_YMM_Usable): Rename to...
43618 (index_AVX_Usable): ... this.
43619 (HAS_AVX): Use HAS_ARCH_FEATURE.
43620 (HAS_FMA4): Likewise.
43621 (HAS_YMM_USABLE): Remove.
43622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43623 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43625 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43626 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43627 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43628 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43629 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43631 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43633 * math/libm-test.c: Support platforms without multiple rounding modes.
43634 * math/bug-nextafter.c: Support platforms without FP exceptions.
43635 * math/bug-nexttoward.c: Likewise.
43636 * math/test-fenv.c: Likewise.
43637 * math/test-misc.c: Likewise.
43638 * stdlib/bug-getcontext.c: Likewise.
43640 2012-05-17 Andreas Jaeger <aj@suse.de>
43642 * manual/examples/search.c (critter_cmp): Change signature to
43644 * manual/string.texi (Collation Functions): Likewise.
43646 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43648 * bits/types.h: Fold copyright years.
43649 * bits/typesizes.h: Likewise.
43650 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43654 * time/time.h: Likewise.
43656 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43659 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43660 in instead of returning them. Return void.
43661 (__libc_mallinfo): Accumulate over all arenas.
43662 (__malloc_stats): Adjust for change in int_mallinfo interface.
43664 2012-05-16 Roland McGrath <roland@hack.frob.com>
43667 * configure.in (NM): Add AC_CHECK_TOOL for it.
43668 (libc_extra_cflags): New substituted variable.
43669 Check for -fstack-protector being used implicitly.
43670 * configure: Regenerated.
43671 * config.make.in (config-extra-cflags): New variable,
43672 gets @libc_extra_cflags@.
43673 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43676 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43677 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43678 * configure: Regenerated.
43679 * config.make.in (CPPUNDEFS): New substituted variable.
43680 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43681 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43682 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43684 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43686 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43687 (mq_attr): Use __syscall_slong_t.
43689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43692 Check __x86_64__ instead of __WORDSIZE.
43693 (_STAT_VER_LINUX): Likewise.
43694 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43695 __syscall_ulong_t and __syscall_slong_t.
43696 (stat64): Likewise.
43698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43702 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43708 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43712 include <bits/wordsize.h>. Check __x86_64__ instead of
43714 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43716 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43719 include <bits/wordsize.h>. Check __x86_64__ instead of
43721 (user_regs_struct): Use "__extension__ unsigned long long"
43722 instead of "unsigned long" if __x86_64__ is defined.
43723 (user): Likewise. Pad after pointer field if __ILP32__ is
43726 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43728 * configure.in (makeinfo): Require version 4.5 or later. Allow
43730 * configure: Regenerated.
43731 * manual/install.texi (texinfo): Increase version requirement to
43733 * INSTALL: Regenerated.
43735 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43739 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43741 * sysdeps/x86_64/x32/ffs.c: New file.
43743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43745 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43746 defined. Use __syscall_ulong_t.
43747 (shminfo): Use __syscall_ulong_t.
43748 (shm_info): Likewise.
43750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43755 (msgqnum_t): Use __syscall_ulong_t.
43756 (msglen_t): Likewise.
43757 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43763 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43765 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43766 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43768 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43772 include <bits/wordsize.h>. Check __x86_64__ instead of
43775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43776 "unsigned long long int" if __x86_64__ is defined.
43777 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43781 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43783 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43785 (GET_PC): Cast to uintptr_t first.
43786 (GET_FRAME): Likewise.
43787 (GET_STACK): Likewise.
43789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43797 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43819 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43821 * Makerules (+depfiles): Also collect depfiles from .oS in
43823 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43824 .oS, $(libnldbl-routines)).
43826 * Makerules (native-compile-mkdep-flags): Define.
43827 * sunrpc/Makefile (extra-objs): Add $(addprefix
43828 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43829 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43830 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43831 calling $(make-target-directory).
43833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43835 * bits/types.h (__snseconds_t): Removed.
43836 * time/time.h (struct timespec): Replace __snseconds_t with
43838 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43839 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43842 (__SNSECONDS_T_TYPE): Likewise.
43843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43844 (__SNSECONDS_T_TYPE): Likewise.
43845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43846 (__SNSECONDS_T_TYPE): Likewise.
43848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43850 * sysdeps/mach/hurd/bits/typesizes.h
43851 (__SYSCALL_SLONG_TYPE): New macro.
43852 (__SYSCALL_ULONG_TYPE): Likewise.
43854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43856 * bits/types.h (__syscall_slong_t): New type.
43857 (__syscall_ulong_t): Likewise.
43859 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43860 (__SYSCALL_ULONG_TYPE): Likewise.
43861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43862 (__SYSCALL_SLONG_TYPE): Likewise.
43863 (__SYSCALL_ULONG_TYPE): Likewise.
43864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43865 (__SYSCALL_SLONG_TYPE): Likewise.
43866 (__SYSCALL_ULONG_TYPE): Likewise.
43867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43868 (__SYSCALL_SLONG_TYPE): Likewise.
43869 (__SYSCALL_ULONG_TYPE): Likewise.
43871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43873 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43874 Add sigaltstack-offsets.sym.
43875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43876 <sigaltstack-offsets.h>.
43877 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43878 longjmp_msg pointer.
43879 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43880 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43882 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43884 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43886 * elf/stackguard-macros.h: Remove file.
43887 * sysdeps/generic/stackguard-macros.h: New file.
43888 * sysdeps/i386/stackguard-macros.h: Likewise.
43889 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43890 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43891 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43892 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43893 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43894 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43895 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43896 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43897 <elf/stackguard-macros.h>.
43900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43901 __aligned__ in attribute.
43902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43903 (gregset_t): Likewise.
43905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43907 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43908 * sysdeps/x86_64/64/Implies-after: Here. New file.
43909 * sysdeps/x86_64/x32/Implies-after: New file.
43911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43913 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43914 and access return value for _dl_profile_fixup. Use R10_LP to
43917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43923 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43924 * sysdeps/x86_64/x32/sysdep.h: New file.
43926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43928 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43929 * sysdeps/x86_64/setjmp.S: Likewise.
43931 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43935 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43937 remove unused global constant.
43939 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43941 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43942 include of <not-cancel.h>.
43944 2012-05-15 Roland McGrath <roland@hack.frob.com>
43946 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43948 2012-05-15 Jeff Law <law@redhat.com>
43949 Andreas Jaeger <aj@suse.de>
43952 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43954 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43955 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43957 code changing __hst_map_handle.map.
43959 2012-05-15 Roland McGrath <roland@hack.frob.com>
43961 * configure.in (sysnames): Look for Implies-before and Implies-after
43963 * configure: Regenerated.
43965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43968 8-byte data alignment with LP_SIZE alignment.
43970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43975 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43977 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43982 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43989 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43990 (stackinfo_sub_sp): Likewise.
43992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43997 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44007 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44009 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44013 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44014 into R11_LP and load __x86_64_shared_cache_size_half into
44017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44022 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44031 powerpc32/power7/fpu/s_logb.c via #include.
44032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44033 powerpc32/power7/fpu/s_logbf.c via #include.
44034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44035 powerpc32/power7/fpu/s_logbl.c via #include.
44037 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44039 * README.libm: Remove file.
44041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44043 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44044 count for x32. Use R*_LP and omit operand-size suffix.
44046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44048 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44049 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44050 * sysdeps/x86_64/x32/shlib-versions: New file.
44052 2012-05-14 Roland McGrath <roland@hack.frob.com>
44054 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44055 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44056 Use _dl_fatal_printf instead.
44058 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44060 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44061 set if not set by the user. Do not allow for being unset.
44062 * sysdeps/unix/sysv/linux/configure: Regenerated.
44064 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44066 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44067 the `q' suffix from lea and replace .quad with ASM_ADDR.
44069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44072 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44074 (PTR_DEMANGLE): Likewise.
44076 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44078 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44080 (ASM_ADDR): Likewise.
44081 (RAX_LP): Likewise.
44082 (RBP_LP): Likewise.
44083 (RBX_LP): Likewise.
44084 (RCX_LP): Likewise.
44085 (RDI_LP): Likewise.
44086 (RSI_LP): Likewise.
44087 (RSP_LP): Likewise.
44090 (R10_LP): Likewise.
44091 (R10_LP): Likewise.
44092 (R11_LP): Likewise.
44093 (R12_LP): Likewise.
44094 (R13_LP): Likewise.
44095 (R14_LP): Likewise.
44096 (R15_LP): Likewise.
44098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44100 * sysdeps/x86_64/x32/dl-machine.h: New file.
44102 2012-05-14 Andreas Jaeger <aj@suse.de>
44104 * manual/Makefile (subdir): Remove export of subdir.
44105 (all): Remove target.
44106 (.PHONY): Remove all from list.
44107 (mkinstalldirs): Remove.
44108 (.PHONY): Remove installdirs from list.
44109 ($(inst_infodir)/libc.info): Use make-target-directory.
44110 (installdirs): Remove.
44111 (subdir_%): Remove.
44112 (glibc-targets): Remove.
44115 ($(objpfx)stubs ../po/manual.pot): Remove.
44116 ($(objpfx)stamp%): Remove.
44117 (make-target-directory): Remove.
44118 (subdir_install): Remove.
44119 (routines): Remove.
44126 * manual/.gitignore: Remove, it's not needed anymore.
44127 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44129 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44131 (texis): Renamed to $(objpfx)texis.
44132 (texis-path): New, contains path to generated files.
44133 (chapters.%): Use texis-path for complete path, add extra argument
44135 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44136 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44137 (summary,texi, stamp-summary): Use complete path of
44138 files. Generate files in build dir.
44139 (dir-add.texi): Build in build dir.
44140 (libm-err.texi,stamp-libm-err): Likewise.
44141 (version.texi, stamp-version): Likewise.
44142 (.%c.texi): Likewise.
44143 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44144 (mostlyclean): Remove target.
44145 (realclean): Remove target.
44146 (generated): Add new variable with contents from mostlyclean and
44147 realclean, remove entries duplicated in common-mostlyclean, add
44148 stamp-libm-err and stamp-version.
44149 (generated-dirs): Add libc directory.
44150 ($(inst_infodir)/libc.info): Install files from build dir.
44152 * manual/install.texi (Configuring and compiling): Adjust since
44153 the info files are not part of the tar ball anymore.
44155 2012-05-14 Andreas Jaeger <aj@suse.de>
44157 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44160 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44164 to 2.2.0 where earlier.
44165 * sysdeps/unix/sysv/linux/configure: Regenerated.
44166 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44167 Remove conditional code.
44168 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44169 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44170 Remove conditional code.
44171 [!__NR_lchown]: Likewise.
44172 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44173 [__NR_lchown]: Likewise.
44174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44175 comment referencing __ASSUME_LCHOWN_SYSCALL.
44176 * sysdeps/unix/sysv/linux/i386/sigaction.c
44177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44179 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44180 Remove conditional code.
44181 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44182 (__protocol_available): Remove #if 0 code.
44183 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44185 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44186 * sysdeps/unix/sysv/linux/kernel-features.h
44187 (__ASSUME_GETCWD_SYSCALL): Don't define.
44188 (__ASSUME_REALTIME_SIGNALS): Likewise.
44189 (__ASSUME_PREAD_SYSCALL): Likewise.
44190 (__ASSUME_PWRITE_SYSCALL): Likewise.
44191 (__ASSUME_POLL_SYSCALL): Likewise.
44192 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44193 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44195 (__ASSUME_SIOCGIFNAME): Don't define.
44196 (__ASSUME_MSG_NOSIGNAL): Likewise.
44197 (__ASSUME_SENDFILE): Define unconditionally.
44198 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44199 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44201 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44202 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44203 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44204 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44207 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44232 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44233 Remove conditional code.
44234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44235 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44236 Remove conditional code.
44237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44239 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44240 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44241 Remove conditional code.
44242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44243 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44244 Remove conditional code.
44245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44246 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44247 Remove conditional code.
44248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44249 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44250 Remove conditional code.
44251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44252 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44253 Remove conditional code.
44254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44255 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44258 * sysdeps/unix/sysv/linux/sigaction.c
44259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44261 * sysdeps/unix/sysv/linux/sigpending.c
44262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44264 * sysdeps/unix/sysv/linux/sigprocmask.c
44265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44267 * sysdeps/unix/sysv/linux/sigsuspend.c
44268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44271 (__libc_missing_rt_sigs): Remove.
44272 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44273 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44274 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44275 Remove conditional code.
44276 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44277 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44280 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44284 2012-05-14 Andreas Jaeger <aj@suse.de>
44286 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44287 it's not used in glibc.
44288 (__coshm1): Likewise.
44289 (__acosh1p): Likewise.
44292 * manual/string.texi (Copying and Concatenation): Add missing
44293 variable in concat example.
44294 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44300 __builtin_clzl with __builtin_clzll.
44302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44305 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44308 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44310 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44311 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44312 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44315 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44317 * NEWS: Update ia64 info.
44319 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44321 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44324 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44326 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44327 * sysdeps/unix/syscalls.list (dup3): Likewise.
44328 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44329 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44331 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44333 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44334 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44336 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44338 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44340 (TLS_IE): Use mov/add instead of movq/addq to load thread
44342 (TLS_GD_PREFIX): New.
44345 2012-05-11 David S. Miller <davem@davemloft.net>
44347 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44348 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44349 (_FPU_SETCW): Likewise.
44351 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44353 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44354 is 32-byte aligned.
44356 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44359 * iconvdata/gb18030.c: Update tables.
44360 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44361 characters specially.
44362 (BODY for TO_LOOP): Add encoding of missing ranges.
44364 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44367 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44368 * sysdeps/mach/hurd/dup3.c: Likewise.
44369 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44370 * sysdeps/powerpc/memmove.c:: Likewise.
44372 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44375 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44377 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44379 * elf/elf.h (R_X86_64_RELATIVE64): New.
44380 (R_X86_64_NUM): Updated.
44381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44382 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44383 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44384 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44385 tst-quad1pie tst-quad2pie
44386 (modules-names): Add tst-quadmod1 tst-quadmod2.
44387 ($(objpfx)tst-quad1): New dependency.
44388 ($(objpfx)tst-quad2): Likewise.
44389 ($(objpfx)tst-quad1pie): Likewise.
44390 ($(objpfx)tst-quad2pie): Likewise.
44391 * sysdeps/x86_64/tst-quad1.c: New file.
44392 * sysdeps/x86_64/tst-quad1pie.c: New file.
44393 * sysdeps/x86_64/tst-quad2.c: Likewise.
44394 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44395 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44396 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44397 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44398 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44402 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44403 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44404 * streams/stropts.h (t_scalar_t): Define type.
44406 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44407 (_PATH_PRESERVE): Set to "/var/lib".
44408 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44410 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44414 if __dir_mkfile succeeded.
44416 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44417 checking for _hurd_dtablesize. Unlock it right after having
44418 finished _hurd_dtable allocation.
44420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44422 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44423 * sysdeps/mach/hurd/configure: Regenerated.
44424 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44425 special-casing to...
44426 * sysdeps/gnu/configure.in: ... this new file.
44427 * sysdeps/unix/sysv/linux/configure: Regenerated.
44428 * sysdeps/gnu/configure: New generated file.
44430 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44431 for Linux: use nsec instead of usec, as well as:
44432 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44433 members of type struct timespec.
44434 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44436 (struct stat64): Likewise.
44437 (_STATBUF_ST_NSEC): New macro.
44438 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44441 __strtoul_internal rather than strtoul.
44443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44445 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44448 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44450 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44451 which preserves existing values.
44452 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44454 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44456 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44457 TIMEOUT values. Return EINVAL for NFDS values either negative or
44458 greater than FD_SETSIZE.
44460 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44462 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44463 allocated, call __vm_protect to finish enabling the existing space, and
44464 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44465 allocate the remainder.
44467 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44469 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44470 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44474 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44475 sysdeps/mach/hurd/readlink.c.
44477 * posix/tst-sysconf.c (posix_options): Only use
44478 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44479 _POSIX_SYNCHRONIZED_IO when they are defined
44480 * sysdeps/mach/hurd/bits/posix_opt.h:
44481 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44482 (_XOPEN_REALTIME): Undefine macro.
44483 (_XOPEN_REALTIME_THREADS): Undefine macro.
44484 (_XOPEN_SHM): Undefine macro.
44485 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44489 (_POSIX_ASYNC_IO): Undefine macro.
44490 (_POSIX_PRIORITIZED_IO): Undefine macro.
44491 (_POSIX_SPIN_LOCKS): Define macro to -1.
44493 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44494 SA_NODEFER, SA_RESETHAND.
44495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44496 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44501 * elf/Makefile (pldd-modules): Define unconditionally.
44503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44505 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44507 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44509 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44510 Return ENOENT when name is empty.
44511 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44515 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44517 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44521 Fix mlock in all cases except non-readable pages.
44522 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44523 instead of VM_PROT_ALL as parameter to __vm_wire function.
44525 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44526 (__mkdir): When path is `/', just fail with EEXIST.
44527 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44531 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44532 <sys/uio.h> (for writev).
44533 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44534 and <sys/param.h> (for MIN).
44536 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44538 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44539 REQUESTED_TIME. Properly set the remaining time and return EINTR
44542 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44544 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44545 Depend on against $(link-rpcuserlibs).
44547 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44549 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44550 (__libc_stack_end): Do not use attribute_relro.
44551 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44552 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44553 to libthread-provided value.
44554 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44560 * bits/libc-lock.h (__libc_once_get): New macro.
44561 * sysdeps/mach/bits/libc-lock.h: Likewise.
44562 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44564 instead of using implementation details.
44566 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44567 * libio/freopen.c: Likewise.
44568 * libio/freopen64.c: Likewise.
44569 * misc/syslog.c: Likewise.
44570 * nscd/connections.c: Likewise.
44571 * nscd/netgroupcache.c: Likewise.
44572 * sysdeps/posix/getcwd.c: Likewise.
44574 2012-05-10 Roland McGrath <roland@hack.frob.com>
44576 * math/w_ilogbf.c: Add #include <limits.h>.
44578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44580 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44581 path instead of returning without unlocking.
44583 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44584 immediate-write ioctls.
44585 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44587 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44589 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44590 __builtin_frame_address instead of making assumptions about the
44591 location of the return address relative to DATA. Force early load of
44592 the return address.
44593 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44594 __builtin_frame_address.
44597 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44598 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44599 implement dup3 and do some further code clean-ups.
44600 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44603 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44605 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44607 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44608 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44609 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44610 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44611 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44614 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44615 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44616 when handler == SIG_ERR, not when handler != SIG_ERR.
44618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44620 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44621 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44624 accept4 for GNU Hurd.
44625 * include/sys/socket.h (__libc_accept4): New prototype.
44626 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44627 to implement __libc_accept4.
44628 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44633 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44634 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44635 signal-defines.sym.
44637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44639 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44641 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44643 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44644 assertion on O_CLOEXEC flag.
44645 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44646 * hurd/intern-fd.c: Likewise.
44647 * hurd/port2fd.c: Likewise.
44649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44652 * bits/in.h (IPV6_PKTINFO): Define new macro.
44653 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44655 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44662 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44663 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44666 * math/libm-test.inc (logb_test) : Additional logb tests.
44668 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44669 Andreas Jaeger <aj@suse.de>
44671 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44672 * configure: Regenerated.
44673 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44674 * config.make.in (link-obsolete-rpc): New substituted variable.
44675 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44676 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44677 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44678 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44679 so that libc.a contains the symbols.
44680 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44681 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44682 * sunrpc/auth_none.c: Likewise.
44683 * sunrpc/auth_unix.c: Likewise.
44684 * sunrpc/authdes_prot.c: Likewise.
44685 * sunrpc/authuxprot.c: Likewise.
44686 * sunrpc/clnt_gen.c: Likewise.
44687 * sunrpc/clnt_perr.c: Likewise.
44688 * sunrpc/clnt_raw.c: Likewise.
44689 * sunrpc/clnt_simp.c: Likewise.
44690 * sunrpc/clnt_tcp.c: Likewise.
44691 * sunrpc/clnt_udp.c: Likewise.
44692 * sunrpc/clnt_unix.c: Likewise.
44693 * sunrpc/des_crypt.c: Likewise.
44694 * sunrpc/des_soft.c: Likewise.
44695 * sunrpc/get_myaddr.c: Likewise.
44696 * sunrpc/key_call.c: Likewise.
44697 * sunrpc/key_prot.c: Likewise.
44698 * sunrpc/netname.c: Likewise.
44699 * sunrpc/pm_getmaps.c: Likewise.
44700 * sunrpc/pm_getport.c: Likewise.
44701 * sunrpc/pmap_clnt.c: Likewise.
44702 * sunrpc/pmap_prot.c: Likewise.
44703 * sunrpc/pmap_prot2.c: Likewise.
44704 * sunrpc/pmap_rmt.c: Likewise.
44705 * sunrpc/publickey.c: Likewise.
44706 * sunrpc/rpc_cmsg.c: Likewise.
44707 * sunrpc/rpc_common.c: Likewise.
44708 * sunrpc/rpc_dtable.c: Likewise.
44709 * sunrpc/rpc_prot.c: Likewise.
44710 * sunrpc/rpc_thread.c: Likewise.
44711 * sunrpc/rtime.c: Likewise.
44712 * sunrpc/svc.c: Likewise.
44713 * sunrpc/svc_auth.c: Likewise.
44714 * sunrpc/svc_raw.c: Likewise.
44715 * sunrpc/svc_run.c: Likewise.
44716 * sunrpc/svc_tcp.c: Likewise.
44717 * sunrpc/svc_udp.c: Likewise.
44718 * sunrpc/svc_unix.c: Likewise.
44719 * sunrpc/svcauth_des.c: Likewise.
44720 * sunrpc/xcrypt.c: Likewise.
44721 * sunrpc/xdr.c: Likewise.
44722 * sunrpc/xdr_array.c: Likewise.
44723 * sunrpc/xdr_float.c: Likewise.
44724 * sunrpc/xdr_intXX_t.c: Likewise.
44725 * sunrpc/xdr_mem.c: Likewise.
44726 * sunrpc/xdr_rec.c: Likewise.
44727 * sunrpc/xdr_ref.c: Likewise.
44728 * sunrpc/xdr_sizeof.c: Likewise.
44729 * sunrpc/xdr_stdio.c: Likewise.
44731 2012-05-10 Roland McGrath <roland@hack.frob.com>
44733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44734 change. Update copyright years.
44736 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44738 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44740 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44741 Joseph Myers <joseph@codesourcery.com>
44742 Paul Pluzhnikov <ppluzhnikov@google.com>
44745 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44747 [cross-compiling] (extra-libs): Likewise.
44748 [cross-compiling] (extra-libs-others): Likewise.
44749 [cross-compiling] (librpcsvc-routines): Likewise.
44750 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44751 [cross-compiling] (omit-deps): Likewise.
44752 (sunrpc-CPPFLAGS): New variable.
44753 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44754 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44755 (cross-rpcgen-objs): New variable.
44756 (extra-objs): Append $(cross-rpcgen-objs).
44757 ($(cross-rpcgen-objs)): New rule.
44758 ($(objpfx)cross-rpcgen): Likewise.
44759 (rpcgen-cmd): Define to use $(built-program-file). Expand
44761 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44762 ($(objpfx)x%.stmp): Likewise.
44763 * sunrpc/proto.h [IS_IN_build] (_): Define.
44764 [IS_IN_build] (_libc_intl_domainname): Likewise.
44766 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44769 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44770 and R_X86_64_TPOFF64.
44772 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44774 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44775 sysdeps/unix/sysv/syscalls.list.
44778 * sysdeps/unix/sysv/syscalls.list: Remove file.
44780 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44783 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44784 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44785 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44786 (__LC_IDENTIFICATION): Make these macros useful in #if
44787 expressions, as required by C99.
44789 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44791 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44792 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44795 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44797 * stdlib/longlong.h: Updated from GCC.
44799 2012-05-09 Andreas Jaeger <aj@suse.de>
44801 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44802 default is first entry.
44803 (run_mode): Set type.
44804 (main): Remove informal message about syslog.
44805 (options): Fix typo.
44808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44811 (llrintf): Likewise.
44812 (llrint): Likewise.
44815 (nearbyint): Likewise.
44816 (nearbyintf): Likewise.
44818 2012-05-09 Andreas Jaeger <aj@suse.de>
44819 Pedro Alves <palves@redhat.com>
44821 * nscd/nscd.c (run_mode): Use enum.
44822 (main): Cleanup coding style issue.
44824 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44825 Andreas Jaeger <aj@suse.de>
44827 * nscd/nscd.c (go_background): Replaced with...
44828 (run_mode): ... this.
44829 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44830 (options): Add -F --foreground.
44831 (main): Implement it.
44832 (parse_opt): Parse it.
44834 2012-05-09 Andreas Jaeger <aj@suse.de>
44837 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44838 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44839 -Wconversion warning.
44840 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44843 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44845 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44847 (LC_ALL): Use macro-int-constant.
44848 (LC_COLLATE): Likewise.
44849 (LC_CTYPE): Likewise.
44850 (LC_MESSAGES): Likewise.
44851 (LC_MONETARY): Likewise.
44852 (LC_NUMERIC): Likewise.
44853 (LC_TIME): Likewise.
44854 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44855 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44857 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44859 [C99-based standards] (float_t): Expect type.
44860 [C99-based standards] (double_t): Expect type.
44861 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44863 [C99-based standards] (HUGE_VALL): Likewise.
44864 [C99-based standards] (INFINITY): Likewise.
44865 [C99-based standards] (NAN): Likewise.
44866 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44867 [C99-based standards] (FP_NAN): Likewise.
44868 [C99-based standards] (FP_NORMAL): Likewise.
44869 [C99-based standards] (FP_SUBNORMAL): Likewise.
44870 [C99-based standards] (FP_ZERO): Likewise.
44871 [C99-based standards] (FP_FAST_FMA): Use
44872 optional-macro-int-constant. Specify type. Require == 1.
44873 [C99-based standards] (FP_FAST_FMAF): Likewise.
44874 [C99-based standards] (FP_FAST_FMAL): Likewise.
44875 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44876 [C99-based standards] (FP_ILOGBNAN): Likewise.
44877 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44879 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44880 [C99-based standards] (math_errhandling): Specify type.
44881 [ISO99 || ISO11] (signgam): Do not allow.
44882 [non-C99-based standards] (copysignf): Do not allow.
44883 [non-C99-based standards] (exp2f): Likewise.
44884 [non-C99-based standards] (log2f): Likewise.
44885 [non-C99-based standards] (modff): Allow.
44886 [non-C99-based standards] (erff): Do not allow.
44887 [non-C99-based standards] (erfcf): Likewise.
44888 [non-C99-based standards] (gammaf): Likewise.
44889 [non-C99-based standards] (hypotf): Likewise.
44890 [non-C99-based standards] (j0f): Likewise.
44891 [non-C99-based standards] (j1f): Likewise.
44892 [non-C99-based standards] (jnf): Likewise.
44893 [non-C99-based standards] (lgammaf): Likewise.
44894 [non-C99-based standards] (tgammaf): Likewise.
44895 [non-C99-based standards] (y0f): Likewise.
44896 [non-C99-based standards] (y1f): Likewise.
44897 [non-C99-based standards] (ynf): Likewise.
44898 [non-C99-based standards] (isnanf): Likewise.
44899 [non-C99-based standards] (acoshf): Likewise.
44900 [non-C99-based standards] (asinhf): Likewise.
44901 [non-C99-based standards] (atanhf): Likewise.
44902 [non-C99-based standards] (cbrtf): Likewise.
44903 [non-C99-based standards] (expm1f): Likewise.
44904 [non-C99-based standards] (ilogbf): Likewise.
44905 [non-C99-based standards] (log1pf): Likewise.
44906 [non-C99-based standards] (logbf): Likewise.
44907 [non-C99-based standards] (nextafterf): Likewise.
44908 [non-C99-based standards] (remainderf): Likewise.
44909 [non-C99-based standards] (rintf): Likewise.
44910 [non-C99-based standards] (scalbf): Likewise.
44911 [non-C99-based standards] (copysignl): Likewise.
44912 [non-C99-based standards] (exp2l): Likewise.
44913 [non-C99-based standards] (log2l): Likewise.
44914 [non-C99-based standards] (modfl): Allow.
44915 [non-C99-based standards] (erfl): Do not allow.
44916 [non-C99-based standards] (erfcl): Likewise.
44917 [non-C99-based standards] (gammal): Likewise.
44918 [non-C99-based standards] (hypotl): Likewise.
44919 [non-C99-based standards] (j0l): Likewise.
44920 [non-C99-based standards] (j1l): Likewise.
44921 [non-C99-based standards] (jnl): Likewise.
44922 [non-C99-based standards] (lgammal): Likewise.
44923 [non-C99-based standards] (tgammal): Likewise.
44924 [non-C99-based standards] (y0l): Likewise.
44925 [non-C99-based standards] (y1l): Likewise.
44926 [non-C99-based standards] (ynl): Likewise.
44927 [non-C99-based standards] (isnanl): Likewise.
44928 [non-C99-based standards] (acoshl): Likewise.
44929 [non-C99-based standards] (asinhl): Likewise.
44930 [non-C99-based standards] (atanhl): Likewise.
44931 [non-C99-based standards] (cbrtl): Likewise.
44932 [non-C99-based standards] (expm1l): Likewise.
44933 [non-C99-based standards] (ilogbl): Likewise.
44934 [non-C99-based standards] (log1pl): Likewise.
44935 [non-C99-based standards] (logbl): Likewise.
44936 [non-C99-based standards] (nextafterl): Likewise.
44937 [non-C99-based standards] (remainderl): Likewise.
44938 [non-C99-based standards] (rintl): Likewise.
44939 [non-C99-based standards] (scalbl): Likewise.
44940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44941 [non-C99-based standards] (FP_*): Do not allow.
44942 [C99-based standards] (FP_*): Change to
44943 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44944 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44946 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44947 (SIG_ERR): Likewise.
44948 [X/Open-based standards] (SIG_HOLD): Likewise.
44949 (SIG_IGN): Likewise.
44950 (SIGABRT): Use macro-int-constant. Specify type. Require
44952 (SIGFPE): Likewise.
44953 (SIGILL): Likewise.
44954 (SIGINT): Likewise.
44955 (SIGSEGV): Likewise.
44956 (SIGTER): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44965 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44966 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44967 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44968 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44969 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44970 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44971 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44972 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44973 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44974 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44975 [X/Open-based standards] (SIGTRAP): Likewise.
44976 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44977 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44978 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44979 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44980 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44983 2012-05-08 Ian Wienand <ianw@vmware.com>
44986 * time/tzset.c (__tzset_parse_tz): Update default rules for
44987 daylight time changes in the Energy Policy Act of 2005.
44989 2012-05-09 Andreas Jaeger <aj@suse.de>
44992 * elf/ldconfig.c (parse_conf): Change string to make clear that
44993 ldconfig only issued a warning if ld.so.conf does not exist.
44995 2012-05-08 David S. Miller <davem@davemloft.net>
44997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44998 movxtod instead of popping the value on the stack.
45000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45002 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45004 * config.h.in: Add HAVE_ARM_PCS_VFP.
45006 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45009 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45010 checking but the checks are disabled for any reason.
45012 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45014 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45015 and ELF64_R_TYPE with ELFW(R_TYPE).
45017 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45019 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45020 (ulimit): Likewise.
45022 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45023 (settimeofday): Likewise.
45025 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45027 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45028 a struct th_u2 inside the union, and move tu_block/tu_code into
45029 a new th_u3 union of tu_block/tu_code inside of that. Move
45030 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45031 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45032 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45033 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45034 (th_stuff): Change to th_u1.tu_stuff.
45036 (th_msg): Change to th_u1.th_u2.tu_data.
45038 2012-05-07 David S. Miller <davem@davemloft.net>
45040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45043 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45044 (SETUP_PIC_REG): Use it.
45045 (SETUP_PIC_REG_LEAF): Use it.
45047 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45053 (EXPL_FINITE): Likewise.
45054 (FLDLOG): Likewise.
45055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45056 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45060 (EXPL_FINITE): Likewise.
45061 (FLDLOG): Likewise.
45062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45063 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45065 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45066 test of -max_value argument for long double.
45067 * sysdeps/i386/fpu/libm-test-ulps: Update.
45068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45070 2012-05-06 David S. Miller <davem@davemloft.net>
45072 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45073 quad soft-float symbols whose references which are compiler
45075 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45077 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45083 (EXPL_FINITE): Likewise.
45084 (FLDLOG): Likewise.
45087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45088 Adjust comments for base varying.
45089 (__expl_finite): Change alias to EXPL_FINITE.
45090 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45092 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45093 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45095 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45098 (EXPL_FINITE): Likewise.
45099 (FLDLOG): Likewise.
45102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45103 Adjust comments for base varying.
45104 (__expl_finite): Change alias to EXPL_FINITE.
45105 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45110 * math/libm-test.inc (check_float_internal): Correct ulp
45111 calculation for subnormal expected results.
45113 2012-05-06 Andreas Jaeger <aj@suse.de>
45115 * Makeconfig (+math-flags): New, set to -frounding-math.
45116 (+cflags): Add +math-flags so that all of glibc gets compiled with
45119 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45121 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45123 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45129 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45130 (__ieee754_expl): Allow for and saturate large arguments.
45131 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45132 (u_threshold): Likewise.
45133 (__exp): Call __ieee754_exp before checking for overflow and
45135 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45136 (u_threshold): Likewise.
45137 (__expf): Call __ieee754_expf before checking for overflow and
45139 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45140 (u_threshold): Likewise.
45141 (__expl): Call __ieee754_expl before checking for overflow and
45143 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45144 (__ieee754_expl): Allow for and saturate large arguments.
45145 * math/libm-test.inc (exp_test): Add another test. Do not allow
45146 missing overflow exception on overflow.
45147 (expm1_test): Do not allow missing overflow exception on overflow.
45149 * sysdeps/i386/fpu/e_expl.c: Move to ...
45150 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45151 rather than using inline asm.
45152 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45153 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45154 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45156 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45159 (signal): Likewise.
45163 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45165 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45166 sysdeps/unix/common/syscalls.list.
45167 (fchmod): Likewise.
45168 (fchown): Likewise.
45169 (ftruncate): Likewise.
45170 (getrusage): Likewise.
45171 (gettimeofday): Likewise.
45172 (setpgid): Likewise.
45173 (setregid): Likewise.
45174 (setreuid): Likewise.
45175 (sigaction): Likewise.
45176 (truncate): Likewise.
45177 (vhangup): Likewise.
45178 * sysdeps/unix/common/syscalls.list: Remove file.
45179 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45180 * sysdeps/unix/sysv/linux/Implies: Likewise.
45182 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45196 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45199 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45208 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45227 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45229 * sysdeps/unix/common/bits/dirent.h: Remove file.
45230 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45232 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45233 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45234 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45235 * sysdeps/unix/bsd/isatty.c: Likewise.
45236 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45237 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45238 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45240 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45244 long double comparison inaccuracies.
45245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45248 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45250 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45253 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45257 nonzero digits before rounding a hex value.
45258 * stdlib/tst-strtod.c (tests): Add another test.
45260 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45262 * sysdeps/s390/fpu/libm-test-ulps: Update.
45264 2012-05-03 Andreas Jaeger <aj@suse.de>
45266 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45267 does not get optimized out.
45268 (malloc_opt_barrier): New.
45270 2012-05-03 Andreas Jaeger <aj@suse.de>
45271 Roland McGrath <roland@hack.frob.com>
45273 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45274 intermediate file deletion.
45275 (generated): Add .symlist files.
45277 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45280 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45281 Redirect under this condition.
45282 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45283 [__USE_GNU] (__dprintf_chk): Not under this condition.
45284 [__USE_GNU] (__vdprintf_chk): Likewise.
45285 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45286 under this condition.
45287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45288 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45289 [__USE_XOPEN2K8] (vdprintf): Likewise.
45290 [__USE_GNU] (__dprintf_chk): Not under this condition.
45291 [__USE_GNU] (__vdprintf_chk): Likewise.
45292 [__USE_GNU] (dprintf): Likewise.
45293 [__USE_GNU] (vdprintf): Likewise.
45295 2012-05-03 Roland McGrath <roland@hack.frob.com>
45297 * elf/Makefile (common-generated): Set this instead of generated for
45298 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45299 $(all-built-dso)-derived lists.
45301 2012-05-03 Andreas Jaeger <aj@suse.de>
45303 * sysdeps/i386/fpu/libm-test-ulps: Update.
45306 * FAQ.in: Likewise.
45307 * scripts/gen-FAQ.pl: Likewise.
45308 * manual/install.texi (Installation): Point to online location of
45310 * Makefile (files-for-dist): Remove FAQ.
45313 2012-05-02 Allan McRae <allan@archlinux.org>
45315 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45316 (LDFLAGS-reldepmod5.so): Likewise.
45317 (LDFLAGS-reldep6mod1.so): Likewise.
45318 (LDFLAGS-reldep6mod4.so): Likewise.
45319 (LDFLAGS-reldep8mod3.so): Likewise.
45320 (LDFLAGS-unload4mod1.so): Likewise.
45321 (LDFLAGS-unload4mod2.so): Likewise.
45322 (LDFLAGS-tst-initorder): Likewise.
45323 (LDFLAGS-tst-initordera2.so): Likewise.
45324 (LDFLAGS-tst-initordera3.so): Likewise.
45325 (LDFLAGS-tst-initordera4.so): Likewise.
45326 (LDFLAGS-tst-initorderb2.so): Likewise.
45327 (LDFLAGS-noload): Likewise.
45328 (LDFLAGS-next): Likewise.
45329 (LDFLAGS-order2mod1.so): Likewise.
45330 (LDFLAGS-order2mod2.so): Likewise.
45331 (LDFLAGS-tst-initorder2): Likewise.
45332 (LDFLAGS-tst-initorder2a.so): Likewise.
45333 (LDFLAGS-tst-initorder2b.so): Likewise.
45334 (LDFLAGS-tst-initorder2c.so): Likewise.
45335 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45337 2012-05-02 David S. Miller <davem@davemloft.net>
45339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45341 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45344 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45346 2012-05-02 Andreas Jaeger <aj@suse.de>
45348 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45349 since we manipulate rounding mode.
45350 (CPPFLAGS-test-idouble.c): Likewise.
45351 (CPPFLAGS-test-ifloat.c): Likewise.
45352 (CFLAGS-test-ldouble.c): Likewise.
45353 (CFLAGS-test-double.c): Likewise.
45354 (CFLAGS-test-float.c): Likewise.
45355 (CFLAGS-test-misc.c): Likewise.
45356 (CFLAGS-test-test-fenv.c): Likewise.
45358 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45363 comparisons to determine direction to adjust input.
45365 2012-05-01 Roland McGrath <roland@hack.frob.com>
45367 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45368 output to the target.
45370 * scripts/localplt.awk: New file.
45371 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45372 (check-localplt-CFLAGS): Variable removed.
45373 ($(all-built-dso:=.jmprel)): New static pattern rule.
45374 (generated): Add those targets.
45375 (localplt-built-dso): New variable.
45376 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45378 * elf/check-localplt.c: File removed.
45380 * scripts/check-execstack.awk: New file.
45381 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45382 (check-execstack-CFLAGS): Variable removed.
45383 ($(objpfx)check-execstack.h): Target removed.
45384 ($(objpfx)execstack-default): New target.
45385 (generated): Add that instead of check-execstack.h.
45386 ($(all-built-dso:=.phdr)): New static pattern rule.
45387 (generated): Add those targets.
45388 * elf/check-execstack.c: File removed.
45390 * scripts/check-textrel.awk: New file.
45391 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45392 (check-textrel-CFLAGS): Variable removed.
45393 (all-built-dso): Use := to define.o
45394 ($(all-built-dso:=.dyn)): New static pattern rule.
45395 (generated): Add those targets.
45396 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45397 * config.make.in (READELF): New substituted variable.
45398 * elf/check-textrel.c: File removed.
45400 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45402 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45404 * conform/data/ctype.h-data [C99-based standards] (isblank):
45406 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45407 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45409 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45410 Specify type. Require positive value.
45411 (EILSEQ): Likewise.
45412 (ERANGE): Likewise.
45413 [ISO || POSIX] (EILSEQ): Do not expect.
45414 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45415 Specify type. Require positive value.
45416 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45417 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45418 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45419 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45420 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45421 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45422 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45423 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45424 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45425 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45426 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45427 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45428 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45429 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45430 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45431 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45432 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45433 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45434 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45435 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45436 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45437 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45438 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45439 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45440 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45441 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45442 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45443 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45444 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45445 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45446 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45447 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45448 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45450 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45451 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45452 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45453 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45454 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45455 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45456 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45457 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45458 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45459 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45460 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45461 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45462 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45463 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45464 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45465 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45466 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45467 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45468 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45469 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45470 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45471 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45472 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45473 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45474 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45475 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45476 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45477 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45478 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45479 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45480 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45481 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45482 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45483 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45484 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45485 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45486 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45487 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45488 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45489 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45490 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45491 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45492 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45494 (FLT_ROUNDS): Expect as macro, not constant.
45495 (FLT_MANT_DIG): Use macro-int-constant.
45496 (DBL_MANT_DIG): Likewise.
45497 (LDBL_MANT_DIG): Likewise.
45498 (FLT_DIG): Likewise.
45499 (DBL_DIG): Likewise.
45500 (LDBL_DIG): Likewise.
45501 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45502 (DBL_MIN_EXP): Likewise.
45503 (LDBL_MIN_EXP): Likewise.
45504 (FLT_MAX_EXP): Use macro-int-constant.
45505 (DBL_MAX_EXP): Likewise.
45506 (LDBL_MAX_EXP): Likewise.
45507 (FLT_MAX_10_EXP): Likewise.
45508 (DBL_MAX_10_EXP): Likewise.
45509 (LDBL_MAX_10_EXP): Likewise.
45510 (FLT_MAX): Use macro-constant.
45511 (DBL_MAX): Likewise.
45512 (LDBL_MAX): Likewise.
45513 (FLT_EPSILON): Use macro-constant. Give upper bound.
45514 (DBL_EPSILON): Likewise.
45515 (LDBL_EPSILON): Likewise.
45516 (FLT_MIN): Likewise.
45517 (DBL_MIN): Likewise.
45518 (LDBL_MIN): Likewise.
45519 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45520 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45521 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45522 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45523 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45524 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45525 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45526 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45527 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45528 [ISO11] (FLT_TRUE_MIN): Likewise.
45529 [ISO11] (LDBL_TRUE_MIN): Likewise.
45530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45531 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45532 (SCHAR_MIN): Use macro-int-constant. Specify type.
45533 (SCHAR_MAX): Likewise.
45534 (UCHAR_MAX): Likewise.
45535 (CHAR_MIN): Likewise.
45536 (CHAR_MAX): Likewise.
45537 (MB_LEN_MAX): Use macro-int-constant.
45538 (SHRT_MIN): Use macro-int-constant. Specify type.
45539 (SHRT_MAX): Likewise.
45540 (USHRT_MAX): Likewise.
45541 (INT_MAX): Likewise.
45542 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45544 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45546 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45548 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45549 bound negative. Suffix upper bound with "L".
45550 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45552 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45554 [C99-based standards] (LLONG_MAX): Likewise.
45555 [C99-based standards] (ULLONG_MAX): Likewise.
45556 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45558 [ISO11] (max_align_t): Require type.
45559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45561 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45562 from $CFLAGS, without defining away __attribute__ calls.
45563 (checknamespace): Use $CFLAGS_namespace.
45565 * conform/conformtest.pl (@keywords): Only include C99 keywords
45566 for standards based on C99 or C11.
45568 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45570 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45573 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45574 usability of symbols in #if.
45576 * conform/conformtest.pl: If macro or constant types start
45577 "promoted:", expect the symbol to be of the following type
45578 promoted by the integer promotions.
45580 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45581 in one place. Also handle "macro-constant".
45583 * conform/conformtest.pl: Only accept expected macro values with
45584 "==". Parse all "macro" lines in one place.
45585 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45587 * conform/conformtest.pl: Handle braced types on "constant" lines
45588 instead of handling "typed-constant".
45589 * conform/data/signal.h-data: Use "constant" instead of
45592 * conform/conformtest.pl: Handle "optional-" at start of lines in
45593 one place rather than duplicating several cases. Handle each
45594 format of "macro" line with initial "optional-".
45596 * conform/conformtest.pl: Only accept expected constant or
45597 optional-constant values with "==". Parse all "constant" lines in
45598 one place. Parse all "optional-constant" lines in one place.
45599 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45600 * conform/data/fmtmsg.h-data: Likewise.
45601 * conform/data/netinet/in.h-data: Likewise.
45602 * conform/data/tar.h-data: Likewise.
45603 * conform/data/limits.h-data: Use "==" form on "constant" and
45604 "optional-constant" lines.
45606 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45607 Use -std=c99 for XOPEN2K.
45608 (@knownproblems): Remove.
45609 (newtoken): Don't check %isknown.
45611 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45612 Do not expect macro.
45613 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45625 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45626 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45643 [XPG3] (acosh): Likewise.
45644 [XPG3] (asinh): Likewise.
45645 [XPG3] (atanh): Likewise.
45646 [XPG3] (cbrt): Likewise.
45647 [XPG3] (expm1): Likewise.
45648 [XPG3] (ilogb): Likewise.
45649 [XPG3] (log1p): Likewise.
45650 [XPG3] (logb): Likewise.
45651 [XPG3] (nextafter): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45654 [XPG3] (remainder): Likewise.
45655 [XPG3] (rint): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45663 [UNIX98 || XOPEN2K] (scalb): Expect.
45664 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45665 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45676 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45677 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45678 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45679 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45680 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45681 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45682 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45683 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45684 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45685 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45686 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45687 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45688 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45689 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45690 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45691 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45692 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45693 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45694 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45695 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45696 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45697 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45698 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45699 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45700 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45701 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45702 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45703 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45704 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45705 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45706 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45707 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45708 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45709 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45710 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45711 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45712 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45713 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45714 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45715 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45716 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45717 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45718 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45719 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45720 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45721 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45722 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45723 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45724 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45725 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45726 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45727 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45728 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45729 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45730 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45731 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45732 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45733 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45734 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45735 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45736 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45737 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45738 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45739 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45740 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45741 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45742 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45743 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45744 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45745 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45746 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45747 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45748 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45749 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45750 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45751 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45752 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45753 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45754 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45755 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45756 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45757 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45758 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45759 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45760 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45761 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45762 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45763 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45764 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45765 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45766 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45767 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45768 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45769 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45770 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45771 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45772 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45773 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45774 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45775 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45776 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45777 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45778 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45779 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45780 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45781 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45782 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45783 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45784 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45785 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45786 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45787 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45788 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45789 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45790 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45791 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45792 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45793 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45794 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45795 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45796 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45797 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45798 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45799 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45800 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45802 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45803 _XOPEN_SOURCE_EXTENDED for XPG4.
45805 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45807 * Makeconfig (localtime): Remove variable.
45808 (inst_localtime-file): Likewise.
45810 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45831 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45835 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45836 comparisons to determine direction to adjust input.
45837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45838 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45848 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45850 * math/libm-test.inc (nexttoward_test): Add more tests.
45852 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45856 in version GLIBC_2.1, not GLIBC_2.0.
45857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45860 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45863 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45866 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45867 * math/libm-test.inc (acos_test): Add more tests.
45868 (asin_test): Likewise.
45869 * sysdeps/i386/fpu/libm-test-ulps: Update.
45870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45875 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45877 * math/libm-test.inc (acos_test_tonearest): New function.
45878 (acos_test_towardzero): Likewise.
45879 (acos_test_downward): Likewise.
45880 (acos_test_upward): Likewise.
45881 (asin_test_tonearest): Likewise.
45882 (asin_test_towardzero): Likewise.
45883 (asin_test_downward): Likewise.
45884 (asin_test_upward): Likewise.
45885 (main): Call the new functions.
45886 * sysdeps/i386/fpu/libm-test-ulps: Update.
45887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45891 * math/e_exp10.c: Include <float.h>.
45892 (__ieee754_exp10): Handle underflow here rather than multiplying
45893 large negative argument by M_LN10.
45894 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45896 * math/e_exp10l.c: Include <float.h>.
45897 (__ieee754_exp10l): Handle underflow here rather than multiplying
45898 large negative argument by M_LN10l.
45899 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45900 spurious overflow exception on underflow.
45902 2012-04-29 Marek Polacek <polacek@redhat.com>
45904 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45905 (__fortify_function): New macro.
45906 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45907 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45908 __extern_always_inline.
45909 * libio/bits/stdio2.h: Likewise.
45910 * libio/bits/stdio.h: Likewise.
45911 * string/string.h: Likewise.
45912 * string/bits/string3.h: Likewise.
45913 * include/stdio.h: Likewise.
45914 * stdlib/bits/stdlib.h: Likewise.
45915 * stdlib/stdlib.h: Likewise.
45916 * rt/bits/mqueue2.h: Likewise.
45917 * rt/mqueue.h: Likewise.
45918 * posix/bits/unistd.h: Likewise.
45919 * posix/unistd.h: Likewise.
45920 * io/bits/poll2.h: Likewise.
45921 * io/bits/fcntl2.h: Likewise.
45922 * io/fcntl.h: Likewise.
45923 * io/sys/poll.h: Likewise.
45924 * misc/bits/syslog.h: Likewise.
45925 * misc/bits/syslog-ldbl.h: Likewise.
45926 * misc/sys/syslog.h: Likewise.
45927 * socket/bits/socket2.h: Likewise.
45928 * socket/sys/socket.h: Likewise.
45929 * debug/tst-chk1.c: Likewise.
45930 * wcsmbs/bits/wchar2.h: Likewise.
45931 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45932 * wcsmbs/wchar.h: Likewise.
45934 2012-04-29 Andreas Jaeger <aj@suse.de>
45936 * Makerules (tests): Remove enable-check-abi protection.
45937 (check-abi-warn): Remove.
45938 (check-abi-%): Remove check-abi-warn usage.
45940 * configure.in: Remove check-abi configure option.
45941 * configure: Regenerated.
45942 * config.make.in (enable-check-abi): Remove.
45944 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45947 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45948 double functions to double *_finite functions.
45951 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45952 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45954 * stdio-common/Makefile (tests): Add tst-sprintf3.
45955 * stdio-common/tst-sprintf3.c: New file.
45957 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45958 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45960 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45962 * conform/conformtest.pl: Remove duplicate typed-constant
45965 2012-04-28 David S. Miller <davem@davemloft.net>
45967 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45968 (check-abi-%): Remove AWK script prerequisite and explicit
45970 (check-abi): Rewrite to just diff the symlist with the abilist.
45971 (config-tls, config-abi-config): Delete, no longer used.
45972 (update-abi-%): Remove AWK script and explicit abilist directory.
45973 (update-abi): Rewrite to simply compare and conditionally copy the
45974 symlist and the sysdep abilist file. Remove update-abi-config
45976 * abilist/ld.abilist: Remove.
45977 * abilist/libBrokenLocale.abilist: Remove.
45978 * abilist/libanl.abilist: Remove.
45979 * abilist/libcrypt.abilist: Remove.
45980 * abilist/libdl.abilist: Remove.
45981 * abilist/librt.abilist: Remove.
45982 * abilist/libthread_db.abilist: Remove.
45983 * abilist/libutil.abilist: Remove.
45984 * scripts/extract-abilist.awk: Remove.
45985 * scripts/merge-abilist.awk: Remove.
45986 * sysdeps/generic/libcidn.abilist: New file.
45987 * sysdeps/generic/libnss_compat.abilist: New file.
45988 * sysdeps/generic/libnss_db.abilist: New file.
45989 * sysdeps/generic/libnss_dns.abilist: New file.
45990 * sysdeps/generic/libnss_files.abilist: New file.
45991 * sysdeps/generic/libnss_hesiod.abilist: New file.
45992 * sysdeps/generic/libnss_nis.abilist: New file.
45993 * sysdeps/generic/libnss_nisplus.abilist: New file.
45994 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45995 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45996 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45999 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46000 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46001 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46004 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46006 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46008 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46016 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46128 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46129 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46132 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46135 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46136 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46137 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46139 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46140 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46192 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46194 * conform/conformtest.pl: Fix typo in handling typed-constant from
46197 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46199 * README: Cut down references to pre-2.6 Linux kernels and
46200 Linuxthreads. Update lists of configurations in libc and ports
46201 and sort alphabetically. Say "or newer" with Linux kernel version
46204 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46206 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46209 * math/libm-test.inc (logb_test_downward): New test to expose
46210 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46213 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46216 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46218 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46219 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46221 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46223 * sysdeps/unix/i386/brk.S: Remove file.
46224 * sysdeps/unix/i386/dl-brk.S: Likewise.
46225 * sysdeps/unix/i386/pipe.S: Likewise.
46226 * sysdeps/unix/i386/sigreturn.S: Likewise.
46227 * sysdeps/unix/i386/syscall.S: Likewise.
46228 * sysdeps/unix/i386/vfork.S: Likewise.
46229 * sysdeps/unix/i386/wait.S: Likewise.
46231 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46232 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46234 * configure.in (arm*-none*): Do not allow without
46235 --enable-hacker-mode.
46236 (netbsd*): Remove case setting base_os.
46237 (386bsd*): Likewise.
46238 (freebsd*): Likewise.
46241 (sunos*): Likewise.
46242 (ultrix*): Likewise.
46243 (newsos*): Likewise.
46244 (dynix*): Likewise.
46250 (minix*): Likewise.
46251 (irix4*): Likewise.
46252 (irix6*): Likewise.
46253 (solaris[2-9]*): Likewise.
46255 * configure: Regenerated.
46257 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46261 overflow or cancellation in calculating denominator.
46262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46264 down expression to avoid unexpected rounding in newer GCCs.
46265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46267 2012-04-26 David S. Miller <davem@davemloft.net>
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46270 long-double compat symbols.
46271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46285 2012-04-25 David S. Miller <davem@davemloft.net>
46287 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46288 HWCAP_* values only after the memory barriers have been defined.
46289 (atomic_full_barrier): Define.
46290 (atomic_read_barrier): Define.
46291 (atomic_write_barrier): Define.
46293 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46295 * shlib-versions: Add libgcc_s version information.
46296 * sysdeps/generic/libgcc_s.h: Remove.
46297 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46299 * sysdeps/gnu/unwind-resume.c: Likewise.
46300 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46302 2012-04-25 David S. Miller <davem@davemloft.net>
46304 * sysdeps/unix/sparc/brk.S: Delete.
46305 * sysdeps/unix/sparc/dl-brk.S: Delete.
46306 * sysdeps/unix/sparc/pipe.S: Delete.
46307 * sysdeps/unix/sparc/sysdep.S: Delete.
46308 * sysdeps/unix/sparc/sysdep.h: Delete.
46309 * sysdeps/unix/sparc/vfork.S: Delete.
46310 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46311 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46313 (ret_ERRVAL, r0, r1, MOVE): Define.
46314 (JUMPTARGET): Remove.
46315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46316 sysdeps/unix/sparc/sysdep.h
46317 (ENTRY, END): Remove.
46318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46320 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46322 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46323 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46326 * timezone/README: Update upstream location and email address for
46328 * timezone/zdump.c: Update from tzcode 2012b.
46329 * timezone/zic.c: Likewise.
46331 * configure.in (libc_cv_as_needed): Remove test.
46332 * configure: Regenerated.
46333 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46334 conditional definition.
46335 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46336 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46337 * config.make.in (have-as-needed): Remove variable.
46339 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46340 Paul Pluzhnikov <ppluzhnikov@google.com>
46342 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46345 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46347 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46348 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46349 * sysdeps/sh/strlen.S: Likewise.
46351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46353 * sysdeps/unix/fork.S: Remove file.
46354 * sysdeps/unix/i386/fork.S: Likewise.
46355 * sysdeps/unix/sparc/fork.S: Likewise.
46357 * sysdeps/unix/system.c: Remove file.
46358 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46360 * sysdeps/unix/getegid.S: Remove file.
46361 * sysdeps/unix/geteuid.S: Likewise.
46363 2012-04-24 Roland McGrath <roland@hack.frob.com>
46365 * scripts/check-localplt.awk: New file.
46366 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46368 * scripts/data/localplt-generic.data: Add a comment.
46370 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46371 NODE when __dir_mkfile failed.
46372 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46373 Reported by Ludovic Courtès <ludo@gnu.org>.
46375 2012-04-24 Andreas Jaeger <aj@suse.de>
46377 * Makerules (common-clean): Also remove gen-as-const-headers
46380 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46382 * Makerules (native-compile): Do not change working directory for
46383 build. Use $(OUTPUT_OPTION) in command.
46384 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46386 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46389 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46390 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46391 * math/libm-test.inc (floor_test): Add more tests.
46392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46394 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46396 * sysdeps/unix/getdents.c: Remove file.
46397 * sysdeps/unix/sysv/getdents.c: Likewise.
46398 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46400 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46401 sysdeps/unix/mman/syscalls.list.
46403 (mprotect): Likewise.
46405 (munmap): Likewise.
46406 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46407 * sysdeps/unix/mman/syscalls.list: Remove.
46408 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46410 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46411 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46412 * configure: Regenerated.
46413 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46414 $(libgcc_s_suffix).
46415 * config.make.in (libgcc_s_suffix): Remove variable.
46417 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46419 * sysdeps/unix/sysv/gethostname.c: Move to ...
46420 * sysdeps/posix/gethostname.c: ... here.
46422 * sysdeps/unix/execve.S: Remove file.
46424 * sysdeps/unix/_exit.S: Remove file.
46426 2012-04-23 Andreas Jaeger <aj@suse.de>
46429 * manual/Makefile: Remove make dist support, there's no
46430 need for a stand-alone documentation tar ball.
46431 (TEXI2DVI): Define always, it's not in Makeconfig.
46434 (edition): Removed.
46435 (glibc-doc-$(edition).tar): Removed
46439 (ETAGS): Remove, it's in Makeconfig.
46440 (move-if-change): Remove, it's in Makeconfig.
46442 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46445 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46446 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46447 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46448 (strtod_l, strtof_l, strtold_l): Remove __wur.
46449 It is not necessarily an error to ignore strtol's return value.
46450 One can reliably look at the stored endptr to decide whether
46451 the number had valid syntax.
46453 2012-04-21 Andreas Jaeger <aj@suse.de>
46456 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46458 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46461 * sysdeps/unix/sysv/Versions: Remove file.
46463 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46468 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46472 version from __vm86.
46474 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46476 * sysdeps/unix/common/lxstat.c: Remove file.
46477 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46479 * sysdeps/unix/sysv/Makefile: Remove file.
46481 * sysdeps/unix/sysv/direct.h: Remove file.
46483 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46484 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46485 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46486 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46487 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46488 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46489 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46491 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46493 * sysdeps/unix/xmknod.c: Remove file.
46494 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46496 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46498 * sysdeps/unix/sysv/i386/time.S: Remove file.
46500 * sysdeps/unix/fxstat.c: Remove file.
46501 * sysdeps/unix/xstat.c: Likewise.
46502 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46504 * sysdeps/unix/sysv/sigaction.c: Remove file.
46506 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46507 (sysdep_headers): Remove variable.
46508 [termio.h not in sysdep_headers] (generated): Likewise.
46509 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46510 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46511 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46512 * sysdeps/unix/sysv/tcflow.c: Likewise.
46513 * sysdeps/unix/sysv/tcflush.c: Likewise.
46514 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46515 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46516 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46517 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46518 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46520 * sysdeps/unix/siglist.c: Remove file.
46522 * sysdeps/unix/getppid.S: Remove file.
46524 * sysdeps/unix/mkdir.c: Remove file.
46525 * sysdeps/unix/rmdir.c: Likewise.
46527 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46529 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46532 errlist-compat value.
46534 2012-04-18 David S. Miller <davem@davemloft.net>
46536 * sysdeps/generic/memcopy.h (reg_char): Delete.
46537 * debug/strcat_chk.c: Use char, not reg_char.
46538 * debug/strcpy_chk.c: Likewise.
46539 * debug/strncat_chk.c: Likewise.
46540 * debug/strncpy_chk.c: Likewise.
46541 * string/memchr.c: Likewise.
46542 * string/memrchr.c: Likewise.
46543 * string/rawmemchr.c: Likewise.
46544 * string/strcat.c: Likewise.
46545 * string/strchr.c: Likewise.
46546 * string/strchrnul.c: Likewise.
46547 * string/strcmp.c: Likewise.
46548 * string/strcpy.c: Likewise.
46549 * string/strncat.c: Likewise.
46550 * string/strncmp.c: Likewise.
46551 * string/strncpy.c: Likewise.
46553 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46555 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46556 __builtin_memcopy is called when src and dest ranges are known to not
46559 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46562 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46563 fwd_align_merge macro call.
46564 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46565 bwd_align_merge macro call.
46566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46568 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46571 bwd_align_merge macros.
46572 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46573 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46576 2012-04-18 David S. Miller <davem@davemloft.net>
46578 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46580 2012-04-18 Andreas Jaeger <aj@suse.de>
46583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46588 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46591 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46592 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46593 Adjust for changed ldbl-128 files.
46595 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46596 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46599 2012-04-17 David S. Miller <davem@davemloft.net>
46601 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46603 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46605 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46606 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46607 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46608 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46610 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46612 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46615 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46616 * math/libm-test.inc: Add ilogb errno and exception tests.
46617 * math/w_ilogb.c: New file: ilogb wrapper.
46618 * math/w_ilogbf.c: New file: ilogbf wrapper.
46619 * math/w_ilogbl.c: New file: ilogbl wrapper.
46620 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46621 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46622 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46623 exception being thrown with 0.0 as argument.
46624 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46625 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46626 exception being thrown with 0.0 as argument.
46627 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46628 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46629 exception being thrown with 0.0 as argument.
46630 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46631 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46632 exception being thrown with 0.0 as argument.
46633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46634 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46636 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46639 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46640 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46641 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46643 2012-04-17 Petr Baudis <pasky@ucw.cz>
46645 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46648 2012-04-16 Marek Polacek <polacek@redhat.com>
46650 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46652 2012-04-16 Marek Polacek <polacek@redhat.com>
46654 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46655 operands of fdivp instruction.
46657 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46659 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46660 * elf/tst-auditmod3b.c: Likewise.
46661 * elf/tst-auditmod4b.c: Likewise.
46662 * elf/tst-auditmod5b.c: Likewise.
46663 * elf/tst-auditmod6b.c: Likewise.
46664 * elf/tst-auditmod6c.c: Likewise.
46665 * elf/tst-auditmod7b.c: Likewise.
46666 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46667 * sysdeps/x86_64/preconfigure.in: Likewise.
46668 * sysdeps/x86_64/preconfigure: Regenerated.
46670 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46672 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46675 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46678 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46680 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46683 * locale/iso-639.def: Fix gl language name. Spotted by
46686 2012-04-12 Roland McGrath <roland@hack.frob.com>
46689 * libio/libio.h (__io_write_fn): Update comment.
46691 2012-04-12 Petr Baudis <pasky@ucw.cz>
46694 * stdio.texi (Hook Functions): The user provided writer function
46695 is not allowed to return -1.
46697 2012-04-11 David S. Miller <davem@davemloft.net>
46699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46701 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46703 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46704 Add a leading slash to rtkaio.
46706 2012-04-11 Jim Meyering <meyering@redhat.com>
46709 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46710 It is not necessarily an error to ignore fwrite's return
46711 value. One can reliably use ferror to test for errors after
46714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46716 * bits/types.h (__snseconds_t): New type.
46717 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46719 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46721 (__SNSECONDS_T_TYPE): Likewise.
46722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46723 (__SNSECONDS_T_TYPE): Likewise.
46724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46725 (__SNSECONDS_T_TYPE): Likewise.
46727 2012-04-10 Andreas Jaeger <aj@suse.de>
46730 * manual/time.texi (Processor Time): Return type of times is
46731 elapsed real time since an arbitrary point in the past.
46732 (CPU Time): Move CLK_TCK from here...
46733 (Processor Time): ...to here. Correct description.
46734 * manual/conf.texi (Constants for Sysconf): Correct description of
46737 2012-04-10 David S. Miller <davem@davemloft.net>
46740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46741 where the is a gap between DT_REL(A) and DT_JMPREL.
46743 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46745 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46749 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46751 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46752 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46753 (dl_main): Handle --inhibit-cache.
46754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46756 * elf/dl-load.c (_dl_map_object): Use it.
46757 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46759 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46762 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46763 (__ieee754_powl): Saturate large exponents rather than testing for
46764 overflow of y*log2(x).
46765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46766 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46770 * math/s_ctan.c: Include <float.h>.
46771 (__ctan): Avoid internal overflow or cancellation in calculating
46773 * math/s_ctanf.c: Likewise.
46774 * math/s_ctanl.c: Likewise.
46775 * math/s_ctanh.c: Likewise.
46776 * math/s_ctanhf.c: Likewise.
46777 * math/s_ctanhl.c: Likewise.
46778 * math/libm-test.inc (ctan_test): Add more tests.
46779 (ctanh_test): Likewise.
46780 * sysdeps/i386/fpu/libm-test-ulps: Update.
46781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46783 2012-04-09 Andreas Jaeger <aj@suse.de>
46786 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46787 is an optional BSD extension.
46790 * manual/stdio.texi (Opening Streams): Document additional fopen
46793 2012-04-09 Roland McGrath <roland@hack.frob.com>
46795 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46796 %eax without telling the compiler.
46798 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46801 * manual/install.texi: Use sourceware.org.
46803 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46806 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46807 (__ieee754_pow): Generate overflow and underflow using huge*huge
46808 and tiny*tiny rather than just returning constant infinity or zero
46809 for large exponents.
46810 * math/libm-test.inc (pow_test): Require overflow exceptions for
46811 applicable cases of large exponents.
46814 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46815 (__ieee754_pow): Use iterative multiplication algorithm only for
46816 integer exponents with absolute value below 1024. Check for odd
46817 integer exponents when using algorithm for real exponents.
46818 * math/libm-test.inc (pow_test): Add more tests.
46819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46821 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46824 * math/libm-test.inc (exp_test): Do not allow overflow exception
46827 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46830 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46831 instead of __kernel_standard_f.
46833 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46835 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46836 * sysdeps/x86_64/memset_chk.S: Likewise.
46838 2012-04-08 Andreas Jaeger <aj@suse.de>
46841 * manual/startup.texi (Environment Access): Describe return value
46842 for putenv and setenv.
46845 * manual/filesys.texi (Directory Entries): Add description for
46849 * manual/filesys.texi (Directory Entries): Clarify that it's file
46850 system not operating system in the description of DT_UNKNOWN.
46853 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46855 2012-04-08 Stephen Compall <s11@member.fsf.org>
46858 * manual/llio.texi (Opening and Closing Files): Add cross
46859 reference to explain mode argument.
46861 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46863 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46864 * sysdeps/x86_64/memset_chk.S: Likewise.
46866 2012-04-07 David S. Miller <davem@davemloft.net>
46868 * elf/elf.h (R_SPARC_WDISP10): Define.
46869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46872 R_SPARC_SIZE64 and R_SPARC_H34.
46874 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46877 conditions and remove no longer applicable assertion.
46879 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46881 * bits/byteswap.h: Include <features.h>.
46882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46885 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46887 * bits/byteswap.h (__bswap_16): Removed.
46888 Include <bits/byteswap-16.h> to get __bswap_16.
46889 * sysdeps/i386/bits/byteswap.h: Likewise.
46890 * sysdeps/s390/bits/byteswap.h: Likewise.
46891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46892 * bits/byteswap-16.h: New file.
46893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46894 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46895 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46896 * string/Makefile (headers): Add bits/byteswap-16.h.
46898 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46901 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46903 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46904 * nss/tst-nss-static.c: New.
46906 2012-04-06 Robert Millan <rmh@gnu.org>
46909 * manual/llio.texi (File Position Primitive): lseek
46910 refers to WHENCE when it really means OFFSET.
46912 2012-04-06 Andreas Jaeger <aj@suse.de>
46914 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46915 strncmp declarations.
46917 * abilist/libc.abilist: Add __poll and __ppoll.
46919 2012-04-05 David S. Miller <davem@davemloft.net>
46921 * scripts/check-local-headers.sh: Accept a host triplet in the
46922 path matched by the exclude regexp.
46924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46926 * sysdeps/powerpc/powerpc32/dl-machine.h
46927 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46928 * sysdeps/s390/s390-32/dl-machine.h
46929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46930 * sysdeps/sparc/sparc32/dl-machine.h
46931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46932 * sysdeps/sparc/sparc64/dl-machine.h
46933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46935 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46938 undefined symbol errors.
46940 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46943 2012-04-05 Michael Matz <matz@suse.de>
46946 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46948 2012-04-05 Andreas Jaeger <aj@suse.de>
46951 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46957 which ROUND is no valid rounding mode.
46959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46963 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46965 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46968 an exception using FPU order intentionally.
46970 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46973 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46974 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46975 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46977 2012-04-05 Simon Josefsson <simon@josefsson.org>
46980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46981 EINVAL when BUFLEN is too smal.
46983 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46986 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46987 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46989 2012-04-03 Andreas Jaeger <aj@suse.de>
46992 * manual/setjmp.texi (System V contexts): Fix sentence.
46995 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46996 New macro for this case.
46997 [!__GNUC__] (__bswap_64): New inline function for this case.
46998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46999 * bits/byteswap.h: Likewise.
47000 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47001 ull, guard with __GLIBC_HAVE_LONG_LONG.
47003 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47004 __GLIBC_HAVE_LONG_LONG.
47006 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47007 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47013 inptr and inend, rather than using last_ch.
47015 2012-04-02 David S. Miller <davem@davemloft.net>
47017 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47018 * stdio-common/printf-parse.h (read_int): Change return type to
47019 'int', return -1 on INT_MAX overflow.
47020 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47021 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47022 overflows INT_MAX. Check for overflow of in-format-string precision
47023 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47024 SIZE_MAX not INT_MAX for integer overflow test.
47025 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47026 skip the construct in the format string but do not record anything.
47027 * stdio-common/bug22.c: Adjust to test both width/prevision
47028 INT_MAX overflow as well as total length INT_MAX overflow. Check
47029 explicitly for proper errno values.
47031 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47033 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47035 * string/test-strcmp.c [! WIDE]: Likewise.
47036 * time/tst-mktime2.c: Likewise for INT_MAX.
47037 * string/test-string.h: #include <sys/param.h> for MIN.
47039 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47040 * sysdeps/i386/init-first.c (init): Likewise.
47041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47042 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47043 * sysdeps/sh/init-first.c (init): Likewise.
47045 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47047 * po/ru.po: Update from translation team.
47048 * po/vi.po: Likewise.
47050 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47052 * resolv/nss_dns/dns-host.c: Merge copyright years.
47054 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47057 Optimize memcpy with prefetch if
47058 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47059 src, dst pointers have unequal 16 byte alignments.
47061 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47064 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47065 from a CNAME entry and return the minimum ttl for the query.
47066 (gaih_getanswer_slice): Likewise.
47068 2012-03-30 Jeff Law <law@redhat.com>
47070 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47072 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47073 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47075 * resolv/nss_dns/dns-host.c: Update copyright year.
47077 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47079 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47080 requests to save a system call. Fix check that all bytes are sent.
47082 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47083 comments for sendmmsg.
47085 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47089 with only 1 character between 0x0041 and 0x01b0.
47090 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47091 * wcsmbs/tst-mbsnrtowcs.c: New file.
47093 2012-03-29 David S. Miller <davem@davemloft.net>
47095 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47096 small copies by hand.
47098 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47101 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47102 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47105 2012-03-28 David S. Miller <davem@davemloft.net>
47107 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47108 that branches into memcpy.
47109 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47112 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47115 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47116 implementation too.
47117 * sysdeps/sparc/mempcpy.S: New file.
47119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47120 the IFUNC routine in the libc case.
47121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47125 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47126 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47127 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47128 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47129 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47130 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47132 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47133 loop to 256 bytes instead of 64 bytes and fix test signedness.
47135 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47136 * sysdeps/sparc/sparc32/Makefile: rather than here...
47137 * sysdeps/sparc/sparc64/Makefile: and here.
47139 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47141 * malloc/mallocbug.c: Avoid warnings about unused variables.
47143 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47146 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47147 in the right place. Discard and retry query if response is
47148 larger than input buffer size.
47150 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47156 x for large integer exponent.
47157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47159 sign of result as needed afterwards.
47160 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47162 result for underflowing pow the same as for overflow.
47163 (__kernel_standard_l): Handle powl overflow and underflow here
47164 rather than calling __kernel_standard.
47165 * math/libm-test.inc (pow_test): Add more tests.
47180 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47181 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47182 (__kernel_standard_l): New function.
47183 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47185 * math/w_acosl.c (__acosl): Likewise.
47186 * math/w_asinl.c (__asinl): Likewise.
47187 * math/w_atan2l.c (__atan2l): Likewise.
47188 * math/w_atanhl.c (__atanhl): Likewise.
47189 * math/w_coshl.c (__coshl): Likewise.
47190 * math/w_exp10l.c (__exp10l): Likewise.
47191 * math/w_exp2l.c (__exp2l): Likewise.
47192 * math/w_fmodl.c (__fmodl): Likewise.
47193 * math/w_hypotl.c (__hypotl): Likewise.
47194 * math/w_j0l.c (__j0l, __y0l): Likewise.
47195 * math/w_j1l.c (__j1l, __y1l): Likewise.
47196 * math/w_jnl.c (__jnl, __ynl): Likewise.
47197 * math/w_lgammal.c (__lgammal): Likewise.
47198 * math/w_log10l.c (__log10l): Likewise.
47199 * math/w_log2l.c (__log2l): Likewise.
47200 * math/w_logl.c (__logl): Likewise.
47201 * math/w_powl.c (__powl): Likewise.
47202 * math/w_remainderl.c (__remainderl): Likewise.
47203 * math/w_scalbl.c (sysv_scalbl): Likewise.
47204 * math/w_sinhl.c (__sinhl): Likewise.
47205 * math/w_sqrtl.c (__sqrtl): Likewise.
47206 * math/w_tgammal.c (__tgammal): Likewise.
47207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47208 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47209 * math/libm-test.inc (acos_test): Add more tests.
47210 (acosh_test): Likewise.
47211 (asin_test): Likewise.
47212 (atanh_test): Likewise.
47213 (exp_test): Likewise.
47214 (exp10_test): Likewise.
47215 (exp2_test): Likewise.
47216 (expm1_test): Likewise.
47217 (lgamma_test): Likewise.
47218 (log_test): Likewise.
47219 (log10_test): Likewise.
47220 (log1p_test): Likewise.
47221 (log2_test): Likewise.
47222 (pow_test): Do not allow some spurious overflow exceptions.
47223 (sqrt_test): Add more tests.
47224 (tgamma_test): Likewise.
47225 (y0_test): Likewise.
47226 (y1_test): Likewise.
47227 (yn_test): Likewise.
47229 2012-03-27 Anton Blanchard <anton@samba.org>
47231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47237 2012-03-27 David S. Miller <davem@davemloft.net>
47239 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47241 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47242 have-as-vis3 check.
47244 2012-03-27 Andreas Jaeger <aj@suse.de>
47246 * sysdeps/x86_64/elf/configure.in: Moved to ...
47247 * sysdeps/x86_64/configure.in: ... here.
47248 * sysdeps/x86_64/elf/start.S: Moved to ...
47249 * sysdeps/x86_64/start.S: ... here.
47250 * sysdeps/x86_64/elf/configure: Delete.
47252 * sysdeps/x86_64/configure.in: Merge contents from
47253 sysdeps/i386/configure.in (without i686 check).
47255 * sysdeps/i386/elf/Versions: Merge into ...
47256 * sysdeps/i386/Versions: ... this.
47257 * sysdeps/i386/elf/Versions: Delete file.
47258 * sysdeps/i386/elf/start.S: Moved to ...
47259 * sysdeps/i386/start.S: ...here.
47260 * sysdeps/i386/elf/configure.in: Merge into...
47261 * sysdeps/i386/configure.in: ...here.
47262 * sysdeps/i386/elf/configure.in: Delete file.
47263 * sysdeps/i386/elf/configure: Delete file.
47265 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47266 * debug/backtracesyms.c: ... here.
47267 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47268 * debug/backtracesymsfd.c: ... here.
47269 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47270 * sysdeps/generic/ifunc-sel.h: ... here.
47272 * sysdeps/unix/i386/start.c: Delete file.
47273 * sysdeps/unix/sparc/start.c: Delete file.
47274 * sysdeps/unix/start.c: Delete file.
47276 * sysdeps/sh/elf/configure.in: Moved to ...
47277 * sysdeps/sh/configure.in: ... here.
47278 * sysdeps/sh/elf/start.S: Moved to ...
47279 * sysdeps/sh/start.S: ... here.
47280 * sysdeps/sh/elf/configure: Delete file.
47282 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47283 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47284 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47285 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47286 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47287 * sysdeps/powerpc/powerpc64/start.S: here.
47288 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47289 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47290 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47291 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47292 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47294 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47295 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47296 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47297 * sysdeps/powerpc/powerpc32/start.S: ... here.
47298 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47299 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47300 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47302 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47303 * sysdeps/powerpc/ifunc-sel.h: ... here.
47304 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47305 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47307 * sysdeps/sparc/elf/configure.in: Moved to ...
47308 * sysdeps/sparc/configure.in: ... here.
47309 * sysdeps/sparc/elf/configure: Delete file.
47310 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47311 * sysdeps/sparc/sparc32/start.S: ... here.
47312 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47313 * sysdeps/sparc/sparc64/start.S: ... here.
47314 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47315 * sysdeps/sparc/sparc32/Makefile: ... this.
47316 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47317 * sysdeps/sparc/sparc64/Makefile: ... this.
47319 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47320 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47321 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47322 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47323 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47324 * sysdeps/s390/s390-32/setjmp.S: ... here.
47325 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47326 * sysdeps/s390/s390-32/configure.in: ... here.
47327 * sysdeps/s390/s390-32/elf/configure: Delete file.
47328 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47329 * sysdeps/s390/s390-32/start.S: ... here.
47331 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47332 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47333 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47334 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47335 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47336 * sysdeps/s390/s390-64/setjmp.S: ... here.
47337 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47338 * sysdeps/s390/s390-64/configure.in: ... here
47339 * sysdeps/s390/s390-64/elf/configure: Delete file.
47340 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47341 * sysdeps/s390/s390-64/start.S: ... here.
47342 * sysdeps/s390/s390-64/elf/configure: Delete.
47344 * configure.in: Remove support for elf directories in sysdeps.
47346 * configure: Regenerated.
47347 * sysdeps/i386/configure: Regenerated.
47348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47350 * sysdeps/s390/s390-32/configure: Regenerated.
47351 * sysdeps/s390/s390-64/configure: Regenerated.
47352 * sysdeps/sh/configure: Regenerated.
47353 * sysdeps/sparc/configure: Regenerated.
47354 * sysdeps/x86_64/configure: Regenerated.
47356 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47361 denormal result into account.
47363 2012-03-25 Roland McGrath <roland@hack.frob.com>
47365 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47366 Reported by Allan McRae <allan@archlinux.org>.
47368 2012-03-23 Jeff Law <law@redhat.com>
47370 * nss/getnssent.c (__nss_getent): Fix typo.
47372 2012-03-23 David S. Miller <davem@davemloft.net>
47374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47376 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47378 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47379 to pad to uint64_t for each field.
47380 (dl_tls_index): Replace unsigned long with uint64_t.
47382 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47383 Paul Pluzhnikov <ppluzhnikov@google.com>
47386 * grp/Makefile (otherlibs): Don't set it.
47387 * inet/Makefile (otherlibs): Likewise.
47388 * login/Makefile (otherlibs): Likewise.
47389 * nscd/Makefile (otherlibs): Likewise.
47390 * posix/Makefile (otherlibs): Likewise.
47391 * pwd/Makefile (otherlibs): Likewise.
47392 * rt/Makefile (otherlibs): Likewise.
47393 * sunrpc/Makefile (otherlibs): Likewise.
47394 * nss/Makefile (otherlibs): Likewise.
47395 Add libnss_files to routines and static-only-routines.
47396 ($(objpfx)getent): Remove rule.
47397 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47398 static-only-routines.
47400 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47403 * math/s_cexp.c: Include <float.h>.
47404 (__cexp): Handle exp result overflowing not necessarily
47405 overflowing both real and imaginary parts of result.
47406 * math/s_cexpf.c: Likewise.
47407 * math/s_cexpl.c: Likewise.
47408 * math/libm-test.inc (cexp_test): Add more tests.
47409 * sysdeps/i386/fpu/libm-test-ulps: Update.
47410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47414 * include/link.h (ELFW): New macro.
47415 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47416 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47420 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47425 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47427 (struct La_x32_retval): Likewise.
47429 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47431 * sysdeps/x86_64/preconfigure.in: New file.
47432 * sysdeps/x86_64/preconfigure: New generated file.
47434 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47437 * math/e_exp2l.c: Include <float.h>.
47438 (__ieee754_exp2l): Handle overflow and underflow cases
47439 separately. Only pass fractional part of argument to
47441 * math/libm-test.inc (exp2_test): Add more tests.
47443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47444 negating x to take absolute value.
47445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47450 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47451 computing low part if x was negated.
47452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47454 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47456 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47457 la_x32_gnu_pltexit.
47458 (pltexit): Cast int_retval to ptrdiff_t.
47459 * elf/tst-auditmod3b.c: Likewise.
47460 * elf/tst-auditmod4b.c: Likewise.
47461 * elf/tst-auditmod5b.c: Likewise.
47462 * elf/tst-auditmod6b.c: Likewise.
47463 * elf/tst-auditmod6c.c: Likewise.
47464 * elf/tst-auditmod7b.c: Likewise.
47466 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47467 and x32_gnu_pltexit.
47469 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47470 __ELF_NATIVE_CLASS.
47471 (La_x32_regs): New macro.
47472 (La_x32_retval): Likewise.
47473 (la_x32_gnu_pltenter): New function prototype.
47474 (la_x32_gnu_pltexit): Likewise.
47476 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47483 * configure.in (libc_cv_cc_nofma): Check for option to disable
47484 generation of FMA instructions.
47485 * configure: Regenerate.
47486 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47487 * sysdeps/ieee754/dbl-64/Makefile: New file.
47488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47489 Remove brandred-fma4.
47490 (CFLAGS-brandred-fma4.c): Remove.
47491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47497 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47500 LLONG_MAX != LONG_MAX.
47501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47502 (_fitoa_word): Likewise.
47503 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47504 LLONG_MAX != LONG_MAX.
47505 * stdio-common/_itowa.h: Include <_itoa.h>.
47506 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47507 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47508 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47509 only if not defined.
47510 (_ITOA_WORD_TYPE): Likewise.
47511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47512 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47514 2012-03-21 David S. Miller <davem@davemloft.net>
47516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47518 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47520 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47521 of x86_64 when setting libc_cv_slibdir, libdir and
47523 * sysdeps/unix/sysv/linux/configure: Regenerated.
47525 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47527 * manual/lang.texi (Old Varargs): Remove section.
47528 (How Variadic): Update menu.
47529 (va_start): Do not mention varargs.h.
47531 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47532 Joseph Myers <joseph@codesourcery.com>
47534 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47536 * configure: Regenerated.
47538 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47540 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47541 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47544 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47547 * Makefile (files-for-dist): Remove NOTES.
47548 (NOTES): Remove rule.
47549 * README: Don't refer to NOTES.
47550 * manual/creature.texi: Don't include macros.texi.
47551 * manual/intro.texi (creature.texi): Remove comment referring to
47554 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47555 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47556 * configure: Regenerated.
47557 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47558 LIBC_TRY_CC_OPTION.
47559 (libc_cv_as_i686): Likewise.
47560 (libc_cv_cc_avx): Likewise.
47561 (libc_cv_cc_sse2avx): Likewise.
47562 (libc_cv_cc_fma4): Likewise.
47563 (libc_cv_cc_novzeroupper): Likewise.
47564 * sysdeps/i386/configure: Regenerated.
47567 * sysdeps/i386/fpu/s_cexp.S: Remove.
47568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47570 * math/libm-test.inc (cexp_test): Add more tests.
47571 * sysdeps/i386/fpu/libm-test-ulps: Update.
47572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47574 2012-03-21 Allan McRae <allan@archlinux.org>
47576 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47578 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47581 * math/w_exp2.c: Do not include <float.h>.
47582 (o_threshold, u_threshold): Remove.
47583 (__exp2): Calculate result before checking finiteness and calling
47585 * math/w_exp2f.c: Likewise.
47586 * math/w_exp2l.c: Likewise.
47587 * math/libm-test.inc (exp2_test): Require overflow exception for
47591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47592 range of signed 64-bit integers before using fistpll. Remove
47593 checks for whether integers fit in mantissa bits.
47594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47595 the range of signed 32-bit integers before using fistpl. Remove
47596 checks for whether integers fit in mantissa bits.
47597 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47598 (__ieee754_powl): Test for y outside the range of signed 64-bit
47599 integers before using fistpll. Reduce 64-bit values to 63-bit
47601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47602 divide-by-zero is raised for zero to large negative powers.
47603 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47604 (__ieee754_powl): Test for y outside the range of signed 64-bit
47605 integers before using fistpll. Reduce 64-bit values to 63-bit
47607 * math/libm-test.inc (pow_test): Add more tests.
47609 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47611 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47612 <stdio-common/_itoa.h>.
47613 * debug/segfault.c: Likewise.
47614 * elf/dl-cache.c: Likewise.
47615 * elf/dl-minimal.c: Likewise.
47616 * elf/dl-misc.c: Likewise.
47617 * elf/dl-sysdep.c: Likewise.
47618 * elf/dl-version.c: Likewise.
47619 * elf/rtld.c: Likewise.
47620 * hurd/hurdsock.c: Likewise.
47621 * hurd/lookup-retry.c: Likewise.
47622 * malloc/malloc.c: Likewise.
47623 * malloc/mtrace.c: Likewise.
47624 * nscd/nscd_getgr_r.c: Likewise.
47625 * nscd/nscd_getpw_r.c: Likewise.
47626 * nscd/nscd_getserv_r.c: Likewise.
47627 * posix/getopt_init.c: Likewise.
47628 * posix/wordexp.c: Likewise.
47629 * stdio-common/_itoa.c: Likewise.
47630 * stdio-common/printf_fphex.c: Likewise.
47631 * stdio-common/vfprintf.c: Likewise.
47632 * string/_strerror.c: Likewise.
47633 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47634 * sysdeps/i386/i686/hp-timing.h: Likewise.
47635 * sysdeps/mach/_strerror.c: Likewise.
47636 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47637 * sysdeps/mach/hurd/sethostid.c: Likewise.
47638 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47639 * sysdeps/mach/xpg-strerror.c: Likewise.
47640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47642 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47643 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47644 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47645 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47647 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47648 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47649 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47650 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47651 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47652 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47653 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47654 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47656 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47660 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47662 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47664 * stdio-common/_itoa.h: Moved to ...
47665 * sysdeps/generic/_itoa.h: Here.
47667 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47669 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47670 instead of "_itoa.h" and "_itowa.h".
47671 * stdio-common/vfprintf.: Likewise.
47673 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47677 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47678 (__signbit): Likwise.
47679 (llrintf): Likwise.
47682 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47684 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47687 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47689 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47690 OVERFLOW_EXCEPTION_OK.
47691 * math/libm-test.inc ("Philosophy"): Update comment about
47693 (OVERFLOW_EXCEPTION): Define.
47694 (OVERFLOW_EXCEPTION_OK): Likewise.
47695 (INVALID_EXCEPTION_OK): Renumber.
47696 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47697 (IGNORE_ZERO_INF_SIGN): Likewise.
47698 (test_exceptions): Handle FE_OVERFLOW.
47699 (exp10_test): Expect overflow exceptions.
47700 (exp2_test): Likewise.
47701 (expm1_test): Likewise.
47702 (nextafter_test): Likewise.
47703 (pow_test): Likewise.
47704 (scalbn_test): Likewise.
47705 (scalbln_test): Likewise.
47707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47709 * sysdeps/x86_64/bits/atomic.h
47710 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47712 (atomic_exchange_acq): Likewise.
47713 (__arch_exchange_and_add_body): Likewise.
47714 (__arch_add_body): Likewise.
47715 (atomic_add_negative): Likewise.
47716 (atomic_add_zero): Likewise.
47718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47720 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47721 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47725 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47726 Check __x86_64__ instead of __WORDSIZE.
47728 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47730 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47732 2012-03-19 David S. Miller <davem@davemloft.net>
47734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47736 * sysdeps/sparc/fpu/fenv_private.h: New file.
47737 * sysdeps/sparc/fpu/math_private.h: Use it.
47738 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47741 (libc_feholdexcept_setroundl): Remove.
47742 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47749 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47750 int64_t instead of long int.
47751 (INSERT_WORDS64): Likwise.
47753 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47755 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47756 _Unwind_GetCFA return to _Unwind_Ptr first.
47758 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47761 * math/s_clog.c: Include <float.h>.
47762 (__clog): Scale large or subnormal inputs.
47763 * math/s_clogf.c: Likewise.
47764 * math/s_clogl.c: Likewise.
47765 * math/s_clog10.c: Include <float.h>.
47766 (M_LOG10_2): Define.
47767 (__clog10): Scale large or subnormal inputs.
47768 * math/s_clog10f.c: Likewise.
47769 * math/s_clog10l.c: Likewise.
47770 * math/libm-test.inc (clog_test): Add more tests.
47771 (clog10_test): Likewise.
47772 * sysdeps/i386/fpu/libm-test-ulps: Update.
47773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47778 * math/libm-test.inc (atan2_test): Add another test.
47780 * Makerules (common-objdir-compile): Remove.
47781 * sysdeps/unix/Makefile (config-generated): Do not add
47782 $(unix-generated) to variable.
47783 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47784 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47786 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47788 [generic bits/local_lim.h] (before-compile): Do not append to
47790 [generic bits/local_lim.h] (common-generated): Likewise.
47791 [generic sys/param.h] (before-compile): Do not append to variable.
47792 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47793 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47797 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47798 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47799 [generic sys/param.h] ($(addprefix
47800 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47801 [generic sys/param.h] (common-generated): Do not append to
47803 [generic sys/param.h] (sysdep_headers): Likewise.
47804 [generic bits/errno.h] (before-compile): Do not append to
47806 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47808 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47809 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47810 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47811 [generic bits/errno.h] (common-generated): Do not append to
47813 [generic bits/ioctls.h] (before-compile): Do not append to
47815 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47817 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47818 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47819 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47822 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47823 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47824 [generic bits/ioctls.h] (common-generated): Do not append to
47826 [generic sys/syscall.h] (syscall.h): Remove variable.
47827 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47829 [generic sys/syscall.h] (before-compile): Do not append to
47831 [generic sys/syscall.h] (common-generated): Likewise.
47832 * sysdeps/unix/errnos-tmpl.c: Remove file.
47833 * sysdeps/unix/errnos.awk: Likewise.
47834 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47835 * sysdeps/unix/ioctls.awk: Likewise.
47836 * sysdeps/unix/mk-local_lim.c: Likewise.
47837 * sysdeps/unix/snarf-ioctls: Likewise.
47839 2012-03-19 Richard Henderson <rth@twiddle.net>
47841 * sysdeps/i386/fpu/fenv_private.h: New file.
47842 * sysdeps/i386/fpu/math_private.h: Use it.
47843 (math_opt_barrier, math_force_eval): Remove.
47844 (libc_feholdexcept_setround_53bit): Remove.
47845 (libc_feupdateenv_53bit): Remove.
47846 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47847 (math_opt_barrier, math_force_eval): Remove.
47848 (libc_feholdexcept): Remove.
47849 (libc_feholdexcept_setround): Remove.
47850 (libc_fetestexcept, libc_fesetenv): Remove.
47851 (libc_feupdateenv_test): Remove.
47852 (libc_feupdateenv, libc_feholdsetround): Remove.
47853 (libc_feresetround): Remove.
47855 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47856 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47858 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47859 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47860 (libc_feupdateenv_testl): New.
47861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47862 (libc_feupdateenv_testf): New.
47863 (libc_feupdateenv): Use libc_feupdateenv_test.
47864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47867 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47868 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47869 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47870 (libc_feresetround_noex): New.
47871 (libc_feresetround_noexf): New.
47872 (libc_feresetround_noexl): New.
47873 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47874 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47875 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47881 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47883 SET_RESTORE_ROUND_NOEX.
47884 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47885 SET_RESTORE_ROUND_NOEXF.
47886 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47887 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47888 (libc_feholdsetroundf): New.
47889 (libc_feresetround, libc_feresetroundf): New.
47891 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47892 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47893 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47895 * sysdeps/generic/math_private.h: Include <fenv.h>.
47896 (default_libc_feholdexcept): New.
47897 (default_libc_feholdexcept_setround): New.
47898 (default_libc_fesetenv, default_libc_feupdateenv): New.
47899 (libc_feholdexcept): Only define if undefined.
47900 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47901 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47902 (libc_feholdexcept_setroundl): Likewise.
47903 (libc_feholdexcept_setround_53bit): Likewise.
47904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47905 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47906 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47907 (libc_feupdateenv_53bit): Likewise.
47908 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47909 (libc_feholdexcept): Convert from macro to inline function.
47910 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47911 (libc_fesetenv, libc_feupdateenv): Likewise.
47913 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47914 not previously defined.
47915 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47916 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47917 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47919 * sysdeps/ieee754/flt-32/math_private.h: New file.
47920 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47921 math_private.h below SET_FLOAT_WORD.
47922 (__isnan, __isinf_ns, __finite): Remove.
47923 (__isnanf, __isinf_nsf, __finitef): Remove.
47925 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47929 2012-03-17 David S. Miller <davem@davemloft.net>
47932 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47935 2012-03-16 David S. Miller <davem@davemloft.net>
47937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47943 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47944 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47945 sysdep_routines when subdir is sysvipc.
47946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47947 __getshmlba helper.
47949 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47951 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47953 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47956 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47960 (__lround): Renamed to ...
47961 (__llround): This. Replace long int with long long int.
47962 Define lround functions as aliases of llround functions.
47963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47965 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47967 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47968 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47969 adresses to uintptr_t. Replace "long int" and "unsigned long
47970 int" with "greg_t" on va_arg.
47972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47974 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47975 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47977 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47978 Move e_machine check before EI_CLASS check. Handle x32
47979 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47980 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47981 SKIP_EM_IA_64 and include
47982 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47984 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47985 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47986 (add_system_dir): New macro.
47988 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47989 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47991 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48002 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48004 * math/w_j0f.c (j0f): Likewise.
48006 * math/w_j0l.c (__j0l): Likewise.
48008 * math/w_j1.c (j1): Likewise.
48010 * math/w_j1f.c (j1f): Likewise.
48012 * math/w_j1l.c (__j1l): Likewise.
48014 * math/w_jn.c (jn): Likewise.
48016 * math/w_jnf.c (jnf): Likewise.
48018 * math/w_jnl.c (__jnl): Likewise.
48020 * math/libm-test.inc (j0_test): Add more tests.
48021 (j1_test): Likewise.
48022 (jn_test): Likewise. Add trailing semicolon to existing test.
48023 (y0_test): Likewise.
48024 (y1_test): Likewise.
48025 * sysdeps/i386/fpu/libm-test-ulps: Update.
48026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48031 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48032 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48034 (__tanl): Set errno for infinite argument.
48035 * sysdeps/i386/fpu/mptan.c: Remove.
48036 * sysdeps/i386/fpu/s_tan.S: Likewise.
48037 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48038 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48039 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48040 * math/libm-test.inc (tan_test): Add more tests and enable more
48041 tests for double and long double.
48042 * sysdeps/i386/fpu/libm-test-ulps: Update.
48043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48045 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48047 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48048 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48050 2012-03-16 Roland McGrath <roland@hack.frob.com>
48052 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48053 * configure.in: Use it for both main tree and add-ons.
48054 * configure: Regenerated.
48056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48058 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48060 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48067 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48070 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48072 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48074 != 0 for prec == 2.
48075 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48076 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48077 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48078 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48079 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48080 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48081 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48082 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48083 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48084 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48085 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48086 * math/libm-test.inc (cos_test): Add more tests and enable more
48087 tests for long double.
48088 (sin_test): Likewise.
48089 (sincos_test): Likewise.
48090 * sysdeps/i386/fpu/libm-test-ulps: Update.
48091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48093 2012-03-16 David S. Miller <davem@davemloft.net>
48095 * sysdeps/sparc/fpu/math_private.h: New file.
48097 2012-03-15 David S. Miller <davem@davemloft.net>
48099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48113 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48114 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48116 * sysdeps/sparc/sparc-ifunc.h: New file.
48117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48162 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48164 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48168 2012-03-15 Andreas Jaeger <aj@suse.de>
48171 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48172 ieee754/flt-32 implementation for sin, cos and sincos.
48173 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48174 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48175 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48176 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48177 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48178 ieee754/flt-32 implementation for tan.
48180 * math/libm-test.inc (cos_test): Enable some large input tests for
48182 (sin_test): Likewise.
48183 (sincos_test): Likewise.
48184 (tan_test): Add tests for large input.
48186 * sysdeps/i386/fpu/libm-test-ulps: Update.
48188 2012-03-15 Andreas Jaeger <aj@suse.de>
48191 * math/libm-test.inc (cos_test): Add more test cases.
48192 (sin_test): Likewise.
48193 (sincos_test): Likewise.
48195 2012-03-15 Andreas Jaeger <aj@suse.de>
48198 * math/libm-test.inc (cos_test): Add a test case for large input
48200 (sin_test): Likewise.
48201 (sincos_test): Likewise.
48203 2012-03-15 Andreas Jaeger <aj@suse.de>
48204 Joseph Myers <joseph@codesourcery.com>
48207 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48208 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48209 * sysdeps/i386/fpu/branred.c: Likewise.
48210 * sysdeps/i386/fpu/dosincos.c: Likewise.
48211 * sysdeps/i386/fpu/mpa.c: Likewise.
48212 * sysdeps/i386/fpu/s_cos.S: Likewise.
48213 * sysdeps/i386/fpu/s_sin.S: Likewise.
48214 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48215 * sysdeps/i386/fpu/sincos32.c: Likewise.
48217 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48219 (libc_feupdateenv_53bit): Define.
48220 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48222 (libc_feupdateenv_53bit): Define.
48224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48225 53 bit (without extend i386 double precision).
48227 * math/libm-test.inc (sincos_test): Add tests for large input.
48231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48233 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48237 2012-03-15 David S. Miller <davem@davemloft.net>
48239 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48240 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48241 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48242 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48267 fmin/fmax sysdep routines.
48268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48270 2012-03-14 David S. Miller <davem@davemloft.net>
48272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48344 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48349 * sysdeps/sparc/configure.in: New file.
48350 * sysdeps/sparc/configure: Generate.
48351 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48352 * configure: Regenerate.
48353 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48354 * config.make.in (have-as-vis3): New.
48355 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48356 available use -Av9d instead of -Av9a.
48357 * sysdeps/sparc/sparc64/Makefile: Likewise.
48358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48373 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48374 fzeros/fnegs to load 0x80000000 into a float register instead of
48376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48378 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48382 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48383 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48384 ($(inst_includedir)/bits/syscall.h): Remove rule.
48385 ($(objpfx)bits/syscall.d): Include instead of
48386 $(objpfx)syscall-list.d.
48387 (generated): Change syscall-list.h and syscall-list.d to
48388 bits/syscall.h and bits/syscall.d.
48390 2012-03-14 Roland McGrath <roland@hack.frob.com>
48393 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48395 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48398 * math/s_csqrt.c: Include <float.h>.
48399 (__csqrt): Scale large or subnormal inputs.
48400 * math/s_csqrtf.c: Likewise.
48401 * math/s_csqrtl.c: Likewise.
48402 * math/libm-test.inc (csqrt_test): Add more tests.
48403 * sysdeps/i386/fpu/libm-test-ulps: Update.
48404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48407 * math/libm-test.inc (hypot_test): Add more tests.
48409 2012-03-13 David S. Miller <davem@davemloft.net>
48412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48413 double-precision for the calculation instead of scaling.
48415 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48418 manipulate bits before adding and subtracting TWO52[sx].
48419 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48422 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48424 2012-03-13 David S. Miller <davem@davemloft.net>
48426 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48427 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48429 rtld-global-offsets.h
48430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48432 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48435 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48437 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48438 'err' in the ifdef scope in which it is actually used.
48440 * nss/nss_db/db-init.c: Include string.h
48442 2012-03-12 David S. Miller <davem@davemloft.net>
48444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48445 masking out of the most significant byte of random value used.
48446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48447 Fix coding style in previous change.
48449 * sysdeps/unix/sysv/linux/kernel-features.h
48450 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48451 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48453 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48456 2012-03-11 David S. Miller <davem@davemloft.net>
48458 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48459 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48461 for 'resultvar' otherwise things get truncated on 64-bit.
48463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48464 Fix masking out of the most significant byte of random value used.
48466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48468 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48472 2012-03-09 David S. Miller <davem@davemloft.net>
48474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48475 variables with appropriate CPP guards.
48476 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48477 from the frame pointer, not the stack pointer. Correct layout
48478 comments. Fix test on resulting framesize and the management of
48479 the outregs buffer for pltexit. Preserve floating point return
48480 values across _dl_call_pltexit call.
48481 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48482 framesize and the management of the outregs buffer for pltexit.
48483 Preserve floating point return values across _dl_call_pltexit
48485 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48486 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48487 (la_sparc64_gnu_pltexit): New functions.
48488 (print_exit): Fix format string for return register value.
48490 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48492 * sunrpc/Makefile (others): Add rpcgen.
48493 ($(objpfx)rpcgen): Remove special build rule and dependency on
48495 * sunrpc/rpcgen.c: New file.
48497 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48500 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48501 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48502 * sysdeps/i386/crti.S: Likewise.
48503 * sysdeps/i386/crtn.S: Likewise.
48504 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48505 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48506 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48507 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48508 * sysdeps/sh/crti.S: Likewise.
48509 * sysdeps/sh/crtn.S: Likewise.
48510 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48513 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48515 * locale/programs/locfile-kw.gperf: Likewise.
48516 * locale/programs/charmap-kw.h: Regenerated.
48517 * locale/programs/locfile-kw.h: Likewise.
48520 * intl/plural.y: Replace FSF snail mail address with URL.
48521 * intl/plural.c: Regenerated.
48523 2012-03-09 Richard Henderson <rth@twiddle.net>
48525 * include/math_private.h: Remove file.
48526 * math/math_private.h: Move file ...
48527 * sysdeps/generic/math_private.h: ... here.
48529 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48530 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48531 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48533 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48534 and <math_private.h>.
48535 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48536 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48537 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48538 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48539 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48550 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48551 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48552 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48553 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48554 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48556 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48557 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48567 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48568 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48569 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48570 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48572 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48573 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48575 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48576 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48577 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48578 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48579 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48580 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48581 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48582 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48583 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48584 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48585 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48586 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48587 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48588 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48589 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48590 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48592 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48593 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48594 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48596 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48598 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48599 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48600 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48601 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48602 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48603 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48604 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48605 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48609 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48614 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48615 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48619 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48622 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48623 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48626 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48629 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48630 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48635 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48636 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48637 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48638 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48639 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48640 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48641 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48642 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48643 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48644 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48645 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48646 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48647 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48648 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48649 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48652 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48653 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48654 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48655 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48656 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48657 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48658 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48659 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48660 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48661 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48662 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48663 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48664 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48665 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48666 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48667 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48668 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48669 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48670 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48672 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48673 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48674 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48676 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48677 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48678 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48679 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48680 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48681 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48682 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48683 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48684 * sysdeps/ieee754/k_standard.c: Likewise.
48685 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48687 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48689 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48697 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48698 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48699 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48702 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48709 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48710 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48712 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48716 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48718 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48720 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48721 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48722 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48723 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48724 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48725 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48726 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48727 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48728 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48729 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48730 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48731 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48733 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48736 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48737 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48738 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48741 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48742 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48743 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48744 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48746 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48747 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48751 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48752 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48753 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48754 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48759 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48761 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48767 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48770 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48771 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48773 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48775 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48776 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48777 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48778 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48779 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48780 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48781 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48782 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48783 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48784 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48789 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48792 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48793 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48794 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48795 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48796 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48798 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48801 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48803 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48804 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48805 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48806 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48807 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48808 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48810 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48811 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48812 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48813 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48814 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48815 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48816 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48817 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48818 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48819 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48821 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48822 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48823 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48824 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48825 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48826 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48827 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48828 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48829 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48830 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48831 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48834 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48835 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48836 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48838 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48839 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48840 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48841 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48842 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48843 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48844 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48845 * sysdeps/ieee754/s_lib_version.c: Likewise.
48846 * sysdeps/ieee754/s_matherr.c: Likewise.
48847 * sysdeps/ieee754/s_signgam.c: Likewise.
48848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48850 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48851 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48852 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48853 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48854 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48855 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48856 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48857 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48858 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48859 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48860 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48861 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48862 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48863 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48864 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48865 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48866 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48870 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48872 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48873 * sunrpc/rpc_main.c: Likewise.
48874 * sunrpc/rpc_svcout.c: Likewise.
48876 2012-03-09 David S. Miller <davem@davemloft.net>
48878 * include/math_private.h: New file.
48880 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48882 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48883 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48884 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48885 from <bits/socket_type.h>.
48886 (enum __socket_type): Don't define here.
48887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48889 bits/socket_type.h.
48892 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48893 checking __USE_GNU.
48895 * Makerules ($(inst_includedir)/%.h): New rule.
48896 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48897 (install-others): Remove variable setting.
48898 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48900 2012-03-08 Richard Henderson <rth@twiddle.net>
48902 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48903 from macro to inline function; merge with the
48904 !__LIBC_INTERNAL_MATH_INLINES version.
48905 (__ieee754_sqrtf): Likewise.
48907 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48908 to inline function.
48909 (__rintf, __floor, __floorf): Likewise.
48911 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48912 macro to inline function.
48913 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48916 not <math/math_private.h>.
48918 2012-03-08 David S. Miller <davem@davemloft.net>
48920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48922 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48924 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48926 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48928 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48929 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48931 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48933 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48934 be defined individually, they must be defined as a block. Define
48935 S for printing a string instead of hidint the different by using a
48936 macro for adding the 'l'.
48937 * stdio-common/tst-fphex-wide.c: Adjust.
48939 2012-03-07 Marek Polacek <polacek@redhat.com>
48941 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48943 2012-03-08 Marek Polacek <polacek@redhat.com>
48946 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48947 * stdio-common/tst-fphex.c: Define a few macros to make the
48948 test reusable. Use them.
48949 * stdio-common/tst-fphex-wide.c: New file.
48951 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48954 * manual/macros.texi (gnusystems): New macro.
48955 (nongnusystems): Likewise.
48956 (gnulinuxhurdsystems): Likewise.
48957 (gnuhurdsystems): Likewise..
48958 (gnulinuxsystems): Likewise.
48959 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48960 variants of the GNU system, not "GNU system".
48961 * manual/conf.texi: Likewise.
48962 * manual/errno.texi: Likewise. Update example of errno macro
48964 * manual/filesys.texi: Likewise.
48965 (getumask): Document as specific to GNU/Hurd.
48966 * manual/install.texi: Likewise. Reword some references to
48968 * manual/intro.texi: Likewise.
48969 * manual/io.texi: Likewise.
48970 (File Name Portability): Detail which constraints are inapplicable
48971 to all GNU systems and which are only inapplicable to GNU/Hurd.
48972 * manual/job.texi: Likewise.
48973 * manual/llio.texi: Likewise.
48974 (O_NOCTTY): Document as present on GNU/Linux.
48975 * manual/maint.texi: Likewise.
48976 * manual/memory.texi: Likewise.
48977 * manual/pattern.texi: Likewise.
48978 * manual/pipe.texi: Likewise.
48979 * manual/process.texi: Likewise.
48980 * manual/resource.texi: Likewise.
48981 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48983 * manual/setjmp.texi: Likewise.
48984 * manual/signal.texi: Likewise.
48985 * manual/startup.texi: Likewise.
48986 * manual/stdio.texi: Likewise.
48987 * manual/terminal.texi: Likewise.
48988 (ONLCR): Document as POSIX.
48989 (OXTABS): Document availability on GNU/Linux as XTABS.
48990 (ONOEOT): Document availability separately from other bits.
48991 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48992 * manual/time.texi: Likewise.
48993 * manual/users.texi: Likewise.
48994 * INSTALL: Regenerated.
48995 * sysdeps/gnu/errlist.c: Regenerated.
48997 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48998 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48999 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49001 * configure: Regenerated.
49003 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49005 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49006 default includes instead of AC_HEADER_CHECK.
49007 * sysdeps/i386/configure: Regenerated.
49010 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49011 * math/s_cacoshf.c (__cacoshf): Likewise.
49012 * math/s_cacoshl.c (__cacoshl): Likewise.
49013 * math/s_casinh.c (__casinh): Set signs of result from argument.
49014 * math/s_casinhf.c (__casinhf): Likewise.
49015 * math/s_casinhl.c (__casinhl): Likewise.
49016 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49017 (casinh_test): Add more tests.
49018 * sysdeps/i386/fpu/libm-test-ulps: Update.
49019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49021 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49023 * po/zh_TW.po: Update from translation team.
49025 * login/Makefile (distribute): Remove variable.
49026 * catgets/Makefile: Likewise.
49027 * mach/Makefile: Likewise.
49028 * malloc/Makefile: Likewise.
49029 * misc/Makefile: Likewise.
49030 * iconv/Makefile: Likewise.
49031 * nscd/Makefile: Likewise.
49032 * hurd/Makefile: Likewise.
49033 * manual/Makefile: Likewise.
49034 * locale/Makefile: Likewise.
49035 * intl/Makefile: Likewise.
49036 * conform/Makefile: Likewise.
49037 * nss/Makefile: Likewise.
49038 * time/Makefile: Likewise.
49039 * soft-fp/Makefile: Likewise.
49040 * dirent/Makefile: Likewise.
49041 * gmon/Makefile: Likewise.
49042 * po/Makefile: Likewise.
49043 * rt/Makefile: Likewise.
49044 * socket/Makefile: Likewise.
49045 * math/Makefile: Likewise.
49046 * signal/Makefile: Likewise.
49047 * debug/Makefile: Likewise.
49048 * elf/Makefile: Likewise.
49049 * timezone/Makefile: Likewise.
49050 * stdlib/Makefile: Likewise.
49051 * iconvdata/Makefile: Likewise.
49052 * sunrpc/Makefile: Likewise.
49053 * io/Makefile: Likewise.
49054 * argp/Makefile: Likewise.
49055 * inet/Makefile: Likewise.
49056 * hesiod/Makefile: Likewise.
49057 * grp/Makefile: Likewise.
49058 * csu/Makefile: Likewise.
49059 * wctype/Makefile: Likewise.
49060 * crypt/Makefile: Likewise.
49061 * libio/Makefile: Likewise.
49062 * string/Makefile: Likewise.
49063 * nis/Makefile: Likewise.
49064 * resolv/Makefile: Likewise.
49065 * stdio-common/Makefile: Likewise.
49066 * wcsmbs/Makefile: Likewise.
49067 * dlfcn/Makefile: Likewise.
49068 * posix/Makefile: Likewise.
49071 * timezone/Makefile: Don't install timezone files, just the programs
49074 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49076 * nss/databases.def: Add missing gshadow entry.
49078 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49080 2012-03-06 Marek Polacek <polacek@redhat.com>
49083 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49084 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49085 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49086 * stdio-common/tst-long-dbl-fphex.c: New file.
49088 2012-03-06 David S. Miller <davem@davemloft.net>
49090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49091 (set_obp_int): New function.
49092 (get_obp_int): New function.
49093 (__get_clockfreq_via_dev_openprom): Likewise.
49094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49095 Avoid unused variable warnings on 'val' and use builtin_expect.
49096 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49098 (INLINE_CLONE_SYSCALL): Likewise.
49100 2012-03-05 David S. Miller <davem@davemloft.net>
49102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49104 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49109 only for |x| >= 40.
49110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49112 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49115 Replace gettimeofday with __vdso_gettimeofday.
49117 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49118 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49119 __vdso_clock_gettime and __vdso_getcpu.
49121 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49122 time with __vdso_time.
49124 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49126 * manual/lang.texi (size_t): Note types to which size_t may be
49127 equivalent with the GNU C Library, but do not describe when
49128 differences between them are significant.
49130 2012-03-05 Andreas Jaeger <aj@suse.de>
49132 * sysdeps/i386/fpu/libm-test-ulps: Update.
49134 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49137 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49138 (__ieee754_pow): Save and restore rounding mode and use
49139 round-to-nearest for main computations.
49140 * math/libm-test.inc (pow_test_tonearest): New function.
49141 (pow_test_towardzero): Likewise.
49142 (pow_test_downward): Likewise.
49143 (pow_test_upward): Likewise.
49144 (main): Call the new functions.
49145 * sysdeps/i386/fpu/libm-test-ulps: Update.
49146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49149 * math/libm-test.inc (cosh_test_tonearest): New function.
49150 (cosh_test_towardzero): Likewise.
49151 (cosh_test_downward): Likewise.
49152 (cosh_test_upward): Likewise.
49153 (sinh_test_tonearest): Likewise.
49154 (sinh_test_towardzero): Likewise.
49155 (sinh_test_downward): Likewise.
49156 (sinh_test_upward): Likewise.
49157 (main): Call the new functions.
49158 * sysdeps/i386/fpu/libm-test-ulps: Update.
49159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49161 2012-03-05 Tom de Vries <tom@codesourcery.com>
49163 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49164 default stack guard is set in last bytes.
49165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49167 2012-03-05 Kees Cook <keescook@chromium.org>
49169 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49172 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49173 possibly allocate from heap instead of stack.
49174 * stdio-common/bug-vfprintf-nargs.c: New file.
49175 * stdio-common/Makefile (tests): Add nargs overflow test.
49177 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49181 2012-03-03 Marek Polacek <polacek@redhat.com>
49183 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49184 * math/math_private.h: Likewise.
49185 * stdlib/tst-strtod.c: Likewise.
49186 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49187 * sysdeps/x86_64/bits/atomic.h: Likewise.
49189 2012-03-02 David S. Miller <davem@davemloft.net>
49191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49195 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49196 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49197 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49198 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49200 2012-03-02 Roland McGrath <roland@hack.frob.com>
49203 * manual/examples/README: New file, says the example source files
49204 can be used under GPL>=2.
49205 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49206 line containing just "*/".
49207 * manual/examples/add.c: Add copyright header (GPL>=2).
49208 * manual/examples/argp-ex1.c: Likewise.
49209 * manual/examples/argp-ex2.c: Likewise.
49210 * manual/examples/argp-ex3.c: Likewise.
49211 * manual/examples/argp-ex4.c: Likewise.
49212 * manual/examples/atexit.c: Likewise.
49213 * manual/examples/db.c: Likewise.
49214 * manual/examples/dir.c: Likewise.
49215 * manual/examples/dir2.c: Likewise.
49216 * manual/examples/execinfo.c: Likewise.
49217 * manual/examples/filecli.c: Likewise.
49218 * manual/examples/filesrv.c: Likewise.
49219 * manual/examples/fmtmsgexpl.c: Likewise.
49220 * manual/examples/genpass.c: Likewise.
49221 * manual/examples/inetcli.c: Likewise.
49222 * manual/examples/inetsrv.c: Likewise.
49223 * manual/examples/isockad.c: Likewise.
49224 * manual/examples/longopt.c: Likewise.
49225 * manual/examples/memopen.c: Likewise.
49226 * manual/examples/memstrm.c: Likewise.
49227 * manual/examples/mkfsock.c: Likewise.
49228 * manual/examples/mkisock.c: Likewise.
49229 * manual/examples/mygetpass.c: Likewise.
49230 * manual/examples/pipe.c: Likewise.
49231 * manual/examples/popen.c: Likewise.
49232 * manual/examples/rprintf.c: Likewise.
49233 * manual/examples/search.c: Likewise.
49234 * manual/examples/select.c: Likewise.
49235 * manual/examples/setjmp.c: Likewise.
49236 * manual/examples/sigh1.c: Likewise.
49237 * manual/examples/sigusr.c: Likewise.
49238 * manual/examples/stpcpy.c: Likewise.
49239 * manual/examples/strdupa.c: Likewise.
49240 * manual/examples/strftim.c: Likewise.
49241 * manual/examples/strncat.c: Likewise.
49242 * manual/examples/subopt.c: Likewise.
49243 * manual/examples/swapcontext.c: Likewise.
49244 * manual/examples/termios.c: Likewise.
49245 * manual/examples/testopt.c: Likewise.
49246 * manual/examples/testpass.c: Likewise.
49247 * manual/examples/timeval_subtract.c: Likewise.
49250 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49252 * manual/timeval_subtract.c.texi: ... here, new file.
49254 2012-03-02 David S. Miller <davem@davemloft.net>
49256 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49258 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49261 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49262 (__sin): Save and restore rounding mode and use round-to-nearest
49263 for all computations.
49264 (__cos): Save and restore rounding mode and use round-to-nearest
49265 for all computations.
49266 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49268 (tan): Save and restore rounding mode and use round-to-nearest for
49270 * math/libm-test.inc (cos_test_tonearest): New function.
49271 (cos_test_towardzero): Likewise.
49272 (cos_test_downward): Likewise.
49273 (cos_test_upward): Likewise.
49274 (sin_test_tonearest): Likewise.
49275 (sin_test_towardzero): Likewise.
49276 (sin_test_downward): Likewise.
49277 (sin_test_upward): Likewise.
49278 (tan_test_tonearest): Likewise.
49279 (tan_test_towardzero): Likewise.
49280 (tan_test_downward): Likewise.
49281 (tan_test_upward): Likewise.
49282 (main): Call the new functions.
49283 * sysdeps/i386/fpu/libm-test-ulps: Update.
49284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49287 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49288 small n, then large n, before computing and testing k+n.
49289 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49294 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49295 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49298 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49299 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49302 * math/libm-test.inc (scalbn_test): Add more tests.
49303 (scalbln_test): Likewise.
49305 * manual/filesys.texi (mode_t): Describe constraints on size and
49306 signedness, not exact equivalence to a particular type.
49308 (ino64_t): Likewise.
49310 (nlink_t): Likewise.
49311 (blkcnt_t): Likewise.
49312 (blkcnt64_t): Likewise.
49313 * manual/llio.texi (off_t): Likewise.
49316 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49317 (__ieee754_exp): Save and restore rounding mode and use
49318 round-to-nearest for all computations.
49319 * math/libm-test.inc (exp_test_tonearest): New function.
49320 (exp_test_towardzero): Likewise.
49321 (exp_test_downward): Likewise.
49322 (exp_test_upward): Likewise.
49323 (main): Call the new functions.
49324 * sysdeps/i386/fpu/libm-test-ulps: Update.
49325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49327 2012-03-01 Chris Demetriou <cgd@google.com>
49329 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49330 have predictable order.
49332 2012-03-01 David S. Miller <davem@davemloft.net>
49334 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49336 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49337 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49338 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49339 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49341 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49342 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49343 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49345 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49346 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49347 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49348 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49349 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49354 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49357 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49358 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49359 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49360 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49361 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49362 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49364 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49365 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49366 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49367 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49373 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49374 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49375 * sysdeps/sparc/elf/configure: Regenerated.
49377 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49379 * configure.in (AS, LD): Require binutils 2.20 or later.
49380 * configure: Regenerated.
49381 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49382 as required minimum version.
49383 * INSTALL: Regenerated.
49387 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49388 before squaring exponent.
49389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49390 bottom long double and 27 bits of top long double before squaring
49392 * math/libm-test.inc (erfc_test): Add more tests.
49393 * sysdeps/i386/fpu/libm-test-ulps: Update.
49394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49397 2012-03-01 Kai Tietz <ktietz@redhat.com>
49399 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49400 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49401 containing bit-fields.
49402 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49403 * soft-fp/single.h (_FP_UNION_S): Likewise.
49404 * soft-fp/double.h (_FP_UNION_D): Likewise.
49406 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49409 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49410 not include ../strcmp.S.
49411 [USE_AS_STRNCASECMP_L]: Likewise.
49412 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49413 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49414 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49415 (__strncasecmp_l_ia32): Define as alias to
49416 __strncasecmp_l_nonascii.
49419 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49420 * sysdeps/i386/fpu/libm-test-ulps: Update.
49421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49423 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49426 2012-02-29 Jeff Law <law@redhat.com>
49428 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49429 out of bounds read.
49431 2012-02-29 Marek Polacek <polacek@redhat.com>
49434 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49435 * elf/Makefile: Add rules to run tst-unused-dep.out.
49437 2012-02-28 David S. Miller <davem@davemloft.net>
49439 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49440 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49443 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49444 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49446 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49448 * math/libm-test.inc (llround_test): Move one test from
49449 lround_test. Use TEST_f_L in moved test.
49450 (lround_test): Move misplaced test to llround_test. Add testcase
49453 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49455 * sysdeps/x86_64/fpu/e_expf.S: New file.
49456 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49458 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49461 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49462 of remain_len that may cause incomplete multi-byte character and
49464 * posix/bug-regex33.c: New file.
49465 * posix/Makefile (tests): Add bug-regex33.
49467 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49469 * manual/macros.texi: New file.
49470 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49471 * manual/libc.texinfo: Include macros.texi.
49472 * manual/creatute.texi: Likewise.
49473 * manual/install.texi: Likewise.
49474 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49475 @glibcadj{} in references to the GNU C Library.
49476 * manual/charset.texi: Likewise.
49477 * manual/conf.texi: Likewise.
49478 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49479 when not using those macros.
49480 * manual/creature.texi: Likewise.
49481 * manual/crypt.texi: Likewise.
49482 * manual/errno.texi: Likewise.
49483 * manual/filesys.texi: Likewise.
49484 * manual/header.texi: Likewise.
49485 * manual/install.texi: Likewise.
49486 * manual/intro.texi: Likewise.
49487 * manual/io.texi: Likewise.
49488 * manual/job.texi: Likewise.
49489 * manual/lang.texi: Likewise.
49490 * manual/libc.texiinfo: Likewise.
49491 * manual/llio.texi: Likewise.
49492 * manual/locale.texi: Likewise.
49493 * manual/maint.texi: Likewise.
49494 * manual/math.texi: Likewise.
49495 * manual/memory.texi: Likewise.
49496 * manual/message.texi: Likewise.
49497 * manual/nss.texi: Likewise.
49498 * manual/pattern.texi: Likewise.
49499 * manual/process.texi: Likewise.
49500 * manual/resource.texi: Likewise.
49501 * manual/search.texi: Likewise.
49502 * manual/setjmp.texi: Likewise.
49503 * manual/signal.texi: Likewise.
49504 * manual/socket.texi: Likewise.
49505 * manual/startup.texi: Likewise.
49506 * manual/stdio.texi: Likewise.
49507 * manual/string.texi: Likewise.
49508 * manual/sysinfo.texi: Likewise.
49509 * manual/syslog.texi: Likewise.
49510 * manual/terminal.texi: Likewise.
49511 * manual/time.texi: Likewise.
49512 * manual/users.texi: Likewise.
49513 * INSTALL: Regenerated.
49514 * NOTES: Regenerated.
49515 * sysdeps/gnu/errlist.c: Regenerated.
49517 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49519 * include/dirent.h: Include <dirstream.h> before
49522 2012-02-28 David S. Miller <davem@davemloft.net>
49524 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49525 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49526 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49527 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49529 2012-02-27 David S. Miller <davem@davemloft.net>
49531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49533 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49534 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49537 frame pointer instead of stack pointer relative arg slot.
49538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49539 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49540 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49542 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49545 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49547 2012-02-27 David S. Miller <davem@davemloft.net>
49549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49553 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49554 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49555 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49556 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49558 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49560 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49561 later. Allow versions 5-9.
49562 * configure: Regenerated.
49563 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49564 required minimum version and 4.6 as recommended version. Do not
49565 mention bugs in GCC 2.7 and 2.8.
49566 * INSTALL: Regenerated.
49568 2012-02-27 David S. Miller <davem@davemloft.net>
49570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49576 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49580 manipulate bits before adding and subtracting TWO112[sx].
49581 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49583 2012-02-27 Roland McGrath <roland@hack.frob.com>
49586 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49587 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49588 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49589 being in POSIX, because they are in 1003.1-2008.
49591 * rt/tst-aio.c: Include <fcntl.h>.
49592 * rt/tst-aio7.c: Likewise.
49593 * rt/tst-aio64.c: Likewise.
49595 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49597 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49599 * manual/install.texi (--with-headers): Describe headers as
49600 interface headers, not private headers.
49601 (Specific advice for GNU/Linux systems): Describe use of headers
49602 from "make headers_install", not private headers from older
49604 * INSTALL: Regenerated.
49605 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49607 * sysdeps/unix/sysv/linux/configure: Regenerated.
49609 * manual/llio.texi (fclean): Remove documentation.
49611 * manual/Makefile (libc-texi-generated): New variable. Include
49613 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49614 $(libc-texi-generated), not duplicated list of files.
49615 (version.texi, stamp-version): New rules.
49616 (realclean): Remove $(libc-texi-generated), not individual files
49617 from that list. Do not remove dir-add.texinfo.
49618 * manual/libc.texinfo: Comment out uses of edition numbers and
49619 references to printed manual. Remove last-updated dates.
49620 (EDITION): Comment out.
49622 (VERSION, UPDATED): Remove.
49623 (version.texi): Include.
49625 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49627 * sysdeps/posix/spawni.c: Include <signal.h>.
49628 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49629 * sysdeps/pthread/aio_fsync.c: Likewise.
49631 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49633 * conform/Makefile (tests): Run only when not cross-compiling and
49634 when fast-check is not defined.
49636 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49637 * conform/data/limits.h-data: Fixes for POSIX2008.
49638 * conform/run-conformtest.sh: Run all tests.
49639 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49641 * include/bits/dlfcn.h: Likewise.
49642 * include/langinfo.h: Likewise.
49643 * include/monetary.h: Likewise.
49644 * include/sys/poll.h: Likewise.
49646 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49648 * posix/spawn.h: Define __need_sigset_t.
49649 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49650 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49651 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49652 to get sigevent_t only.
49653 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49654 only for __USE_GNU.
49655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49656 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49657 process_vm_writev only for __USE_GNU.
49658 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49660 * conform/Makefile: For now ignore errors from run-conformtest.
49661 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49662 POSIX to avoid namespace pollution. Don't prepend headers.
49663 * conform/data/aio.h-data: Fixes for POSIX testing.
49664 * conform/data/fcntl.h-data: Likewise.
49665 * conform/data/glob.h-data: Likewise.
49666 * conform/data/grp.h-data: Likewise.
49667 * conform/data/pthread.h-data: Likewise.
49668 * conform/data/pwd.h-data: Likewise.
49669 * conform/data/signal.h-data: Likewise.
49670 * conform/data/spawn.h-data: Likewise.
49671 * conform/data/stdio.h-data: Likewise.
49672 * conform/data/stdlib.h-data: Likewise.
49673 * conform/data/stropts.h-data: Likewise.
49674 * conform/data/sys/mman.h-data: Likewise.
49675 * conform/data/sys/stat.h-data: Likewise.
49676 * conform/data/sys/types.h-data: Likewise.
49677 * conform/data/sys/wait.h-data: Likewise.
49678 * conform/data/time.h-data: Likewise.
49679 * conform/data/unistd.h-data: Likewise.
49680 * conform/data/utime.h-data: Likewise.
49682 * io/sys/stat.h: fchmod was always in POSIX.
49683 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49684 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49685 * rt/aio.h: Define __need_timespec before including <time.h>.
49686 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49687 struct. Add forward declaration of pthread_attr_t and use it in
49689 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49691 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49692 always remove CLK_TCK definition.
49694 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49696 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49698 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49700 * conform/run-conformtest.sh: New file.
49701 * conform/Makefile: Run run-conformtest for tests.
49702 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49705 * conform/data/uchar.h-data: New file.
49706 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49707 * conform/data/arpa/inet.h-data: Likewise.
49708 * conform/data/assert.h-data: Likewise.
49709 * conform/data/complex.h-data: Likewise.
49710 * conform/data/cpio.h-data: Likewise.
49711 * conform/data/ctype.h-data: Likewise.
49712 * conform/data/dirent.h-data: Likewise.
49713 * conform/data/dlfcn.h-data: Likewise.
49714 * conform/data/errno.h-data: Likewise.
49715 * conform/data/fcntl.h-data: Likewise.
49716 * conform/data/float.h-data: Likewise.
49717 * conform/data/fmtmsg.h-data: Likewise.
49718 * conform/data/fnmatch.h-data: Likewise.
49719 * conform/data/ftw.h-data: Likewise.
49720 * conform/data/glob.h-data: Likewise.
49721 * conform/data/grp.h-data: Likewise.
49722 * conform/data/iconv.h-data: Likewise.
49723 * conform/data/inttypes.h-data: Likewise.
49724 * conform/data/langinfo.h-data: Likewise.
49725 * conform/data/libgen.h-data: Likewise.
49726 * conform/data/limits.h-data: Likewise.
49727 * conform/data/locale.h-data: Likewise.
49728 * conform/data/math.h-data: Likewise.
49729 * conform/data/monetary.h-data: Likewise.
49730 * conform/data/mqueue.h-data: Likewise.
49731 * conform/data/ndbm.h-data: Likewise.
49732 * conform/data/net/if.h-data: Likewise.
49733 * conform/data/netdb.h-data: Likewise.
49734 * conform/data/netinet/in.h-data: Likewise.
49735 * conform/data/nl_types.h-data: Likewise.
49736 * conform/data/poll.h-data: Likewise.
49737 * conform/data/pthread.h-data: Likewise.
49738 * conform/data/pwd.h-data: Likewise.
49739 * conform/data/regex.h-data: Likewise.
49740 * conform/data/sched.h-data: Likewise.
49741 * conform/data/search.h-data: Likewise.
49742 * conform/data/semaphore.h-data: Likewise.
49743 * conform/data/setjmp.h-data: Likewise.
49744 * conform/data/signal.h-data: Likewise.
49745 * conform/data/spawn.h-data: Likewise.
49746 * conform/data/stdarg.h-data: Likewise.
49747 * conform/data/stdio.h-data: Likewise.
49748 * conform/data/stdlib.h-data: Likewise.
49749 * conform/data/string.h-data: Likewise.
49750 * conform/data/strings.h-data: Likewise.
49751 * conform/data/stropts.h-data: Likewise.
49752 * conform/data/sys/ipc.h-data: Likewise.
49753 * conform/data/sys/mman.h-data: Likewise.
49754 * conform/data/sys/msg.h-data: Likewise.
49755 * conform/data/sys/resource.h-data: Likewise.
49756 * conform/data/sys/select.h-data: Likewise.
49757 * conform/data/sys/sem.h-data: Likewise.
49758 * conform/data/sys/shm.h-data: Likewise.
49759 * conform/data/sys/socket.h-data: Likewise.
49760 * conform/data/sys/stat.h-data: Likewise.
49761 * conform/data/sys/statvfs.h-data: Likewise.
49762 * conform/data/sys/time.h-data: Likewise.
49763 * conform/data/sys/timeb.h-data: Likewise.
49764 * conform/data/sys/times.h-data: Likewise.
49765 * conform/data/sys/types.h-data: Likewise.
49766 * conform/data/sys/uio.h-data: Likewise.
49767 * conform/data/sys/un.h-data: Likewise.
49768 * conform/data/sys/utsname.h-data: Likewise.
49769 * conform/data/sys/wait.h-data: Likewise.
49770 * conform/data/syslog.h-data: Likewise.
49771 * conform/data/tar.h-data: Likewise.
49772 * conform/data/termios.h-data: Likewise.
49773 * conform/data/utime.h-data: Likewise.
49774 * conform/data/utmpx.h-data: Likewise.
49775 * conform/data/varargs.h-data: Likewise.
49776 * conform/data/wchar.h-data: Likewise.
49777 * conform/data/wctype.h-data: Likewise.
49778 * conform/data/wordexp.h-data: Likewise.
49780 * include/stropts.h: New file.
49781 * include/uchar.h: New file.
49782 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49783 * include/assert.h: Likewise.
49784 * include/ctype.h: Likewise.
49785 * include/dirent.h: Likewise.
49786 * include/dlfcn.h: Likewise.
49787 * include/fcntl.h: Likewise.
49788 * include/fnmatch.h: Likewise.
49789 * include/glob.h: Likewise.
49790 * include/grp.h: Likewise.
49791 * include/libio.h: Likewise.
49792 * include/locale.h: Likewise.
49793 * include/math.h: Likewise.
49794 * include/net/if.h: Likewise.
49795 * include/netdb.h: Likewise.
49796 * include/netinet/in.h: Likewise.
49797 * include/pthread.h: Likewise.
49798 * include/pwd.h: Likewise.
49799 * include/regex.h: Likewise.
49800 * include/sched.h: Likewise.
49801 * include/search.h: Likewise.
49802 * include/setjmp.h: Likewise.
49803 * include/signal.h: Likewise.
49804 * include/stdio.h: Likewise.
49805 * include/stdlib.h: Likewise.
49806 * include/string.h: Likewise.
49807 * include/sys/cdefs.h: Likewise.
49808 * include/sys/mman.h: Likewise.
49809 * include/sys/msg.h: Likewise.
49810 * include/sys/resource.h: Likewise.
49811 * include/sys/select.h: Likewise.
49812 * include/sys/socket.h: Likewise.
49813 * include/sys/stat.h: Likewise.
49814 * include/sys/statvfs.h: Likewise.
49815 * include/sys/time.h: Likewise.
49816 * include/sys/times.h: Likewise.
49817 * include/sys/uio.h: Likewise.
49818 * include/sys/utsname.h: Likewise.
49819 * include/sys/wait.h: Likewise.
49820 * include/termios.h: Likewise.
49821 * include/time.h: Likewise.
49822 * include/ulimit.h: Likewise.
49823 * include/unistd.h: Likewise.
49824 * include/utime.h: Likewise.
49825 * include/wchar.h: Likewise.
49826 * include/wctype.h: Likewise.
49827 * include/wordexp.h: Likewise.
49829 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49831 * time/time.h: TIME_UTC must be a macro.
49832 Make timespec_get available for ISO C11 only as well.
49834 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49836 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49837 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49839 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49841 * configure.in: Use -o not -a in test for unsupported multi-arch.
49843 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49845 * manual/texinfo.tex: Update to version 2012-01-19.16.
49847 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49849 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49851 2012-02-24 Roland McGrath <roland@hack.frob.com>
49854 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49855 * manual/fdl-1.3.texi: New file.
49856 * manual/fdl-1.1.texi: File removed.
49859 * manual/libc.texinfo (FDL_VERSION): New @set.
49860 Use it for mention of FDL in cover text.
49861 (Documentation License): Use it in @include file name.
49863 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49864 Roland McGrath <roland@hack.frob.com>
49867 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49868 (not LONG_LONG_MAX and LONG_LONG_MIN.
49869 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49870 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49872 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49878 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49879 manipulate bits before adding and subtracting TWO23[sx].
49880 * math/libm-test.inc (nearbyint_test): Add more tests.
49882 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49885 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49886 bits before adding and subtracting TWO23[sx].
49887 * math/libm-test.inc (rint_test): Add more tests.
49888 (rint_test_tonearest): Likewise.
49889 (rint_test_towardzero): Likewise.
49890 (rint_test_downward): Likewise.
49891 (rint_test_upward: Likewise.
49893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49896 * include/stdc-predef.h: New file. Extracted from features.h.
49897 * include/features.h: Include stdc-predef.h.
49898 * Makefile (headers): Add stdc-predef.h.
49899 * CONFORMANCE (Compiler limitations): Update.
49901 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49903 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49905 2012-02-21 David S. Miller <davem@davemloft.net>
49907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49908 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49910 2012-02-20 David S. Miller <davem@davemloft.net>
49912 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49913 using a normal save/restore sequence, rather than allocating a
49914 dummy stack frame just to store a frame pointer and restore.
49915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49917 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49919 * manual/install.texi: Fix stray word in line-wrapped comment.
49921 2012-02-20 David S. Miller <davem@davemloft.net>
49923 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49924 both binutils and gcc support GOTDATA.
49926 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49927 "rd %pc" in the PIC register setup sequences.
49929 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49930 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49931 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49932 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49938 (SYSCALL_ERROR_HANDLER): Likewise.
49939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49942 (SYSCALL_ERROR_HANDLER): Likewise.
49944 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49945 (HAVE_GCC_GOTDATA): New.
49946 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49947 relocation support in both binutils and gcc.
49948 * sysdeps/sparc/elf/configure: Regenerate.
49950 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49951 * sysdeps/sparc/sparc32/elf/configure: Delete.
49952 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49953 * sysdeps/sparc/sparc64/elf/configure: Delete.
49954 * sysdeps/sparc/elf/configure.in: New file.
49955 * sysdeps/sparc/elf/configure: Generate.
49957 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49958 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49959 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49960 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49961 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49963 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49965 * manual/install.texi: Do not mention specific glibc version
49967 * manual/libc.texinfo (VERSION, UPDATED): Update.
49968 (@copying): Use @copyright{} and range of years.
49970 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49973 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49974 [crti.S not in sysdirs] (generated): Do not append.
49975 [crti.S not in sysdirs] (omit-deps): Likewise.
49976 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49977 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49978 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49979 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49980 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49982 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49983 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49984 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49985 * csu/defs.awk: Remove file.
49986 * sysdeps/generic/initfini.c: Likewise.
49987 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49989 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49992 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49994 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49995 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49996 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49997 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49999 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50001 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50002 (__EPOLL_PACKED): Define to empty if not defined by
50004 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50008 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50010 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50011 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50012 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50013 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50015 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50019 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50021 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50023 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50024 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50025 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50028 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50030 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50031 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50033 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50035 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50036 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50038 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50040 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50043 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50045 * math/w_acos.c: Use non-signaling floating-point comparisons.
50046 * math/w_acosf.c: Likewise.
50047 * math/w_acosh.c: Likewise.
50048 * math/w_acoshf.c: Likewise.
50049 * math/w_acoshl.c: Likewise.
50050 * math/w_acosl.c: Likewise.
50051 * math/w_asin.c: Likewise.
50052 * math/w_asinf.c: Likewise.
50053 * math/w_asinl.c: Likewise.
50054 * math/w_atanh.c: Likewise.
50055 * math/w_atanhf.c: Likewise.
50056 * math/w_atanhl.c: Likewise.
50057 * math/w_exp2.c: Likewise.
50058 * math/w_exp2f.c: Likewise.
50059 * math/w_exp2l.c: Likewise.
50060 * math/w_j0.c: Likewise.
50061 * math/w_j0f.c: Likewise.
50062 * math/w_j0l.c: Likewise.
50063 * math/w_j1.c: Likewise.
50064 * math/w_j1f.c: Likewise.
50065 * math/w_j1l.c: Likewise.
50066 * math/w_jn.c: Likewise.
50067 * math/w_jnf.c: Likewise.
50068 * math/w_log.c: Likewise.
50069 * math/w_log10.c: Likewise.
50070 * math/w_log10f.c: Likewise.
50071 * math/w_log10l.c: Likewise.
50072 * math/w_log2.c: Likewise.
50073 * math/w_log2f.c: Likewise.
50074 * math/w_log2l.c: Likewise.
50075 * math/w_logf.c: Likewise.
50076 * math/w_logl.c: Likewise.
50077 * math/w_sqrt.c: Likewise.
50078 * math/w_sqrtf.c: Likewise.
50079 * math/w_sqrtl.c: Likewise.
50080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50081 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50083 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50084 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50086 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50089 * manual/string.texi (strnlen): Use correct parameter name in
50090 equivalent expression.
50092 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50095 * manual/users.texi (seteuid): Consistently use neweuid for
50098 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50101 * manual/nss.texi (Services in the NSS configuration): Correct
50102 list of services in example configuration file.
50104 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50107 * manual/arith.texi: Remove statements about negative zero
50108 behaving identically to zero.
50110 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50113 * manual/install.texi: Do not document upgrading from libc5.
50115 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50118 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50120 2012-02-18 David S. Miller <davem@davemloft.net>
50122 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50123 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50124 %o7 across the call.
50125 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50128 SETUP_PIC_REG_LEAF.
50129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50130 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50131 * sysdeps/sparc/crtn.S: Likewise.
50133 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50135 * aout/Makefile: Remove.
50137 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50140 * manual/examples/argp-ex1.c (main): Format definition in GNU
50142 * manual/examples/argp-ex2.c (main): Likewise.
50143 * manual/examples/argp-ex3.c (main): Likewise.
50144 * manual/examples/argp-ex4.c (main): Likewise.
50145 * manual/examples/longopt.c (main): Use new-style prototype
50147 * manual/examples/strncat.c (main): Specify return type and use
50148 (void) for arguments.
50149 * manual/examples/subopt.c (main): Use char **argv argument.
50151 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50154 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50157 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50160 * manual/string.texi (strchr): Change when strchrnul is
50163 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50166 * manual/locale.texi (setlocale): Document LOCPATH.
50168 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50171 * manual/process.texi (execle): Move @dots{} before last argument.
50173 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50176 * manual/charset.texi (Generic Charset Conversion): Fix typo
50177 (LC_TYPE -> LC_CTYPE).
50179 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50182 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50183 (scalbnf): Likewise.
50184 (scalbnl): Likewise.
50185 (scalbln): Likewise.
50186 (scalblnf): Likewise.
50187 (scalblnl): Likewise.
50188 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50189 (vwarnx): Likewise.
50192 * manual/filesys.texi (telldir): Use braces around return type.
50193 * manual/llio.texi (mmap): Add space after comma.
50194 (mmap64): Likewise.
50195 * manual/math.texi (jn): Use @var{} on parameter names.
50201 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50203 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50205 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50206 (sched_get_priority_max): Likewise.
50207 * manual/signal.texi (sigvec): Add space after comma.
50208 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50210 (if_indextoname): Likewise.
50211 (if_freenameindex): Likewise.
50212 (sendto): Use ',' instead of '.' in prototype.
50213 * manual/startup.texi (syscall): Use @dots{} instead of literal
50215 * manual/stdio.texi (__fpending): Separate initial words of
50216 paragraph from @deftypefun line.
50217 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50219 (vsyslog): Use @var{} on parameter names.
50220 * manual/terminal.texi (stty): Use @var{} on parameter names.
50221 * manual/users.texi (getutmp): Use @var{} on parameter names.
50222 (getutmpx): Likewise.
50224 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50227 * manual/stdio.texi (fopen): Fix typos in description of
50230 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50233 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50234 get clock_id definition.
50236 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50239 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50240 (madvise): Cast every argument to void on its own.
50242 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50245 * manual/startup.texi (Exit Status): Fix typo.
50247 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50250 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50251 * manual/examples/argp-ex2.c: Likewise.
50252 * manual/examples/argp-ex3.c: Likewise.
50254 2012-02-16 Richard Henderson <rth@redhat.com>
50256 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50257 * sysdeps/s390/s390-32/initfini.c: Remove.
50258 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50259 * sysdeps/s390/s390-64/initfini.c: Remove.
50261 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50263 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50264 compiler output for sysdeps/generic/initfini.c.
50265 * sysdeps/sh/elf/initfini.c: Remove file.
50267 2012-02-16 David S. Miller <davem@davemloft.net>
50270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50272 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50273 * sysdeps/sparc/crti.S: New file.
50274 * sysdeps/sparc/crtn.S: New file.
50275 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50276 * sysdeps/sparc/sparc64/Makefile: Likewise.
50278 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50281 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50283 2012-02-15 Roland McGrath <roland@hack.frob.com>
50286 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50288 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50289 (write, read, close): Likewise.
50290 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50292 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50294 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50295 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50296 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50297 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50299 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50303 2012-02-14 Marek Polacek <polacek@redhat.com>
50305 * sysdeps/x86_64/crti.S: New file.
50306 * sysdeps/x86_64/crtn.S: New file.
50307 * sysdeps/x86_64/elf/initfini.c: Remove file.
50309 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50311 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50312 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50313 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50314 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50316 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50320 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50322 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50323 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50324 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50325 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50327 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50331 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50333 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50334 __feraiseexcept instead of feraiseexcept.
50336 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50337 nanosleep invocations.
50338 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50339 strings, and add error checking for a nanosleep invocations.
50341 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50343 Replace FSF snail mail address with URLs, as per GNU coding standards.
50344 Most of the snail mail addresses were wrong anyway, and omitting
50345 them makes the source code easier to maintain. Almost all of the
50346 changes are to license notices and to locale LC_IDENTIFICATION
50347 addresses, except for this one:
50348 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50349 not its snail mail address.
50351 2012-02-09 Richard Henderson <rth@twiddle.net>
50353 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50354 of kernel-features.h.
50356 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50358 2012-02-08 Marek Polacek <polacek@redhat.com>
50360 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50361 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50362 * sysdeps/gnu/_G_config.h: Likewise.
50363 * sysdeps/generic/_G_config.h: Likewise.
50365 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50367 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50371 * sysdeps/powerpc/powerpc32/crti.S: New file.
50372 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50373 * sysdeps/powerpc/powerpc64/crti.S: New file.
50374 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50376 * Makeconfig (have-initfini): Don't set.
50377 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50378 * configure.in (nopic_initfini): Don't substitute.
50379 * config.h.in (HAVE_INITFINI): Don't #undef.
50380 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50381 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50383 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50385 Support crti.S and crtn.S provided directly by architectures.
50386 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50387 [crti.S in sysdirs] (omit-deps): Likewise.
50388 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50389 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50390 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50391 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50392 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50393 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50394 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50395 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50396 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50397 compiler output for sysdeps/generic/initfini.c.
50398 * sysdeps/i386/elf/Makefile: Remove file.
50399 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50401 2012-02-07 Marek Polacek <polacek@redhat.com>
50403 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50404 * sysdeps/gnu/_G_config.h: Likewise.
50405 * sysdeps/mach/hurd/_G_config.h: Likewise.
50407 2012-02-07 Marek Polacek <polacek@redhat.com>
50409 * math/Makefile (tests): Add tst-CMPLX2.
50410 * math/tst-CMPLX2.c: New file.
50412 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50414 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50416 * math/libm-test.inc (jn_test): Add missing L suffix.
50418 2012-02-06 Marek Polacek <polacek@redhat.com>
50420 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50421 * sysdeps/i386/fpu/e_powf.S: Likewise.
50422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50423 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50425 * sysdeps/i386/fpu/e_pow.S: Likewise.
50426 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50428 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50429 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50430 * sysdeps/i386/fpu/e_log2.S: Likewise.
50431 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50432 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50433 * sysdeps/i386/fpu/e_powl.S: Likewise.
50434 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50435 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50436 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50437 * sysdeps/i386/fpu/e_logl.S: Likewise.
50438 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50439 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50440 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50441 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50444 * sysdeps/i386/fpu/e_log.S: Likewise.
50445 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50447 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50448 * sysdeps/i386/fpu/e_logf.S: Likewise.
50449 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50450 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50451 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50452 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50453 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50454 * sysdeps/i386/fpu/e_log10.S: Likewise.
50455 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50456 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50457 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50458 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50459 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50460 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50461 * sysdeps/i386/asm-syntax.h: Likewise.
50462 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50465 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50466 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50468 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50469 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50470 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50471 * sysdeps/powerpc/sysdep.h: Likewise.
50472 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50473 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50475 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50478 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50480 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50482 * sysdeps/i386/sysdep.h: Include <features.h>.
50483 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50486 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50488 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50490 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50493 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50495 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50496 (SETUP_PIC_REG): Use GET_PC_THUNK.
50497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50500 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50502 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50503 for non-PIC compilation.
50504 (SETUP_PIC_REG): Add .p2align directive.
50505 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50506 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50507 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50508 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50509 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50510 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50511 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50513 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50514 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50515 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50516 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50517 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50518 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50519 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50520 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50521 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50522 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50523 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50524 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50525 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50526 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50527 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50528 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50531 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50532 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50533 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50534 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50535 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50537 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50538 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50539 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50540 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50541 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50542 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50543 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50544 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50545 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50547 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50549 * math/tst-CMPLX.c: Include <stdio.h>.
50551 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50553 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50555 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50556 * sysdeps/sparc/bits/mathdef.h: Likewise.
50558 2012-01-31 Marek Polacek <polacek@redhat.com>
50560 * libio/libio.h: Don't define _PARAMS.
50561 * locale/programs/config.h: Don't define PARAMS.
50562 * stdlib/strtol_l.c: Likewise.
50563 (__strtol_l): Remove PARAMS from the prototype.
50565 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50567 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50568 names. Just use the correct names. Remove unnecessary wrapper
50570 * malloc/arena.c: Likewise.
50571 * malloc/hooks.c: Likewise.
50573 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50574 ARENA_TEST says not to. Simplify test for creation of a new arena.
50575 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50577 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50579 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50581 (update_get_addr): New function.
50582 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50583 GET_ADDR_MODULE parameter.
50585 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50587 * crypt/cert.c: Remove __STDC__ conditionals.
50588 * crypt/crypt-entry.c: Likewise.
50589 * crypt/crypt_util.c: Likewise.
50590 * libio/filedoalloc.c: Likewise.
50591 * libio/fileops.c: Likewise.
50592 * libio/genops.c: Likewise.
50593 * libio/iofclose.c: Likewise.
50594 * libio/iofdopen.c: Likewise.
50595 * libio/iofopen.c: Likewise.
50596 * libio/iofopen64.c: Likewise.
50597 * libio/iogetdelim.c: Likewise.
50598 * libio/iopopen.c: Likewise.
50599 * libio/obprintf.c: Likewise.
50600 * libio/oldfileops.c: Likewise.
50601 * libio/oldiofclose.c: Likewise.
50602 * libio/oldiofdopen.c: Likewise.
50603 * libio/oldiofopen.c: Likewise.
50604 * libio/oldiopopen.c: Likewise.
50605 * libio/wfiledoalloc.c: Likewise.
50606 * libio/wgenops.c: Likewise.
50607 * locale/programs/xmalloc.c: Likewise.
50608 * misc/syslog.c: Likewise.
50609 * stdio-common/xbug.c: Likewise.
50610 * string/memchr.c: Likewise.
50611 * string/memcmp.c: Likewise.
50612 * string/memrchr.c: Likewise.
50613 * string/rawmemchr.c: Likewise.
50614 * sysdeps/posix/getcwd.c: Likewise.
50615 * time/strftime_l.c: Likewise.
50617 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50619 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50620 * config.make.in (config-cflags-sse2avx): Define.
50621 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50624 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50626 * scripts/config.guess: Update from upstream config git repository.
50627 * scripts/config.sub: Likewise.
50629 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50631 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50633 (R_TILEPRO_*, R_TILEGX_*): New macros.
50635 * scripts/firstversions.awk: Fix bug in version range handling.
50637 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50639 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50641 * include/sys/epoll.h: New file.
50642 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50645 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50647 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50648 Avoid unnecessary __WORDSIZE == 64 test.
50649 (fmaxf): Use VEX format if possible.
50654 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50655 * math/math_private.h: Remove libc_fegetround* and
50657 * sysdeps/i386/configure.in: Check for -msse2avx.
50658 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50659 also if SSE2AVX is defined.
50660 Remove libc_fegetround* and libc_fesetround*.
50661 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50662 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50663 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50665 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50666 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50667 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50668 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50669 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50671 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50673 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50677 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50679 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50682 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50684 * Makeconfig (libm): Define.
50685 * elf/Makefile: Add rules to build and run tst-relsort1.
50686 * elf/tst-relsort1.c: New file.
50687 * elf/tst-relsort1mod1.c: New file.
50688 * elf/tst-relsort1mod2.c: New file.
50690 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50692 * math/s_ldexp.c: Remove __STDC__ conditionals.
50693 * math/s_ldexpf.c: Likewise.
50694 * math/s_ldexpl.c: Likewise.
50695 * math/s_nextafter.c: Likewise.
50696 * math/s_nexttowardf.c: Likewise.
50697 * math/s_significand.c: Likewise.
50698 * math/s_significandf.c: Likewise.
50699 * math/s_significandl.c: Likewise.
50700 * math/w_jnl.c: Likewise.
50701 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50702 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50703 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50704 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50705 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50716 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50718 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50722 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50723 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50724 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50725 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50726 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50727 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50728 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50729 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50730 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50731 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50732 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50735 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50736 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50738 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50739 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50740 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50741 * sysdeps/ieee754/k_standard.c: Likewise.
50742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50743 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50744 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50745 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50746 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50747 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50791 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50792 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50798 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50801 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50802 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50803 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50804 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50805 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50806 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50807 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50808 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50809 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50810 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50811 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50812 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50813 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50814 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50817 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50821 * sysdeps/ieee754/s_matherr.c: Likewise.
50822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50827 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50829 * crypt/md5.h: Remove __STDC__ conditionals.
50830 * libio/libioP.h: Likewise.
50831 * locale/programs/config.h: Likewise.
50832 * sysdeps/generic/sysdep.h: Likewise.
50833 * sysdeps/i386/asm-syntax.h: Likewise.
50834 * sysdeps/s390/asm-syntax.h: Likewise.
50835 * sysdeps/unix/sysdep.h: Likewise.
50836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50839 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50841 * libio/libio.h: Remove __STDC__ conditionals.
50842 * malloc/obstack.h: Likewise.
50843 * math/complex.h: Likewise.
50844 * math/math.h: Likewise.
50845 * sysdeps/generic/_G_config.h: Likewise.
50846 * sysdeps/gnu/_G_config.h: Likewise.
50847 * sysdeps/mach/hurd/_G_config.h: Likewise.
50848 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50849 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50850 * sysdeps/sparc/bits/mathdef.h: Likewise.
50852 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50855 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50856 Clean up HAS_* macros.
50857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50858 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50868 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50870 * elf/tst-unique3.cc (gets): Remove declaration.
50871 * elf/tst-unique3lib.cc (gets): Likewise.
50872 * elf/tst-unique3lib2.cc (gets): Likewise.
50873 * elf/tst-unique4.cc (gets): Likewise.
50875 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50877 * include/stdio.h: Add C++ protection. Add gets declarations and
50879 * debug/tst-chk1.c: Don't declare gets here.
50880 * stdio-common/tst-gets.c: Likewise.
50882 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50884 * posix/glob: Remove directory.
50886 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50888 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50890 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50892 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50893 of the non-standard EPFNOSUPPORT.
50895 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50897 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50898 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50899 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50901 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50903 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50905 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50907 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50909 * nscd/grpcache.c (cache_addgr): Likewise.
50910 * nscd/hstcache.c (cache_addhst): Likewise.
50911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50912 * nscd/pwdcache.c (cache_addpw): Likewise.
50913 * nscd/servicescache.c (cache_addserv): Likewise.
50915 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50917 * malloc/malloc.c: Various cleanups.
50918 * malloc/hooks.c: Likewise.
50920 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50921 * stdlib/bug-fmtmsg1.c: New file.
50923 * stdlib/fmtmsg.c (init): Add missing unlock.
50924 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50926 2012-01-12 Marek Polacek <polacek@redhat.com>
50928 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50931 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50933 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50934 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50935 macro to ensure uniqueness of label name.
50936 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50937 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50939 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50941 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50943 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50944 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50945 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50948 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50950 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50952 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50953 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50954 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50956 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50958 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50959 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50960 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50963 * math/bits/math-finite.h: Add ldexp support.
50965 2012-01-10 Marek Polacek <polacek@redhat.com>
50967 * locale/programs/localedef.h (show_archive_content): Add noreturn
50970 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50972 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50974 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50976 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50978 * io/Makefile (headers): Add bits/poll2.h.
50980 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50983 typo #include statement.
50985 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50987 * include/sys/cdefs.h: Define __attribute_alloc_size.
50988 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50989 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50990 * elf/pldd.c: Likewise.
50991 * iconv/iconv_charmap.c: Likewise.
50992 * iconv/iconvconfig.c: Likewise.
50993 * iconv/strtab.c: Likewise.
50994 * locale/programs/locale.c: Likewise.
50995 * locale/programs/localedef.h: Likewise.
50996 * locale/programs/simple-hash.c: Likewise.
50997 * nscd/nscd.h: Likewise.
50998 * nss/makedb.c: Likewise.
50999 * sysdeps/generic/ldconfig.h: Likewise.
51000 * locale/programs/localedef.c: Remove xmalloc prototype.
51001 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51003 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51005 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51008 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51010 * math/Makefile (tests): Add tst-CMPLX.
51011 * math/tst-CMPLX.c: New file.
51013 * math/complex.h (CMPLXL): Fix typo.
51015 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51016 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51018 * debug/tst-chk1.c: Add poll and ppoll tests.
51019 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51020 * include/sys/poll.h: Add hidden proto for ppoll.
51021 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51022 * sysdeps/mach/hurd/ppoll.c: Likewise.
51023 * io/ppoll.c: Likewise.
51024 * debug/poll_chk.c: New file.
51025 * debug/ppoll_chk.c: New file.
51026 * include/bits/poll2.h: New file.
51027 * io/bits/poll2.h: New file.
51030 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51032 * configure.in: static is always set to yes. Remove.
51033 * config.make.in: Don't set build-static.
51034 * Makeconfig: Remove use of build-static.
51035 * dlfcn/Makefile: Likewise.
51036 * elf/Makefile: Likewise.
51037 * math/Makefile: Likewise.
51038 * misc/Makefile: Likewise.
51039 * nptl/Makefile: Likewise.
51040 * sysdeps/mach/hurd/Makefile: Likewise.
51042 * configure.in: PWD_P is not used anymore.
51043 * config.make.in: Remove PWD_P entry.
51045 * configure.in: Remove last remnants of RANLIB.
51046 No need to check for signed size_t anymore.
51047 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51049 Remove __builtin_expect test because we require at least gcc 3.4.
51050 * aclocal.m4: Likewise.
51052 * wcsmbs/mbrtoc16.c: Implement using towc function.
51053 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51054 * wcsmbs/wcsmbsload.c: Likewise.
51055 * iconv/gconv_simple.c: Likewise.
51056 * iconv/gconv_int.h: Likewise.
51057 * iconv/gconv_builtin.h: Likewise.
51058 * iconv/iconv_prog.c: Remove CHAR16 handling.
51060 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51062 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51064 * configure.in: Remove --with-elf and --enable-bounded options.
51065 Dont set base_machine for ia64. More non-ELF conditions removed.
51066 Remove testing and setting of leading underscore information.
51067 * config.make.in (build-bounded): Set to no.
51068 * config.h.in: Remove NO_UNDERSCORES entry.
51069 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51071 * csu/start.c: Remove !NO_UNDERSCORE code.
51072 * locale/localeinfo.h: Likewise.
51073 * sysdeps/generic/machine-gmon.h: Likewise.
51074 * sysdeps/generic/sysdep.h: Likewise.
51075 * sysdeps/i386/sysdep.h: Likewise.
51076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51077 * sysdeps/mach/sysdep.h: Likewise.
51078 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51079 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51080 * sysdeps/sh/sysdep.h: Likewise.
51081 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51082 * sysdeps/unix/i386/sysdep.S: Likewise.
51083 * sysdeps/unix/sparc/start.c: Likewise.
51084 * sysdeps/unix/sparc/sysdep.S: Likewise.
51085 * sysdeps/unix/sparc/sysdep.h: Likewise.
51086 * sysdeps/unix/start.c: Likewise.
51087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51088 * sysdeps/x86_64/sysdep.h: Likewise.
51090 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51093 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51095 * argp/argp-fmtstream.h: Use const instead __const.
51096 * argp/argp.h: Likewise.
51097 * assert/assert.h: Likewise.
51098 * bits/fenv.h: Likewise.
51099 * bits/sched.h: Likewise.
51100 * bits/sigset.h: Likewise.
51101 * bits/sigthread.h: Likewise.
51102 * catgets/nl_types.h: Likewise.
51103 * conform/data/pthread.h-data: Likewise.
51104 * crypt/crypt-private.h: Likewise.
51105 * crypt/crypt.h: Likewise.
51106 * crypt/crypt_util.c: Likewise.
51107 * ctype/ctype.h: Likewise.
51108 * debug/execinfo.h: Likewise.
51109 * debug/mbsnrtowcs_chk.c: Likewise.
51110 * debug/mbsrtowcs_chk.c: Likewise.
51111 * debug/wcsnrtombs_chk.c: Likewise.
51112 * debug/wcsrtombs_chk.c: Likewise.
51113 * debug/wcstombs_chk.c: Likewise.
51114 * dirent/dirent.h: Likewise.
51115 * dlfcn/dlfcn.h: Likewise.
51116 * elf/neededtest4.c: Likewise.
51117 * grp/grp.h: Likewise.
51118 * gshadow/gshadow.h: Likewise.
51119 * iconv/gconv.h: Likewise.
51120 * iconv/gconv_int.h: Likewise.
51121 * iconv/gconv_simple.c: Likewise.
51122 * iconv/iconv.h: Likewise.
51123 * iconv/loop.c: Likewise.
51124 * iconv/skeleton.c: Likewise.
51125 * include/aio.h: Likewise.
51126 * include/aliases.h: Likewise.
51127 * include/argz.h: Likewise.
51128 * include/arpa/inet.h: Likewise.
51129 * include/assert.h: Likewise.
51130 * include/dirent.h: Likewise.
51131 * include/dlfcn.h: Likewise.
51132 * include/execinfo.h: Likewise.
51133 * include/fcntl.h: Likewise.
51134 * include/fenv.h: Likewise.
51135 * include/glob.h: Likewise.
51136 * include/grp.h: Likewise.
51137 * include/libintl.h: Likewise.
51138 * include/mntent.h: Likewise.
51139 * include/netdb.h: Likewise.
51140 * include/pwd.h: Likewise.
51141 * include/rpc/netdb.h: Likewise.
51142 * include/sched.h: Likewise.
51143 * include/search.h: Likewise.
51144 * include/shadow.h: Likewise.
51145 * include/signal.h: Likewise.
51146 * include/stdio.h: Likewise.
51147 * include/stdlib.h: Likewise.
51148 * include/string.h: Likewise.
51149 * include/sys/socket.h: Likewise.
51150 * include/sys/stat.h: Likewise.
51151 * include/sys/statfs.h: Likewise.
51152 * include/sys/statvfs.h: Likewise.
51153 * include/sys/syslog.h: Likewise.
51154 * include/sys/time.h: Likewise.
51155 * include/sys/uio.h: Likewise.
51156 * include/time.h: Likewise.
51157 * include/unistd.h: Likewise.
51158 * include/utmp.h: Likewise.
51159 * include/wchar.h: Likewise.
51160 * include/wctype.h: Likewise.
51161 * inet/aliases.h: Likewise.
51162 * inet/arpa/inet.h: Likewise.
51163 * inet/netinet/ether.h: Likewise.
51164 * inet/netinet/in.h: Likewise.
51165 * intl/libintl.h: Likewise.
51166 * io/bits/fcntl2.h: Likewise.
51167 * io/fcntl.h: Likewise.
51168 * io/ftw.h: Likewise.
51169 * io/sys/poll.h: Likewise.
51170 * io/sys/stat.h: Likewise.
51171 * io/sys/statfs.h: Likewise.
51172 * io/sys/statvfs.h: Likewise.
51173 * io/utime.h: Likewise.
51174 * libio/bits/stdio.h: Likewise.
51175 * libio/bits/stdio2.h: Likewise.
51176 * libio/libio.h: Likewise.
51177 * libio/libioP.h: Likewise.
51178 * libio/stdio.h: Likewise.
51179 * locale/lc-ctype.c: Likewise.
51180 * locale/locale.h: Likewise.
51181 * login/utmp.h: Likewise.
51182 * malloc/arena.c: Likewise.
51183 * malloc/malloc.c: Likewise.
51184 * malloc/malloc.h: Likewise.
51185 * malloc/mcheck.c: Likewise.
51186 * malloc/mtrace.c: Likewise.
51187 * math/bits/mathcalls.h: Likewise.
51188 * math/fenv.h: Likewise.
51189 * math/math_private.h: Likewise.
51190 * misc/bits/error.h: Likewise.
51191 * misc/bits/syslog.h: Likewise.
51192 * misc/err.h: Likewise.
51193 * misc/error.h: Likewise.
51194 * misc/fstab.h: Likewise.
51195 * misc/mntent.h: Likewise.
51196 * misc/regexp.h: Likewise.
51197 * misc/search.h: Likewise.
51198 * misc/sgtty.h: Likewise.
51199 * misc/sys/mman.h: Likewise.
51200 * misc/sys/syslog.h: Likewise.
51201 * misc/sys/uio.h: Likewise.
51202 * misc/sys/xattr.h: Likewise.
51203 * misc/ttyent.h: Likewise.
51204 * nis/rpcsvc/ypclnt.h: Likewise.
51205 * nss/nss.h: Likewise.
51206 * posix/bits/unistd.h: Likewise.
51207 * posix/fnmatch.h: Likewise.
51208 * posix/glob.h: Likewise.
51209 * posix/sched.h: Likewise.
51210 * posix/spawn.h: Likewise.
51211 * posix/sys/wait.h: Likewise.
51212 * posix/unistd.h: Likewise.
51213 * posix/wordexp.h: Likewise.
51214 * pwd/pwd.h: Likewise.
51215 * resolv/netdb.h: Likewise.
51216 * resource/sys/resource.h: Likewise.
51217 * rt/aio.h: Likewise.
51218 * rt/bits/mqueue2.h: Likewise.
51219 * rt/mqueue.h: Likewise.
51220 * shadow/shadow.h: Likewise.
51221 * signal/signal.h: Likewise.
51222 * socket/send.c: Likewise.
51223 * socket/sendto.c: Likewise.
51224 * socket/sys/socket.h: Likewise.
51225 * stdio-common/printf.h: Likewise.
51226 * stdlib/bits/stdlib.h: Likewise.
51227 * stdlib/fmtmsg.h: Likewise.
51228 * stdlib/monetary.h: Likewise.
51229 * stdlib/stdlib.h: Likewise.
51230 * stdlib/ucontext.h: Likewise.
51231 * streams/stropts.h: Likewise.
51232 * string/argz.h: Likewise.
51233 * string/bits/string2.h: Likewise.
51234 * string/string.h: Likewise.
51235 * string/strings.h: Likewise.
51236 * sunrpc/rpc/auth.h: Likewise.
51237 * sunrpc/rpc/auth_des.h: Likewise.
51238 * sunrpc/rpc/clnt.h: Likewise.
51239 * sunrpc/rpc/netdb.h: Likewise.
51240 * sunrpc/rpc/pmap_clnt.h: Likewise.
51241 * sunrpc/rpc/xdr.h: Likewise.
51242 * sysdeps/generic/inttypes.h: Likewise.
51243 * sysdeps/generic/net/if.h: Likewise.
51244 * sysdeps/generic/sys/swap.h: Likewise.
51245 * sysdeps/gnu/net/if.h: Likewise.
51246 * sysdeps/gnu/utmpx.h: Likewise.
51247 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51248 * sysdeps/i386/i486/bits/string.h: Likewise.
51249 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51250 * sysdeps/s390/bits/string.h: Likewise.
51251 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51252 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51253 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51254 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51255 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51256 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51257 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51258 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51259 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51260 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51261 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51263 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51264 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51265 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51266 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51267 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51272 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51273 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51274 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51275 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51276 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51279 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51280 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51281 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51282 * sysvipc/sys/ipc.h: Likewise.
51283 * sysvipc/sys/msg.h: Likewise.
51284 * sysvipc/sys/sem.h: Likewise.
51285 * sysvipc/sys/shm.h: Likewise.
51286 * termios/termios.h: Likewise.
51287 * time/sys/time.h: Likewise.
51288 * time/time.h: Likewise.
51289 * wcsmbs/bits/wchar2.h: Likewise.
51290 * wcsmbs/uchar.h: Likewise.
51291 * wcsmbs/wchar.h: Likewise.
51292 * wctype/wctype.h: Likewise.
51295 * Makeconfig: Remove all but ELF support including AIX support.
51296 * Makerules: Likewise.
51297 * config.h.in: Likewise.
51298 * config.make.in: Likewise.
51299 * configure: Likewise.
51300 * configure.in: Likewise.
51301 * csu/Makefile: Likewise.
51302 * csu/version.c: Likewise.
51303 * debug/Makefile: Likewise.
51304 * dlfcn/Makefile: Likewise.
51305 * elf/Makefile: Likewise.
51306 * extra-lib.mk: Likewise.
51307 * iconv/Makefile: Likewise.
51308 * include/libc-symbols.h: Likewise.
51309 * include/shlib-compat.h: Likewise.
51310 * resolv/Makefile: Likewise.
51311 * resolv/res_libc.c: Likewise.
51312 * rt/Makefile: Likewise.
51313 * sysdeps/i386/asm-syntax.h: Likewise.
51314 * sysdeps/i386/sysdep.h: Likewise.
51315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51316 * sysdeps/mach/sysdep.h: Likewise.
51317 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51318 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51319 * sysdeps/s390/asm-syntax.h: Likewise.
51320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51322 * sysdeps/sh/sysdep.h: Likewise.
51323 * sysdeps/unix/sparc/sysdep.h: Likewise.
51324 * sysdeps/wordsize-32/divdi3.c: Likewise.
51325 * sysdeps/x86_64/sysdep.h: Likewise.
51327 * argp/Versions: Remove _argp_unlock_xxx.
51330 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51331 * abilist/libBrokenLocale.abilist: Likewise.
51332 * abilist/libanl.abilist: Likewise.
51333 * abilist/libc.abilist: Likewise.
51334 * abilist/libcrypt.abilist: Likewise.
51335 * abilist/libdl.abilist: Likewise.
51336 * abilist/libm.abilist: Likewise.
51337 * abilist/libnsl.abilist: Likewise.
51338 * abilist/libpthread.abilist: Likewise.
51339 * abilist/libresolv.abilist: Likewise.
51340 * abilist/librt.abilist: Likewise.
51341 * abilist/libthread_db.abilist: Likewise.
51342 * abilist/libutil.abilist: Likewise.
51343 * abilist/libnss_db.abilist: New file.
51345 * scripts/abilist.awk: Add support for indirect functions.
51347 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51349 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51351 * shlib-versions: Remove entries for ports architectures.
51353 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51355 * elf/stackguard-macros.h: Remove support for IA-64.
51356 * elf/tst-auditmod1.c: Likewise.
51357 * sysdeps/generic/ldsodefs.h: Likewise.
51359 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51360 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51364 * configure.in: Remove --enable-omitfp support.
51366 * config.make.in: Likewise.
51367 * Makeconfig: Likewise.
51368 * manual/install.texi: Likewise.
51370 In case anyone cares, the IA-64 architecture could move to ports.
51371 * sysdeps/ia64/*: Removed.
51372 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51373 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51376 * configure.in: Remove entries for unsupported architectures.
51379 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51380 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51382 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51383 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51384 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51385 fall back to using wcrtomb.
51386 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51387 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51389 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51390 * wcsmbs/tst-c16c32-1.c: New file.
51392 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51395 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51397 * elf/tst-unique3.cc: Add explicit declaration of gets.
51398 * elf/tst-unique3lib.cc: Likewise.
51399 * elf/tst-unique3lib2.cc: Likewise.
51400 * elf/tst-unique4.cc: Likewise.
51402 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51404 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51407 * assert/assert.h (static_assert): Don't define for C++.
51408 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51409 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51411 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51413 * iconv/loop.c (single loop): Fix assertion in storing of
51416 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51418 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51420 * posix/getconf.c: Update copyright year.
51421 * nss/getent.c: Likewise.
51422 * nss/makedb.c: Likewise.
51423 * iconv/iconvconfig.c: Likewise.
51424 * iconv/iconv_prog.c: Likewise.
51425 * elf/ldconfig.c: Likewise.
51426 * elf/pldd.c: Likewise.
51427 * elf/sotruss.ksh: Likewise.
51428 * catgets/gencat.c: Likewise.
51429 * csu/version.c: Likewise.
51430 * elf/ldd.bash.in: Likewise.
51431 * elf/sprof.c (print_version): Likewise.
51432 * locale/programs/locale.c: Likewise.
51433 * locale/programs/localedef.c: Likewise.
51434 * login/programs/pt_chown.c: Likewise.
51435 * nscd/nscd.c (print_version): Likewise.
51436 * debug/xtrace.sh: Likewise.
51437 * malloc/memusage.sh: Likewise.
51438 * malloc/mtrace.pl: Likewise.
51439 * debug/catchsegv.sh: Likewise.
51441 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51443 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51446 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51449 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51450 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51452 * iconv/gconv_int.h: Likewise.
51453 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51454 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51455 from libc for GLIBC_2.16.
51456 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51457 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51458 * wcsmbs/uchar.h: Really define mbstate_t.
51459 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51460 * wcsmbs/c16rtomb.c: New file.
51461 * wcsmbs/mbrtoc16.c: New file.
51462 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51463 for C/POSIX locale.
51464 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51465 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51467 * wcsmbs/wchar.h: Add missing __restrict.
51469 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51472 * time/Makefile (routines): Add timespec_get.
51473 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51474 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51475 timespec for ISO C11.
51476 * time/timespec_get.c: New file.
51477 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51478 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51481 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51482 * stdlib/stdlib.h: Declare aligned_alloc.
51483 * Versions.def: Add GLIBC_2.16 for libc.
51484 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51487 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51490 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51494 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51497 * assert/assert.h (static_assert): Define.
51499 * version.h: Update for 2.16 development version.
51502 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51505 * version.h (RELEASE): Bump for 2.15 release.
51506 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51508 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51509 Patch by Marek Polacek <mpolacek@redhat.com>.
51511 * bits/byteswap.h: Protect long long constants with __extension__.
51512 * sysdeps/i386/bits/byteswap.h: Likewise.
51513 * sysdeps/ia64/bits/byteswap.h: Likewise.
51514 * sysdeps/s390/bits/byteswap.h: Likewise.
51515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51517 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51521 destination buffer.
51522 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51524 2011-12-23 Marek Polacek <polacek@redhat.com>
51526 * elf/dl-addr.c (determine_info): Add inline keyword.
51527 * elf/tst-auditmod4b.c (check_avx): Likewise.
51528 * elf/tst-auditmod6b.c (check_avx): Likewise.
51529 * elf/tst-auditmod6c.c (check_avx): Likewise.
51530 * elf/tst-auditmod7b.c (check_avx): Likewise.
51532 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51534 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51537 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51540 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51541 processing for last bytes.
51543 2011-08-06 Bruno Haible <bruno@clisp.org>
51546 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51547 U+0385, not to U+1FEE.
51550 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51551 entry for U+00A5 U+0301.
51553 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51556 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51557 buffer for the output is too small.
51559 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51563 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51564 SSE flags if possible.
51566 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51570 processing for last bytes.
51572 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51574 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51575 (syscall-list-default-options, syscall-list-default-condition)
51576 (syscall-list-includes): Define.
51577 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51578 list of ABIs and options and #if conditions for each ABI. Do not
51579 handle common syscalls between ABIs specially.
51580 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51582 (syscall-list-variants, syscall-list-32bit-options)
51583 (syscall-list-32bit-condition, syscall-list-64bit-options)
51584 (syscall-list-64bit-condition): Define.
51585 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51586 (syscall-list-variants, syscall-list-32bit-options)
51587 (syscall-list-32bit-condition, syscall-list-64bit-options)
51588 (syscall-list-64bit-condition): Define.
51589 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51591 (syscall-list-variants, syscall-list-32bit-options)
51592 (syscall-list-32bit-condition, syscall-list-64bit-options)
51593 (syscall-list-64bit-condition): Define.
51594 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51596 (syscall-list-variants, syscall-list-32bit-options)
51597 (syscall-list-32bit-condition, syscall-list-64bit-options)
51598 (syscall-list-64bit-condition): Define.
51600 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51602 * locale/iso-639.def: Add brx entry.
51605 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51606 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51608 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51609 __feraiseexcept_renamed.
51611 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51614 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51615 EPOLLET with unsigned values.
51616 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51619 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51620 to large cancellation.
51621 * math/s_cacoshf.c: Likewise.
51622 * math/s_cacoshl.c: Likewise.
51624 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51628 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51629 * math/s_cacoshf.c: Likewise.
51630 * math/s_cacoshl.c: Likewise.
51632 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51635 * iconv/gconv.h: Define __GCONV_SWAP.
51636 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51637 * iconvdata/utf-16.c: Likewise.
51638 * iconvdata/utf-32.c: Likewise.
51640 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51644 numerator after shifting it by one limb.
51646 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51648 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51649 under [__USE_EXTERN_INLINES].
51651 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51654 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51656 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51658 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51659 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51661 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51662 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51663 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51664 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51665 for strncasecmp/strncasecmp_l compilation.
51666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51667 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51669 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51672 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51675 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51678 * time/tzfile.c (__tzfile_read): Check values from file header.
51680 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51682 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51683 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51684 * powerpc/powerpc32/dl-start.S: Likewise.
51685 * powerpc/powerpc32/elf/start.S: Likewise.
51686 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51687 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51688 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51689 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51690 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51691 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51692 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51693 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51694 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51695 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51696 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51697 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51698 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51699 * powerpc/powerpc32/memset.S: Likewise.
51700 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51701 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51702 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51703 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51704 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51705 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51706 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51707 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51708 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51709 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51710 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51711 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51712 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51714 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51716 * math/libm-test.inc: Added more nearbyint tests.
51717 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51722 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51724 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51727 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51729 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51730 Add wcscpy-ssse3 wcscpy-c.
51731 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51732 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51733 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51734 * sysdeps/x86_64/wcschr.S: New file.
51735 * sysdeps/x86_64/wcsrchr.S: New file.
51736 * string/test-strcmp.c: Remove checking of wcscmp function for
51738 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51739 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51740 wcsrchr-sse2 wcsrchr-c.
51741 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51742 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51743 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51744 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51745 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51746 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51747 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51748 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51749 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51750 * wcsmbc/wcschr.c (WCSCHR): New macro.
51752 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51754 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51755 * wcsmbs/test-wcsrchr.c: New file.
51756 * string/test-strrchr.c: Add wcsrchr support.
51758 * wcsmbs/test-wcscpy.c: New file.
51759 * string/test-strcpy.c: Add wcscpy support.
51762 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51764 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51767 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51770 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51772 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51774 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51775 Minor optimizations.
51777 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51778 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51779 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51781 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51783 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51784 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51785 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51786 for gcc to avoid warnings.
51787 * inet/Makefile (tests): Add tst-checks.
51788 * inet/tst-checks.c: New file.
51790 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51793 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51796 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51797 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51799 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51801 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51803 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51806 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51808 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51810 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51811 conditional on GCC version.
51812 (__arch_compare_and_exchange_val_8_acq)
51813 (__arch_compare_and_exchange_val_16_acq)
51814 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51815 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51816 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51818 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51820 * sysdeps/sh/backtrace.c: New file.
51822 2011-12-02 Andreas Schwab <schwab@redhat.com>
51824 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51827 2011-12-01 Andreas Schwab <schwab@redhat.com>
51829 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51830 falling back to utime.
51832 2011-11-30 Andreas Schwab <schwab@redhat.com>
51834 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51835 expectations for float.
51837 2011-11-29 Andreas Schwab <schwab@redhat.com>
51839 * locale/weight.h (findidx): Add parameter len.
51840 * locale/weightwc.h (findidx): Likewise.
51841 * posix/fnmatch_loop.c (FCT): Adjust caller.
51842 * posix/regcomp.c (build_equiv_class): Likewise.
51843 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51844 * posix/regexec.c (check_node_accept_bytes): Likewise.
51845 * string/strcoll_l.c (STRCOLL): Likewise.
51846 * string/strxfrm_l.c (STRXFRM): Likewise.
51848 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51850 * Makefile.in: Remove CVSOPT handling.
51851 * configure.in: Remove use of AC_REVISION.
51852 * iconvdata/Makefile (distribute): No need to filter out CVS.
51853 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51856 2011-11-16 Andreas Schwab <schwab@redhat.com>
51858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51859 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51860 [USE_AS_STRNCASECMP_L]: Likewise.
51861 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51862 NO_TLS_DIRECT_SEG_REFS.
51863 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51864 Fix argument offsets for non-PIC.
51865 [USE_AS_STRNCASECMP_L]: Likewise.
51866 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51867 NO_TLS_DIRECT_SEG_REFS.
51869 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51871 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51873 * locale/loadlocale.c (_nl_load_locale): Likewise.
51875 2011-11-15 Andreas Schwab <schwab@redhat.com>
51877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51878 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51880 (SYSCALL_GETTIME): Set errno on error.
51882 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51883 count references to noai6ai_cached.
51885 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51887 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51889 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51890 FD_CLOEXEC for /proc/self/maps.
51892 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51893 FD_CLOEXEC for /proc/meminfo.
51895 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51898 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51899 FD_CLOEXEC for given file.
51901 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51903 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51904 FD_CLOEXEC for /etc/hosts.
51905 (_gethtent): Likewise.
51907 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51909 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51910 cancellation and set FD_CLOEXEC for /etc/netgroup.
51912 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51913 reading /etc/publickey.
51915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51916 allow cancellation when reading /etc/group.
51918 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51920 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51922 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51923 when using data file.
51925 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51927 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51928 (write_nis_obj): Use "c" and "e" in fopen.
51930 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51932 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51934 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51936 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51938 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51941 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51943 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51945 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51947 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51948 file parsing and set FD_CLOEXEC.
51950 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51952 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51954 2011-11-14 Andreas Schwab <schwab@redhat.com>
51956 * malloc/arena.c (arena_get2): Don't call reused_arena when
51957 _int_new_arena failed.
51959 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51961 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51962 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51963 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51965 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51967 to compile strcasecmp and strncasecmp.
51968 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51969 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51973 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51975 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51976 locale-defines.sym to gen-as-const-headers.
51977 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51978 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51980 to compile strcasecmp and strncasecmp.
51981 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51982 strcasecmp_l and strncasecmp_l.
51983 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51984 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51985 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51986 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51987 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51988 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51989 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51990 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51991 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51992 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51993 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51995 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51997 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51998 result of SYSDEP_GETTIME_CPU to retval.
51999 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52000 parameter list to macro. Remove trailing semicolon. Adjust users.
52002 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52005 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52009 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52010 from unused variable.
52012 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52014 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52017 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52020 * sunrpc/rpc_prot.c (rejected): Fix case value.
52022 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52023 unsigned long long int to avoid warnings in shift.
52025 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52027 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52030 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52031 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52032 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52034 * nis/nis_table.c (nis_list): Use variable of correct type for
52035 result of __follow_path call.
52037 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52039 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52040 of math functions ceil, trunc, floor, round, and sqrt, when
52041 avaliable on the platform.
52042 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52044 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52045 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52046 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52048 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52050 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52053 2011-11-11 Roland McGrath <roland@hack.frob.com>
52055 * include/unistd.h: Fix __readlink return type.
52056 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52058 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52060 * stdlib/ucontext.h: Undo last change for makecontext.
52062 2011-11-11 Andreas Schwab <schwab@redhat.com>
52064 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52066 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52067 * setjmp/setjmp.h: Mark functions as non-leaf.
52068 * setjmp/bits/setjmp2.h: Likewise.
52069 * stdlib/ucontext.h: Likewise.
52071 2011-11-10 Andreas Schwab <schwab@redhat.com>
52073 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52074 (reused_arena): Don't check arena limit.
52075 (arena_get2): Atomically check arena limit.
52077 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52079 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52080 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52085 2011-11-07 Andreas Schwab <schwab@redhat.com>
52087 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52088 handler when locking.
52090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52091 Fix size of allocated buffer.
52093 2011-11-04 Andreas Schwab <schwab@redhat.com>
52096 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52097 declarations for long double functions.
52098 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52100 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52102 2011-11-03 Andreas Schwab <schwab@redhat.com>
52104 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52107 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52110 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52112 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52114 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52116 * include/alloca.h (stackinfo_alloca_round): Define.
52117 (extend_alloca): Use it.
52118 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52119 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52122 * scripts/check-local-headers.sh: Ignore libaudit.h.
52124 * nscd/Makefile (extra-objs): Make recursively expanded.
52126 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52128 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52129 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52131 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52132 * posix/tst-rfc3484-2.c: Likewise.
52133 * posix/tst-rfc3484-3.c: Likewise.
52135 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52137 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52139 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52140 process_vm_writev from libc using GLIBC_2.15 version.
52142 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52144 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52146 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52149 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52152 * nss/getent.c (initgroups_keys): Show error message in case no group
52155 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52156 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52157 __bump_nl_timestamp.
52158 * nscd/connections (nscd_init): When host database is served open
52159 netlink socket and request notification about configuration changes.
52160 (main_loop_poll): Track netlink file descriptor and bump timestamp
52161 in case data becomes available.
52162 (main_loop_epoll): Likewise.
52163 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52164 (database_pers_head): Add extra_data fileds.
52165 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52166 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52167 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52169 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52170 in6ai data, call __free_in6ai.
52171 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52172 Add -DHAVE_NETLINK.
52173 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52174 interface information. Reuse previous data if netlink timestamp
52176 (__bump_nl_timestamp): New function.
52177 (__free_in6ai): New function.
52179 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52181 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52182 close_not_cancel_no_status here.
52183 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52185 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52188 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52191 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52192 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52193 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52195 2011-07-03 Andreas Jaeger <aj@suse.de>
52198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52199 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52200 * math/libm-test.inc (sin_test): Add test case.
52202 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52205 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52206 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52208 * elf/chroot_canon.c (chroot_canon): Cleanups.
52210 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52213 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52216 * string/test-strchr.c: Make usable for strchrnul testing.
52217 * string/test-strchrnul.c: New file.
52218 * string/Makefile (strop-tests): Add strchrnul.
52220 * po/it.po: Update from translation team.
52221 * po/es.po: Likewise.
52223 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52226 the three constants needed as parameters. Drop the others.
52227 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52228 __m128i_strloadu_tolower.
52229 Create and initialize variable zero and use it in all the places
52230 where _mm_setzero_si128 was used.
52232 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52233 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52234 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52237 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52238 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52239 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52240 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52241 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52242 __mpranred, __mptan.
52243 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52244 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52245 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52246 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52247 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52248 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52250 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52251 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52253 2011-10-28 Andreas Schwab <schwab@redhat.com>
52255 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52256 redefine if SHARED.
52257 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52260 wide char related routines to wcsmbs subdir.
52262 2011-10-27 Andreas Schwab <schwab@redhat.com>
52265 * misc/sys/cdefs.h (__THROWNL): Define.
52266 * posix/unistd.h: Use __THREADNL instead of __THREAD
52267 for memory synchronization functions.
52269 2011-10-26 Roland McGrath <roland@hack.frob.com>
52272 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52274 * manual/stdio.texi (Obstack Streams): Node removed.
52276 2011-10-26 Andreas Schwab <schwab@redhat.com>
52278 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52279 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52280 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52282 * math/math_private.h (math_force_eval): Allow non-addressable
52284 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52286 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52289 file is not needed.
52291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52298 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52300 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52301 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52302 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52303 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52304 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52305 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52306 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52307 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52308 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52309 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52310 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52311 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52313 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52314 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52315 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52316 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52317 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52318 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52320 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52321 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52323 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52324 place. Use VEX encoding when compiling for AVX.
52326 2011-10-25 Andreas Schwab <schwab@redhat.com>
52328 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52329 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52331 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52333 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52335 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52336 useless if() expression.
52337 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52339 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52341 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52342 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52347 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52349 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52350 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52351 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52354 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52357 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52359 2011-10-25 Andreas Schwab <schwab@redhat.com>
52361 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52363 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52365 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52367 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52368 .text section. Avoid duplicate constants.
52369 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52371 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52373 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52377 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52378 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52380 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52381 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52382 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52383 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52384 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52386 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52387 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52389 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52391 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52393 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52394 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52395 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52396 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52397 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52398 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52400 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52402 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52403 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52404 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52405 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52406 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52407 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52408 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52409 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52410 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52411 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52412 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52413 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52415 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52417 * sysdeps/x86_64/dla.h: Move to ...
52418 * sysdeps/x86_64/fpu/dla.h: ...here.
52419 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52420 situations. Use __builtin_fma only for gcc 4.6 and up.
52422 * config.make.in: Add have-mfma4 entry.
52423 * configure.in: Substitute libc_cv_cc_fma4.
52424 * math/Makefile (dbl-only-routines): Add sincostab.
52425 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52426 Use __sincostab not sincos.
52427 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52434 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52435 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52436 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52437 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52440 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52442 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52443 define aliases when function name is a macro.
52444 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52445 sysdeps/ieee754/dbl-64/sincos.tbl.
52446 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52447 fma4-enabled routines.
52448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52449 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52450 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52451 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52453 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52454 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52456 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52457 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52458 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52460 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52463 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52464 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52465 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52466 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52467 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52468 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52469 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52472 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52474 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52479 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52490 2011-10-24 Andreas Schwab <schwab@redhat.com>
52492 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52494 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52496 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52498 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52502 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52503 Remove unused variable magic_bits.
52504 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52506 * string/strnlen.c: Define and use STRNLEN macro.
52507 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52508 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52510 * wcsmbs/wcslen.c: Define and use WCSLEN.
52511 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52512 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52513 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52514 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52515 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52516 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52517 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52519 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52522 strnlen-sse2-no-bsf.
52523 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52525 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52526 Add strnlen support.
52527 (USE_AS_STRNLEN): New macro.
52528 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52529 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52530 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52531 * sysdeps/x86_64/wcslen.S: New file.
52533 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52535 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52536 XMM-moves are used for copying on small sizes.
52538 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52540 * wcsmbs/Makefile (strop-tests): Add wcschr.
52541 * wcsmbs/test-wcschr.c: New file.
52542 * string/test-strchr.c: Update.
52543 Add wcschr support.
52546 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52548 * wcsmbs/Makefile (strop-tests): Add wcslen.
52549 * wcsmbs/test-wcslen.c: New file.
52550 * string/test-strlen.c: Update.
52551 Add wcslen support.
52554 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52556 * po/it.po: Update from translation team.
52558 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52560 * sysdeps/x86_64/wcscmp.S: Update.
52561 Fix wrong comparison semantics.
52562 wcscmp shall use signed comparison not unsigned.
52563 Don't use substraction to avoid overflow bug.
52564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52565 * wcsmbc/wcscmp.c: Likewise.
52566 * string/test-strcmp.c: Likewise.
52567 Add new tests to check cases with negative values.
52569 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52571 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52572 * sysdeps/x86_64/dla.h: ...here. New file.
52573 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52578 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52583 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52586 __ynl_finite aliases.
52588 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52592 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52594 [DLA_FMA] (EMULV): Use DLA_FMA.
52595 [DLA_FMA] (MUL12): Use EMULV.
52596 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52597 that are not needed.
52598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52606 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52608 * math/s_nan.c: Undef __nan.
52609 * math/s_nanf.c: Undef __nanf.
52610 * math/s_nanl.c: Undef __nanl.
52611 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52614 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52616 * math/s_catan.c: Add branch predictions.
52617 * math/s_catanf.c: Likewise.
52618 * math/s_catanh.c: Likewise.
52619 * math/s_catanhf.c: Likewise.
52620 * math/s_catanhl.c: Likewise.
52621 * math/s_catanl.c: Likewise.
52622 * math/s_cexp.c: Likewise.
52623 * math/s_cexpf.c: Likewise.
52624 * math/s_cexpl.c: Likewise.
52625 * math/s_clog.c: Likewise.
52626 * math/s_clog10.c: Likewise.
52627 * math/s_clog10f.c: Likewise.
52628 * math/s_clog10l.c: Likewise.
52629 * math/s_clogf.c: Likewise.
52630 * math/s_clogl.c: Likewise.
52631 * math/s_csqrt.c: Likewise.
52632 * math/s_csqrtf.c: Likewise.
52633 * math/s_csqrtl.c: Likewise.
52634 * math/s_ctanf.c: Likewise.
52635 * math/s_ctanh.c: Likewise.
52636 * math/s_ctanhf.c: Likewise.
52637 * math/s_ctanhl.c: Likewise.
52638 * math/s_ctanl.c: Likewise.
52640 * math/math_private.h: Define __nan, __nanf, __nanl.
52641 * math/s_cacosh.c: Include <math_private.h>.
52642 * math/s_cacoshl.c: Likewise.
52643 * math/s_casinh.c: Likewise.
52644 * math/s_casinhf.c: Likewise.
52645 * math/s_casinhl.c: Likewise.
52646 * math/s_ccos.c: Rely entire on ccosh.
52647 * math/s_ccosf.c: Rely entire on ccoshf.
52648 * math/s_ccosl.c: Rely entirely on ccoshl.
52649 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52650 Remove tests for FE_INVALID.
52651 * math/s_ccoshf.c: Likewise.
52652 * math/s_ccoshl.c: Likewise.
52653 * math/s_csin.c: Likewise.
52654 * math/s_csinf.c: Likewise.
52655 * math/s_csinh.c Likewise.
52656 * math/s_csinhf.c: Likewise.
52657 * math/s_csinhl.c: Likewise.
52658 * math/s_csinl.c: Likewise.
52659 * math/s_ctan.c: Likewise.
52660 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52661 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52662 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52664 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52667 compilation problems.
52669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52672 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52674 * sysdeps/i386/configure.in: Test for -mfma4 option.
52675 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52676 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52677 COMMON_CPUID_INDEX_80000001.
52678 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52679 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52680 use it if FMA3 is not supported.
52681 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52683 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52684 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52686 2011-10-20 Andreas Schwab <schwab@redhat.com>
52689 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52690 it would create a cycle with a link time dependency.
52692 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52694 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52696 * string/Makefile (strop-tests): Add rawmemchr.
52697 * string/test-rawmemchr.c: New file.
52699 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52701 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52702 when compiling str{,n}casecmp and when AVX is available. Hook up
52703 new optimized code in initializers.
52705 2011-10-19 Andreas Schwab <schwab@redhat.com>
52707 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52708 __feraiseexcept instead of feraiseexcept.
52710 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52712 * math/math_private.h: Define defaults for libc_fetestexcept and
52714 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52715 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52716 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52717 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52719 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52720 libc_fetestexcept and libc_feupdateenv.
52722 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52723 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52724 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52725 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52726 libc_feholdexcept_setround.
52728 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52729 Add s_nearbyint-c and s_nearbyintf-c.
52730 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52731 nearbyintf inlines.
52732 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52733 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52734 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52735 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52737 * math/math_private.h: Define defaults for libc_fegetround,
52738 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52739 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52740 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52741 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52742 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52743 standard functions.
52744 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52745 Remove comments and hacks for old compiler versions.
52746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52747 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52748 libc_feholdexceptl.
52750 2011-10-18 Andreas Schwab <schwab@redhat.com>
52752 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52753 (__feraiseexcept_renamed): Add __NTH.
52754 (feraiseexcept): Add __NTH. Rename local variables to fix
52755 namespace violations.
52757 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52759 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52761 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52763 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52764 recently added interfaces.
52765 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52767 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52768 about macro parameter expansion.
52770 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52771 __NO_MATH_INLINES is defined. Cleanups.
52773 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52774 and __floorf is target has SSE4.1.
52775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52776 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52778 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52780 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52782 (floorf): Likewise.
52784 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52786 2011-10-17 Andreas Schwab <schwab@redhat.com>
52788 * misc/sys/cdefs.h: Fix last change.
52790 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52793 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52795 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52797 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52799 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52800 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52801 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52802 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52804 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52805 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52806 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52807 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52808 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52809 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52810 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52811 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52812 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52813 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52814 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52815 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52816 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52817 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52818 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52820 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52821 ceil, ceilf, floor, floorf.
52823 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52824 Perform IRELATIVE relocations last.
52826 * elf/do-rel.h: Add another parameter nrelative, replacing the
52827 local variable with the same name. Change name of the function
52828 to end in Rel or Rela (uppercase).
52829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52830 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52831 elf_dynamic_do_##reloc function.
52833 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52835 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52836 is sufficient, at least on modern CPUs.
52838 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52840 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52841 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52843 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52845 * math/bits/math-finite.h: Add entries for exp.
52846 * math/e_expl.c: Add __*_finite alias.
52847 * sysdeps/i386/fpu/e_exp.S: Likewise.
52848 * sysdeps/i386/fpu/e_expf.S: Likewise.
52849 * sysdeps/i386/fpu/e_expl.c: Likewise.
52850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52851 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52854 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52855 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52856 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52858 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52859 is sufficient, at least on modern CPUs.
52861 * ctype/ctype-info.c (__ctype_init): Define.
52862 * include/ctype.h (__ctype_init): Declare.
52863 (__ctype_b_loc): The variable is always initialized.
52864 (__ctype_toupper_loc): Likewise.
52865 (__ctype_tolower_loc): Likewise.
52866 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52867 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52869 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52871 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52873 * configure.in: Also look in $cxxmachine/include for C++ system
52876 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52878 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52879 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52880 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52881 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52882 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52883 (USE_AS_WMEMCMP): New macro.
52885 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52886 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52887 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52888 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52890 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52891 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52892 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52893 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52894 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52896 (USE_AS_WMEMCMP): New macro.
52897 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52898 * sysdeps/string/test-memcmp.c: Update.
52899 Fix simple_wmemcmp.
52901 * wcsmbs/wmemcmp.c: Update.
52902 (WMEMCMP): New macro.
52905 2011-10-12 Andreas Jaeger <aj@suse.de>
52908 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52910 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52912 * libio/iofwide.c (do_length): Avoid warning.
52914 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52916 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52918 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52920 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52921 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52922 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52923 * sysdeps/i386/i686/fpu/e_log.S: New file.
52924 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52925 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52927 * ctype/ctype.h: Add support for inlined isXXX functions when
52928 compiling C++ code.
52930 2011-10-14 Andreas Schwab <schwab@redhat.com>
52932 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52934 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52936 2011-10-13 Roland McGrath <roland@hack.frob.com>
52939 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52941 2011-10-13 Andreas Schwab <schwab@redhat.com>
52943 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52944 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52947 * sysdeps/x86_64/memrchr.S: Check for zero size.
52949 * string/stratcliff.c: Add memrchr tests.
52951 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52954 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52955 rawmemchr-sse2 rawmemchr-sse2-bsf.
52956 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52957 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52958 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52959 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52960 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52961 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52962 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52963 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52964 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52965 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52966 * string/memrchr.c (MEMRCHR): New macro.
52968 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52970 Add integration with gcc's -ffinite-math-only and optimize wrapper
52972 * Versions.def: Define GLIBC_2.15 version for libm.
52973 * math/Makefile (headers): Add bits/math-finite.h.
52974 * math/bits/math-finite.h: New file.
52975 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52976 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52977 * math/e_acoshl.c: Add __*_finite alias.
52978 * math/e_acosl.c: Likewise.
52979 * math/e_asinl.c: Likewise.
52980 * math/e_atan2l.c: Likewise.
52981 * math/e_atanhl.c: Likewise.
52982 * math/e_coshl.c: Likewise.
52983 * math/e_exp10.c: Likewise.
52984 * math/e_exp10f.c: Likewise.
52985 * math/e_exp10l.c: Likewise.
52986 * math/e_exp2l.c: Likewise.
52987 * math/e_fmodl.c: Likewise.
52988 * math/e_gammal_r.c: Likewise.
52989 * math/e_hypotl.c: Likewise.
52990 * math/e_j0l.c: Likewise.
52991 * math/e_j1l.c: Likewise.
52992 * math/e_jnl.c: Likewise.
52993 * math/e_lgammal_r.c: Likewise.
52994 * math/e_log10l.c: Likewise.
52995 * math/e_log2l.c: Likewise.
52996 * math/e_logl.c: Likewise.
52997 * math/e_powl.c: Likewise.
52998 * math/e_sinhl.c: Likewise.
52999 * math/e_sqrtl.c: Likewise.
53000 * math/e_scalb.c: Completely rewritten and optimized.
53001 * math/e_scalbf.c: Likewise.
53002 * math/e_scalbl.c: Likewise.
53003 * math/w_acos.c: Likewise.
53004 * math/w_acosf.c: Likewise.
53005 * math/w_acosl.c: Likewise.
53006 * math/w_acosh.c: Likewise.
53007 * math/w_acoshf.c: Likewise.
53008 * math/w_acoshl.c: Likewise.
53009 * math/w_asin.c: Likewise.
53010 * math/w_asinf.c: Likewise.
53011 * math/w_asinl.c: Likewise.
53012 * math/w_atan2.c: Likewise.
53013 * math/w_atan2f.c: Likewise.
53014 * math/w_atan2l.c: Likewise.
53015 * math/w_atanh.c: Likewise.
53016 * math/w_atanhf.c: Likewise.
53017 * math/w_atanhl.c: Likewise.
53018 * math/w_exp10.c: Likewise.
53019 * math/w_exp10f.c: Likewise.
53020 * math/w_exp10l.c: Likewise.
53021 * math/w_fmod.c: Likewise.
53022 * math/w_fmodf.c: Likewise.
53023 * math/w_fmodl.c: Likewise.
53024 * math/w_j0.c: Likewise.
53025 * math/w_j0f.c: Likewise.
53026 * math/w_j0l.c: Likewise.
53027 * math/w_j1.c: Likewise.
53028 * math/w_j1f.c: Likewise.
53029 * math/w_j1l.c: Likewise.
53030 * math/w_jn.c: Likewise.
53031 * math/w_jnf.c: Likewise.
53032 * math/w_log.c: Likewise.
53033 * math/w_logf.c: Likewise.
53034 * math/w_logl.c: Likewise.
53035 * math/w_log10.c: Likewise.
53036 * math/w_log10f.c: Likewise.
53037 * math/w_log10l.c: Likewise.
53038 * math/w_log2.c: Likewise.
53039 * math/w_log2f.c: Likewise.
53040 * math/w_log2l.c: Likewise.
53041 * math/w_pow.c: Likewise.
53042 * math/w_powf.c: Likewise.
53043 * math/w_powl.c: Likewise.
53044 * math/w_remainder.c: Likewise.
53045 * math/w_remainderf.c: Likewise.
53046 * math/w_remainderl.c: Likewise.
53047 * math/w_scalb.c: Likewise.
53048 * math/w_scalbf.c: Likewise.
53049 * math/w_scalbl.c: Likewise.
53050 * math/w_sqrt.c: Likewise.
53051 * math/w_sqrtf.c: Likewise.
53052 * math/w_sqrtl.c: Likewise.
53053 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53054 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53056 * math/math_private.h: Declare __kernel_standard_f.
53057 * math/w_cosh.c: Remove cruft and optimize a bit.
53058 * math/w_coshf.c: Likewise.
53059 * math/w_coshl.c: Likewise.
53060 * math/w_exp2.c: Likewise.
53061 * math/w_exp2f.c: Likewise.
53062 * math/w_exp2l.c: Likewise.
53063 * math/w_hypot.c: Likewise.
53064 * math/w_hypotf.c: Likewise.
53065 * math/w_hypotl.c: Likewise.
53066 * math/w_lgamma.c: Likewise.
53067 * math/w_lgamma_r.c: Likewise.
53068 * math/w_lgammaf.c: Likewise.
53069 * math/w_lgammaf_r.c: Likewise.
53070 * math/w_lgammal.c: Likewise.
53071 * math/w_lgammal_r.c: Likewise.
53072 * math/w_sinh.c: Likewise.
53073 * math/w_sinhf.c: Likewise.
53074 * math/w_sinhl.c: Likewise.
53075 * math/w_tgamma.c: Likewise.
53076 * math/w_tgammaf.c: Likewise.
53077 * math/w_tgammal.c: Likewise.
53078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53080 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53081 Minor optimizations. Pretty printing. Remove cruft.
53082 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53083 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53084 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53085 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53086 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53087 * sysdeps/i386/fpu/e_asin.S: Likewise.
53088 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53089 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53090 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53091 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53092 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53093 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53095 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53096 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53097 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53098 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53099 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53100 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53101 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53102 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53103 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53104 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53105 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53106 * sysdeps/i386/fpu/e_log.S: Likewise.
53107 * sysdeps/i386/fpu/e_log10.S: Likewise.
53108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53110 * sysdeps/i386/fpu/e_log2.S: Likewise.
53111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53113 * sysdeps/i386/fpu/e_logf.S: Likewise.
53114 * sysdeps/i386/fpu/e_logl.S: Likewise.
53115 * sysdeps/i386/fpu/e_pow.S: Likewise.
53116 * sysdeps/i386/fpu/e_powf.S: Likewise.
53117 * sysdeps/i386/fpu/e_powl.S: Likewise.
53118 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53119 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53120 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53123 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53124 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53125 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53126 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53127 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53130 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53132 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53133 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53134 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53135 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53136 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53137 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53138 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53143 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53144 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53145 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53147 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53148 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53149 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53150 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53151 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53152 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53153 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53154 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53155 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53156 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53157 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53158 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53159 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53161 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53162 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53163 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53164 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53165 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53166 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53167 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53168 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53173 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53177 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53204 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53206 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53208 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53210 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53212 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53213 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53214 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53215 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53216 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53217 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53220 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53221 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53222 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53223 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53224 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53225 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53226 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53227 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53228 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53229 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53230 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53232 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53235 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53236 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53237 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53238 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53239 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53240 (__isnanf): Likewise.
53241 (__isinf_ns): Likewise.
53242 (__isinf_nsf): Likewise.
53243 (__finite): Likewise.
53244 (__finitef): Likewise.
53245 (__ieee754_sqrt): Define as macro.
53246 (__ieee754_sqrtf): Define as macro.
53247 (__ieee754_sqrtl): Define as macro.
53248 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53250 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53251 __FINITE_MATH_ONLY__ consistent.
53252 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53254 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53256 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53259 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53261 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53263 * po/ja.po: Update from translation team.
53265 2011-10-08 Roland McGrath <roland@hack.frob.com>
53267 * locale/programs/locarchive.c (prepare_address_space): New function.
53268 (create_archive, enlarge_archive, open_archive): Use it.
53270 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53271 inside [SHARED], where it is used.
53273 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53275 * nss/getent.c (netgroup_keys): Remove unused variable.
53276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53278 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53280 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53281 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53282 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53284 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53286 * math/Makefile (libm-calls): Add s_isinf_ns.
53287 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53288 * math/multc3.c: Likewise.
53289 * math/s_casin.c: Likewise.
53290 * math/s_casinf.c: Likewise.
53291 * math/s_casinl.c: Likewise.
53292 * math/s_ccos.c: Likewise.
53293 * math/s_ccosf.c: Likewise.
53294 * math/s_ccosl.c: Likewise.
53295 * math/s_ctan.c: Likewise.
53296 * math/s_ctanf.c: Likewise.
53297 * math/s_ctanh.c: Likewise.
53298 * math/s_ctanhf.c: Likewise.
53299 * math/s_ctanhl.c: Likewise.
53300 * math/s_ctanl.c: Likewise.
53301 * math/w_fmod.c: Likewise.
53302 * math/w_fmodf.c: Likewise.
53303 * math/w_fmodl.c: Likewise.
53304 * math/w_remainder.c: Likewise.
53305 * math/w_remainderf.c: Likewise.
53306 * math/w_remainderl.c: Likewise.
53307 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53308 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53311 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53312 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53313 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53314 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53316 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53318 * stdio-common/printf_fphex.c: Likewise.
53319 * stdio-common/printf_size.c: Likewise.
53321 * math/e_exp10.c: Include math_private.h using <...> not "...".
53322 * math/e_exp10f.c: Likewise.
53323 * math/e_exp10l.c: Likewise.
53324 * math/e_exp2l.c: Likewise.
53325 * math/e_j0l.c: Likewise.
53326 * math/e_j1l.c: Likewise.
53327 * math/e_jnl.c: Likewise.
53328 * math/e_lgammal_r.c: Likewise.
53329 * math/e_rem_pio2l.c: Likewise.
53330 * math/e_scalb.c: Likewise.
53331 * math/e_scalbf.c: Likewise.
53332 * math/e_scalbl.c: Likewise.
53333 * math/k_cosl.c: Likewise.
53334 * math/k_sinl.c: Likewise.
53335 * math/k_tanl.c: Likewise.
53336 * math/s_cacoshf.c: Likewise.
53337 * math/s_catan.c: Likewise.
53338 * math/s_catanf.c: Likewise.
53339 * math/s_catanh.c: Likewise.
53340 * math/s_catanhf.c: Likewise.
53341 * math/s_catanhl.c: Likewise.
53342 * math/s_catanl.c: Likewise.
53343 * math/s_ccosh.c: Likewise.
53344 * math/s_ccoshf.c: Likewise.
53345 * math/s_ccoshl.c: Likewise.
53346 * math/s_cexp.c: Likewise.
53347 * math/s_cexpf.c: Likewise.
53348 * math/s_cexpl.c: Likewise.
53349 * math/s_clog.c: Likewise.
53350 * math/s_clog10.c: Likewise.
53351 * math/s_clog10f.c: Likewise.
53352 * math/s_clog10l.c: Likewise.
53353 * math/s_clogf.c: Likewise.
53354 * math/s_clogl.c: Likewise.
53355 * math/s_csin.c: Likewise.
53356 * math/s_csinf.c: Likewise.
53357 * math/s_csinh.c: Likewise.
53358 * math/s_csinhf.c: Likewise.
53359 * math/s_csinhl.c: Likewise.
53360 * math/s_csinl.c: Likewise.
53361 * math/s_csqrt.c: Likewise.
53362 * math/s_csqrtf.c: Likewise.
53363 * math/s_csqrtl.c: Likewise.
53364 * math/s_ctan.c: Likewise.
53365 * math/s_ctanf.c: Likewise.
53366 * math/s_ctanh.c: Likewise.
53367 * math/s_ctanhf.c: Likewise.
53368 * math/s_ctanhl.c: Likewise.
53369 * math/s_ctanl.c: Likewise.
53370 * math/s_ldexp.c: Likewise.
53371 * math/s_ldexpf.c: Likewise.
53372 * math/s_ldexpl.c: Likewise.
53373 * math/s_significand.c: Likewise.
53374 * math/s_significandf.c: Likewise.
53375 * math/s_significandl.c: Likewise.
53376 * math/w_acos.c: Likewise.
53377 * math/w_acosf.c: Likewise.
53378 * math/w_acosh.c: Likewise.
53379 * math/w_acoshf.c: Likewise.
53380 * math/w_acoshl.c: Likewise.
53381 * math/w_acosl.c: Likewise.
53382 * math/w_asin.c: Likewise.
53383 * math/w_asinf.c: Likewise.
53384 * math/w_asinl.c: Likewise.
53385 * math/w_atan2.c: Likewise.
53386 * math/w_atan2f.c: Likewise.
53387 * math/w_atan2l.c: Likewise.
53388 * math/w_atanh.c: Likewise.
53389 * math/w_atanhf.c: Likewise.
53390 * math/w_atanhl.c: Likewise.
53391 * math/w_cosh.c: Likewise.
53392 * math/w_coshf.c: Likewise.
53393 * math/w_coshl.c: Likewise.
53394 * math/w_dremf.c: Likewise.
53395 * math/w_exp10.c: Likewise.
53396 * math/w_exp10f.c: Likewise.
53397 * math/w_exp10l.c: Likewise.
53398 * math/w_exp2.c: Likewise.
53399 * math/w_exp2f.c: Likewise.
53400 * math/w_fmod.c: Likewise.
53401 * math/w_fmodf.c: Likewise.
53402 * math/w_fmodl.c: Likewise.
53403 * math/w_hypot.c: Likewise.
53404 * math/w_hypotf.c: Likewise.
53405 * math/w_hypotl.c: Likewise.
53406 * math/w_j0.c: Likewise.
53407 * math/w_j0f.c: Likewise.
53408 * math/w_j0l.c: Likewise.
53409 * math/w_j1.c: Likewise.
53410 * math/w_j1f.c: Likewise.
53411 * math/w_j1l.c: Likewise.
53412 * math/w_jn.c: Likewise.
53413 * math/w_jnf.c: Likewise.
53414 * math/w_jnl.c: Likewise.
53415 * math/w_lgamma.c: Likewise.
53416 * math/w_lgamma_r.c: Likewise.
53417 * math/w_lgammaf.c: Likewise.
53418 * math/w_lgammaf_r.c: Likewise.
53419 * math/w_lgammal.c: Likewise.
53420 * math/w_lgammal_r.c: Likewise.
53421 * math/w_log.c: Likewise.
53422 * math/w_log10.c: Likewise.
53423 * math/w_log10f.c: Likewise.
53424 * math/w_log10l.c: Likewise.
53425 * math/w_log2.c: Likewise.
53426 * math/w_log2f.c: Likewise.
53427 * math/w_log2l.c: Likewise.
53428 * math/w_logf.c: Likewise.
53429 * math/w_logl.c: Likewise.
53430 * math/w_pow.c: Likewise.
53431 * math/w_powf.c: Likewise.
53432 * math/w_powl.c: Likewise.
53433 * math/w_remainder.c: Likewise.
53434 * math/w_remainderf.c: Likewise.
53435 * math/w_remainderl.c: Likewise.
53436 * math/w_scalb.c: Likewise.
53437 * math/w_scalbf.c: Likewise.
53438 * math/w_scalbl.c: Likewise.
53439 * math/w_sinh.c: Likewise.
53440 * math/w_sinhf.c: Likewise.
53441 * math/w_sinhl.c: Likewise.
53442 * math/w_sqrt.c: Likewise.
53443 * math/w_sqrtf.c: Likewise.
53444 * math/w_sqrtl.c: Likewise.
53445 * math/w_tgamma.c: Likewise.
53446 * math/w_tgammaf.c: Likewise.
53447 * math/w_tgammal.c: Likewise.
53449 * po/ja.po: Update from translation team.
53451 2011-09-29 Andreas Jaeger <aj@suse.de>
53454 * sunrpc/netname.c (netname2host): Fix logic.
53458 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53460 * math/w_remainder.c (__remainder): Likewise.
53461 * math/w_remainderf.c (__remainderf): Likewise.
53462 * math/libm-test.inc (remainder_test): Add test cases.
53464 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53466 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53469 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53471 * string/test-memcmp.c: Avoid unncessary #defines.
53472 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53474 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53476 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53477 Use new sse2 version for core i3 - i7 as it's faster
53478 than sse42 version.
53479 (bit_Prefer_PMINUB_for_stringop): New.
53480 * sysdeps/x86_64/rawmemchr.S: Update.
53481 Replace with faster SSE2 version.
53482 * sysdeps/x86_64/memrchr.S: New file.
53483 * sysdeps/x86_64/memchr.S: Update.
53484 Replace with faster SSE2 version.
53486 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53488 * elf/dl-load.c (lose): Add cast to avoid warning.
53490 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53492 * po/ca.po: Update from translation team.
53494 * inet/getnetgrent_r.c: Hook up nscd.
53495 * nscd/Makefile (routines): Add nscd_netgroup.
53496 (nscd-modules): Add netgroupcache.
53497 (CFLAGS-netgroupcache.c): Define.
53498 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53499 (cache_search): Add const to second parameter.
53500 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53502 (dbs): Add netgrdb entry.
53503 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53504 (verify_persistent_db): Handle netgrdb.
53505 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53506 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53508 (netgroup_response_header): Define.
53509 (innetgroup_response_header): Define.
53510 (datahead): Add netgroup_response_header and innetgroup_response_header
53512 * nscd/nscd.conf: Add entries for netgroup cache.
53513 * nscd/nscd.h (dbtype): Add netgrdb.
53514 (_PATH_NSCD_NETGROUP_DB): Define.
53515 (netgroup_iov_disabled): Declare.
53516 (xmalloc, xcalloc, xrealloc): Move declarations here.
53517 (cache_search): Adjust prototype.
53518 Add netgroup-related prototypes.
53519 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53520 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53521 (__nscd_innetgr): Declare.
53522 * nscd/selinux.c (perms): Use access_vector_t as element type and
53523 add netgroup-related initializers.
53524 * nscd/netgroupcache.c: New file.
53525 * nscd/nscd_netgroup.c: New file.
53526 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53527 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53528 For four parameters use innetgr.
53529 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53530 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53531 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53532 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53534 * nscd/connections.c (register_traced_file): Don't register file
53535 for disabled databases.
53537 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53539 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53541 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53542 from tree and freeing node.
53544 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53546 * nss/nsswitch.c (__nss_database_lookup): Handle
53547 nss_parse_service_list out of memory case.
53549 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53551 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53552 out of memory case.
53554 2011-10-04 Andreas Schwab <schwab@redhat.com>
53556 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53557 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53559 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53560 elf_machine_rela, elf_machine_lazy_rel.
53561 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53562 (ELF_DYNAMIC_DO_REL): Likewise.
53563 (ELF_DYNAMIC_DO_RELA): Likewise.
53564 (ELF_DYNAMIC_RELOCATE): Likewise.
53565 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53566 to ELF_DYNAMIC_DO_REL.
53567 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53568 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53569 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53572 skip_ifunc, don't call ifunc function if non-zero.
53573 (elf_machine_rela): Likewise.
53574 (elf_machine_lazy_rel): Likewise.
53575 (elf_machine_lazy_rela): Likewise.
53576 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53577 (elf_machine_lazy_rel): Likewise.
53578 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53580 (elf_machine_lazy_rel): Likewise.
53581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53583 (elf_machine_lazy_rel): Likewise.
53584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53585 (elf_machine_lazy_rel): Likewise.
53586 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53587 (elf_machine_lazy_rel): Likewise.
53588 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53589 (elf_machine_lazy_rel): Likewise.
53590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53591 (elf_machine_lazy_rel): Likewise.
53592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53593 (elf_machine_lazy_rel): Likewise.
53594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53595 (elf_machine_lazy_rel): Likewise.
53597 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53599 * nss/nss_files/files-init.c (_nss_files_init): Use static
53600 initialization for all the *_traced_file variables.
53602 2011-09-28 Andreas Schwab <schwab@redhat.com>
53604 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53606 2011-09-27 Roland McGrath <roland@hack.frob.com>
53609 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53611 2011-09-27 Andreas Schwab <schwab@redhat.com>
53613 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53614 Reread the line before reparsing it.
53616 2011-09-26 Andreas Schwab <schwab@redhat.com>
53618 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53620 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53621 Maxim Kuvyrkov <maxim@codesourcery.com>
53622 Joseph Myers <joseph@codesourcery.com>
53624 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53625 if needed for __stack_chk_guard.
53627 2011-09-19 Roland McGrath <roland@hack.frob.com>
53629 * sysdeps/posix/spawni.c (script_execute): Always define it.
53630 It will be optimized away if unused.
53631 (maybe_script_execute): New function.
53632 (__spawni): Call it.
53634 * Makerules: Don't include tls.make.
53635 (config-tls): Always set to thread.
53636 * tls.make.c: File removed.
53638 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53640 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53641 * config.make.in (CPPFLAGS-config): New substituted variable.
53643 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53648 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53649 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53651 2011-09-15 Roland McGrath <roland@hack.frob.com>
53653 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53654 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53656 (CALL_FAIL): Likewise.
53657 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53658 (CALL_FAIL): Macro removed.
53659 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53661 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53663 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53664 for __FINITE_MATH_ONLY__ == 1.
53666 2011-09-15 Andreas Schwab <schwab@redhat.com>
53668 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53669 __ieee754_sqrt instead of sqrt.
53670 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53671 __ieee754_sqrtf instead of sqrtf.
53672 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53673 __floorf instead of floorf.
53674 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53675 __floorf, __truncf instead of floorf, truncf.
53677 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53679 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53681 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53682 __extern_always_inline.
53683 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53686 2011-09-14 Andreas Schwab <schwab@redhat.com>
53688 * elf/rtld.c (dl_main): Also relocate in dependency order when
53689 doing symbol dependency testing.
53691 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53694 Always define `refsym'.
53696 2011-09-13 Andreas Schwab <schwab@redhat.com>
53698 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53699 (__FD_ELT): Renamed from __FDELT.
53700 * misc/bits/select2.h (__FD_ELT): Likewise.
53701 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53702 __FD_MASK instead of __FDELT, __FDMASK.
53703 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53705 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53708 * elf/Makefile (gen-ldd): Fix pattern.
53710 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53711 (init_tls): Likewise.
53713 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53717 2011-09-12 Andreas Schwab <schwab@redhat.com>
53719 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53720 `struct cmsghdr *' instead of `void *'.
53721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53724 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53726 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53728 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53729 ldd_rewrite_script.
53731 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53733 * configure.in: Remove --with-tls option.
53734 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53735 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53736 out in case it is missing.
53737 * sysdeps/ia64/elf/configure.in: Likewise.
53738 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53739 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53740 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53741 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53742 * sysdeps/sh/elf/configure.in: Likewise.
53743 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53744 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53745 * sysdeps/x86_64/elf/configure.in: Likewise.
53746 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53747 * sysdeps/mach/hurd/tls.h: Likewise.
53750 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53753 * configure.in: Fix use of AC_INIT.
53755 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53757 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53759 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53761 * malloc/hooks.c: Likewise.
53764 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53765 variables statically.
53766 (narenas): Initialize.
53767 (list_lock): Initialize.
53768 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53769 initializtion of main_arena and list_lock. Small cleanups.
53770 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53771 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53772 Add initializers to main_arena and mp_.
53773 (malloc_state): Remove pagesize member. Change all users to use
53776 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53777 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53778 is always initialized.
53780 * malloc/malloc.c: Removed unused configurations and dead code.
53781 * malloc/arena.c: Likewise.
53782 * malloc/hooks.c: Likewise.
53783 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53785 * include/tls.h: Removed. USE___THREAD must always be defined.
53786 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53787 * elf/dl-libc.c: Likewise.
53788 * elf/dl-tsd.c: Likewise.
53789 * include/errno.h: Likewise.
53790 * include/netdb.h: Likewise.
53791 * include/resolv.h: Likewise.
53792 * inet/herrno-loc.c: Likewise.
53793 * inet/herrno.c: Likewise.
53794 * malloc/arena.c: Likewise.
53795 * malloc/hooks.c: Likewise.
53796 * malloc/malloc.c: Likewise.
53797 * resolv/res-state.c: Likewise.
53798 * resolv/res_libc.c: Likewise.
53799 * sysdeps/i386/dl-machine.h: Likewise.
53800 * sysdeps/ia64/dl-machine.h: Likewise.
53801 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53803 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53804 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53805 * sysdeps/sh/dl-machine.h: Likewise.
53806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53807 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53808 * sysdeps/unix/i386/sysdep.S: Likewise.
53809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53810 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53815 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53819 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53820 * sysdeps/x86_64/dl-machine.h: Likewise.
53821 * tls.make.c: Likewise.
53823 * configure.in: Remove --with-__thread option. Make tests for
53824 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53825 tls_model attribute fail if no support is available. Remove
53827 * Makeconfig: Adjust for dropped configure option. All features are
53829 * Makerules: Likewise.
53830 * Versions.def: Likewise.
53831 * argp/argp-fmtstream.c: Likewise.
53832 * argp/argp-fmtstream.h: Likewise.
53833 * argp/argp-help.c: Likewise.
53834 * assert/assert.c: Likewise.
53835 * config.h.in: Likewise.
53836 * config.make.in: Likewise.
53837 * configure: Likewise.
53838 * configure.in: Likewise.
53839 * csu/Versions: Likewise.
53840 * csu/init.c: Likewise.
53841 * elf/tst-audit2.c: Likewise.
53842 * elf/tst-tls10.c: Likewise.
53843 * elf/tst-tls10.h: Likewise.
53844 * elf/tst-tls11.c: Likewise.
53845 * elf/tst-tls12.c: Likewise.
53846 * elf/tst-tls14.c: Likewise.
53847 * elf/tst-tlsmod11.c: Likewise.
53848 * elf/tst-tlsmod12.c: Likewise.
53849 * elf/tst-tlsmod13.c: Likewise.
53850 * elf/tst-tlsmod13a.c: Likewise.
53851 * elf/tst-tlsmod14a.c: Likewise.
53852 * elf/tst-tlsmod15b.c: Likewise.
53853 * elf/tst-tlsmod16a.c: Likewise.
53854 * elf/tst-tlsmod16b.c: Likewise.
53855 * elf/tst-tlsmod7.c: Likewise.
53856 * elf/tst-tlsmod8.c: Likewise.
53857 * elf/tst-tlsmod9.c: Likewise.
53858 * gmon/gmon.c: Likewise.
53859 * grp/fgetgrent_r.c: Likewise.
53860 * grp/putgrent.c: Likewise.
53861 * hurd/fopenport.c: Likewise.
53862 * include/libc-symbols.h: Likewise.
53863 * include/tls.h: Likewise.
53864 * intl/gettextP.h: Likewise.
53865 * intl/loadinfo.h: Likewise.
53866 * locale/global-locale.c: Likewise.
53867 * locale/localeinfo.h: Likewise.
53868 * mach/devstream.c: Likewise.
53869 * malloc/arena.c: Likewise.
53870 * malloc/set-freeres.c: Likewise.
53871 * misc/err.c: Likewise.
53872 * misc/getttyent.c: Likewise.
53873 * misc/mntent_r.c: Likewise.
53874 * posix/getopt.c: Likewise.
53875 * posix/wordexp.c: Likewise.
53876 * pwd/fgetpwent_r.c: Likewise.
53877 * resolv/Versions: Likewise.
53878 * resolv/res_hconf.c: Likewise.
53879 * shadow/fgetspent_r.c: Likewise.
53880 * shadow/putspent.c: Likewise.
53881 * stdio-common/printf_fphex.c: Likewise.
53882 * stdio-common/tmpfile.c: Likewise.
53883 * stdlib/abort.c: Likewise.
53884 * stdlib/fmtmsg.c: Likewise.
53885 * sunrpc/auth_unix.c: Likewise.
53886 * sunrpc/clnt_perr.c: Likewise.
53887 * sunrpc/clnt_tcp.c: Likewise.
53888 * sunrpc/clnt_udp.c: Likewise.
53889 * sunrpc/clnt_unix.c: Likewise.
53890 * sunrpc/openchild.c: Likewise.
53891 * sunrpc/svc_simple.c: Likewise.
53892 * sunrpc/svc_tcp.c: Likewise.
53893 * sunrpc/svc_udp.c: Likewise.
53894 * sunrpc/svc_unix.c: Likewise.
53895 * sunrpc/xdr.c: Likewise.
53896 * sunrpc/xdr_array.c: Likewise.
53897 * sunrpc/xdr_rec.c: Likewise.
53898 * sunrpc/xdr_ref.c: Likewise.
53899 * sunrpc/xdr_stdio.c: Likewise.
53901 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53903 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53905 2011-07-03 Andreas Jaeger <aj@suse.de>
53907 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53908 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53909 regenerate with gen-libm-tests.pl.
53911 2010-05-12 Petr Baudis <pasky@suse.cz>
53914 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53915 around j0() zero points by switching to j1().
53916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53919 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53921 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53925 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53928 Patch in part by Pavel Roskin <proski@gnu.org>.
53931 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53933 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53934 Free memory block if necessary.
53937 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53938 be NULL. Don't lock in this case.
53940 2011-09-09 Roland McGrath <roland@hack.frob.com>
53942 * elf/elf.h (ELFOSABI_GNU): New macro.
53943 (ELFOSABI_LINUX): Define to that.
53945 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53947 * string/strncat.c (strncat): Undef the symbol in case it has been
53948 defined in bits/string.h.
53950 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53952 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53954 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53957 2011-08-17 Andreas Jaeger <aj@suse.de>
53959 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53961 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53962 Ian Lance Taylor <iant@google.com>
53964 * math/libm-test.inc (lround_test): New testcase.
53965 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53967 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53969 * Makefile: Remove support for automatic cvs check-ins.
53970 * Makerules: Likewise.
53971 * config.make.in: Likewise.
53972 * configure.in: Likewise.
53973 * intl/Makefile: Likewise.
53974 * locale/Makefile: Likewise.
53975 * po/Makefile: Likewise.
53976 * posix/Makefile: Likewise.
53977 * sysdeps/gnu/Makefile: Likewise.
53978 * sysdeps/mach/hurd/Makefile: Likewise.
53979 * sysdeps/sparc/sparc32/Makefile: Likewise.
53982 * posix/Makefile (bug-regex32-ENV): Define.
53983 Patch by John Stanley <jpsinthemix@verizon.net>.
53985 * misc/Makefile (headers): Add bits/select2.h.
53986 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53987 * misc/bits/select2.h: New file.
53988 * include/bits/select2.h: New file.
53989 * debug/Makefile (routines): Add fdelt_chk.
53990 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53991 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53993 * debug/fdelt_chk.c: New file.
53995 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53996 * wcsmbs/test-wmemcmp.c: Likewise.
53997 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53998 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54000 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54002 * string/Makefile (strop-tests): Add memcmp.
54003 * string/test-wmemcmp.c: New file.
54004 * string/test-memcmp.c: Add wmemcmp support.
54006 2011-09-08 Roland McGrath <roland@hack.frob.com>
54009 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54012 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54013 garbage value in a __mach_port_mod_refs call in the cases of the
54014 task-self and thread-self ports.
54016 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54018 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54020 2011-09-08 Andreas Schwab <schwab@redhat.com>
54022 * elf/dl-load.c (lose): Check for non-null L.
54024 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54026 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54028 * elf/dl-libc.c (dlerror_run): Pass back error code from
54032 * elf/dl-load.c (lose): Free l_origin if it is valid.
54034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54036 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54037 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54038 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54041 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54043 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54045 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54046 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54047 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54048 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54049 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54050 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54051 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54052 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54053 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54054 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54056 2011-08-15 Alan Modra <amodra@gmail.com>
54059 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54060 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54061 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54062 ppc_mcount to static-only-routines.
54063 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54065 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54066 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54068 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54070 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54071 for finite and infinity parameters.
54073 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54076 and add nop instructions for throughput optimization.
54077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54079 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54082 aligned copy for power7 with vector-scalar instructions.
54083 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54085 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54090 2011-09-07 Andreas Schwab <schwab@redhat.com>
54093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54096 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54098 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54099 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54100 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54104 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54107 Forgot to demangle the pointer.
54109 * sysdeps/i386/sysdep.h: Define atom_text_section.
54110 * sysdeps/x86_64/sysdep.h: Likewise.
54111 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54112 section with atom_text_section.
54113 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54115 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54120 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54121 already be defined. Change to take two parameters and don't assign
54122 result to variable. Adjust all users.
54123 Define INTERNAL_GETTIME if not already defined.
54124 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54127 HAVE_CLOCK_GETTIME_VSYSCALL.
54128 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54131 gettimeofday vsyscall, just use time.
54133 2011-09-06 Andreas Schwab <schwab@redhat.com>
54135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54138 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54140 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54144 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54145 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54146 syscall if possible.
54148 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54150 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54151 e_ident. Don't pass to find_mapsXX.
54152 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54154 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54157 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54158 * sysdeps/x86_64/multiarch/strchr.S: Update.
54159 Check bit_slow_BSF bit.
54160 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54161 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54162 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54164 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54167 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54169 (tryshell): Define.
54170 (__spawni): Change last parameter to be flag. Test
54171 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54172 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54173 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54174 * posix/spawni.c: Likewise.
54175 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54176 * posix/spawnp.c: Likewise. Change normal version to use
54177 SPAWN_XFLAGS_USE_PATH.
54178 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54179 SPAWN_XFLAGS_TRY_SHELL.
54182 * posix/glob.h: Remove gcc 1.x support.
54185 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54187 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54190 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54192 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54193 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54194 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54195 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54196 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54199 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54201 * sysdeps/x86_64/wcscmp.S: New file.
54203 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54204 wcscmp-c wcscmp-sse2
54205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54206 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54207 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54208 * wcsmbs/wcscmp.c: Allow renaming.
54210 2011-09-05 David S. Miller <davem@davemloft.net>
54212 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54213 stack slot, rather than the struct return pointer slot.
54214 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54215 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54217 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54219 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54221 * po/ja.po: Update from translation team.
54224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54225 kernel in 64-bit binaries.
54227 2011-09-01 David S. Miller <davem@davemloft.net>
54229 * elf/elf.h (HWCAP_SPARC_*): Move to..
54230 * sysdeps/sparc/sysdep.h: this new file and add new values.
54231 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54232 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54233 _DL_HWCAP_COUNT to 24.
54234 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54236 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54237 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54238 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54240 instead of magic constants.
54241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54243 2011-08-31 David S. Miller <davem@davemloft.net>
54245 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54247 Reimplement to do errno handling inline.
54248 (SYSCALL_ERROR_HANDLER): New macro.
54249 (__SYSCALL_STRING): Do not do errno handling in asm.
54250 (__CLONE_SYSCALL_STRING): Delete.
54251 (__INTERNAL_SYSCALL_STRING): Delete.
54252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54253 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54254 (PSEUDO): Reimplement to do errno handling inline.
54255 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54256 (SYSCALL_ERROR_HANDLER): New macro.
54257 (__SYSCALL_STRING): Do not do errno handling in asm.
54258 (__CLONE_SYSCALL_STRING): Delete.
54259 (__INTERNAL_SYSCALL_STRING): Delete.
54260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54261 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54263 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54264 (inline_syscall*): Add 'err' argument.
54265 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54266 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54267 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54268 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54270 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54271 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54273 2011-08-30 Andreas Schwab <schwab@redhat.com>
54275 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54277 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54279 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54282 2011-08-24 David S. Miller <davem@davemloft.net>
54284 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54286 2011-08-24 Andreas Schwab <schwab@redhat.com>
54288 * elf/Makefile: Add rules to build and run unload8 test.
54289 * elf/unload8.c: New file.
54290 * elf/unload8mod1.c: New file.
54291 * elf/unload8mod1x.c: New file.
54292 * elf/unload8mod2.c: New file.
54293 * elf/unload8mod3.c: New file.
54295 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54298 2011-08-23 David S. Miller <davem@davemloft.net>
54300 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54301 subtract stack bias.
54302 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54303 %sp not %fp in calculations.
54304 (_JMPBUF_UNWINDS_ADJ): Likewise.
54306 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54307 (aio_suspend): Call it to force an exception region around the
54308 AIO_MISC_WAIT() invocation.
54310 2011-08-23 Andreas Schwab <schwab@redhat.com>
54312 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54315 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54317 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54319 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54320 and <dl-machine.h>.
54321 (Elf64_FuncDesc): Remove.
54323 2011-08-22 David S. Miller <davem@davemloft.net>
54325 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54326 sigaltstack check, add missing cfi directives.
54327 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54328 missing cfi directives, and sigaltstack handling.
54330 2011-08-16 Andreas Schwab <schwab@redhat.com>
54333 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54334 object is seen twice.
54335 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54337 * elf/Makefile (distribute): Add tst-initorder2.c.
54338 (tests): Add tst-initorder2.
54339 (modules-names): Add tst-initorder2a tst-initorder2b
54340 tst-initorder2c tst-initorder2d. Add rules to build them.
54341 ($(objpfx)tst-initorder2.out): New rule.
54342 * elf/tst-initorder2.c: New file.
54343 * elf/tst-initorder2.exp: New file.
54345 2011-08-22 Andreas Schwab <schwab@redhat.com>
54347 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54349 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54350 dependencies back to end of function.
54352 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54353 $(elfobjdir)/ld.so.
54355 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54358 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54360 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54361 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54362 of __vdso_gettimeofday.
54363 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54364 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54366 (_libc_vdso_platform_setup): Remove initialization of
54367 __vdso_gettimeofday and __vdso_time.
54369 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54371 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54372 and fgetc_unlocked.
54373 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54376 * elf/dl-open.c (add_to_global): Report additions to the global scope
54377 for LD_DEBUG=scopes.
54378 (dl_open_worker): Also print scope of newly loaded dependencies.
54379 (_dl_show_scope): Indicate if there is no scope.
54382 * stdio-common/Makefile (tests): Add bug24.
54383 * stdio-common/bug24.c: New file.
54385 2011-08-19 Andreas Jaeger <aj@suse.de>
54388 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54389 non-existant file when using close-on-exec mode.
54391 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54394 the very first instruction.
54396 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54397 the CFI state in the end.
54398 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54399 inclusion of dl-trampoline.h.
54400 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54402 2011-08-19 Andreas Schwab <schwab@redhat.com>
54404 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54405 expectations for long double.
54407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54408 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54410 2011-08-14 David S. Miller <davem@davemloft.net>
54412 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54413 artificual limit depends upon the system page size.
54415 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54417 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54418 * resolv/Makefile: Define CFLAGS-libresolv.
54420 2011-08-17 Andreas Schwab <schwab@redhat.com>
54422 * nss/makedb.c (compute_tables): Make variables used in nested
54425 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54427 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54428 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54429 if buffer was too small.
54431 * elf/pldd.c (main): Attach to all threads in the process.
54432 Rewrite /proc handling to use *at functions.
54434 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54436 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54437 specifies first scope to show.
54438 (dl_open_worker): Update callers. Move printing scope of new
54439 object to before the relocation.
54440 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54441 * sysdeps/generic/ldsodefs.h: Update declaration.
54443 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54444 string for the scope number.
54446 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54448 * nscd/servicescache.c (cache_addserv): Make sure written is always
54451 2011-08-14 Roland McGrath <roland@hack.frob.com>
54453 * sysdeps/i386/i486/bits/atomic.h
54454 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54455 statement expression, so as to suppress "set but not used" warning.
54456 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54458 * string/strncat.c (STRNCAT): Use prototype definition.
54460 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54461 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54463 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54464 (localedef-modules): Add localedef.
54465 (locale-modules): Add locale.
54467 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54468 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54469 to avoid a warning.
54471 2011-08-14 David S. Miller <davem@davemloft.net>
54473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54474 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54476 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54478 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54479 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54480 * elf/rtld.c (dl_main): Set l_name of vDSO.
54481 Call _dl_show_scope when DL_DEBUG_SCOPES.
54482 (process_dl_debug): Recognize scopes flag and also set it for all.
54483 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54484 Declare _dl_show_scope.
54486 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54487 (do_dlopen): Pass caller_dlopen to dl_open.
54488 (__libc_dlopen_mode): Initialize caller_dlopen.
54490 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54491 of libc. Make tolower call locale-independent. Optimize a bit by
54492 using isdigit instead of isalnum.
54493 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54495 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54497 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54498 was a dependency or dynamically loaded.
54500 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54502 * intl/l10nflist.c: Allow architecture-specific pop function.
54503 * sysdeps/x86_64/l10nflist.c: New file.
54505 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54508 2011-08-10 Andreas Schwab <schwab@redhat.com>
54510 * include/dirent.h: Add libc_hidden_proto for scandirat and
54511 scandirat64. Don't declare __scandirat64.
54512 * dirent/scandirat.c: Add libc_hidden_def.
54513 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54514 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54516 2011-08-10 David S. Miller <davem@davemloft.net>
54518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54524 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54526 * Versions.def [libc]: Add GLIBC_2.15.
54527 * dirent/Makefile (routines): Add scandirat and scandirat64.
54528 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54530 * dirent/dirent.h: Declare scandirat and scandirat64.
54531 * dirent/scandirat.c: New file.
54532 * dirent/scandirat64.c: New file.
54533 * sysdeps/wordsize-64/scandirat.c: New file.
54534 * sysdeps/wordsize-64/scandirat64.c: New file.
54535 * dirent/opendir.c: Define opendirat.
54536 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54538 * dirent/scandir64.c: Adjust for scandir.c change.
54539 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54540 __scandirat64, and __scandir_cancel_handler.
54541 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54542 additional parameter and use openat instead of open (outside of ld.so).
54543 Add new __opendir as wrapper around __opendirat.
54544 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54545 here without requiring old scandirat implementation.
54547 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54549 * dirent/scandir.c (cancel_handler): Renamed to
54550 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54551 defined. Adjust users.
54552 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54555 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54557 * string/test-string.h (IMPL): Use __STRING to expand name and then
54560 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54563 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54565 * string/Makefile: Update.
54566 (strop-tests): Append strncat.
54567 * string/test-wcscmp.c: New file.
54568 New comprehensive test for wcscmp.
54569 * string/test-strcmp.c: Update.
54570 (WIDE): New define.
54572 2011-07-22 Andreas Schwab <schwab@redhat.com>
54574 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54577 2011-07-26 Andreas Schwab <schwab@redhat.com>
54579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54580 encoding to ACE if AI_IDN.
54582 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54584 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54585 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54587 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54590 Fix overflow bug in strncat.
54591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54593 * string/test-strncat.c: Update.
54594 Add new tests for checking overflow bugs.
54596 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54599 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54600 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54601 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54603 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54604 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54605 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54606 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54609 (USE_AS_STRCAT): Define.
54610 Add strcat and strncat support.
54611 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54613 2011-07-25 Andreas Schwab <schwab@redhat.com>
54615 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54616 __n bigger than INT_MAX+1.
54617 (__strncmp_g): Likewise.
54619 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54621 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54622 * libio/stido.h: Likewise.
54624 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54629 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54631 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54632 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54636 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54641 (_dl_x86_64_save_sse): Likewise.
54643 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54647 (_dl_x86_64_save_sse): Likewise.
54649 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54651 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54653 2011-07-21 Andreas Schwab <schwab@redhat.com>
54655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54657 (_dl_x86_64_save_sse): Use correct AVX check.
54659 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54661 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54662 bug in strncpy/strncat.
54663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54665 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54667 * string/tester.c (test_strcat): Add tests for different alignments
54668 of source and destination.
54669 (test_strncat): Likewise.
54671 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54674 * posix/glob.c (glob): Check passed in values before using them in
54675 expressions to avoid some overflows.
54676 (glob_in_dir): Likewise.
54679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54680 check for AVX enablement so that we don't crash with old kernels and
54682 * elf/tst-audit4.c: Add same checks here.
54683 * elf/tst-audit6.c: Likewise.
54685 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54687 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54689 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54691 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54693 * po/cs.po: Update from translation team.
54694 * po/bg.po: Likewise.
54696 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54698 * misc/sys/cdefs.h: Add support for const attribute.
54699 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54700 to gnu_dev_{major,minor,makedev} functions.
54702 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54704 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54706 2011-07-20 Andreas Schwab <schwab@redhat.com>
54708 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54711 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54714 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54715 register in order to avoid conflicts with the soft frame pointer
54716 being held in r11 when necessary.
54717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54718 (INTERNAL_VSYSCALL_NCS): Likewise.
54720 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54722 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54723 * elf/dl-fini.c (_dl_fini): Adjust caller.
54724 * elf/dl-close.c (_dl_close_worker): Likewise.
54725 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54727 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54729 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54730 "aux_cache->nlibs < 0".
54732 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54733 in the reload-count case.
54735 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54738 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54739 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54740 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54741 * sysdeps/x86_64/multiarch/strcat.S: New file.
54742 * sysdeps/x86_64/multiarch/strncat.S: New file.
54743 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54745 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54746 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54748 (USE_AS_STRCAT): Define.
54749 Add strcat and strncat support.
54750 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54751 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54752 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54753 * string/strncat.c: Update.
54754 (USE_AS_STRNCAT): Define.
54755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54756 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54758 * sysdeps/x86_64/multiarch/init-arch.h
54759 (bit_Prefer_PMINUB_for_stringop): New.
54760 (index_Prefer_PMINUB_for_stringop): Likewise.
54761 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54762 bit_Prefer_PMINUB_for_stringop.
54764 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54766 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54768 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54769 of casting of buffer.
54770 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54771 buffer32 and buffer64.
54772 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54773 writes instead of casting of buffer.
54774 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54776 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54779 2011-07-19 Andreas Schwab <schwab@redhat.com>
54781 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54783 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54785 * nscd/nscd.c (termination_handler): Don't do anything for a database
54786 if it has not yet been initialized.
54788 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54790 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54792 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54794 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54796 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54798 * po/nl.po: Update from translation team.
54799 * po/sv.po: Likewise.
54801 2011-07-16 Roland McGrath <roland@hack.frob.com>
54803 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54804 now disallowed by GCC.
54806 * configure.in (use-default-link): Default to yes if a test -shared
54807 link meets our qualifications.
54808 * configure: Regenerated.
54810 * config.make.in (output-format): New variable.
54811 * configure.in: Check for ld --print-output-format support.
54812 * configure: Regenerated.
54813 * Makerules ($(common-objpfx)format.lds)
54814 [$(output-format) != unknown]: Just use $(output-format),
54815 instead of the linker-script munging.
54817 2011-07-14 Roland McGrath <roland@hack.frob.com>
54819 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54820 of $(common-objpfx)shlib.lds.
54821 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54823 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54824 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54826 * configure.in (-z relro check): Adjust test code to add a large
54827 writable data section after it.
54828 * configure: Regenerated.
54830 2011-07-11 Roland McGrath <roland@hack.frob.com>
54832 * configure.in (-z relro check): Fix test code to make the variable
54834 * configure: Regenerated.
54836 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54838 * nscd/nscd.h (struct traced_file): Define.
54839 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54840 elements. Add traced_files.
54841 (inotify_fd): Declare.
54842 (register_traced_file): Declare.
54843 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54844 (inotify_fd): Export.
54845 (resolv_conf_descr): Remove.
54846 (nscd_init): Move inotify descriptor creation to main.
54847 Don't register files for notification here.
54848 (register_traced_file): New function.
54849 (invalidate_cache): Don't use reset_res to determine whether to call
54850 res_init, go through the list of registered files.
54851 (main_loop_poll): The inotify descriptors are now stored in the
54852 structures for the traced files.
54853 (main_loop_epoll): Likewise
54854 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54855 to __nss_disable_nscd.
54856 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54857 for a database anymore. Check the records for all the registered
54859 * nss/Makefile (libnss_files-routines): Add files-init.
54860 (libnss_db-routines): Add db-init.
54861 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54862 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54863 * nss/nss_db/db-init.c: New file.
54864 * nss/nss_files/files-init.c: New file.
54865 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54866 __nss_lookup_function.
54867 (__nss_lookup_function): Call nss_load_library.
54868 (nss_load_all_libraries): New function.
54869 (__nss_disable_nscd): Take parameter with callback function for files
54870 to register. Set is_nscd. Load all the DSOs for the NSS modules
54871 used for the cached services.
54872 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54873 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54874 options for features to all the files in nscd.
54876 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54878 2011-07-10 Roland McGrath <roland@hack.frob.com>
54880 * csu/elf-init.c (__libc_csu_init): Comment typo.
54882 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54884 * po/pl.po: Update from translation team.
54885 * po/ja.po: Likewise.
54886 * po/ru.po: Likewise.
54887 * po/ko.po: Likewise.
54888 * po/fr.po: Likewise.
54890 2011-07-09 Roland McGrath <roland@hack.frob.com>
54892 * configure.in (.ctors/.dtors header and trailer check):
54893 Use an empirical test on a built program.
54894 * configure: Regenerated.
54896 * configure.in (-z relro check): Use an empirical test on a built DSO.
54897 Detect, but do not require, on ia64.
54898 * configure: Regenerated.
54900 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54901 Update tests that use readelf to use $READELF instead.
54902 * configure: Regenerated.
54904 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54906 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54907 if the result is not used.
54909 2011-07-05 Andreas Jaeger <aj@suse.de>
54912 * stdlib/tst-strtod.c: Add testcase.
54914 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54916 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54917 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54918 The latter has a higher limit. Take additional parameter to pass to
54920 (__pathconf): Pass file to __statfs_link_max.
54921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54923 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54927 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54928 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54931 (__statfs_filesize_max): Likewise.
54932 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54934 2011-07-05 Andreas Jaeger <aj@suse.de>
54936 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54938 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54940 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54942 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54945 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54947 * Makefile (strop-tests): Add strncat.
54948 * string/test-strncat.c: New file.
54950 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54952 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54954 2011-06-21 Andreas Jaeger <aj@suse.de>
54956 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54957 Copy rule from iconvdata/Makefile.
54959 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54962 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54963 but no long options are defined, just return 'W'.
54965 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54968 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54970 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54972 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54974 (innetgr): Likewise.
54976 2011-07-05 Roland McGrath <roland@hack.frob.com>
54978 * config.make.in (install_root): Default to $(DESTDIR).
54980 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54984 2011-07-02 Roland McGrath <roland@hack.frob.com>
54986 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54988 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54989 containing directory rather than embedding absolute directory names.
54991 * scripts/check-local-headers.sh: Rewritten using awk.
54992 Match by word, not by line. Print error messages for matches.
54993 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54995 * Makerules [shlib-lds-flags empty]:
54996 ($(common-objpfx)libc_pic.opts): New target.
54997 ($(common-objpfx)libc_pic.os.clean): New target.
54998 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55000 * config.make.in (OBJCOPY): New variable.
55001 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55002 * configure: Regenerated.
55004 * config.make.in (use-default-link): New variable.
55005 * configure.in (use_default_link): Grok --with-default-link to set it.
55006 * configure: Regenerated.
55007 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55008 (shlib-lds, shlib-lds-flags): Define to empty.
55010 * Makerules (shlib-lds): New variable.
55011 (shlib-lds-flags): New variable.
55012 (build-shlib, build-moduile, build-module-asneeded): Use it.
55013 ($(common-objpfx)libc.so): Use $(shlib-lds).
55014 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55015 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55017 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55018 DT_FLAGS/DT_FLAGS_1 with zero flags.
55020 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55021 linker script munging.
55023 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55025 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55027 * crypt/sha512.c (sha512_process_block): Perform total addition using
55028 128-bit if possible.
55029 (__sha512_finish_ctx): Likewise.
55030 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55032 * crypt/sha256.c (SWAP64): Define.
55033 (sha256_process_block): Perform total addition using 64-bit if
55035 (__sha256_finish_ctx): Likewise.
55037 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55039 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55041 * nscd/hstcache.c (cache_addhst): Likewise.
55042 * nscd/grpcache.c (cache_addgr): Likewise.
55043 * nscd/aicache.c (addhstaiX): Likewise
55044 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55046 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55048 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55050 * nscd/hstcache.c (cache_addhst): Likewise.
55051 * nscd/grpcache.c (cache_addgr): Likewise.
55052 * nscd/aicache.c (addhstaiX): Likewise
55054 2011-07-01 Andreas Schwab <schwab@redhat.com>
55056 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55057 domain only when needed.
55059 2011-06-30 Andreas Schwab <schwab@redhat.com>
55061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55062 is always restored.
55064 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55066 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55067 are re-adding the entry.
55068 * nscd/servicescache.c (cache_addserv): Likewise.
55070 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55072 * sysdeps/generic/dl-irel.h: fix protection against multiple
55074 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55076 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55079 * malloc/memusage.sh: Fix quoting in message.
55080 * debug/xtrace.sh: Likewise.
55082 * configure.in: Remove support for --experimental-malloc option, make
55084 * config.make.in: Likewise.
55085 * malloc/Makefile: Likewise.
55087 2011-06-27 Andreas Schwab <schwab@redhat.com>
55089 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55090 two-byte characters.
55092 2011-06-27 Roland McGrath <roland@hack.frob.com>
55094 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55095 AC_CACHE_CHECK invocation.
55096 * configure: Regenerated.
55098 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55100 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55103 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55104 bit from old_res_options.
55106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55108 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55109 value type for setfct.
55111 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55114 __gettimeofday instead of gettimeofday.
55116 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55118 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55120 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55122 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55127 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55130 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55131 strcpy-sse2-unaligned strncpy-sse2-unaligned
55132 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55133 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55134 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55135 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55136 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55139 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55140 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55141 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55142 (STRCPY): Support SSE2 and SSSE3 versions.
55144 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55148 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55149 kernels which artificially limit size of requests.
55151 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55154 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55155 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55156 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55157 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55158 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55159 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55160 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55161 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55163 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55164 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55165 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55166 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55167 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55169 Enable unaligned load optimization for Intel Core i3, i5 and i7
55171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55173 (index_Fast_Unaligned_Load): Define.
55174 (HAS_FAST_UNALIGNED_LOAD): Define.
55176 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55178 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55180 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55184 until it is clear that the information is realy needed.
55185 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55187 2011-06-22 Andreas Schwab <schwab@redhat.com>
55189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55191 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55194 /sys/devices/system/cpu/online if it is usable.
55196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55197 reading the information from the /proc filesystem to once a second.
55199 2011-06-21 Andreas Jaeger <aj@suse.de>
55201 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55202 NULL after inclusion of kernel headers.
55204 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55206 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55207 calls to internal_setent.
55210 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55211 addresses using gethostbyname4_r ignore IPv4 addresses.
55213 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55214 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55216 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55218 2011-06-20 David S. Miller <davem@davemloft.net>
55220 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55222 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55224 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55225 (elf_irel): Use it.
55226 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55227 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55228 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55229 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55230 * sysdeps/x86_64/dl-irel.h: Likewise.
55232 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55233 * elf/dl-sym.c: Likewise.
55235 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55237 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55238 need to dereference resplen2.
55240 2011-06-14 Andreas Schwab <schwab@redhat.com>
55242 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55244 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55246 * Makeconfig: Define vardbdir and inst_vardbdir.
55247 * nss/Makefile: Add rules to install db-Makefile.
55249 * nss/nss_db/db-XXX.c: Cleanup.
55251 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55252 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55254 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55255 * nss/makedb.c: Implement -g option to specify that value strings
55256 are generated and should not be added to table iterated over for
55258 * nss/nss_db/db-initgroups.c: New file.
55260 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55263 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55264 (internal_getgrouplist): Adjust to name change.
55265 Update use_initgroups_entry if this is not the first call.
55266 * nss/databases.def: Add initgroups entry.
55268 * nss/makedb.c (compute_tables): Check result of multiple hash table
55269 sizes to minimize maximum chain length.
55271 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55273 * Versions.def: Add entry for libnss_db.
55274 * shlib-versions: Likewise.
55275 * nss/Makefile: Add rules to build libnss_db.
55276 * nss/Versions: Add libnss_db information. Organize libnss_files
55278 * nss/db-Makefile: Add gshadow support. Change rules for the new
55279 makedb progra. Some minor improvements to generate smaller files.
55280 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55282 * nss/makedb.c: ...here.
55283 Improve database format to be smaller and require less memory at
55285 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55287 * nss/nss_db/db-netgrp.c: Likewise.
55288 * nss/nss_db/db-open.c: Likewise.
55289 * nss/nss_files/flies-XXX.x: Adjust comments.
55290 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55291 * nss/nss_files/files-grp.c: Likewise.
55292 * nss/nss_files/files-hosts.c: Likewise.
55293 * nss/nss_files/files-network.c: Likewise.
55294 * nss/nss_files/files-proto.c: Likewise.
55295 * nss/nss_files/files-pwd.c: Likewise.
55296 * nss/nss_files/files-rpc.c: Likewise.
55297 * nss/nss_files/files-service.c: Likewise.
55298 * nss/nss_files/files-sgrp.c: Likewise.
55299 * nss/nss_files/files-spwd.c: Likewise.
55300 * nss/nss_db/db-alias.c: Removed.
55301 * nss/nss_db/dummy-db.h: Removed.
55303 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55305 * nss/makedb.c: Rewritten to not use database library.
55306 * nss/Makefile: Update to build new makedb program.
55308 2011-06-14 Andreas Jaeger <aj@suse.de>
55310 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55311 memset declaration.
55313 2011-06-10 Andreas Schwab <schwab@redhat.com>
55315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55318 2011-06-10 Roland McGrath <roland@hack.frob.com>
55320 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55321 * elf/Makefile ($(objpfx)ld.so): Likewise.
55323 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55324 Don't list ld.so twice in dependencies.
55326 * posix/bug-regex31.c: Include <stdlib.h>.
55328 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55330 * nis/nss_compat/compat-spwd.c
55331 (getspent_next_nss_netgr): Remove unused variable.
55332 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55334 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55335 nonmembers" output to use the right array.
55337 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55339 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55341 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55342 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55343 * catgets/gencat.c (read_input_file): Likewise.
55344 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55346 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55347 variable definition inside #if's controlling its use.
55349 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55351 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55353 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55355 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55358 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55360 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55361 * configure: Regenerated.
55363 * Makerules: Revert last change.
55364 * elf/Makefile: Likewise.
55366 2011-06-09 Roland McGrath <roland@hack.frob.com>
55368 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55369 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55370 (reloc-link): Likewise.
55372 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55374 * elf/Makefile: Add rules to build pldd.
55375 * elf/pldd.c: New file.
55376 * elf/pldd-xx.c: New file.
55378 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55380 * version.h: Update for 2.15 development version.
55382 2011-06-07 David S. Miller <davem@davemloft.net>
55384 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55387 elf_machine_lazy_rel): Likewise.
55388 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55390 elf_machine_lazy_rel): Likewise.
55391 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55392 dl_hwcap via passed in argument.
55393 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55396 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55398 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55400 2011-06-06 Roland McGrath <roland@hack.frob.com>
55403 * manual/fdl-1.1.texi: New file, verbatim from:
55404 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55405 * manual/lgpl-2.1.texi: New file, verbatim from:
55406 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55407 * manual/Makefile (licenses): New variable, list those new file names.
55409 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55411 * manual/fdl.texi: File removed.
55412 * manual/lesser.texi: File removed.
55413 * manual/libc.texinfo (Copying, Documentation License):
55414 Use new @include file names, put @appendix directive before @include.
55416 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55419 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55420 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55421 (mq_open): Add __NTH.
55423 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55426 Assume Intel Core i3/i5/i7 processor if AVX is available.
55428 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55433 2011-05-31 Andreas Schwab <schwab@redhat.com>
55435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55436 memory. Use alloca_account. Fix memory leak when retrying.
55438 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55440 * version.h (RELEASE): Bump for 2.14 release.
55441 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55443 * config.make.in (RANLIB): Remove entry.
55445 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55447 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55448 (libc.pot): Work around missing support for .ksh extension in xgettext.
55451 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55452 if both request failed.
55453 (send_dg): In case of server errors clear resplen or *resplen2.
55456 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55457 when there are multiple maps.
55458 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55459 (_dl_fini): Remove test here.
55461 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55463 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55466 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55467 bit from old_res_options.
55468 (gaih_inet): Likewise.
55471 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55474 * resolv/res_init.c (res_setoptions): Make the code more compact.
55477 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55481 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55483 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55486 * malloc/malloc.h: Declare malloc hook variables as volatile.
55488 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55492 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55493 raise in the comment.
55494 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55496 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55498 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55501 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55502 grow the buffers more if it already has to be sufficient.
55503 (build_wcs_upper_buffer): Likewise.
55504 * posix/regexec.c (check_matching): Likewise.
55505 (clean_state_log_if_needed): Likewise.
55506 (extend_buffers): Don't enlarge buffers beyond size of the input
55508 Patches mostly by Emil Wojak <emil@wojak.eu>.
55509 * posix/bug-regex32.c: New file.
55510 * posix/Makefile (tests): Add bug-regex32.
55512 * locale/findlocale.c (_nl_find_locale): Return right away if
55513 _nl_explode_name failed.
55514 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55516 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55518 * debug/xtrace.sh: Unify messages.
55519 * malloc/memusage.sh: Likewise.
55522 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55523 time symbol from vDSO. Substitute with vsyscall if not available.
55524 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55527 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55528 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55529 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55530 Add sendmmsg and internal_sendmmsg.
55531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55532 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55535 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55536 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55539 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55542 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55543 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55549 * iconvdata/Makefile (tests): Add bug-iconv9.
55550 * iconvdata/bug-iconv9.c: New file.
55552 2011-05-27 Andreas Schwab <schwab@redhat.com>
55555 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55557 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55560 (struct user_regs_struct): Change intcs field back to cs.
55562 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55564 * po/ja.po: Update from translation team.
55566 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55569 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55570 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55572 2011-05-20 Andreas Schwab <schwab@redhat.com>
55574 * stdlib/longlong.h: Update from GCC.
55576 2011-05-23 Andreas Schwab <schwab@redhat.com>
55578 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55580 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55581 Add parameter name.
55582 (__sysconf): Pass it down.
55584 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55587 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55589 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55590 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55591 add in in __libc_use_alloca calls. Adjust callers.
55592 (glob): Use malloc in some situations.
55594 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55595 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55598 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55600 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55601 and CLOCK_BOOTTIME_ALARM.
55604 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55607 * string/_strerror.c (__strerror_r): Print negative errors as signed
55611 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55612 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55613 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55615 * configure.in: Fix typo in redirection and correct removal of test
55616 files in two cases.
55619 * locale/setlocale.c (new_composite_name): Fix test to check for
55620 identical name of all categories.
55623 * libio/filedoalloc.c (local_isatty): New function.
55624 (_IO_file_doallocate): Use local_isatty.
55625 * stdio-common/perror.c (perror): In case a new stream is used
55626 forward the stream error.
55627 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55630 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55635 * include/alloca.h (extend_alloca_account): Define.
55638 * posix/regex.h: Fix comments with documentation of user-accessible
55639 fields after compilation and describe correct free'ing of pattern
55640 after re_compile_pattern.
55641 Patch by Reuben Thomas <rrt@sc3d.org>.
55643 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55645 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55646 and -mno-altivec to prevent the compiler from using Altivec and/or
55647 VSX instructions when the corresponding registers are not available.
55649 2011-05-19 Andreas Schwab <schwab@redhat.com>
55651 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55653 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55655 * libio/freopen.c (freopen): Use __dup2, not dup2.
55656 * libio/freopen64.c (freopen64): Likewise.
55658 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55661 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55662 * math/Makefile (tests): Add test-powl.
55663 (CFLAGS-test-powl.c): Define.
55664 * math/test-powl.c: New file.
55666 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55668 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55670 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55673 * iconvdata/gb18030.c: Update to GB18020-2005.
55675 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55677 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55678 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55679 Patch by Aharon Robbins <arnold@skeeve.com>.
55682 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55686 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55687 through underflows.
55690 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55691 point to strings before performing equality test for error_one_per_line
55695 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55699 (struct user_fpregs_struct): Avoid __uint*_t types.
55702 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55703 symbol info. Use it instead of calling _dl_addr locally.
55704 (lock_and_info): New function.
55705 (tr_freehook): Call lock_and_info and pass symbol info as additional
55706 parameter to tr_where.
55707 (tr_mallochook): Likewise.
55708 (tr_reallochook): Likewise.
55709 (tr_memalignhook): Likewise.
55711 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55712 used and couldn't be at all thread-safe.
55714 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55716 * libio/freopen.c (freopen): Don't close old file descriptor
55717 before the new one is opened. Instead dup the new file descriptor
55718 to the old one after the new stream is created.
55719 * libio/freopen64.c (freopen64): Likewise.
55720 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55721 * libio/fileops.c (_IO_new_file_close_it): Handle new
55722 _IO_FLAGS2_NOCLOSE flag.
55723 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55724 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55725 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55726 _IO_FLAGS2_NOCLOSE flag.
55727 * include/unistd.h: Add hidden_proto for dup3.
55728 Define __have_dup3.
55729 * io/dup3.c: Define hidden symbol.
55730 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55733 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55734 when an incomplete long option is used.
55735 * posix/tst-getopt_long1.c: New file.
55736 * posix/Makefile (tests): Add tst-getopt_long1.
55739 * scripts/config.guess: Update from autoconf-2.68.
55740 * scripts/config.sub: Likewise.
55743 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55745 (has_cpuclock): ...this. New function.
55746 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55747 macro here based on has_cpuclock code.
55750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55751 First byte (not low byte) is now always NUL.
55752 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55755 Use non-cancelable interfaces.
55758 * locale/iso-639.def: Add entry for Sorani.
55761 * include/stdlib.h: Move include protection to the right place.
55762 Define abort_msg_s. Declare __abort_msg with it.
55763 * stdlib/abort.c (__abort_msg): Adjust type.
55764 * assert/assert.c (__assert_fail_base): New function. Majority
55765 of code from __assert_fail. Allocate memory for __abort_msg with
55767 (__assert_fail): Now call __assert_fail_base.
55768 * assert/assert-perr.c: Remove bulk of implementation. Use
55769 __assert_fail_base.
55770 * include/assert.hL Declare __assert_fail_base.
55771 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55773 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55775 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55779 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55780 until all modules are registered in the DTV.
55781 * elf/Makefile: Add rules to build and run tst-tls19.
55782 * elf/tst-tls19.c: New file.
55783 * elf/tst-tls19mod1.c: New file.
55784 * elf/tst-tls19mod2.c: New file.
55785 * elf/tst-tls19mod3.c: New file.
55786 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55789 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55793 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55794 two-byte sequence errors.
55795 * iconvdata/Makefile (tests): Add bug-iconv8.
55796 * iconvdata/bug-iconv8.c: New file.
55799 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55802 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55805 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55806 (dummy_getcfa): New function.
55807 (init): Get _Unwind_GetCFA address, use dummy if not found.
55808 (backtrace_helper): In recursion check, also check whether CFA changes.
55809 (__backtrace): Completely initialize arg.
55811 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55812 storing incomplete byte sequence in state object. Avoid testing for
55813 guaranteed too small input if we know there is enough data available.
55815 2011-05-11 Andreas Schwab <schwab@redhat.com>
55817 * Makeconfig (+link-pie): Indent.
55818 * Rules (binaries-pie): Define if $(have-fpie) and
55820 (binaries-shared): Also filter out $(binaries-pie).
55821 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55822 * nscd/Makefile (others-pie): Add nscd.
55823 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55824 ($(objpfx)nscd): Remove command override.
55825 * login/Makefile (others-pie): Add pt_chown.
55826 ($(objpfx)pt_chown): Remove command override.
55827 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55828 remove command overrides.
55830 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55832 * libio/tst_putwc.c: Fix error messages.
55835 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55836 currently writing and seek to current position when not.
55837 * libio/Makefile (tests): Add bug-fclose1.
55838 * libio/bug-fclose1.c: New file.
55840 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55843 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55844 don't set DF_1_NODELETE here.
55845 (do_lookup_x): When entering new entry test for copy relocation
55846 and if necessary set DF_1_NODELETE flag.
55847 * elf/tst-unique4.cc: New file.
55848 * elf/tst-unique4.h: New file.
55849 * elf/tst-unique4lib.cc: New file.
55850 * elf/Makefile: Add rules to build and run tst-unique4.
55851 Patch by Piotr Bury <pbury@goahead.com>.
55853 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55856 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55859 * misc/mntent_r.c (addmntent): Flush the stream after the output
55862 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55863 (is_trusted_path_normalize): Skip initial colon. Append slash
55864 to empty buffer. Duplicate is_trusted_path code but allow
55865 constructed patch to be prefix.
55866 (is_dst): Allow $ORIGIN followed by /.
55867 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55868 Correct testing of result of is_trusted_path_normalize
55869 (decompose_rpath): Fix warning.
55871 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55874 * grp/initgroups.c (internal_getgrouplist): When we found the service
55875 list through the initgroups entry in nsswitch.conf do not always
55876 continue on a successful lookup. Don't always use the
55877 __nss_group_database value if it is set.
55878 * nss/nsswitch.conf (initgroups): Change action for successful db
55879 lookup to continue for compatibility.
55881 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55884 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55886 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55888 * iconvdata/tst-tables.sh: Likewise.
55889 * iconvdata/cp770.c: New file.
55890 * iconvdata/cp771.c: New file.
55891 * iconvdata/cp772.c: New file.
55892 * iconvdata/cp773.c: New file.
55893 * iconvdata/cp774.c: New file.
55894 * iconvdata/testdata/CP770: New file.
55895 * iconvdata/testdata/CP770..UTF8: New file.
55896 * iconvdata/testdata/CP771: New file.
55897 * iconvdata/testdata/CP771..UTF8: New file.
55898 * iconvdata/testdata/CP772: New file.
55899 * iconvdata/testdata/CP772..UTF8: New file.
55900 * iconvdata/testdata/CP773: New file.
55901 * iconvdata/testdata/CP773..UTF8: New file.
55902 * iconvdata/testdata/CP774: New file.
55903 * iconvdata/testdata/CP774..UTF8: New file.
55905 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55907 * iconvdata/gen-8bit-gap.sh: Likewise.
55908 * iconvdata/gen-8bit.sh: Likewise.
55910 * locale/iso-639.def: Add ary entry.
55913 * locale/C-translit.h.in: Add U20A1 transliteration.
55916 * locale/iso-639.def: Add wae entry.
55917 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55920 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55924 * locale/C-translit.h.in: Add entry for U20B9.
55925 Patch by pravin.d.s@gmail.com.
55927 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55930 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55931 ENAMETOOLONG use generic getcwd.
55932 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55933 in rtld. Use *stat64.
55934 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55935 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55936 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55937 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55938 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55939 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55940 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55941 __fstatat64 macros.
55942 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55943 * dirent/rewinddir.c: Add libc_hidden_def.
55944 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55945 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55947 * include/dirent.h (__alloc_dir): Add flags parameter.
55948 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55949 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55951 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55952 from fdopendir if O_CLOEXEC is already set.
55954 2011-03-15 Alan Modra <amodra@gmail.com>
55956 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55957 l_tls_firstbyte_offset non-zero. Save padding offset in
55958 l_tls_firstbyte_offset for later use.
55959 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55960 freeing static tls block.
55962 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55964 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55965 where #ifdef was intended. The intent is to prevent ARG_MAX from
55966 being defined by the kernel headers.
55968 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55971 * resolv/resolv.h: Define RES_NOTLDQUERY.
55972 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55973 no-tld-query and set RES_NOTLDQUERY.
55974 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55975 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55976 modern BIND to search name as TLD unless forbidden.
55978 2011-05-07 Petr Baudis <pasky@suse.cz>
55979 Ulrich Drepper <drepper@gmail.com>
55982 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55983 (is_trusted_path): ...to here.
55984 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55985 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55986 using is_trusted_path_normalize() in setuid scripts.
55988 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55990 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55991 __BEGIN/__END_DECLS.
55993 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55996 NSS_STATUS_NOTFOUND if no record was found.
55998 2011-05-05 Andreas Schwab <schwab@redhat.com>
56000 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56001 (headers-not-in-tirpc): Remove rpc/netdb.h
56002 * resolv/netdb.h: Revert last change.
56004 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56006 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56007 circular dependency between libgcc.a and libc.a.
56009 2011-05-05 Andreas Schwab <schwab@redhat.com>
56011 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56012 * nis/Makefile: Don't install rpcsvc/*.
56013 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56014 instead of <rpc/types.h>.
56015 (MAXHOSTNAMELEN): Define.
56017 2011-05-03 Andreas Schwab <schwab@redhat.com>
56019 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56021 2011-04-28 Maciej Babinski <mbabinski@google.com>
56024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56025 gethostbyname4_r when IPv6 results are possible.
56027 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56030 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56031 _PC_PIPE_BUF handling.
56033 2011-04-30 Bruno Haible <bruno@clisp.org>
56036 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56037 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56039 * inet/getnameinfo.c (getnameinfo): Likewise.
56041 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56043 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56044 to groups setting in database lookup.
56045 * nss/nsswitch.conf: Add initgroups entry.
56047 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56050 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56052 Patch by Eric Blake <eblake@redhat.com>.
56054 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56056 * sunrpc/Makefile (need-export-routines): Add svc_run.
56057 (routines): Remove svc_run.
56058 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56059 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56060 * sunrpc/svc_run.c (svc_run): Likewise.
56061 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56063 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56066 problem in reallocation in last patch.
56068 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56070 * sunrpc/Makefile: Move inclusion of Rules.
56072 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56074 * nss/nss_files/files-initgroups.c: New file.
56075 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56076 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56077 _nss_files_initgroups_dyn.
56079 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56081 * elf/elf.h (R_ARM_IRELATIVE): Define.
56083 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56085 * po/ru.po: Update from translation team.
56087 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56089 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56092 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56095 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56096 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56101 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56103 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56106 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56109 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56112 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56114 * stdlib/bug-getcontext.c: New file.
56115 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56117 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56119 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56120 instructions into .machine "z9-109".
56121 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56122 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56124 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56126 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56127 between environment variables and auxiliary vector.
56129 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56131 * Makefile: Add rules to build linkobj/libc.so.
56132 * include/libc-symbols.h: Define libc_hidden_nolink.
56133 * include/rpc/auth.h: Mark functions which are to be hidden.
56134 * include/rpc/auth_des.h: Likewise.
56135 * include/rpc/auth_unix.h: Likewise.
56136 * include/rpc/clnt.h: Likewise.
56137 * include/rpc/des_crypt.h: Likewise.
56138 * include/rpc/key_prot.h: Likewise.
56139 * include/rpc/pmap_clnt.h: Likewise.
56140 * include/rpc/pmap_prot.h: Likewise.
56141 * include/rpc/pmap_rmt.h: Likewise.
56142 * include/rpc/rpc_msg.h: Likewise.
56143 * include/rpc/svc.h: Likewise.
56144 * include/rpc/svc_auth.h: Likewise.
56145 * include/rpc/xdr.h: Likewise.
56146 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56147 * nss/Makefile: Likewise.
56148 * sunrpc/Makefile: Don't install headers. Build library with normal
56149 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56150 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56151 for the compat linking library. Remove use of INTDEF/INTUSE.
56152 * sunrpc/auth_none.c: Likewise.
56153 * sunrpc/auth_unix.c: Likewise.
56154 * sunrpc/authdes_prot.c: Likewise.
56155 * sunrpc/authuxprot.c: Likewise.
56156 * sunrpc/clnt_gen.c: Likewise.
56157 * sunrpc/clnt_perr.c: Likewise.
56158 * sunrpc/clnt_raw.c: Likewise.
56159 * sunrpc/clnt_simp.c: Likewise.
56160 * sunrpc/clnt_tcp.c: Likewise.
56161 * sunrpc/clnt_udp.c: Likewise.
56162 * sunrpc/clnt_unix.c: Likewise.
56163 * sunrpc/des_crypt.c: Likewise.
56164 * sunrpc/des_soft.c: Likewise.
56165 * sunrpc/get_myaddr.c: Likewise.
56166 * sunrpc/key_call.c: Likewise.
56167 * sunrpc/key_prot.c: Likewise.
56168 * sunrpc/netname.c: Likewise.
56169 * sunrpc/pm_getmaps.c: Likewise.
56170 * sunrpc/pm_getport.c: Likewise.
56171 * sunrpc/pmap_clnt.c: Likewise.
56172 * sunrpc/pmap_prot.c: Likewise.
56173 * sunrpc/pmap_prot2.c: Likewise.
56174 * sunrpc/pmap_rmt.c: Likewise.
56175 * sunrpc/publickey.c: Likewise.
56176 * sunrpc/rpc_cmsg.c: Likewise.
56177 * sunrpc/rpc_common.c: Likewise.
56178 * sunrpc/rpc_dtable.c: Likewise.
56179 * sunrpc/rpc_prot.c: Likewise.
56180 * sunrpc/rpc_thread.c: Likewise.
56181 * sunrpc/rtime.c: Likewise.
56182 * sunrpc/svc.c: Likewise.
56183 * sunrpc/svc_auth.c: Likewise.
56184 * sunrpc/svc_authux.c: Likewise.
56185 * sunrpc/svc_raw.c: Likewise.
56186 * sunrpc/svc_run.c: Likewise.
56187 * sunrpc/svc_simple.c: Likewise.
56188 * sunrpc/svc_tcp.c: Likewise.
56189 * sunrpc/svc_udp.c: Likewise.
56190 * sunrpc/svc_unix.c: Likewise.
56191 * sunrpc/svcauth_des.c: Likewise.
56192 * sunrpc/xcrypt.c: Likewise.
56193 * sunrpc/xdr.c: Likewise.
56194 * sunrpc/xdr_array.c: Likewise.
56195 * sunrpc/xdr_float.c: Likewise.
56196 * sunrpc/xdr_intXX_t.c: Likewise.
56197 * sunrpc/xdr_mem.c: Likewise.
56198 * sunrpc/xdr_rec.c: Likewise.
56199 * sunrpc/xdr_ref.c: Likewise.
56200 * sunrpc/xdr_sizeof.c: Likewise.
56201 * sunrpc/xdr_stdio.c: Likewise.
56203 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56206 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56207 * sysdeps/ia64/dl-tls.h: Likewise.
56208 * sysdeps/powerpc/dl-tls.h: Likewise.
56209 * sysdeps/s390/dl-tls.h: Likewise.
56210 * sysdeps/sh/dl-tls.h: Likewise.
56211 * sysdeps/sparc/dl-tls.h: Likewise.
56212 * sysdeps/x86_64/dl-tls.h: Likewise.
56213 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56215 2011-03-14 Andreas Schwab <schwab@redhat.com>
56217 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56218 rpath element also skip the following colon.
56219 (expand_dynamic_string_token): Add is_path parameter and pass
56220 down to DL_DST_REQUIRED and _dl_dst_substitute.
56221 (decompose_rpath): Call expand_dynamic_string_token with
56222 non-zero is_path. Ignore empty rpaths.
56223 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56226 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56231 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56234 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56235 Patch by Filipe David Manana <fdmanana@apache.org>.
56237 2011-04-07 Andreas Schwab <schwab@redhat.com>
56239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56240 Maintain aligned stack.
56241 (CHECK_RSP): Remove unused macro.
56243 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56245 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56246 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56248 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56250 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56252 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56254 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56257 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56258 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56259 * sysdeps/x86_64/memmove.c: New file.
56260 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56261 (memcpy): Renamed to ...
56262 (__new_memcpy): This.
56263 (memcpy): Provide GLIBC_2_14 memcpy.
56264 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56265 (memcpy): Provide GLIBC_2_2_5 memcpy.
56267 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56270 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56272 2011-03-30 Andreas Schwab <schwab@redhat.com>
56274 * misc/syncfs.c: New file.
56275 * misc/Makefile (routines): Add syncfs.
56276 * posix/unistd.h: Declare syncfs.
56277 * sysdeps/unix/syscalls.list: Add syncfs.
56279 2011-04-01 Andreas Schwab <schwab@redhat.com>
56281 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56284 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56288 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56289 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56291 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56293 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56301 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56302 sync_file_range.c with -fexceptions.
56303 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56304 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56305 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56306 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56307 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56308 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56310 sync_file_range as cancellation point
56311 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56312 now a wrapper around __call_sync_file_range with cancellation handling.
56313 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56315 function name to __call_sync_file_range.
56316 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56317 Add call_sync_file_range.
56319 2011-04-01 Andreas Schwab <schwab@redhat.com>
56321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56324 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56326 * iconv/iconv.h: Fix typo in comment.
56327 * io/fcntl.h: Likewise.
56328 * libio/stdio.h: Likewise.
56329 * posix/spawn.h: Likewise.
56330 * posix/unistd.h: Likewise.
56331 * stdlib/stdlib.h: Likewise.
56332 * time/time.h: Likewise.
56333 * wcsmbs/wchar.h: Likewise.
56335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56336 open_by_handle): Add.
56337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56338 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56339 Augment a few comments.
56340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56345 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56348 * io/fcntl.h (AT_EMPTY_PATH): Define.
56350 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56352 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56353 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56354 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56356 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56357 * Versions.def: Add GLIBC_2.14.
56358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56361 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56365 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56367 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56370 * string/test-strncmp.c (do_page_test): New function.
56371 (check2): Likewise.
56372 (test_main): Call check2.
56373 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56375 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56378 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56379 Handle cache information in CPU leaf 4.
56380 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56382 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56385 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56386 character representation.
56387 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56389 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56391 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56392 END(__isnan) to END(__isnanf) to match function entry point/label
56393 EALIGN(__isnanf,...).
56395 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56397 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56399 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56402 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56403 copy from the symbol referenced in the relocation to initialize the
56405 Patch by Piotr Bury <pbury@goahead.com>.
56406 * elf/Makefile: Add rules to build and tst-unique3.
56407 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56408 * elf/tst-unique3.cc: New file.
56409 * elf/tst-unique3.h: New file.
56410 * elf/tst-unique3lib.cc: New file.
56411 * elf/tst-unique3lib2.cc: New file.
56413 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56415 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56417 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56418 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56421 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56423 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56424 to-be-loaded object along a path to loader is ld.so.
56426 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56427 Ulrich Drepper <drepper@gmail.com>
56429 * sysdeps/x86_64/memset.S: After aligning destination, code
56430 branches to different locations depending on the value of
56431 misalignment, when multiarch is enabled. Fix this.
56433 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56435 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56436 Set _x86_64_preferred_memory_instruction for AMD processsors.
56437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56438 Set bit_Prefer_SSE_for_memop for AMD processors.
56440 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56442 * libio/fmemopen.c (fmemopen): Optimize a bit.
56444 2011-03-03 Andreas Schwab <schwab@redhat.com>
56446 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56448 2011-03-03 Roland McGrath <roland@redhat.com>
56450 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56452 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56454 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56455 __bzero_ultra1 instead of __memset_ultra1.
56457 2011-02-23 Andreas Schwab <schwab@redhat.com>
56458 Ulrich Drepper <drepper@gmail.com>
56461 * include/link.h (struct link_map): Add l_orig_initfini.
56462 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56463 returning unsuccessfully.
56464 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56465 close of a file loaded at startup, restore the original l_initfini
56467 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56468 list, store the pointer.
56469 * elf/Makefile ($(objpfx)noload-mem): New rule.
56470 (noload-ENV): Define.
56471 (tests): Add $(objpfx)noload-mem.
56472 * elf/noload.c: Include <memcheck.h>.
56473 (main): Call mtrace. Close all opened handles.
56475 2011-02-17 Andreas Schwab <schwab@redhat.com>
56478 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56479 dependencies are missing.
56481 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56483 Fix __if_freereq crash: Unlike the generic version which uses free,
56485 * sysdeps/mach/hurd/ifreq.h: New file.
56487 2011-01-27 Petr Baudis <pasky@suse.cz>
56488 Ulrich Drepper <drepper@gmail.com>
56491 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56492 to extend_alloca().
56493 * stdio-common/bug23.c: New file.
56494 * stdio-common/Makefile (tests): Add bug23.
56496 2010-09-28 Andreas Schwab <schwab@redhat.com>
56497 Ulrich Drepper <drepper@gmail.com>
56500 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56501 before performing relro protection. At old place add assertion
56502 to make sure nothing changed.
56504 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56505 Glauber de Oliveira Costa <glommer@gmail.com>
56507 * elf/elf.h: Add new ARM TLS relocs.
56509 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56512 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56514 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56516 * sysdeps/wordsize-64/tst-writev.c: New file.
56518 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56520 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56521 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56522 insns in _dl_start to prevent a TOC reference before relocs are
56525 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56528 * Makeconfig: Remove RANLIB definition.
56529 * Makerules: Don't use RANLIB.
56530 * aclocal.m4: Remove ranlib test.
56531 * configure.in: No need to check for ranlib.
56532 * elf/rtld-Rules: Don't use RANLIB.
56534 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56536 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56538 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56539 inclusion protection macro.
56541 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56542 SIGRTMIN and SIGRTMAX and print information in that case only when
56543 SIGRTMIN is defined.
56545 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56547 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56548 arginfo fn returning -1.
56550 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56551 and thousands string is zero terminated.
56553 2011-02-03 Andreas Schwab <schwab@redhat.com>
56555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56556 sysdeps/unix/sysv/linux/bits/socket.h.
56558 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56560 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56561 (__CPU_COUNT): Remove old macros.
56562 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56563 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56564 (__CPU_ALLOC, __CPU_FREE): Add macros.
56565 (__sched_cpualloc, __sched_cpufree): Add declarations.
56567 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56569 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56570 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56571 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56572 (readdhstai): Return value of addhstaiX call.
56573 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56574 (addgrbyX): Return value returned by cache_addgr.
56575 (readdgrbyname): Return value returned by addgrbyX.
56576 (readdgrbygid): Likewise.
56577 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56578 (addpwbyX): Return value returned by cache_addpw.
56579 (readdpwbyname): Return value returned by addhstbyX.
56580 (readdpwbyuid): Likewise.
56581 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56582 (addservbyX): Return value returned by cache_addserv.
56583 (readdservbyname): Return value returned by addservbyX:
56584 (readdservbyport): Likewise.
56585 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56586 (addhstbyX): Return value returned by cache_addhst.
56587 (readdhstbyname): Return value returned by addhstbyX.
56588 (readdhstbyaddr): Likewise.
56589 (readdhstbynamev6): Likewise.
56590 (readdhstbyaddrv6): Likewise.
56591 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56592 (readdinitgroups): Return value returned by addinitgroupsX.
56593 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56594 (prune_cache): Keep track of timeout value of re-added entries.
56595 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56596 * nscd/nscd.h: Adjust prototypes of readd* functions.
56598 2011-02-04 Roland McGrath <roland@redhat.com>
56600 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56601 (nis_stats): Likewise.
56602 * nis/nis_modify.c (nis_modify): Likewise.
56603 * nis/nis_remove.c (nis_remove): Likewise.
56604 * nis/nis_add.c (nis_add): Likewise.
56606 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56608 * posix/fnmatch_loop.c: Add some consts.
56610 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56612 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56615 * config.make.in (config-cflags-novzeroupper): Define.
56616 * configure.in: Substitute libc_cv_cc_novzeroupper.
56617 * elf/Makefile (AVX-CFLAGS): Define.
56618 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56619 (CFLAGS-tst-auditmod4a.c): Likewise.
56620 (CFLAGS-tst-auditmod4b.c): Likewise.
56621 (CFLAGS-tst-auditmod6b.c): Likewise.
56622 (CFLAGS-tst-auditmod6c.c): Likewise.
56623 (CFLAGS-tst-auditmod7b.c): Likewise.
56624 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56626 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56628 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56629 function to the callback.
56630 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56632 2011-02-02 Andreas Schwab <schwab@redhat.com>
56634 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56637 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56640 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56642 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56644 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56647 * elf/Makefile: Add rules to build and run new test.
56648 * elf/tst-initorder.c: New file.
56649 * elf/tst-initorder.exp: New file.
56650 * elf/tst-initordera1.c: New file.
56651 * elf/tst-initordera2.c: New file.
56652 * elf/tst-initordera3.c: New file.
56653 * elf/tst-initordera4.c: New file.
56654 * elf/tst-initorderb1.c: New file.
56655 * elf/tst-initorderb2.c: New file.
56656 * elf/tst-order-a1.c: New file.
56657 * elf/tst-order-a2.c: New file.
56658 * elf/tst-order-a3.c: New file.
56659 * elf/tst-order-a4.c: New file.
56660 * elf/tst-order-b1.c: New file.
56661 * elf/tst-order-b2.c: New file.
56662 * elf/tst-order-main.c: New file.
56663 New test case by George Gensure <werkt0@gmail.com>.
56665 2010-10-01 Andreas Schwab <schwab@redhat.com>
56667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56668 decoding ACE if AI_CANONIDN.
56670 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56672 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56674 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56676 * version.h (RELEASE): Bump for 2.13 release.
56677 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56679 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56681 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56683 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56685 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56686 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56687 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56688 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56690 * posix/getconf.c: Update copyright year.
56691 * catgets/gencat.c: Likewise.
56692 * csu/version.c: Likewise.
56693 * debug/catchsegv.sh: Likewise.
56694 * debug/xtrace.sh: Likewise.
56695 * elf/ldconfig.c: Likewise.
56696 * elf/ldd.bash.in: Likewise.
56697 * elf/sprof.c (print_version): Likewise.
56698 * iconv/iconv_prog.c: Likewise.
56699 * iconv/iconvconfig.c: Likewise.
56700 * locale/programs/locale.c: Likewise.
56701 * locale/programs/localedef.c: Likewise.
56702 * malloc/memusage.sh: Likewise.
56703 * malloc/mtrace.pl: Likewise.
56704 * nscd/nscd.c (print_version): Likewise.
56705 * nss/getent.c: Likewise.
56707 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56708 PF_CAIF, and PF_ALG.
56709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56711 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56713 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56714 (modules-names): Use them.
56715 (ifunc-test-modules, ifunc-pie-tests): Define.
56716 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56717 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56718 (test-extras): Likewise.
56719 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56720 $(compile-command.c).
56721 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56722 (all-built-dso): Define.
56723 (check-textrel.out, check-execstack.out): Depend on it.
56725 * configure.in: Don't override --enable-multi-arch.
56727 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56730 * nscd/hstcache.c (tryagain): Define.
56731 (cache_addhst): Return tryagain not notfound for temporary errors.
56732 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56735 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56739 to make the syscall.
56740 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56743 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56744 and fall back to matching as normal character if the string ends before
56745 the matching ']' is found. This is what POSIX requires.
56746 * posix/testfnm.c: Adjust test result.
56747 * posix/globtest.sh: Adjust test result. Add new test.
56748 * posix/tst-fnmatch.input: Likewise.
56749 * posix/tst-fnmatch2.c: Add new test.
56751 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56753 * elf/Makefile (check-execstack): Revert last change. Depend on
56755 (check-execstack.h): New target.
56756 (generated): Add check-execstack.h.
56757 * elf/check-execstack.c: Include "check-execstack.h".
56758 (main): Revert last change.
56759 (handle_file): Return zero if GNU_STACK is absent and
56760 DEFAULT_STACK_PERMS doesn't include PF_X.
56762 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56764 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56765 in child fails because the descriptor is already closed.
56766 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56767 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56775 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56776 temporary buffer used to handle multi lookups locally.
56777 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56779 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56781 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56784 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56786 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56787 alignment for SSE2.
56789 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56792 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56793 characters. When rounding increased number of integer digits recompute
56795 * stdio-common/tst-grouping.c: New file.
56796 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56798 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56800 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56801 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56803 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56805 * bits/select.h: Likewise.
56807 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56809 * po/ja.po: Update from translation team.
56811 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56814 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56815 implementation just like for lxstat, fxstatat, et al.
56817 2010-12-27 Jim Meyering <meyering@redhat.com>
56820 * posix/regexec.c (build_trtable): Return failure indication upon
56821 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56823 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56826 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56827 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56828 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56832 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56835 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56836 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56838 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56840 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56841 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56842 script has SORT_BY_INIT_PRIORITY.
56843 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56844 NO_CTORS_DTORS_SECTIONS is defined.
56845 * elf/soinit.c: Likewise.
56846 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56847 NO_CTORS_DTORS_SECTIONS is defined.
56848 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56849 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56850 * sysdeps/sh/init-first.c: Likewise.
56851 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56853 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56855 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56856 always use the slow path.
56858 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56860 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56861 similar rule which adds the sysdep directories to the header search in
56862 order to pick up the correct platform stackinfo.h.
56863 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56864 perform test if it is, otherwise return successfully without testing.
56865 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56866 DEFAULT_STACK_PERMS define in stackinfo.h.
56867 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56868 defined in stackinfo.h.
56869 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56870 DEFAULT_STACK_PERMS defined in stackinfo.h.
56871 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56872 * sysdeps/ia64/stackinfo.h: Likewise.
56873 * sysdeps/s390/stackinfo.h: Likewise.
56874 * sysdeps/sh/stackinfo.h: Likewise.
56875 * sysdeps/sparc/stackinfo.h: Likewise.
56876 * sysdeps/x86_64/stackinfo.h: Likewise.
56877 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56878 PF_X for powerpc64. Retain PF_X for powerpc32.
56880 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56882 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56884 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56885 GETDENTS_64BIT_ALIGNED.
56887 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56889 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56891 2010-12-10 Andreas Schwab <schwab@redhat.com>
56893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56896 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56897 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56899 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56900 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56902 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56905 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56908 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56910 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56912 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56914 * po/it.po: Update from translation team.
56916 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56921 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56923 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56925 2010-11-24 Andreas Schwab <schwab@redhat.com>
56927 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56929 (gaih_getanswer_slice): Likewise.
56931 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56935 2010-05-31 Petr Baudis <pasky@suse.cz>
56938 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56939 silently even in the chroot mode.
56941 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56943 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56944 last patch a bit. Pretty printing
56946 2010-05-31 Petr Baudis <pasky@suse.cz>
56949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56950 initialization of skip_initgroups_dyn.
56952 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56954 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56957 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56959 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56961 2010-11-11 Andreas Schwab <schwab@redhat.com>
56963 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56964 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56965 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56966 ($(objpfx)tst-fnmatch-mem): New rule.
56967 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56968 * posix/tst-fnmatch.c (main): Call mtrace.
56970 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56973 Support Intel processor model 6 and model 0x2c.
56975 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56980 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56983 * string/test-strncasecmp.c (check_result): New function.
56984 (do_one_test): Use it.
56985 (check1): New function.
56986 (test_main): Use it.
56987 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56988 Support strcasecmp and strncasecmp.
56990 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56993 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56994 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56996 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56998 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57002 * sysdeps/x86_64/multiarch/bzero.S: New file.
57003 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57004 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57005 * sysdeps/x86_64/multiarch/memset.S: New file.
57006 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57008 Set bit_Prefer_SSE_for_memop for Intel processors.
57009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57011 (index_Prefer_SSE_for_memop): Define.
57012 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57014 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57016 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57017 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57019 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57022 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57023 (__x86_64_raw_data_cache_size_half): Likewise.
57024 (__x86_64_raw_shared_cache_size): Likewise.
57025 (__x86_64_raw_shared_cache_size_half): Likewise.
57027 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57028 (__x86_64_raw_data_cache_size_half): Likewise.
57029 (__x86_64_raw_shared_cache_size): Likewise.
57030 (__x86_64_raw_shared_cache_size_half): Likewise.
57031 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57032 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57033 and __x86_64_raw_shared_cache_size_half. Round
57034 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57035 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57036 to multiple of 256 bytes.
57038 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57041 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57042 of inacessible symlinks. Verify result of symlink before returning it.
57043 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57044 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57046 2010-10-28 Erich Ritz <erichritz@gmail.com>
57048 * math/math.h (isinf): Fix typo in comment.
57050 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57052 * po/da.po: Update from translation team.
57054 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57056 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57057 is added to the list.
57059 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57060 Ulrich Drepper <drepper@gmail.com>
57062 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57063 the global list here. Move code to...
57064 (_dl_add_to_namespace_list): ...here. New function.
57065 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57066 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57067 * elf/dl-load.c (lose): Don't remove the element from the list.
57068 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57069 (_dl_map_object): Likewise.
57071 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57074 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57075 into all bytes of SSE register.
57076 Patch by Richard Li <richardpku@gmail.com>.
57078 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57081 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57084 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57086 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57087 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57088 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57094 2010-10-22 Andreas Schwab <schwab@redhat.com>
57096 * include/dlfcn.h (__RTLD_SECURE): Define.
57097 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57098 mode & __RTLD_SECURE instead.
57099 (open_path): Rename preloaded parameter to secure.
57100 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57101 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57102 * elf/dl-deps.c (openaux): Likewise.
57103 * elf/rtld.c (struct map_args): Remove is_preloaded.
57104 (map_doit): Don't use it.
57105 (dl_main): Likewise.
57106 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57107 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57109 2010-09-09 Andreas Schwab <schwab@redhat.com>
57111 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57112 (sysd-rules-targets): Remove duplicates.
57113 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57114 rtld-%.$o dependency.
57116 2010-10-18 Andreas Schwab <schwab@redhat.com>
57118 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57119 _dl_map_object do it.
57121 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57123 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57124 fast fma builtins, define the macros in the C99 standard.
57125 (FP_FAST_FMAF): Likewise.
57126 (FP_FAST_FMAL): Likewise.
57127 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57129 * bits/mathdef.h: Update copyright year.
57130 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57132 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57134 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57135 builtins, define the macros in the C99 standard.
57136 (FP_FAST_FMAF): Likewise.
57137 (FP_FAST_FMAL): Likewise.
57138 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57140 (FP_FAST_FMAF): Likewise.
57142 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57145 * math/libm-test.inc (fma_test): Some new testcases.
57146 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57147 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57148 y and infinite z. Do multiplication by C already in long double.
57149 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57151 y and infinite z. Do bitwise or of inexact bit into u.d.
57152 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57153 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57154 * sysdeps/i386/fpu/s_fma.S: Removed.
57155 * sysdeps/i386/fpu/s_fmal.S: Removed.
57157 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57160 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57162 computation is not scheduled after fetestexcept. Fix value
57163 of minimum denormal long double.
57165 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57168 * math/libm-test.inc (fma_test): Add some more tests.
57169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57172 2010-10-15 Andreas Schwab <schwab@redhat.com>
57174 * scripts/data/localplt-s390-linux-gnu.data: New file.
57175 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57177 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57180 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57181 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57183 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57185 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57187 if one of x and y is very large and the other is subnormal.
57188 * sysdeps/s390/fpu/s_fmaf.c: New file.
57189 * sysdeps/s390/fpu/s_fma.c: New file.
57190 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57191 * sysdeps/powerpc/fpu/s_fma.S: New file.
57192 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57193 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57194 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57196 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57199 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57202 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57203 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57204 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57205 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57206 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57207 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57209 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57212 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57213 * posix/bug-regex31.input: Add test case.
57215 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57217 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57218 * posix/bug-regex31.input: New file.
57221 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57222 (parse_sub_exp): Fix last change, use postorder.
57224 * posix/bug-regex31.c: New file.
57225 * posix/Makefile: Add rules to build and run bug-regex31.
57227 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57230 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57233 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57234 to have entries in sys_siglist.
57237 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57240 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57243 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57244 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57245 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57246 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57247 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57248 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57249 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57250 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57251 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57252 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57253 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57254 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57255 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57256 * math/ftestexcept.c (fetestexcept): Likewise.
57257 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57258 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57259 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57260 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57261 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57262 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57263 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57265 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57268 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57271 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57273 * string/bug-strstr1.c: New file.
57274 * string/Makefile: Add rules to build and run bug-strstr1.
57276 2010-10-05 Eric Blake <eblake@redhat.com>
57279 * string/str-two-way.h (two_way_long_needle): Always clear memory
57280 when skipping input due to the shift table.
57282 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57285 * malloc/mcheck.c: Handle large requests.
57288 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57289 for strncmp and strncasecmp.
57290 * string/stratcliff.c: Add tests for strcmp and strncmp.
57291 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57293 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57295 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57298 2010-09-30 Andreas Jaeger <aj@suse.de>
57300 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57301 (CGROUP_SUPER_MAGIC): Define.
57302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57303 Handle btrfs and cgroup file systems.
57304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57307 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57309 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57310 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57312 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57315 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57316 trying to locate the ELF header.
57318 2010-09-27 Andreas Schwab <schwab@redhat.com>
57321 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57322 Mask out sign-bit copies when constructing f_fsid.
57324 2010-09-24 Petr Baudis <pasky@suse.cz>
57326 * debug/stack_chk_fail_local.c: Add missing licence exception.
57327 * debug/warning-nop.c: Likewise.
57329 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57331 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57332 implementing getdents64 using getdents syscall, set d_type if
57333 __ASSUME_GETDENTS32_D_TYPE.
57335 2010-09-16 Andreas Schwab <schwab@redhat.com>
57337 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57338 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57340 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57343 * posix/unistd.h: Undo change of feature selection for ftruncate from
57346 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57348 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57351 2010-09-20 Andreas Schwab <schwab@redhat.com>
57353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57355 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57357 2010-09-14 Andreas Schwab <schwab@redhat.com>
57359 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57360 variables after CHECK_SP call.
57361 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57363 2010-09-13 Andreas Schwab <schwab@redhat.com>
57364 Ulrich Drepper <drepper@redhat.com>
57366 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57367 re-relocationg ld.so.
57368 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57369 _dl_init_paths call.
57370 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57373 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57375 * resolv/res_init.c (__res_vinit): Count the default server we added.
57377 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57378 Ulrich Drepper <drepper@redhat.com>
57381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57382 (____longjmp_chk): Use %ebx for saving value across system call.
57385 2010-09-06 Andreas Schwab <schwab@redhat.com>
57387 * manual/Makefile: Don't mix pattern rules with normal rules.
57389 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57391 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57393 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57394 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57395 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57396 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57400 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57403 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57404 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57406 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57408 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57409 * sysdeps/x86_64/addmul_1.S: Likewise.
57410 * sysdeps/x86_64/lshift.S: Likewise.
57411 * sysdeps/x86_64/mul_1.S: Likewise.
57412 * sysdeps/x86_64/rshift.S: Likewise.
57413 * sysdeps/x86_64/sub_n.S: Likewise.
57414 * sysdeps/x86_64/submul_1.S: Likewise.
57416 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57418 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57419 Define __sched_param instead of SCHED_* and sched_param when
57420 <bits/sched.h> is included with __need_schedparam defined.
57421 * bits/sched.h [__need_schedparam]
57422 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57423 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57424 (__defined_schedparam): Define to 1.
57425 (__sched_param): New structure, identical to sched_param.
57426 (__need_schedparam): Undefine.
57428 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57431 (epoll_create1): Declare.
57433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57435 2010-08-31 Andreas Schwab <schwab@redhat.com>
57438 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57439 shifting retval into place.
57441 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57443 * nis/rpcsvc/nis.h: Update copyright notice.
57444 * nis/rpcsvc/nis.x: Likewise.
57445 * nis/rpcsvc/nis_callback.h: Likewise.
57446 * nis/rpcsvc/nis_callback.x: Likewise.
57447 * nis/rpcsvc/nis_object.x: Likewise.
57448 * nis/rpcsvc/nis_tags.h: Likewise.
57449 * nis/rpcsvc/yp.h: Likewise.
57450 * nis/rpcsvc/yp.x: Likewise.
57451 * nis/rpcsvc/ypupd.h: Likewise.
57452 * nis/yp_xdr.c: Likewise.
57453 * nis/ypupdate_xdr.c: Likewise.
57455 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57456 mainly the body of pmap_getport. Add parameters to specify timeouts.
57457 (pmap_getport): Use __libc_rpc_getport.
57458 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57459 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57460 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57462 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57467 2010-08-27 Roland McGrath <roland@redhat.com>
57469 * sysdeps/i386/i686/multiarch/Makefile
57470 (CFLAGS-varshift.c): New variable.
57472 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57474 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57475 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57479 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57481 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57483 * sysdeps/x86_64/strlen.S: Unroll the loop.
57484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57485 strlen-sse2 strlen-sse2-bsf.
57486 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57487 __strlen_no_bsf if bit_Slow_BSF is set.
57488 (__strlen_sse42): Removed.
57489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57490 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57492 2010-08-25 Roland McGrath <roland@redhat.com>
57494 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57495 * sysdeps/x86_64/multiarch/varshift.c: New file.
57496 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57497 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57498 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57499 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57501 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57504 strlen-sse2 strlen-sse2-bsf.
57505 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57506 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57507 (__strlen_sse2): Removed.
57508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57511 bit_Slow_BSF for Atom.
57512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57513 (index_Slow_BSF): Define.
57514 (HAS_SLOW_BSF): Define.
57516 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57519 * resolv/res_init.c (__res_vinit): When no server address at all
57520 is given default to loopback.
57522 2010-08-24 Roland McGrath <roland@redhat.com>
57524 * configure.in: Remove config-name.h generation.
57525 * configure: Regenerated.
57526 * config-name.in: File removed.
57527 * scripts/config-uname.sh: New file.
57528 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57529 ($(objdir)config-name.h): New target.
57531 * sunrpc/rpc_parse.h: Avoid nested comment.
57533 2010-08-24 Richard Henderson <rth@redhat.com>
57534 Ulrich Drepper <drepper@redhat.com>
57535 H.J. Lu <hongjiu.lu@intel.com>
57537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57539 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57540 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57541 _mm_alignr_epi8 with _mm_loadu_si128.
57542 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57543 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57544 (__m128i_shift_right): Removed.
57545 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57546 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57547 * sysdeps/x86_64/multiarch/varshift.h: New file.
57548 * sysdeps/x86_64/multiarch/varshift.S: New file.
57550 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57552 * configure.in: Move assembler checks to before sysdep dir checking.
57554 2010-08-20 Petr Baudis <pasky@suse.cz>
57556 * LICENSES: Sync the sunrpc license.
57558 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57560 * sunrpc/auth_des.c: Update copyright notice once again.
57561 * sunrpc/auth_none.c: Likewise.
57562 * sunrpc/auth_unix.c: Likewise.
57563 * sunrpc/authdes_prot.c: Likewise.
57564 * sunrpc/authuxprot.c: Likewise.
57565 * sunrpc/bindrsvprt.c: Likewise.
57566 * sunrpc/clnt_gen.c: Likewise.
57567 * sunrpc/clnt_perr.c: Likewise.
57568 * sunrpc/clnt_raw.c: Likewise.
57569 * sunrpc/clnt_simp.c: Likewise.
57570 * sunrpc/clnt_tcp.c: Likewise.
57571 * sunrpc/clnt_udp.c: Likewise.
57572 * sunrpc/clnt_unix.c: Likewise.
57573 * sunrpc/des_crypt.c: Likewise.
57574 * sunrpc/des_soft.c: Likewise.
57575 * sunrpc/get_myaddr.c: Likewise.
57576 * sunrpc/getrpcport.c: Likewise.
57577 * sunrpc/key_call.c: Likewise.
57578 * sunrpc/key_prot.c: Likewise.
57579 * sunrpc/openchild.c: Likewise.
57580 * sunrpc/pm_getmaps.c: Likewise.
57581 * sunrpc/pm_getport.c: Likewise.
57582 * sunrpc/pmap_clnt.c: Likewise.
57583 * sunrpc/pmap_prot.c: Likewise.
57584 * sunrpc/pmap_prot2.c: Likewise.
57585 * sunrpc/pmap_rmt.c: Likewise.
57586 * sunrpc/rpc/auth.h: Likewise.
57587 * sunrpc/rpc/auth_unix.h: Likewise.
57588 * sunrpc/rpc/clnt.h: Likewise.
57589 * sunrpc/rpc/des_crypt.h: Likewise.
57590 * sunrpc/rpc/key_prot.h: Likewise.
57591 * sunrpc/rpc/netdb.h: Likewise.
57592 * sunrpc/rpc/pmap_clnt.h: Likewise.
57593 * sunrpc/rpc/pmap_prot.h: Likewise.
57594 * sunrpc/rpc/pmap_rmt.h: Likewise.
57595 * sunrpc/rpc/rpc.h: Likewise.
57596 * sunrpc/rpc/rpc_des.h: Likewise.
57597 * sunrpc/rpc/rpc_msg.h: Likewise.
57598 * sunrpc/rpc/svc.h: Likewise.
57599 * sunrpc/rpc/svc_auth.h: Likewise.
57600 * sunrpc/rpc/types.h: Likewise.
57601 * sunrpc/rpc/xdr.h: Likewise.
57602 * sunrpc/rpc_clntout.c: Likewise.
57603 * sunrpc/rpc_cmsg.c: Likewise.
57604 * sunrpc/rpc_common.c: Likewise.
57605 * sunrpc/rpc_cout.c: Likewise.
57606 * sunrpc/rpc_dtable.c: Likewise.
57607 * sunrpc/rpc_hout.c: Likewise.
57608 * sunrpc/rpc_main.c: Likewise.
57609 * sunrpc/rpc_parse.c: Likewise.
57610 * sunrpc/rpc_parse.h: Likewise.
57611 * sunrpc/rpc_prot.c: Likewise.
57612 * sunrpc/rpc_sample.c: Likewise.
57613 * sunrpc/rpc_scan.c: Likewise.
57614 * sunrpc/rpc_scan.h: Likewise.
57615 * sunrpc/rpc_svcout.c: Likewise.
57616 * sunrpc/rpc_tblout.c: Likewise.
57617 * sunrpc/rpc_util.c: Likewise.
57618 * sunrpc/rpc_util.h: Likewise.
57619 * sunrpc/rpcinfo.c: Likewise.
57620 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57621 * sunrpc/rpcsvc/key_prot.x: Likewise.
57622 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57623 * sunrpc/rpcsvc/mount.x: Likewise.
57624 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57625 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57626 * sunrpc/rpcsvc/rex.x: Likewise.
57627 * sunrpc/rpcsvc/rstat.x: Likewise.
57628 * sunrpc/rpcsvc/rusers.x: Likewise.
57629 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57630 * sunrpc/rpcsvc/spray.x: Likewise.
57631 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57632 * sunrpc/rtime.c: Likewise.
57633 * sunrpc/svc.c: Likewise.
57634 * sunrpc/svc_auth.c: Likewise.
57635 * sunrpc/svc_authux.c: Likewise.
57636 * sunrpc/svc_raw.c: Likewise.
57637 * sunrpc/svc_run.c: Likewise.
57638 * sunrpc/svc_simple.c: Likewise.
57639 * sunrpc/svc_tcp.c: Likewise.
57640 * sunrpc/svc_udp.c: Likewise.
57641 * sunrpc/svc_unix.c: Likewise.
57642 * sunrpc/svcauth_des.c: Likewise.
57643 * sunrpc/xcrypt.c: Likewise.
57644 * sunrpc/xdr.c: Likewise.
57645 * sunrpc/xdr_array.c: Likewise.
57646 * sunrpc/xdr_float.c: Likewise.
57647 * sunrpc/xdr_mem.c: Likewise.
57648 * sunrpc/xdr_rec.c: Likewise.
57649 * sunrpc/xdr_ref.c: Likewise.
57650 * sunrpc/xdr_sizeof.c: Likewise.
57651 * sunrpc/xdr_stdio.c: Likewise.
57653 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57656 2010-08-19 Andreas Schwab <schwab@redhat.com>
57658 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57660 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57662 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57664 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57665 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57667 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57669 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57671 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57672 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57673 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57674 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57675 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57677 2010-07-26 Anton Blanchard <anton@samba.org>
57679 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57680 * malloc/arena.c (heap_trim): Likewise.
57682 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57684 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57687 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57689 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57691 * sysdeps/i386/elf/Makefile: New file.
57693 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57695 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57696 from fanotify_init.
57697 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57700 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57702 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57704 * sysdeps/multiarch/strcmp.S: Likewise.
57706 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57708 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57709 strncase_l-nonascii.
57710 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57711 Add strncase_l-ssse3.
57712 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57713 * sysdeps/x86_64/strcmp.S: Likewise.
57714 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57715 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57716 * sysdeps/x86_64/strncase.S: New file.
57717 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57718 * sysdeps/x86_64/strncase_l.S: New file.
57719 * string/Makefile (strop-tests): Add strncasecmp.
57720 * string/test-strncasecmp.c: New file.
57722 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57725 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57726 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57728 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57730 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57732 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57734 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57738 2010-05-01 Alan Modra <amodra@gmail.com>
57740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57741 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57742 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57743 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57744 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57745 tidying. Don't tail-call __sigjmp_save for static lib.
57746 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57748 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57749 (CALL_MCOUNT): Add eh info, and nop after bl.
57750 (TAIL_CALL_SYSCALL_ERROR): New macro.
57751 (PSEUDO_RET): Use it.
57752 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57753 Correct save location of integer regs and cr.
57754 (_dl_profile_resolve): Correct cr save location. Delete nops
57755 after bl when SHARED. Reduce cfi size a little by better
57756 placement of cfi directives.
57757 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57758 make a stack frame. Instead use parm save area as a temp.
57759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57760 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57762 Don't make a stack frame for parent, use parm save area.
57763 Increase child stack frame to 112 bytes. Don't save unused reg,
57764 and adjust reg usage. Set up cfi on error recovery and
57765 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57767 (__makecontext): Add dummy nop after jump to exit.
57768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57769 Use correct parm save area and cr save, reduce stack frame.
57770 Correct cfi for possible PSEUDO_RET frame setup.
57771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57772 Branch to local label emitted by PSEUDO_RET rather than
57775 2010-08-12 Andreas Schwab <schwab@redhat.com>
57778 * locale/programs/locale.c (print_assignment): New function.
57779 (show_locale_vars): Use it.
57781 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57783 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57785 (struct statfs64): Likewise.
57786 (_STATFS_F_FLAGS): Define.
57787 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57789 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57790 (ST_VALID): Define locally.
57791 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57792 __statvfs_getflags, use the provided value.
57793 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57794 __ASSUME_STATFS_F_FLAGS.
57796 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57798 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57799 Add sys/fanotify.h.
57800 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57801 fanotify_mask for GLIBC_2.13.
57802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57803 fanotify_init and fanotify_mark.
57804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57805 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57807 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57809 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57810 prlimit64 for GLIBC_2.13.
57811 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57817 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57821 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57824 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57825 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57827 * nss/Makefile: Add rules to build and run tst-nss-test1.
57828 * shlib-versions: Add entry for libnss_test1.
57829 * nss/nss_test1.c: New file.
57830 * nss/tst-nss-test1.c: New file.
57832 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57833 (__nss_configure_lookup): Set appropriate entry in
57834 __nss_configure_lookup to true.
57835 * nss/nsswitch.h: Define enum with indeces of databases in
57836 databases and __nss_database_custom arrays. Declare
57837 __nss_database_custom.
57838 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57839 to avoid using nscd when custom rules are installed.
57840 * nss/getXXbyYY_r.c: Likewise.
57841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57843 * nss/nss_files/files-parse.c: Whitespace fixes.
57845 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57848 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57849 * posix/fnmatch_loop.c: Likewise.
57851 2010-07-17 Andi Kleen <ak@linux.intel.com>
57853 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57854 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57855 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57856 * Versions.def [GLIBC_2.13]: Add.
57858 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57860 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57861 Also fail if tpwd after pwuid call is NULL.
57863 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57865 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57866 when converting to ms.
57868 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57870 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57871 EOPNOTSUPP errors with ENOTTY.
57872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57873 EOPNOTSUPP errors with ENOTTY.
57875 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57877 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57878 Add strcasecmp_l-ssse3.
57879 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57881 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57882 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57883 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57885 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57887 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57889 * string/Makefile (strop-tests): Add strcasecmp.
57890 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57891 strcasecmp_l-nonascii.
57892 (gen-as-const-headers): Add locale-defines.sym.
57893 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57894 * sysdeps/x86_64/strcasecmp.S: New file.
57895 * sysdeps/x86_64/strcasecmp_l.S: New file.
57896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57897 * sysdeps/x86_64/locale-defines.sym: New file.
57898 * string/test-strcasecmp.c: New file.
57900 * string/test-strcasestr.c: Test both ends of the range of characters.
57901 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57903 2010-07-29 Roland McGrath <roland@redhat.com>
57906 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57908 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57910 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57913 2010-07-27 Andreas Schwab <schwab@redhat.com>
57915 * manual/memory.texi (Malloc Tunable Parameters): Document
57918 2010-07-26 Roland McGrath <roland@redhat.com>
57921 * configure.in (-fgnu89-inline check): Set and substitute
57922 gnu89_inline, not libc_cv_gnu89_inline.
57923 * configure: Regenerated.
57924 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57926 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57928 * string/test-strnlen.c: New file.
57929 * string/Makefile (strop-tests): Add strnlen.
57930 * string/tester.c (test_strnlen): Add a few more test cases.
57931 * string/tst-strlen.c: Better error reporting.
57933 * sysdeps/x86_64/strnlen.S: New file.
57935 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57937 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57938 lower-latency instructions.
57940 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57942 * string/test-strcasestr.c: New file.
57943 * string/test-strstr.c: New file.
57944 * string/Makefile (strop-tests): Add strstr and strcasestr.
57945 * string/str-two-way.h: Don't undefine MAX.
57946 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57948 2010-07-21 Andreas Schwab <schwab@redhat.com>
57950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57951 strcasestr-nonascii.
57952 (CFLAGS-strcasestr-nonascii.c): Define.
57953 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57955 Remove unused attribute.
57957 2010-07-20 Roland McGrath <roland@redhat.com>
57959 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57960 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57961 ld.so.cache was broken. With it, there is no way to disable dsocaps
57962 like LD_HWCAP_MASK can disable hwcaps.
57964 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57966 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57968 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57970 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57971 call in strcasestr.
57972 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57973 __strcasestr_sse42_nonascii.
57974 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57975 strcasestr-nonascii.c.
57976 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57978 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57980 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57981 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57983 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57985 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57990 2010-07-06 Andreas Schwab <schwab@redhat.com>
57993 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57996 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57998 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57999 _PC_PIPE_BUF using F_GETPIPE_SZ.
58001 2010-07-05 Roland McGrath <roland@redhat.com>
58003 * manual/arith.texi (Rounding Functions): Fix rint description
58004 implicit in round description.
58006 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58008 * elf/Makefile: Fix linking for a few tests to make recent linker
58011 2010-06-30 Andreas Schwab <schwab@redhat.com>
58013 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58014 $(common-objpfx)libc_nonshared.a.
58016 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58018 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58019 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58020 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58021 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58022 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58023 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58024 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58025 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58040 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58041 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58042 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58043 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58044 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58045 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58046 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58047 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58048 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58049 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58050 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58051 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58067 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58069 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58070 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58071 * string/memmove.c (memmove): Renamed to ...
58072 (MEMMOVE): ...this. Default to memmove.
58073 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58074 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58077 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58078 mempcpy-ssse3-back memmove-ssse3-back.
58079 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58082 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58083 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58084 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58085 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58086 * sysdeps/x86_64/multiarch/memmove.c: New file.
58087 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58088 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58089 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58090 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58091 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58094 (index_Fast_Copy_Backward): Define.
58095 (HAS_ARCH_FEATURE): Define.
58096 (HAS_FAST_REP_STRING): Define.
58097 (HAS_FAST_COPY_BACKWARD): Define.
58099 2010-06-21 Andreas Schwab <schwab@redhat.com>
58101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58102 Restore proper fallback handling.
58104 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58107 * posix/group_member.c (__group_member): Correct checking loop.
58109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58110 OOM in getpwuid_r correctly. Return error number when the caller
58111 should return, otherwise -1.
58112 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58113 call returning > 0 value.
58114 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58116 2010-06-07 Andreas Schwab <schwab@redhat.com>
58118 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58119 libc_nonshared.a from targets in modules-names.
58121 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58123 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58126 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58129 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58133 2010-06-02 Andreas Schwab <schwab@redhat.com>
58135 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58137 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58139 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58141 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58146 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58148 2010-06-14 Roland McGrath <roland@redhat.com>
58150 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58152 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58154 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58155 __REDIRECT followed by __THROW.
58156 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58157 * posix/getopt.h (getopt): Likewise.
58159 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58161 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58162 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58163 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58165 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58166 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58168 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58172 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58176 Properly check family and model.
58178 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58180 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58182 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58184 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58186 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58188 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58191 2010-05-19 Andreas Schwab <schwab@redhat.com>
58193 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58196 2010-05-21 Andreas Schwab <schwab@redhat.com>
58198 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58199 and internal_recvmmsg.
58200 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58201 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58202 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58203 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58205 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58206 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58207 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58209 2010-05-20 Andreas Schwab <schwab@redhat.com>
58211 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58213 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58215 POWER7 optimizations.
58216 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58217 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58219 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58221 * version.h: Update for 2.13 development version.
58223 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58225 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58226 exceptions. Return 0.
58228 2010-05-07 Roland McGrath <roland@redhat.com>
58230 * elf/ldconfig.c (main): Add a const.
58232 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58234 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58235 (args_options): Add no-idn option.
58236 (ahosts_keys_int): Add idn_flags to ai_flags.
58237 (parse_option): Handle 'i' option to clear idn_flags.
58239 * malloc/malloc.c (_int_free): Possible race in the most recently
58240 added check. Only act on the data if no current modification
58243 See ChangeLog.17 for earlier changes.