1 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3 * manual/threads.texi (POSIX Threads): Fix a typo.
5 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8 * string/tst-strcoll-overflow.c: New test case.
9 * string/Makefile (xtests): Add tst-strcoll-overflow.
10 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11 cache if string sizes may cause integer overflow.
14 * string/strcoll_l.c (coll_seq): New members rule, idx,
16 (get_next_seq_nocache): New function.
17 (do_compare_nocache): New function.
18 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29 * elf/Makefile (tests): Add tst-ptrguard1.
30 (tests-static): Add tst-ptrguard1-static.
31 (tst-ptrguard1-ARGS): Define.
32 (tst-ptrguard1-static-ARGS): Define.
33 * elf/tst-ptrguard1.c: New file.
34 * elf/tst-ptrguard1-static.c: New file.
35 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36 * sysdeps/i386/stackguard-macros.h: Likewise.
37 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44 2013-09-23 Hector Marco <hecmargi@upv.es>
45 Ismael Ripoll <iripoll@disca.upv.es>
46 Carlos O'Donell <carlos@redhat.com>
49 * sysdeps/generic/stackguard-macros.h: Define
50 __pointer_chk_guard_local and POINTER_CHK_GUARD.
51 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52 Define __pointer_chk_guard_local.
53 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
54 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
59 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
63 * include/string.h (__ffs): Declare as hidden.
64 * string/ffs.c (__ffs): Define as hidden.
65 * sysdeps/i386/ffs.c (__ffs): Likewise.
66 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
67 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
68 * sysdeps/s390/ffs.c (__ffs): Likewise.
69 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
71 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
73 * NEWS: Mention malloc probes.
75 * malloc/arena.c (new_heap): New memory_heap_new probe.
76 (grow_heap): New memory_heap_more probe.
77 (shrink_heap): New memory_heap_less probe.
78 (heap_trim): New memory_heap_free probe.
79 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
80 (systrim): New memory_sbrk_less probe.
81 * manual/probes.texi: Document them.
83 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
84 * manual/probes.texi: Document it.
86 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
87 (__libc_realloc): Add memory_realloc_retry probe.
88 (__libc_memalign): Add memory_memalign_retry probe.
89 (__libc_valloc): Add memory_valloc_retry probe.
90 (__libc_pvalloc): Add memory_pvalloc_retry probe.
91 (__libc_calloc): Add memory_calloc_retry probe.
92 * manual/probes.texi: Document them.
94 * malloc/arena.c (get_free_list): Add probe
95 memory_arena_reuse_free_list.
96 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
97 and memory_arena_reuse.
98 (arena_get2) [!PER_THREAD]: Likewise.
99 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
100 memory_arena_reuse_realloc.
101 * manual/probes.texi: Document them.
103 * malloc/malloc.c (__libc_free): Add
104 memory_mallopt_free_dyn_thresholds probe.
105 (__libc_mallopt): Add multiple memory_mallopt probes.
106 * manual/probes.texi: Document them.
108 * malloc/malloc.c: Include stap-probe.h.
109 (__libc_mallopt): Add memory_mallopt probe.
110 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
111 * manual/probes.texi: New.
112 * manual/Makefile (chapters): Add probes.
113 * manual/threads.texi: Set next node.
115 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
118 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
119 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
120 Add `Chinese' to `nan' entry name.
122 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
124 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
125 (POLYNOMIAL): Likewise.
126 (TAYLOR_SINCOS): Likewise.
127 (TAYLOR_SLOW): Likewise.
128 (__sin): Use TAYLOR_SINCOS.
130 (slow): Use TAYLOR_SLOW.
135 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
137 * stdlib/strtod_l.c: Fix buffer overrun.
139 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
141 * benchtests/Makefile (bench): Add sincos.
142 * benchtests/bench-sincos.c: New file.
144 * math/libm-test.inc (cos_test_data): New test inputs.
145 (sin_test_data): Likewise.
147 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
161 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
170 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
172 * config.h.in (HAVE_MIPS_NAN2008): New macro.
173 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
174 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
175 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
176 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
177 * elf/cache.c (print_entry): Handle the new cache flags.
179 2013-09-18 Joseph Myers <joseph@codesourcery.com>
180 Aldy Hernandez <aldyh@redhat.com>
182 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
183 Change condition to [_SOFT_FLOAT].
184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
196 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
199 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
202 2013-09-18 Joseph Myers <joseph@codesourcery.com>
204 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
205 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
206 (__longjmp): Use LOAD_GP to load saved GPRs.
207 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
208 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
209 (__sigsetjmp): Use SAVE_GP to save GPRs.
211 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
212 Do not append -msoft-float.
213 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
215 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
217 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
219 2013-09-17 Joseph Myers <joseph@codesourcery.com>
222 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
223 (_FPU_GETCW): Use initial "__" on variable and field names but not
224 on macro parameter name.
225 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
226 parentheses around reference to macro parameter.
228 2013-09-13 Richard Sandiford <richard@codesourcery.com>
230 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
232 (ctype_startup): Use uint32_t in cast and sizeof for
235 2013-09-11 Jia Liu <proljc@gmail.com>
237 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
239 [__FreeBSD__]: Likewise.
241 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
243 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
244 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
245 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
246 (strchr): Remove __strchr_sse42 ifunc selection.
247 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
248 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
250 2013-09-11 Will Newton <will.newton@linaro.org>
252 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
253 parameter to RES. Remove hardcoded 1000 value.
254 * benchtests/bench-skeleton.c (main): Pass RES parameter
255 to TIMING_INIT and multiply result by 1000.
257 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
261 2013-09-11 Andreas Schwab <schwab@suse.de>
263 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
265 (O_TMPFILE) [__USE_GNU]: Define.
266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
269 2013-09-11 Will Newton <will.newton@linaro.org>
272 * malloc/malloc.c (__libc_memalign): Check the value of bytes
275 2013-09-11 Will Newton <will.newton@linaro.org>
278 * malloc/malloc.c (__libc_valloc): Check the value of bytes
281 2013-09-11 Will Newton <will.newton@linaro.org>
284 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
287 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
289 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
290 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
291 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
292 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
293 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
295 2013-09-10 Allan McRae <allan@archlinux.org>
298 * manual/arith.texi (Parsing of Floats): Clarify
302 * manual/install.texi (Running make install): Mention
304 * INSTALL: Regenerated.
306 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
308 * csu/init-first.c (_init): Remove the !SHARED condition around
309 FPU control word initialization.
310 * elf/dl-support.c (_dl_fpu_control): New variable.
311 (_dl_aux_init) <AT_FPUCW>: Initialize it.
312 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
313 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
314 * math/test-fpucw-static.c: New file.
315 * math/test-fpucw-ieee.c: New file.
316 * math/test-fpucw-ieee-static.c: New file.
317 * math/Makefile (tests): Add `test-fpucw-ieee' and
319 (tests-static): New variable.
320 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
322 [($(build-shared),yes)]
323 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
325 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
328 2013-09-09 Allan McRae <allan@archlinux.org>
331 * manual/string.texi (Collation Functions): Fix typo in
333 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
336 * stdlib/isomac.c (get_null_defines): Fix memory leak.
339 * libio/memstream.c (open_memstream): Fix memory leak.
340 * libio/wmemstream.c (open_wmemstream): Likewise.
343 * nscd/netgroupcache.c: Fix nesting of ifdefs.
345 2013-09-09 Will Newton <will.newton@linaro.org>
347 * malloc/Makefile: Add tst-realloc to tests.
348 * malloc/tst-realloc.c: New file.
350 2013-09-09 Allan McRae <allan@archlinux.org>
353 * COPYING: Update from GNU website to fix FSF address.
354 * COPYING.LIB: Likewise.
356 2013-09-06 David S. Miller <davem@davemloft.net>
358 * po/zh_TW.po: Update Chinese (traditional) translation from
361 2013-09-06 Richard Sandiford <richard@codesourcery.com>
362 Joseph Myers <joseph@codesourcery.com>
364 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
366 (obstack_chunk_alloc): New macro.
367 (obstack_chunk_free): Likewise.
368 (record_offset): New function.
369 (init_locale_data): Likewise.
370 (align_locale_data): Likewise.
371 (add_locale_empty): Likewise.
372 (add_locale_raw_data): Likewise.
373 (add_locale_raw_obstack): Likewise.
374 (add_locale_string): Likewise.
375 (add_locale_wstring): Likewise.
376 (add_locale_uint32): Likewise.
377 (add_locale_uint32_array): Likewise.
378 (add_locale_char): Likewise.
379 (start_locale_structure): Likewise.
380 (end_locale_structure): Likewise.
381 (start_locale_prelude): Likewise.
382 (end_locale_prelude): Likewise.
383 (write_locale_data): Take locale_file structure rather than an
385 * locale/programs/locfile.h: Include "obstack.h".
386 (struct locale_file): Change to store locale file contents instead
388 (init_locale_data): New prototype.
389 (align_locale_data): Likewise.
390 (add_locale_empty): Likewise.
391 (add_locale_raw_data): Likewise.
392 (add_locale_raw_obstack): Likewise.
393 (add_locale_string): Likewise.
394 (add_locale_wstring): Likewise.
395 (add_locale_uint32): Likewise.
396 (add_locale_uint32_array): Likewise.
397 (add_locale_char): Likewise.
398 (start_locale_structure): Likewise.
399 (end_locale_structure): Likewise.
400 (start_locale_prelude): Likewise.
401 (end_locale_prelude): Likewise.
402 (write_locale_data): Update prototype.
403 * locale/programs/3level.h (struct TABLE): Remove result field.
404 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
405 Use new locale_file interface.
406 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
407 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
408 * locale/programs/ld-address.c (address_output): Use new
409 locale_file interface.
410 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
412 (collate_finish): Don't call collseq_table_finalize.
413 (collate_output): Use new locale_file interface.
414 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
416 (NO_FINALIZE): Change to NO_ADD_LOCALE.
417 (TABLE): Move defines earlier in file.
420 (wctrans_table_add): Move macro and inline function earlier in
422 (struct wctype_table): Move type earlier in file.
423 (add_locale_wctype_table): New static prototype.
424 (struct locale_ctype_t): Use logical types instead of struct iovec
425 pointers for members.
426 (ctype_output): Use new locale_file interface.
427 (wctype_table_finalize): Change to add_locale_wctype_table. Use
428 new locale_file interface.
429 (allocate_arrays): Update for use of new locale_file interface.
430 * locale/programs/ld-identification.c (identification_output): Use
431 new locale_file interface.
432 * locale/programs/ld-measurement.c (measurement_output): Likewise.
433 * locale/programs/ld-messages.c (messages_output): Likewise.
434 * locale/programs/ld-monetary.c (monetary_output): Likewise.
435 * locale/programs/ld-name.c (name_output): Likewise.
436 * locale/programs/ld-numeric.c (numeric_output): Likewise.
437 * locale/programs/ld-paper.c (paper_output): Likewise.
438 * locale/programs/ld-telephone.c (telephone_output): Likewise.
439 * locale/programs/ld-time.c (time_output): Likewise.
441 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
443 * benchtests/Makefile: Add memrchr benchmark.
444 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
445 benchmark as memrchr.
446 * benchtests/bench-memrchr-ifunc.c: New file.
447 * benchtests/bench-memrchr.c: New file.
449 2013-09-06 Will Newton <will.newton@linaro.org>
451 * benchtests/Makefile (string-bench): Add memcpy.
453 2013-09-05 Carlos O'Donell <carlos@redhat.com>
454 Cong Wang <amwang@redhat.com>
456 * sysdeps/unix/sysv/linux/bits/in.h
457 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
458 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
459 before __USE_KERNEL_IPV6_DEFS uses.
460 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
462 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
463 sockaddr_in6, or ipv6_mreq.
465 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
467 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
468 memory access for final bytes in some large inputs.
469 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
471 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
473 * string/test-memrchr.c: New file.
474 * string/test-memrchr-ifunc.c: New file.
475 * string/Makefile: Add new memrchr testcase.
477 2013-09-05 Mike Frysinger <vapier@gentoo.org>
479 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
480 fanotify_init returns EPERM.
482 2013-09-04 Joseph Myers <joseph@codesourcery.com>
484 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
486 (top level): Treat second token from macro or constant entries for
487 allowed headers as allowed.
488 * include/complex.h: Condition internal declarations on
490 * include/fenv.h: Condition include of <stdbool.h> and internal
491 declarations on [!_ISOMAC].
493 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
496 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
498 2013-09-04 Joseph Myers <joseph@codesourcery.com>
500 * configure.in (--enable-versioning): Remove configure option.
501 (libc_cv_asm_symver_directive): Remove configure test.
502 (libc_cv_ld_version_script_option): Likewise.
503 (VERSIONING): Remove variable and AC_SUBST.
504 (DO_VERSIONING): Remove AC_DEFINE.
505 * configure: Regenerated.
506 * config.h.in (DO_VERSIONING): Remove macro.
507 * Makerules [$(versioning) = yes]: Change conditionals to
508 [$(build-shared) = yes].
509 * config.make.in (versioning): Remove variable.
510 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
511 [$(build-shared) = yes].
512 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
513 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
514 * elf/Makefile [$(versioning) = yes]: Change conditionals to
515 [$(build-shared) = yes].
516 * extra-lib.mk [$(versioning) = yes]: Likewise.
517 * hurd/Makefile [$(versioning) = yes]: Likewise.
518 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
520 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
522 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
523 [SHARED && !NO_HIDDEN].
524 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
526 [SHARED && DO_VERSIONING]: Likewise..
527 * libio/Makefile [$(versioning) = yes]: Change conditionals to
528 [$(build-shared) = yes].
529 * manual/install.texi (--disable-versioning): Remove
531 * INSTALL: Regenerated.
532 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
534 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
535 [$(build-shared) = yes].
536 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
537 * sysdeps/i386/i686/multiarch/strstr-c.c
538 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
539 [SHARED && !NO_HIDDEN].
540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
541 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
542 * sysdeps/powerpc/powerpc32/dl-machine.c
543 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
544 * sysdeps/powerpc/powerpc32/sysdep.h
545 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
546 to [SHARED && PIC && !NO_HIDDEN].
547 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
548 conditional to [SHARED].
550 2013-09-04 Will Newton <will.newton@linaro.org>
552 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
553 * benchtests/bench-string.h: Include bench-timing.h instead
554 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
555 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
556 call to HP_TIMING_DIFF_INIT.
557 * benchtests/bench-memccpy.c: Use bench-timing.h macros
558 instead of hp-timing.h macros.
559 * benchtests/bench-memchr.c: Likewise.
560 * benchtests/bench-memcmp.c: Likewise.
561 * benchtests/bench-memcpy.c: Likewise.
562 * benchtests/bench-memmem.c: Likewise.
563 * benchtests/bench-memmove.c: Likewise.
564 * benchtests/bench-memset.c: Likewise.
565 * benchtests/bench-rawmemchr.c: Likewise.
566 * benchtests/bench-strcasecmp.c: Likewise.
567 * benchtests/bench-strcasestr.c: Likewise.
568 * benchtests/bench-strcat.c: Likewise.
569 * benchtests/bench-strchr.c: Likewise.
570 * benchtests/bench-strcmp.c: Likewise.
571 * benchtests/bench-strcpy.c: Likewise.
572 * benchtests/bench-strcpy_chk.c: Likewise.
573 * benchtests/bench-strlen.c: Likewise.
574 * benchtests/bench-strncasecmp.c: Likewise.
575 * benchtests/bench-strncat.c: Likewise.
576 * benchtests/bench-strncmp.c: Likewise.
577 * benchtests/bench-strncpy.c: Likewise.
578 * benchtests/bench-strnlen.c: Likewise.
579 * benchtests/bench-strpbrk.c: Likewise.
580 * benchtests/bench-strrchr.c: Likewise.
581 * benchtests/bench-strspn.c: Likewise.
582 * benchtests/bench-strstr.c: Likewise.
584 2013-09-04 Will Newton <will.newton@linaro.org>
586 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
588 2013-09-03 Joseph Myers <joseph@codesourcery.com>
591 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
592 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
593 * math/libm-test.inc (lgamma_test_data): Add more tests.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
599 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
603 Add strcmp-sse2-unaligned
604 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
606 2013-09-02 Mike Frysinger <vapier@gentoo.org>
608 * Versions.def (libc): Add GLIBC_2.19.
610 2013-09-02 Mike Frysinger <vapier@gentoo.org>
612 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
613 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
615 2013-09-02 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
619 intermediate calculations in recurrence.
620 (__ieee754_ynf): Likewise.
621 * math/libm-test.inc (jn_test_data): Do not allow spurious
622 underflow exception. Add more tests.
623 (yn_test_data): Add more tests.
624 * sysdeps/i386/fpu/libm-test-ulps: Update.
625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
627 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
631 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
633 * csu/init-first.c: Fix then/than typos.
634 * locale/programs/ld-collate.c: Likewise.
635 * locale/programs/linereader.h: Likewise.
636 * manual/charset.texi: Likewise.
637 * manual/filesys.texi: Likewise.
638 * manual/stdio.texi: Likewise.
639 * manual/string.texi: Likewise.
640 * stdlib/fmtmsg.c: Likewise.
641 * sysdeps/i386/stpncpy.S: Likewise.
642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
643 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
644 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
645 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
647 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
649 * elf/dl-open.c: Fix typos.
650 * iconvdata/gbbig5.c: Likewise.
651 * iconvdata/iso-2022-jp.c: Likewise.
652 * iconv/gconv_int.h: Likewise.
653 * iconv/loop.c: Likewise.
654 * nis/rpcsvc/nis.h: Likewise.
655 * resolv/ns_name.c: Likewise.
656 * stdio-common/vfscanf.c: Likewise.
657 * streams/stropts.h: Likewise.
658 * sunrpc/rpc_thread.c: Likewise.
659 * sysdeps/i386/strpbrk.S: Likewise.
660 * sysdeps/ieee754/k_standard.c: Likewise.
661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
663 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
664 * sysdeps/mach/hurd/profil.c: Likewise.
665 * sysdeps/s390/dl-procinfo.h: Likewise.
666 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
667 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
668 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
669 * sysdeps/x86_64/dl-trampoline.S: Likewise.
670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
672 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
674 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
677 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
683 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
684 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
685 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
686 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
687 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
688 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
690 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
691 Roland McGrath <roland@hack.frob.com>
693 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
694 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
696 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
698 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
699 __executable_start symbol instead of _start.
701 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
703 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
704 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
706 * sysdeps/gnu/ldsodefs.h: ... this new file.
708 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
709 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
710 instead of ELFOSABI_LINUX.
712 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
713 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
714 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
715 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
717 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
718 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
721 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
722 (ibm_extended_long_double): Add ieee_nan member.
723 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
724 (do_test): New function.
726 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
728 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
729 functions, renamed from truncdfsf_test, trunctfsf_test,
731 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
733 (do_test): Run all these.
735 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
737 * argp/argp-help.c: Fix typos.
738 * argp/argp-parse.c: Likewise.
739 * debug/backtracesyms.c: Likewise.
740 * elf/elf.h: Likewise.
741 * malloc/malloc.c: Likewise.
742 * nis/nis_print.c: Likewise.
743 * resolv/res_comp.c: Likewise.
744 * stdlib/stdlib.h: Likewise.
745 * sunrpc/clnt_tcp.c: Likewise.
746 * sunrpc/clnt_udp.c: Likewise.
747 * sunrpc/clnt_unix.c: Likewise.
748 * sysdeps/unix/bsd/ptsname.c: Likewise.
749 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
759 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
761 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
764 2013-08-27 Mike Frysinger <vapier@gentoo.org>
767 * dlfcn/Makefile (tests): Add bug-dl-leaf.
768 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
769 ($(objpfx)bug-dl-leaf): New rule.
770 ($(objpfx)bug-dl-leaf.so): Likewise.
771 ($(objpfx)bug-dl-leaf.out): Likewise.
772 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
773 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
774 * dlfcn/bug-dl-leaf.c: New test.
775 * dlfcn/bug-dl-leaf-lib.c: Likewise.
776 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
777 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
781 2013-08-27 Roland McGrath <roland@hack.frob.com>
783 * include/netdb.h [!_ISOMAC]:
784 Don't include <tls.h>.
785 (h_errno, __libc_h_errno): Move declaration and macros out of
788 * include/resolv.h [_RESOLV_H_]:
789 Don't include <tls.h>.
790 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
791 * resolv/res_libc.c: Don't include <tls.h>.
792 (_res): Use __attribute__ ((nocommon)) in place of
793 __attribute__ ((section (".bss"))).
795 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
796 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
798 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
800 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
801 only under [SIOCGIFCONF && SIOCGIFNETMASK].
803 * resolv/res_mkquery.c: Include <sys/time.h>.
805 * inet/ifreq.c: Moved to ...
806 * sysdeps/unix/ifreq.c: ... here.
807 * inet/ifreq.c: New file, true stub version.
809 * socket/sa_len.c: New file.
810 * socket/Makefile (aux): Add it.
811 * sysdeps/unix/sysv/linux/Makefile
812 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
813 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
814 and #include <socket/sa_len.c>.
815 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
816 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
818 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
819 * bits/socket.h: ... here.
821 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
822 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
823 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
825 2013-08-27 Andreas Schwab <schwab@suse.de>
828 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
829 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
830 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
831 * string/test-strcasecmp.c (test_main): Run tests in several
833 * string/test-strncasecmp.c (test_main): Likewise.
835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
836 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
837 to __strcasecmp_nonascii and __strncasecmp_nonascii.
838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
839 (__strncasecmp_ssse3) [PIC]: Likewise.
841 2013-08-26 Roland McGrath <roland@hack.frob.com>
843 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
845 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
846 instead of explicitly declaring xdecrypt.
847 * nis/nss_nis/nis-publickey.c: Likewise.
849 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
852 * nscd/aicache.c: Include res_hconf.h.
853 (addhstaiX): Initialize res_hconf.
855 2013-08-26 Andreas Schwab <schwab@suse.de>
857 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
858 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
860 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
862 * nscd/aicache.c (addhstaiX): Fix indentation.
864 2013-08-25 Mike Frysinger <vapier@gentoo.org>
866 * configure.ac: Quote $build_pt_chown test.
867 * configure: Regenerated.
869 2013-08-23 Joseph Myers <joseph@codesourcery.com>
872 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
873 * math/s_cexpf.c (__cexpf): Likewise.
874 * math/s_cexpl.c (__cexpl): Likewise.
875 * math/libm-test.inc (cexp_test_data): Correct expected return
876 value for NaN + i0. Add another test.
878 2013-08-22 David S. Miller <davem@davemloft.net>
880 * po/ca.po: Update Catalan translation from translation project.
881 * po/uk.po: Add Ukrainian translations from translation project.
883 2013-08-21 Joseph Myers <joseph@codesourcery.com>
886 * math/s_fdim.c (__fdim): Check for infinite arguments if result
887 is infinite, not alongside NaN test.
888 * math/s_fdimf.c (__fdimf): Likewise.
889 * math/s_fdiml.c (__fdiml): Likewise.
890 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
893 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
895 * argp/argp-help.c: Fix typos.
896 * crypt/speeds.c: Likewise.
897 * csu/check_fds.c: Likewise.
898 * elf/dl-load.c: Likewise.
899 * elf/dl-open.c: Likewise.
900 * elf/reldep3.c: Likewise.
901 * elf/reldep.c: Likewise.
902 * elf/sprof.c: Likewise.
903 * iconv/iconv_charmap.c: Likewise.
904 * iconv/skeleton.c: Likewise.
905 * iconv/strtab.c: Likewise.
906 * io/lockf64.c: Likewise.
907 * libio/libioP.h: Likewise.
908 * resolv/gai_notify.c: Likewise.
909 * resolv/ns_name.c: Likewise.
910 * resolv/ns_samedomain.c: Likewise.
911 * resolv/res_send.c: Likewise.
912 * stdlib/random.c: Likewise.
913 * sunrpc/rpc/xdr.h: Likewise.
914 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
915 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
918 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
920 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
922 * sysdeps/mach/hurd/check_fds.c: Likewise.
923 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
924 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
927 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
928 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
929 * sysdeps/pthread/aio_notify.c: Likewise.
930 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
931 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
932 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
934 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
936 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
938 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
939 version if bit_Slow_SSE4_2 is set.
940 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
943 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
947 trampoline stack frame information.
948 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
950 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
951 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
952 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
953 * sysdeps/unix/sysv/linux/powerpc/init-first.c
954 (_libc_vdso_platform_setup): Initialize the signal trampolines.
955 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
957 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
958 interrupting a syscall and set with option SA_SIGINFO.
960 2013-08-20 Joseph Myers <joseph@codesourcery.com>
963 * math/s_cproj.c (__cproj): Only return an infinity if one part of
964 argument is infinite.
965 * math/s_cprojf.c (__cprojf): Likewise.
966 * math/s_cprojl.c (__cprojl): Likewise.
967 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
968 * math/libm-test.inc (cproj_test_data): Add more tests.
970 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
973 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
974 size. Use __ffs to determine corresponding shift.
976 2013-08-20 Joseph Myers <joseph@codesourcery.com>
977 Roland McGrath <roland@hack.frob.com>
979 * Makefile (INSTALL): Remove trailing blank lines from output of
982 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
985 Align 32 bit compat elf_greg to 8 bytes.
987 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
989 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
991 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
993 * string/strcoll_l.c (coll_seq): New structure.
994 (get_next_seq_cached): New function.
995 (get_next_seq): New function.
996 (do_compare): New function.
997 (STRCOLL): Use GNU style definition. Simplify implementation
998 by using get_next_seq, get_next_seq_cached and do_compare.
1000 2013-08-16 Florian Weimer <fweimer@redhat.com>
1004 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1006 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1008 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1009 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1010 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1012 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1013 GETDENTS_64BIT_ALIGNED.
1014 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1015 * manual/filesys.texi (Reading/Closing Directory): Document
1016 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1018 * manual/conf.texi (Limits for Files): Add portability note to
1020 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1022 2013-08-13 Andreas Schwab <schwab@suse.de>
1025 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1027 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1028 LDBL_MAX_EXP >= 16384]: Add tests for it.
1030 2013-08-12 David S. Miller <davem@davemloft.net>
1032 * version.h (RELEASE): Set to "development".
1033 (VERSION): Set to "2.18.90".
1034 * NEWS: Add 2.19 section.
1036 2013-08-03 David S. Miller <davem@davemloft.net>
1038 * po/ko.po: Update Korean translation from translation project.
1040 2013-08-01 David S. Miller <davem@davemloft.net>
1042 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1043 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1046 2013-07-30 David S. Miller <davem@davemloft.net>
1048 * po/fr.po: Update French translation from translation project.
1050 2013-07-28 David S. Miller <davem@davemloft.net>
1052 * po/cs.po: Update Czech translation from translation project.
1054 * po/sv.po: Update Swedish translation from translation project.
1056 2013-07-27 David S. Miller <davem@davemloft.net>
1058 * po/eo.po: Update Esperanto translation from translation project.
1060 * po/vi.po: Update Vietnamese translation from translation project.
1062 * po/de.po: Update German translation from translation project.
1064 2013-07-26 David S. Miller <davem@davemloft.net>
1066 * po/bg.po: Update Bulgarian translation from translation project.
1068 * po/nl.po: Update Dutch translation from translation project.
1069 * po/pl.po: Update Polish translation from translation project.
1070 * po/ru.po: Update Russian translation from translation project.
1072 2013-07-24 David S. Miller <davem@davemloft.net>
1074 * po/libc.pot: Update.
1076 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1080 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1082 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1084 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1086 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1088 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1089 Andreas Schwab <schwab@suse.de>
1090 Roland McGrath <roland@hack.frob.com>
1091 Joseph Myers <joseph@codesourcery.com>
1092 Carlos O'Donell <carlos@redhat.com>
1095 * config.h.in: Define HAVE_PT_CHOWN.
1096 * config.make.in (build-pt-chown): New variable.
1097 * configure.in (--enable-pt_chown): New configure option.
1098 * configure: Regenerate.
1099 * login/Makefile: Include Makeconfig. Build pt_chown only if
1100 build-pt-chown is enabled.
1101 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1102 pt_chown to fix pty ownership.
1103 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1105 * manual/install.texi (Configuring and compiling): Mention
1106 --enable-pt_chown. Add @findex for grantpt.
1107 * INSTALL: Regenerate.
1109 2013-07-20 David S. Miller <davem@davemloft.net>
1111 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1112 difference between 32-bit and 64-bit.
1114 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1117 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1118 Avoid system header dependency with -ffreestanding.
1119 ($(objpfx)bits/syscall%d): Likewise.
1121 2013-07-13 David S. Miller <davem@davemloft.net>
1123 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1124 underflows from atanl/atan2l due to bug 15319.
1125 (casinh_test_data): Likewise.
1127 2013-07-07 David S. Miller <davem@davemloft.net>
1129 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1131 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1133 * sysdeps/i386/fpu/libm-test-ulps: Update.
1134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1136 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1138 * configure.in (--enable-lock-elision): Fix message text.
1139 * INSTALL: Regenerate.
1140 * configure: Regenerate.
1142 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1146 2013-07-03 Andreas Jaeger <aj@suse.de>
1148 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1150 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1151 (ptrace_peeksiginfo_args): Add.
1152 (__ptrace_peeksiginfo_flags): Add.
1153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1154 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1155 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1157 2013-07-03 Allan McRae <allan@archlinux.org>
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 2013-07-02 David S. Miller <davem@davemloft.net>
1163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1165 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1169 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1171 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1174 2013-07-02 Andi Kleen <ak@linux.intel.com>
1176 * config.h.in (ENABLE_LOCK_ELISION): Add.
1177 * configure.in (--enable-lock-elision): Add option.
1178 * manual/install.texi: Document --enable lock elision.
1179 * configure: Regenerate
1180 * INSTALL: Regenerate.
1182 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1184 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1185 SSE4.2 strcasecmp for libc.a.
1186 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1188 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1191 * soft-fp/op-common.h (_FP_FMA): New macro.
1192 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1193 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1194 (_FP_MUL_MEAT_1_imm): ... here.
1195 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1196 (_FP_MUL_MEAT_1_wide): ... here.
1197 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1198 (_FP_MUL_MEAT_1_hard): ... here.
1199 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1200 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1201 (_FP_MUL_MEAT_2_wide): ... here.
1202 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1203 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1204 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1205 (_FP_MUL_MEAT_2_gmp): ... here.
1206 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1207 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1208 (_FP_MUL_MEAT_4_wide): ... here.
1209 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1210 (_FP_MUL_MEAT_4_gmp): ... here.
1211 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1212 (_FP_WFRACBITS_DW_S): Likewise.
1213 (_FP_WFRACXBITS_DW_S): Likewise.
1214 (_FP_HIGHBIT_DW_S): Likewise.
1215 (FP_FMA_S): Likewise.
1216 (_FP_FRAC_HIGH_DW_S): Likewise.
1217 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1218 (_FP_WFRACBITS_DW_D): Likewise.
1219 (_FP_WFRACXBITS_DW_D): Likewise.
1220 (_FP_HIGHBIT_DW_D): Likewise.
1221 (FP_FMA_D): Likewise.
1222 (_FP_FRAC_HIGH_DW_D): Likewise.
1223 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1224 (_FP_WFRACBITS_DW_E): Likewise.
1225 (_FP_WFRACXBITS_DW_E): Likewise.
1226 (_FP_HIGHBIT_DW_E): Likewise.
1227 (FP_FMA_E): Likewise.
1228 (_FP_FRAC_HIGH_DW_E): Likewise.
1229 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1230 (_FP_WFRACBITS_DW_Q): Likewise.
1231 (_FP_WFRACXBITS_DW_Q): Likewise.
1232 (_FP_HIGHBIT_DW_Q): Likewise.
1233 (FP_FMA_Q): Likewise.
1234 (_FP_FRAC_HIGH_DW_Q): Likewise.
1235 * soft-fp/fmasf4.c: New file.
1236 * soft-fp/fmadf4.c: Likewise.
1237 * soft-fp/fmatf4.c: Likewise.
1239 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1242 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1246 (index_Slow_SSE4_2): Likewise.
1247 (index_Prefer_PMINUB_for_stringop): Likewise.
1248 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1249 bit_Slow_SSE4_2 is set.
1250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1251 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1253 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1255 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1256 rtld_global._dl_hwcap2.
1257 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1260 POWER8 feature descriptions defined in _dl_hwcap2.
1261 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1262 string handling for POWER8 feature bits.
1263 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1264 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1265 _dl_powerpc_cap_flags.
1266 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1267 * sysdeps/powerpc/rtld-global-offsets.sym
1268 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1269 _dl_hwcap2 in the rtld_global_ro structure.
1271 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1273 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1274 hardware capabilities in support of AT_HWCAP2.
1275 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1276 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1278 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1279 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1280 explicitly the unknown a_type display mechanism is used.
1281 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1282 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1284 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1285 to macro prototype for AT_HWCAP2 support.
1286 * sysdeps/i386/dl-procinfo.h: Likewise.
1287 * sysdeps/s390/dl-procinfo.h: Likewise.
1288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1289 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1290 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1291 return -1 for unknown a_type display fallback.
1292 * sysdeps/sparc/dl-procinfo.h: Likewise.
1293 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1294 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1296 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1298 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1299 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1301 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1304 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1305 mprotect making __stack_prot writable.
1307 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1308 Joseph Myers <joseph@codesourcery.com>
1310 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1311 as being properly aligned.
1313 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1315 * dlfcn/modstatic5.c: New file.
1316 * dlfcn/tststatic5.c: New file.
1317 * dlfcn/Makefile (tests): Add tststatic5.
1318 (tests-static): Likewise.
1319 (modules-names): Add modstatic5.
1320 (tststatic5-ENV): New variable.
1321 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1324 * elf/dl-support.c (_dl_main_map): New variable.
1325 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1326 (_dl_nns, _dl_load_adds): Set to 1.
1327 (_dl_initial_searchlist): Refer to _dl_main_map.
1328 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1329 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1330 call to _dl_get_origin.
1331 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1333 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1334 * dlfcn/modstatic3.c: New file.
1335 * dlfcn/tststatic3.c: New file.
1336 * dlfcn/tststatic4.c: New file.
1337 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1338 (tests-static): Likewise.
1339 (modules-names): Add modstatic3.
1340 (tststatic3-ENV, tststatic4-ENV): New variables.
1341 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1342 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1344 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1346 * configure.in (CC): Require GCC version 4.4 or later.
1347 * configure: Regenerated.
1348 * manual/install.texi (Tools for Compilation): Update GCC version
1350 * INSTALL: Regenerated.
1352 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1355 * string/test-memcmp.c (check2): New.
1356 (main): Call check2.
1358 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1360 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1363 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1365 (dl_open_worker) [!SHARED]: ... here.
1367 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1369 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1371 2013-06-25 Richard Henderson <rth@redhat.com>
1373 * locale/programs/locarchive.c: Include <libc-internal.h>
1375 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1377 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1378 trailing whitespace removed.
1380 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1383 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1384 * locale/programs/locarchive.c: Include libc-mmap.h.
1385 (prepare_address_space): Take two new outputs (the mmap base and len).
1386 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1388 (create_archive): Declare new mmap base and len values for
1389 prepare_address_space, and store the result in ah.
1390 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1391 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1392 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1393 Declare new mmap base and len values for
1394 prepare_address_space, and store the result in new_ah.
1395 (open_archive): Declare new mmap base and len values for
1396 prepare_address_space, and store the result in ah.
1397 (close_archive): If ah->mmap_base is not NULL, use that and
1398 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1399 * sysdeps/generic/libc-mmap.h: New file.
1401 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1403 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1404 (ALIGN_UP): Likewise.
1405 (PTR_ALIGN_DOWN): Likewise.
1406 (PTR_ALIGN_UP): Likewise.
1408 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1410 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1411 entry mapped to PPC_PLATFORM_POWER8.
1412 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1414 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1415 (_dl_string_platform): Add case for exporting platform position for
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1418 search path to sysdeps/powerpc/powerpc32/power8 directory.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1420 search path to sysdeps/powerpc/powerpc64/power8 directory.
1421 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1423 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1426 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1428 * INSTALL: Regenerate.
1430 * nscd/connections.c (nscd_init): Fix comment.
1432 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1434 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1437 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1438 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1440 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1442 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1444 (DL_DST_REQ_STATIC): Remove macro.
1446 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1449 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1450 with a shift of 0 bits.
1452 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1454 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1457 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1460 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1462 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1464 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1465 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1466 accepts -fno-tree-loop-distribute-patterns.
1467 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1468 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1470 * string/memset.c (memset): Likewise.
1471 * string/test-memmove.c (simple_memmove): Disable loop transformation
1473 * string/test-memset.c (simple_memset): Likewise.
1474 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1475 * benchtests/bench-memset.c (simple_memset): Likewise.
1476 * configure: Regenerated.
1478 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1480 * math/test-misc.c (main): Ignore fesetround failure when failures
1481 of subsequent rounding tests would be ignored.
1484 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1485 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1486 * math/fegetenv.c (__fegetenv): Return 0.
1487 * math/fegetexcept.c (fegetexcept): Return 0.
1488 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1490 * math/feholdexcpt.c (feholdexcept): Return 0.
1491 * math/fesetenv.c (__fesetenv): Return 0.
1492 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1493 argument FE_TONEAREST.
1494 * math/feupdateenv.c (__feupdateenv): Return 0.
1495 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1497 2013-06-18 Roland McGrath <roland@hack.frob.com>
1499 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1500 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1501 ($(objpfx)rtld-%.os rules): Use them.
1503 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1508 2013-06-17 Roland McGrath <roland@hack.frob.com>
1510 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1511 length of target pattern, then descending length of dependency pattern.
1512 * configure.in (AWK): Require gawk 3.1.2 or newer.
1513 * manual/install.texi (Tools for Compilation): Say that we do.
1514 * configure: Regenerated.
1516 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1517 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1518 * scripts/sysd-rules.awk: ... this new script.
1519 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1520 than a glob-style pattern.
1522 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1524 * math/test-misc.c (main): Do not treat incorrectly rounded
1525 conversions as failure unless ROUNDING_TESTS passes.
1527 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1530 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1531 restore exception state around main square root computation, then
1532 check for inexactness explicitly.
1534 * math/libm-test.inc (fma_test_data): Add another test.
1536 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1538 * manual/threads.texi (Non-POSIX Extensions): New document
1539 node. Document pthread_getattr_default_np and
1540 pthread_setattr_default_np.
1542 * Versions.def (libpthread): Add GLIBC_2.18.
1543 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1552 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1563 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1566 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1568 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1569 H.J. Lu <hjl.tools@gmail.com>
1572 * sysdeps/x86_64/rtld-memset.c: Remove file.
1573 * sysdeps/x86_64/rtld-memset.S: New file.
1575 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1577 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1578 (test_in_one_mode): Take arguments for whether the rounding mode
1579 is supported for each floating-point type.
1580 (do_test): Pass new arguments to test_in_one_mode using
1583 2013-06-13 Roland McGrath <roland@hack.frob.com>
1585 * posix/tst-waitid.c (do_test): Distinguish different instances of
1586 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1587 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1588 before entering the kernel for waitpid.
1590 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1592 * NEWS: Fix note on clock function precision. Text by Roland
1595 2013-06-13 Roland McGrath <roland@hack.frob.com>
1597 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1598 it into place only when and if the sanity check passes.
1600 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1602 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1603 output for whether conversion result is exact. Take argument
1604 indicating whether type is IBM long double.
1605 (round_for_all): Change need_exact field to ibm_ld.
1606 * stdlib/tst-strtod-round.c (struct exactness): New type.
1607 (struct test): Change bool ld_ok field to struct exactness exact.
1608 (TEST): Update all definitions for change to field.
1609 (tests): Regenerate array contents.
1610 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1611 field value. Check for IBM long double here.
1612 (do_test): Update calls to test_in_one_mode.
1614 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1617 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1618 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1620 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1623 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1624 generated by the compiler on loop optimizations.
1625 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1626 general definitions.
1628 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1630 * math/bug-nextafter.c: Include <math-tests.h>.
1631 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1633 * math/bug-nexttoward.c: Include <math-tests.h>.
1634 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1636 * math/test-misc.c: Include <math-tests.h>.
1637 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1640 2013-06-12 Andreas Jaeger <aj@suse.de>
1642 * po/ia.po: Update Interlingua translation from translation
1645 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1647 * include/fenv.h: Include stdbool.h.
1648 (struct rm_ctx): New structure.
1649 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1651 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1652 (SET_RESTORE_ROUNDF): Likewise.
1653 (SET_RESTORE_ROUNDL): Likewise.
1654 (SET_RESTORE_ROUND_NOEX): Likewise.
1655 (SET_RESTORE_ROUND_NOEXF): Likewise.
1656 (SET_RESTORE_ROUND_NOEXL): Likewise.
1657 (SET_RESTORE_ROUND_53BIT): Likewise.
1658 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1659 (libc_feresetround_noexf_ctx): Likewise.
1660 (libc_feresetround_noexl_ctx): Likewise.
1661 (libc_feholdsetround_53bit_ctx): Likewise.
1662 (libc_feresetround_53bit_ctx): Likewise.
1663 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1664 (libc_feholdexcept_setround_sse_ctx): New function.
1665 (libc_fesetenv_sse_ctx): Likewise.
1666 (libc_feupdateenv_sse_ctx): Likewise.
1667 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1668 (libc_feholdexcept_setround_387_ctx): Likewise.
1669 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1670 (libc_feholdsetround_387_prec_ctx): Likewise.
1671 (libc_feholdsetround_387_ctx): Likewise.
1672 (libc_feholdsetround_387_53bit_ctx): Likewise.
1673 (libc_feholdsetround_sse_ctx): Likewise.
1674 (libc_feresetround_sse_ctx): Likewise.
1675 (libc_feresetround_387_ctx): Likewise.
1676 (libc_feupdateenv_387_ctx): Likewise.
1677 (libc_feholdexcept_setroundf_ctx): Define macro.
1678 (libc_fesetenvf_ctx): Likewise.
1679 (libc_feupdateenvf_ctx): Likewise.
1680 (libc_feholdsetroundf_ctx): Likewise.
1681 (libc_feresetroundf_ctx): Likewise.
1682 (libc_feholdexcept_setround_ctx): Likewise.
1683 (libc_fesetenv_ctx): Likewise.
1684 (libc_feupdateenv_ctx): Likewise.
1685 (libc_feholdsetround_ctx): Likewise.
1686 (libc_feresetround_ctx): Likewise.
1687 (libc_feholdexcept_setroundl_ctx): Likewise.
1688 (libc_feupdateenvl_ctx): Likewise.
1689 (libc_feholdsetroundl_ctx): Likewise.
1690 (libc_feresetroundl_ctx): Likewise.
1691 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1692 (libc_feresetround_53bit_ctx): Likewise.
1694 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1696 * locale/iso-639.def: Convert to UTF-8.
1698 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1700 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1701 (EXCEPTION_TESTS_double): Likewise.
1702 (EXCEPTION_TESTS_long_double): Likewise.
1703 (EXCEPTION_TESTS): Likewise.
1704 * math/libm-test.inc (test_exceptions): Only test exceptions if
1705 EXCEPTION_TESTS (FLOAT).
1707 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1709 * benchtests/Makefile (string-bench): Add strcpy_chk and
1711 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1712 * benchtests/bench-stpcpy_chk.c: New file.
1713 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1714 * benchtests/bench-strcpy_chk.c: New file.
1715 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1717 (do_test): Likewise.
1719 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1721 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1722 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1723 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1724 with tabs where appropriate.
1725 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1727 [PPC_PLATFORM_PPC440]: Likewise.
1728 [PPC_PLATFORM_PPC464]: Likewise.
1729 [PPC_PLATFORM_PPC476]: Likewise.
1730 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1731 ppc464, and ppc476 platform strings merging from ports/
1734 2013-06-11 Andreas Schwab <schwab@suse.de>
1737 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1738 (from_ucs4_idx): Regenerate.
1739 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1740 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1741 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1742 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1743 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1744 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1745 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1746 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1747 from FROM_LOOP and TO_LOOP specific macros.
1748 (BODY): Handle combining characters.
1749 * iconvdata/BIG5HKSCS.irreversible: Update.
1750 * iconvdata/BIG5HKSCS.precomposed: New file.
1751 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1753 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1755 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1757 * include/sys/time.h: Fix indentation and add copyright header.
1759 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1760 (do_test): Likewise.
1761 * string/test-memchr.c (do_one_test): Likewise.
1762 (do_test): Likewise.
1763 * string/test-memcmp.c (do_one_test): Likewise.
1764 (do_test): Likewise.
1765 * string/test-memcpy.c (do_one_test): Likewise.
1766 (do_test): Likewise.
1767 * string/test-memmem.c (do_one_test): Likewise.
1768 (do_test): Likewise.
1769 (do_random_tests): Likewise.
1770 * string/test-memmove.c (do_one_test): Likewise.
1771 (do_test): Likewise.
1772 * string/test-memset.c (do_one_test): Likewise.
1773 (do_test): Likewise.
1774 * string/test-rawmemchr.c (do_one_test): Likewise.
1775 (do_test): Likewise.
1776 * string/test-strcasecmp.c (do_one_test): Likewise.
1777 (do_test): Likewise.
1778 * string/test-strcasestr.c (do_one_test): Likewise.
1779 (do_test): Likewise.
1780 * string/test-strcat.c (do_one_test): Likewise.
1781 (do_test): Likewise.
1782 * string/test-strchr.c (do_one_test): Likewise.
1783 (do_test): Likewise.
1784 * string/test-strcmp.c (do_one_test): Likewise.
1785 (do_test): Likewise.
1786 * string/test-strcpy.c (do_one_test): Likewise.
1787 (do_test): Likewise.
1788 * string/test-string.h: Likewise.
1789 (test_init): Likewise.
1790 * string/test-strlen.c (do_one_test): Likewise.
1791 (do_test): Likewise.
1792 * string/test-strncasecmp.c (do_one_test): Likewise.
1793 (do_test): Likewise.
1794 * string/test-strncat.c (do_one_test): Likewise.
1795 (do_test): Likewise.
1796 * string/test-strncmp.c (do_one_test): Likewise.
1797 (do_test_limit): Likewise.
1798 (do_test): Likewise.
1799 * string/test-strncpy.c (do_one_test): Likewise.
1800 (do_test): Likewise.
1801 * string/test-strnlen.c (do_one_test): Likewise.
1802 (do_test): Likewise.
1803 * string/test-strpbrk.c (do_one_test): Likewise.
1804 (do_test): Likewise.
1805 * string/test-strrchr.c (do_one_test): Likewise.
1806 (do_test): Likewise.
1807 * string/test-strspn.c (do_one_test): Likewise.
1808 (do_test): Likewise.
1809 * string/test-strstr.c (do_one_test): Likewise.
1810 (do_test): Likewise.
1812 * benchtests/Makefile (string-bench): Add string benchmarks.
1813 * benchtests/bench-bcopy-ifunc.c: New file.
1814 * benchtests/bench-bcopy.c: New file.
1815 * benchtests/bench-bzero-ifunc.c: New file.
1816 * benchtests/bench-bzero.c: New file.
1817 * benchtests/bench-memccpy-ifunc.c: New file.
1818 * benchtests/bench-memccpy.c: New file.
1819 * benchtests/bench-memchr-ifunc.c: New file.
1820 * benchtests/bench-memchr.c: New file.
1821 * benchtests/bench-memcmp-ifunc.c: New file.
1822 * benchtests/bench-memcmp.c: New file.
1823 * benchtests/bench-memmem-ifunc.c: New file.
1824 * benchtests/bench-memmem.c: New file.
1825 * benchtests/bench-memmove-ifunc.c: New file.
1826 * benchtests/bench-memmove.c: New file.
1827 * benchtests/bench-mempcpy-ifunc.c: New file.
1828 * benchtests/bench-mempcpy.c: New file.
1829 * benchtests/bench-memset-ifunc.c: New file.
1830 * benchtests/bench-memset.c: New file.
1831 * benchtests/bench-rawmemchr-ifunc.c: New file.
1832 * benchtests/bench-rawmemchr.c: New file.
1833 * benchtests/bench-stpcpy-ifunc.c: New file.
1834 * benchtests/bench-stpcpy.c: New file.
1835 * benchtests/bench-stpncpy-ifunc.c: New file.
1836 * benchtests/bench-stpncpy.c: New file.
1837 * benchtests/bench-strcasecmp-ifunc.c: New file.
1838 * benchtests/bench-strcasecmp.c: New file.
1839 * benchtests/bench-strcasestr-ifunc.c: New file.
1840 * benchtests/bench-strcasestr.c: New file.
1841 * benchtests/bench-strcat-ifunc.c: New file.
1842 * benchtests/bench-strcat.c: New file.
1843 * benchtests/bench-strchr-ifunc.c: New file.
1844 * benchtests/bench-strchr.c: New file.
1845 * benchtests/bench-strchrnul-ifunc.c: New file.
1846 * benchtests/bench-strchrnul.c: New file.
1847 * benchtests/bench-strcmp-ifunc.c: New file.
1848 * benchtests/bench-strcmp.c: New file.
1849 * benchtests/bench-strcpy-ifunc.c: New file.
1850 * benchtests/bench-strcpy.c: New file.
1851 * benchtests/bench-strcspn-ifunc.c: New file.
1852 * benchtests/bench-strcspn.c: New file.
1853 * benchtests/bench-strlen-ifunc.c: New file.
1854 * benchtests/bench-strlen.c: New file.
1855 * benchtests/bench-strncasecmp-ifunc.c: New file.
1856 * benchtests/bench-strncasecmp.c: New file.
1857 * benchtests/bench-strncat-ifunc.c: New file.
1858 * benchtests/bench-strncat.c: New file.
1859 * benchtests/bench-strncmp-ifunc.c: New file.
1860 * benchtests/bench-strncmp.c: New file.
1861 * benchtests/bench-strncpy-ifunc.c: New file.
1862 * benchtests/bench-strncpy.c: New file.
1863 * benchtests/bench-strnlen-ifunc.c: New file.
1864 * benchtests/bench-strnlen.c: New file.
1865 * benchtests/bench-strpbrk-ifunc.c: New file.
1866 * benchtests/bench-strpbrk.c: New file.
1867 * benchtests/bench-strrchr-ifunc.c: New file.
1868 * benchtests/bench-strrchr.c: New file.
1869 * benchtests/bench-strspn-ifunc.c: New file.
1870 * benchtests/bench-strspn.c: New file.
1871 * benchtests/bench-strstr-ifunc.c: New file.
1872 * benchtests/bench-strstr.c: New file.
1874 * benchtests/Makefile: Disable parallel execution of targets.
1875 (string-bench): Add memcpy.
1876 (benchset): New variable to store a list of benchmark sets.
1877 (bench-func): Renamed from bench.
1878 (bench-set): New target.
1879 (bench): Depend on bench-func and bench-set.
1880 * benchtests/README: Add section on benchmark sets.
1881 * benchtests/bench-memcpy-ifunc.c: New file.
1882 * benchtests/bench-memcpy.c: New file.
1883 * benchtests/bench-string.h: New file.
1885 2013-06-11 Andreas Schwab <schwab@suse.de>
1888 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1889 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1890 values in the triple.
1891 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1892 terminator in the group key.
1894 2013-06-11 Andreas Jaeger <aj@suse.de>
1896 * po/zh_TW.po: Update Chinese (traditional) translation from
1897 translation project.
1899 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1901 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1902 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1903 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1905 (clock_getcpuclockid): Likewise.
1906 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1907 Add weak_alias and libc_hidden_def.
1908 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1909 * rt/clock_gettime.c (clock_gettime): Rename to
1910 __clock_gettime. Add weak_alias and libc_hidden_def.
1911 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1912 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1913 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1914 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1915 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1917 * rt/clock_settime.c (clock_settime): Rename to
1918 __clock_settime. Add weak_alias and libc_hidden_def.
1919 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1921 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1923 * mach/err_boot.sub: Remove trailing whitespace.
1924 * mach/err_ipc.sub: Likewise.
1925 * mach/err_mach.sub: Likewise.
1927 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1928 (ROUNDING_TESTS_double): Likewise.
1929 (ROUNDING_TESTS_long_double): Likewise.
1930 (ROUNDING_TESTS): Likewise.
1931 * math/libm-test.inc: Include <math-tests.h>.
1932 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1933 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1934 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1935 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1937 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1939 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1942 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1945 otherwise empty TRANS lines.
1946 * sysdeps/gnu/errlist.c: Regenerated.
1948 * catgets/gencat.c (error_print): Use (void) in function
1950 * crypt/crypt_util.c (__init_des): Likewise.
1951 * crypt/speeds.c (Stop): Likewise.
1953 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1954 * inet/ruserpass.c (token): Likewise.
1955 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1956 * intl/localealias.c (extend_alias_table): Likewise.
1957 * intl/plural-exp.c (init_germanic_plural): Likewise.
1958 * libio/fcloseall.c (__fcloseall): Likewise.
1959 * libio/genops.c (_IO_flush_all): Likewise.
1960 (_IO_flush_all_linebuffered): Likewise.
1961 (_IO_cleanup): Likewise.
1962 (_IO_iter_begin): Likewise.
1963 (_IO_iter_end): Likewise.
1964 (_IO_list_lock): Likewise.
1965 (_IO_list_unlock): Likewise.
1966 (_IO_list_resetlock): Likewise.
1967 * libio/getchar.c (getchar): Likewise.
1968 * libio/getchar_u.c (getchar_unlocked): Likewise.
1969 * libio/getwchar.c (getwchar): Likewise.
1970 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1971 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1972 * login/getpt.c (__getpt): Likewise.
1973 * login/tst-utmp.c (main): Likewise.
1974 * malloc/hooks.c (__malloc_check_init): Likewise.
1975 * malloc/malloc.c (__malloc_stats): Likewise.
1976 * malloc/mtrace.c (tr_break): Likewise.
1978 (muntrace): Likewise.
1979 * misc/fstab.c (endfsent): Likewise.
1980 * misc/getclktck.c (__getclktck): Likewise.
1981 * misc/getdtsz.c (__getdtablesize): Likewise.
1982 * misc/gethostid.c (gethostid): Likewise.
1983 * misc/getpagesize.c (__getpagesize): Likewise.
1984 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1985 (__get_nprocs): Likewise.
1986 (__get_phys_pages): Likewise.
1987 (__get_avphys_pages): Likewise.
1988 * misc/getttyent.c (getttyent): Likewise.
1989 (setttyent): Likewise.
1990 (endttyent): Likewise.
1991 * misc/getusershell.c (getusershell): Likewise.
1992 (endusershell): Likewise.
1993 (setusershell): Likewise.
1994 (initshells): Likewise.
1995 * misc/hsearch.c (__hdestroy): Likewise.
1996 * misc/sync.c (sync): Likewise.
1997 * misc/syslog.c (closelog_internal): Likewise.
1998 (closelog): Likewise.
1999 * misc/ttyslot.c (ttyslot): Likewise.
2000 * misc/vhangup.c (vhangup): Likewise.
2001 * posix/fork.c (__fork): Likewise.
2002 * posix/getegid.c (__getegid): Likewise.
2003 * posix/geteuid.c (__geteuid): Likewise.
2004 * posix/getgid.c (__getgid): Likewise.
2005 * posix/getpid.c (__getpid): Likewise.
2006 * posix/getppid.c (__getppid): Likewise.
2007 * posix/getuid.c (__getuid): Likewise.
2008 * posix/pause.c (pause): Likewise.
2009 * posix/setpgrp.c (setpgrp): Likewise.
2010 * posix/setsid.c (__setsid): Likewise.
2011 * posix/test-vfork.c (noop): Likewise.
2012 * resolv/gethnamaddr.c (_endhtent): Likewise.
2013 (_gethtent): Likewise.
2014 (ht_endhostent): Likewise.
2015 (gethostent): Likewise.
2016 (dns_service): Likewise.
2017 * stdlib/drand48.c (drand48): Likewise.
2018 * stdlib/lrand48.c (lrand48): Likewise.
2019 * stdlib/mrand48.c (mrand48): Likewise.
2020 * stdlib/rand.c (rand): Likewise.
2021 * stdlib/random.c (__random): Likewise.
2022 * stdlib/setenv.c (clearenv): Likewise.
2023 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2024 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2025 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2026 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2027 (__get_nprocs): Likewise.
2028 (__get_phys_pages): Likewise.
2029 (__get_avphys_pages): Likewise.
2030 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2031 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2032 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2033 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2034 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2035 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2036 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2037 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2038 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2039 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2040 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2041 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2042 * sysdeps/posix/clock.c (clock): Likewise.
2043 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2044 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2045 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2046 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2047 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2049 (__get_nprocs_conf): Likewise.
2050 (__get_phys_pages): Likewise.
2051 (__get_avphys_pages): Likewise.
2052 * time/clock.c (clock): Likewise.
2053 * time/tzset.c (__tzname_max): Likewise.
2055 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2057 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2058 (__bswap_32): Do not use "register".
2059 * crypt/crypt.c (_ufc_doit_r): Likewise.
2060 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2061 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2062 * gmon/gmon.c (__monstartup): Likewise.
2063 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2064 * hurd/hurdmalloc.c (more_memory): Likewise.
2067 (realloc): Likewise.
2068 (malloc_fork_prepare): Likewise.
2069 (malloc_fork_parent): Likewise.
2070 (malloc_fork_child): Likewise.
2071 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2072 (_svcauth_des): Likewise.
2073 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2074 * inet/inet_net.c (inet_network): Likewise.
2075 * inet/inet_netof.c (inet_netof): Likewise.
2076 * inet/rcmd.c (__validuser2_sa): Likewise.
2077 * io/fts.c (fts_open): Likewise.
2078 (fts_load): Likewise.
2079 (fts_close): Likewise.
2080 (fts_read): Likewise.
2081 (fts_children): Likewise.
2082 (fts_build): Likewise.
2083 (fts_stat): Likewise.
2084 (fts_sort): Likewise.
2085 (fts_alloc): Likewise.
2086 (fts_lfree): Likewise.
2087 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2088 (_IO_file_xsgetn): Likewise.
2089 (_IO_file_xsgetn_mmap): Likewise.
2090 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2091 (_IO_cookie_write): Likewise.
2092 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2093 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2094 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2095 * malloc/obstack.c (_obstack_begin): Likewise.
2096 (_obstack_begin_1): Likewise.
2097 (_obstack_newchunk): Likewise.
2098 (_obstack_allocated_p): Likewise.
2099 (obstack_free): Likewise.
2100 (_obstack_memory_used): Likewise.
2101 * misc/getttyent.c (getttynam): Likewise.
2102 (getttyent): Likewise.
2105 * misc/getusershell.c (initshells): Likewise.
2106 * misc/syslog.c (__vsyslog_chk): Likewise.
2107 * misc/ttyslot.c (ttyslot): Likewise.
2108 * nis/nis_hash.c (__nis_hash): Likewise.
2109 * posix/fnmatch_loop.c (FCT): Likewise.
2110 * posix/getconf.c (print_all): Likewise.
2112 * posix/getopt.c (exchange): Likewise.
2113 * posix/glob.c (globfree): Likewise.
2114 (prefix_array): Likewise.
2115 (__glob_pattern_type): Likewise.
2116 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2117 (NS_GET32): Likewise.
2118 (NS_PUT16): Likewise.
2119 (NS_PUT32): Likewise.
2120 * resolv/gethnamaddr.c (getanswer): Likewise.
2121 (gethostbyname2): Likewise.
2122 (gethostbyaddr): Likewise.
2123 (_gethtent): Likewise.
2124 (_gethtbyname2): Likewise.
2125 (_gethtbyaddr): Likewise.
2126 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2127 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2128 * resolv/res_init.c (__res_vinit): Likewise.
2129 (net_mask): Likewise.
2130 * resolv/res_mkquery.c (outchar): Likewise.
2132 * stdio-common/printf_fp.c (outchar): Likewise.
2134 * stdio-common/printf_fphex.c (outchar): Likewise.
2136 * stdio-common/printf_size.c (outchar): Likewise.
2138 * stdio-common/test_rdwr.c (main): Likewise.
2139 * stdio-common/tfformat.c (matches): Likewise.
2140 * stdio-common/vfprintf.c (outchar): Likewise.
2141 (printf_unknown): Likewise.
2142 (buffered_vfprintf): Likewise.
2143 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2144 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2145 (ReadFile): Likewise.
2146 * stdlib/qsort.c (SWAP): Likewise.
2147 (_quicksort): Likewise.
2148 * stdlib/setenv.c (__add_to_environ): Likewise.
2149 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2150 * stdlib/strtol_l.c (__strtol_l): Likewise.
2151 * stdlib/tst-strtod.c (main): Likewise.
2152 * stdlib/tst-strtol.c (main): Likewise.
2153 * stdlib/tst-strtoll.c (main): Likewise.
2154 * string/bits/string2.h (__strcmp_cc): Likewise.
2155 (__strcmp_cg): Likewise.
2156 (__strcspn_c1): Likewise.
2157 (__strcspn_c2): Likewise.
2158 (__strcspn_c3): Likewise.
2159 (__strspn_c1): Likewise.
2160 (__strspn_c2): Likewise.
2161 (__strspn_c3): Likewise.
2162 (__strsep_1c): Likewise.
2163 (__strsep_2c): Likewise.
2164 (__strsep_3c): Likewise.
2165 * string/memccpy.c (__memccpy): Likewise.
2166 * string/stpcpy.c (__stpcpy): Likewise.
2167 * string/strcmp.c (strcmp): Likewise.
2168 * string/strrchr.c (strrchr): Likewise.
2169 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2171 * sysdeps/mach/hurd/getcwd.c
2172 (_hurd_canonicalize_directory_name_internal): Likewise.
2173 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2174 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2175 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2176 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2177 Likewise, in both definitions.
2178 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2180 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2181 64] (__bswap_64): Likewise.
2182 * time/test_time.c (main): Likewise.
2183 * time/tzfile.c (__tzfile_read): Likewise.
2184 (__tzfile_compute): Likewise.
2185 * time/tzset.c (__tzset_parse_tz): Likewise.
2186 (tzset_internal): Likewise.
2187 (compute_change): Likewise.
2188 * wcsmbs/wcscat.c (__wcscat): Likewise.
2189 * wcsmbs/wcschr.c (wcschr): Likewise.
2190 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2191 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2192 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2193 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2194 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2195 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2196 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2197 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2198 * wcsmbs/wmemset.c (wmemset): Likewise.
2200 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2202 * scripts/config.guess: Update to version 2013-05-16.
2203 * scripts/config.sub: Update to version 2013-04-24.
2204 * scripts/install-sh: Update to version 2011-11-20.07.
2205 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2206 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2208 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2210 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2211 * elf/sln.c: Likewise.
2212 * hurd/hurd/ioctl.h: Likewise.
2213 * hurd/hurdmalloc.c: Likewise.
2214 * hurd/xattr.c: Likewise.
2215 * include/shlib-compat.h: Likewise.
2216 * inet/ruserpass.c: Likewise.
2217 * libio/iofgets_u.c: Likewise.
2218 * libio/iofgetws_u.c: Likewise.
2219 * locale/programs/ld-identification.c: Likewise.
2220 * locale/programs/ld-time.c: Likewise.
2221 * mach/msg-destroy.c: Likewise.
2222 * nss/nss_files/files-netgrp.c: Likewise.
2223 * resolv/res_data.c: Likewise.
2224 * soft-fp/op-1.h: Likewise.
2225 * soft-fp/op-2.h: Likewise.
2226 * soft-fp/op-4.h: Likewise.
2227 * soft-fp/op-common.h: Likewise.
2228 * stdio-common/printf_fphex.c: Likewise.
2229 * stdlib/strtod_l.c: Likewise.
2230 * sunrpc/rpc/clnt.h: Likewise.
2231 * sysdeps/generic/framestate.c: Likewise.
2232 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2233 * sysdeps/i386/bsd-setjmp.S: Likewise.
2234 * sysdeps/i386/__longjmp.S: Likewise.
2235 * sysdeps/i386/setjmp.S: Likewise.
2236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2238 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2254 * sysdeps/ieee754/support.c: Likewise.
2255 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2256 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2257 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2258 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2259 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2260 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2261 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2262 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2263 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2264 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2265 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2266 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2268 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2269 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2270 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2271 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2274 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2276 * posix/transbug.c: Remove executable mode.
2278 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2280 * crypt/speeds.c: Remove trailing whitespace.
2281 * dlfcn/default.c: Likewise.
2282 * elf/ifuncdep2.c: Likewise.
2283 * elf/ifuncmain1.c: Likewise.
2284 * elf/ifuncmain1vis.c: Likewise.
2285 * elf/testobj.h: Likewise.
2286 * elf/tst-stackguard1.c: Likewise.
2287 * gmon/sys/gmon.h: Likewise.
2288 * hurd/hurdmsg.c: Likewise.
2289 * hurd/new-fd.c: Likewise.
2290 * hurd/ports-get.c: Likewise.
2291 * iconvdata/ibm1008_420.c: Likewise.
2292 * inet/tst-getni1.c: Likewise.
2293 * inet/tst-getni2.c: Likewise.
2294 * libio/ioungetc.c: Likewise.
2295 * libio/wfiledoalloc.c: Likewise.
2296 * manual/libm-err-tab.pl: Likewise.
2297 * math/w_dremf.c: Likewise.
2298 * misc/ftruncate.c: Likewise.
2299 * posix/bug-glob2.c: Likewise.
2300 * posix/tst-pcre.c: Likewise.
2301 * posix/wait4.c: Likewise.
2302 * resolv/README: Likewise.
2303 * resolv/res_debug.h: Likewise.
2304 * resolv/tst-inet_ntop.c: Likewise.
2305 * setjmp/bug269-setjmp.c: Likewise.
2306 * soft-fp/extended.h: Likewise.
2307 * soft-fp/op-1.h: Likewise.
2308 * soft-fp/op-2.h: Likewise.
2309 * soft-fp/op-4.h: Likewise.
2310 * soft-fp/op-8.h: Likewise.
2311 * soft-fp/testit.c: Likewise.
2312 * stdio-common/bug16.c: Likewise.
2313 * stdlib/random.c: Likewise.
2314 * sunrpc/rpcsvc/rquota.x: Likewise.
2315 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2316 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2318 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2319 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2320 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2321 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2324 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2343 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2344 * sysdeps/ieee754/s_lib_version.c: Likewise.
2345 * sysdeps/mach/hurd/check_fds.c: Likewise.
2346 * sysdeps/mach/hurd/getsockname.c: Likewise.
2347 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2348 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2349 * sysdeps/powerpc/bits/link.h: Likewise.
2350 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2351 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2352 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2353 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2354 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2355 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2356 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2358 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2359 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2360 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2361 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2362 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2363 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2364 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2365 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2367 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2368 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2369 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2370 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2371 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2372 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2373 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2374 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2375 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2376 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2378 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2380 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2381 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2382 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2384 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2389 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2391 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2393 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2394 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2396 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2397 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2398 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2399 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2402 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2403 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2404 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2405 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2406 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2407 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2410 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2411 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2413 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2414 * sysdeps/powerpc/sysdep.h: Likewise.
2415 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2416 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2417 * sysdeps/sh/dl-trampoline.S: Likewise.
2418 * sysdeps/sh/memset.S: Likewise.
2419 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2420 * sysdeps/sh/strlen.S: Likewise.
2421 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2422 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2423 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2424 * sysdeps/sparc/sparc32/rem.S: Likewise.
2425 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2426 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2427 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2428 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2429 * sysdeps/sparc/sparc32/urem.S: Likewise.
2430 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2431 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2432 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2433 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2434 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2435 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2436 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2437 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2438 * sysdeps/unix/bsd/times.c: Likewise.
2439 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2440 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2444 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2449 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2450 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2451 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2452 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2453 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2454 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2455 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2456 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2457 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2458 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2459 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2460 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2461 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2462 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2464 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2465 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2467 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2468 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2469 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2470 * sysdeps/x86_64/strcspn.S: Likewise.
2472 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2474 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2475 generated file. Regenerate properly from gen-translit.pl.
2476 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2477 locale/C-translit.h.
2479 2013-06-05 Andreas Schwab <schwab@suse.de>
2482 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2483 week as 6 instead of -1.
2484 * time/tst-strptime.c (day_tests): Add test case.
2486 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2488 * sysdeps/generic/math_private.h
2489 (libc_feholdexcept_setround_53bit): Replace with
2490 libc_feholdsetround_53bit.
2491 (libc_feupdateenv_53bit): Replace with
2492 libc_feresetround_53bit.
2493 (SET_RESTORE_ROUND_53BIT): Adjust.
2495 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2497 * string/test-strchrnul.c: Add copyright header.
2499 * posix/tst-getaddrinfo4.c: Increase test timeout.
2501 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2504 * math/libm-test.inc (MAX_EXP): Remove
2506 (ulp): Use MIN_EXP - MANT_DIG.
2507 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2509 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2511 * po/be.po: Revert last change.
2512 * po/zh_CN.po: Likewise.
2513 * po/header.pot: Likewise.
2515 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2517 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2518 link-libc-deps to empty as target-specific variable.
2519 * Makerules (link-libc-args): New variable.
2520 (libc-for-link): Likewise.
2521 (link-libc-deps): Likewise.
2522 (lib%.so): Depend on $(link-libc-deps). Link with
2524 (build-module): Link with $(link-libc-args).
2525 (build-module-asneeded): Likewise.
2526 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2528 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2529 target-specific variable.
2530 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2531 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2532 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2534 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2536 ($(objpfx)libpcprofile.so): Likewise.
2537 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2539 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2540 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2541 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2543 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2544 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2545 * login/Makefile ($(objpfx)libutil.so): Likewise.
2546 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2547 * math/Makefile ($(objpfx)libm.so): Likewise.
2548 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2549 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2550 variable instead of depending directly on libc.
2551 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2552 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2554 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2556 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2557 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2558 ($(objpfx)libanl.so): Likewise.
2559 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2561 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2563 * sysdeps/i386/fpu/Makefile: Remove file.
2564 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2565 ($(objpfx)libm.so): Remove dependency on ld.so.
2567 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2570 * nis/yp_xdr.c (XDRMAXNAME): Define.
2571 (XDRMAXRECORD): Define.
2572 (xdr_domainname): Use XDRMAXNAME.
2573 (xdr_mapname): Likewise.
2574 (xdr_peername): Likewise.
2575 (xdr_keydat): Use XDRMAXRECORD.
2576 (xdr_valdat): Likewise.
2578 2013-05-30 Jeff Law <law@redhat.com>
2581 * manual/errno.texi (ESTALE): Update to account for more than
2582 just NFS file systems.
2583 * sysdeps/gnu/errlist.c: Regenerated.
2585 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2588 * elf/Makefile (tests): Add tst-null-argv.
2589 (modules-names): Add tst-null-argv-lib.
2590 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2591 (tst-null-argv-ENV): Set environment for tst-null-argv.
2592 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2593 (RTLD_PROGNAME): New macro.
2594 * elf/tst-null-argv.c: New test case.
2595 * elf/tst-null-argv-lib.c: Library for test case.
2596 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2597 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2598 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2599 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2600 * elf/dl-init.c (call_init): Likewise.
2601 (_dl_init): Likewise.
2602 * elf/dl-load.c (print_search_path): Likewise.
2603 (_dl_map_object): Likewise.
2604 * elf/dl-lookup.c (do_lookup_x): Likewise.
2605 (add_dependency): Likewise.
2606 (_dl_lookup_symbol_x): Likewise.
2607 (_dl_debug_bindings): Likewise.
2608 * elf/dl-open.c (_dl_show_scope): Likewise.
2609 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2610 * elf/dl-version.c (match_symbol): Likewise.
2611 (_dl_check_map_versions): Likewise.
2612 * elf/rtld.c (dl_main): Likewise.
2613 (print_unresolved): Use RTLD_PROGNAME.
2614 (print_missing_version): Likewise.
2615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2616 (elf_machine_rela): Likewise.
2617 * sysdeps/powerpc/powerpc32/dl-machine.c
2618 (__process_machine_rela): Likewise.
2619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2623 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2625 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2632 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2634 * po/be.po: Add descriptive title.
2635 * po/zh_CN.po: Likewise.
2636 * po/header.pot: Likewise.
2638 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2640 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2642 (enlarge_archive): Likewise.
2644 2013-05-28 Ben North <ben@redfrontdoor.org>
2646 * manual/arith.texi (frexp): It is the magnitude of the return
2647 value which lies in [0.5, 1), not the return value itself.
2649 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2653 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2655 * stdio-common/bug26.c (main): Correct fscanf template.
2657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2658 declare _dl_skip_args.
2660 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2663 * manual/platform.texi: Add missing @end deftypefun.
2665 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2668 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2669 bit of mantissa of 2^16382.
2670 * math/libm-test.inc (hypot_test_data): Add more tests.
2672 * math/libm-test.inc: Add drem and pow10 to list of tested
2674 (pow10_test): New function.
2675 (drem_test): Likewise.
2676 (drem_test_tonearest): Likewise.
2677 (drem_test_towardzero): Likewise.
2678 (drem_test_downward): Likewise.
2679 (drem_test_upward): Likewise.
2680 (main): Call the new functions.
2682 * math/libm-test.inc (finite_test_data): Remove.
2683 (finite_test): Run tests from isfinite_test_data.
2684 (gamma_test_data): Remove.
2685 (gamma_test): Run tests from lgamma_test_data.
2686 * sysdeps/i386/fpu/libm-test-ulps: Update.
2687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2689 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691 * manual/platform.texi: Add PowerPC PPR function set documentation.
2692 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2695 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2697 * math/libm-test.inc (MAX_EXP): Define.
2699 (ulp): New function.
2700 (check_float_internal): Use ULPDIFF.
2701 (cpow_test): Disable failing test.
2702 (check_ulp): Test ulp() implemetnation.
2703 (main): Call check_ulp before starting tests.
2705 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2707 * math/gen-libm-test.pl (generate_testfile): Do not handle
2708 START_DATA and END_DATA.
2709 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2711 (acos_tonearest_test_data): Likewise.
2712 (acos_towardzero_test_data): Likewise.
2713 (acos_downward_test_data): Likewise.
2714 (acos_upward_test_data): Likewise.
2715 (acosh_test_data): Likewise.
2716 (asin_test_data): Likewise.
2717 (asin_tonearest_test_data): Likewise.
2718 (asin_towardzero_test_data): Likewise.
2719 (asin_downward_test_data): Likewise.
2720 (asin_upward_test_data): Likewise.
2721 (asinh_test_data): Likewise.
2722 (atan_test_data): Likewise.
2723 (atanh_test_data): Likewise.
2724 (atan2_test_data): Likewise.
2725 (cabs_test_data): Likewise.
2726 (cacos_test_data): Likewise.
2727 (cacosh_test_data): Likewise.
2728 (carg_test_data): Likewise.
2729 (casin_test_data): Likewise.
2730 (casinh_test_data): Likewise.
2731 (catan_test_data): Likewise.
2732 (catanh_test_data): Likewise.
2733 (cbrt_test_data): Likewise.
2734 (ccos_test_data): Likewise.
2735 (ccosh_test_data): Likewise.
2736 (ceil_test_data): Likewise.
2737 (cexp_test_data): Likewise.
2738 (cimag_test_data): Likewise.
2739 (clog_test_data): Likewise.
2740 (clog10_test_data): Likewise.
2741 (conj_test_data): Likewise.
2742 (copysign_test_data): Likewise.
2743 (cos_test_data): Likewise.
2744 (cos_tonearest_test_data): Likewise.
2745 (cos_towardzero_test_data): Likewise.
2746 (cos_downward_test_data): Likewise.
2747 (cos_upward_test_data): Likewise.
2748 (cosh_test_data): Likewise.
2749 (cosh_tonearest_test_data): Likewise.
2750 (cosh_towardzero_test_data): Likewise.
2751 (cosh_downward_test_data): Likewise.
2752 (cosh_upward_test_data): Likewise.
2753 (cpow_test_data): Likewise.
2754 (cproj_test_data): Likewise.
2755 (creal_test_data): Likewise.
2756 (csin_test_data): Likewise.
2757 (csinh_test_data): Likewise.
2758 (csqrt_test_data): Likewise.
2759 (ctan_test_data): Likewise.
2760 (ctan_tonearest_test_data): Likewise.
2761 (ctan_towardzero_test_data): Likewise.
2762 (ctan_downward_test_data): Likewise.
2763 (ctan_upward_test_data): Likewise.
2764 (ctanh_test_data): Likewise.
2765 (ctanh_tonearest_test_data): Likewise.
2766 (ctanh_towardzero_test_data): Likewise.
2767 (ctanh_downward_test_data): Likewise.
2768 (ctanh_upward_test_data): Likewise.
2769 (erf_test_data): Likewise.
2770 (erfc_test_data): Likewise.
2771 (exp_test_data): Likewise.
2772 (exp_tonearest_test_data): Likewise.
2773 (exp_towardzero_test_data): Likewise.
2774 (exp_downward_test_data): Likewise.
2775 (exp_upward_test_data): Likewise.
2776 (exp10_test_data): Likewise.
2777 (exp2_test_data): Likewise.
2778 (expm1_test_data): Likewise.
2779 (fabs_test_data): Likewise.
2780 (fdim_test_data): Likewise.
2781 (finite_test_data): Likewise.
2782 (floor_test_data): Likewise.
2783 (fma_test_data): Likewise.
2784 (fma_towardzero_test_data): Likewise.
2785 (fma_downward_test_data): Likewise.
2786 (fma_upward_test_data): Likewise.
2787 (fmax_test_data): Likewise.
2788 (fmin_test_data): Likewise.
2789 (fmod_test_data): Likewise.
2790 (fpclassify_test_data): Likewise.
2791 (frexp_test_data): Likewise.
2792 (gamma_test_data): Likewise.
2793 (hypot_test_data): Likewise.
2794 (ilogb_test_data): Likewise.
2795 (isfinite_test_data): Likewise.
2796 (isgreater_test_data): Likewise.
2797 (isgreaterequal_test_data): Likewise.
2798 (isinf_test_data): Likewise.
2799 (isless_test_data): Likewise.
2800 (islessequal_test_data): Likewise.
2801 (islessgreater_test_data): Likewise.
2802 (isnan_test_data): Likewise.
2803 (isnormal_test_data): Likewise.
2804 (issignaling_test_data): Likewise.
2805 (isunordered_test_data): Likewise.
2806 (j0_test_data): Likewise.
2807 (j1_test_data): Likewise.
2808 (jn_test_data): Likewise.
2809 (ldexp_test_data): Likewise.
2810 (lgamma_test_data): Likewise.
2811 (lrint_test_data): Likewise.
2812 (lrint_tonearest_test_data): Likewise.
2813 (lrint_towardzero_test_data): Likewise.
2814 (lrint_downward_test_data): Likewise.
2815 (lrint_upward_test_data): Likewise.
2816 (llrint_test_data): Likewise.
2817 (llrint_tonearest_test_data): Likewise.
2818 (llrint_towardzero_test_data): Likewise.
2819 (llrint_downward_test_data): Likewise.
2820 (llrint_upward_test_data): Likewise.
2821 (log_test_data): Likewise.
2822 (log10_test_data): Likewise.
2823 (log1p_test_data): Likewise.
2824 (log2_test_data): Likewise.
2825 (logb_test_data): Likewise.
2826 (logb_downward_test_data): Likewise.
2827 (lround_test_data): Likewise.
2828 (llround_test_data): Likewise.
2829 (modf_test_data): Likewise.
2830 (nearbyint_test_data): Likewise.
2831 (nextafter_test_data): Likewise.
2832 (nexttoward_test_data): Likewise.
2833 (pow_test_data): Likewise.
2834 (pow_tonearest_test_data): Likewise.
2835 (pow_towardzero_test_data): Likewise.
2836 (pow_downward_test_data): Likewise.
2837 (pow_upward_test_data): Likewise.
2838 (remainder_test_data): Likewise.
2839 (remainder_tonearest_test_data): Likewise.
2840 (remainder_towardzero_test_data): Likewise.
2841 (remainder_downward_test_data): Likewise.
2842 (remainder_upward_test_data): Likewise.
2843 (remquo_test_data): Likewise.
2844 (rint_test_data): Likewise.
2845 (rint_tonearest_test_data): Likewise.
2846 (rint_towardzero_test_data): Likewise.
2847 (rint_downward_test_data): Likewise.
2848 (rint_upward_test_data): Likewise.
2849 (round_test_data): Likewise.
2850 (scalb_test_data): Likewise.
2851 (scalbn_test_data): Likewise.
2852 (scalbln_test_data): Likewise.
2853 (signbit_test_data): Likewise.
2854 (sin_test_data): Likewise.
2855 (sin_tonearest_test_data): Likewise.
2856 (sin_towardzero_test_data): Likewise.
2857 (sin_downward_test_data): Likewise.
2858 (sin_upward_test_data): Likewise.
2859 (sincos_test_data): Likewise.
2860 (sinh_test_data): Likewise.
2861 (sinh_tonearest_test_data): Likewise.
2862 (sinh_towardzero_test_data): Likewise.
2863 (sinh_downward_test_data): Likewise.
2864 (sinh_upward_test_data): Likewise.
2865 (sqrt_test_data): Likewise.
2866 (tan_test_data): Likewise.
2867 (tan_tonearest_test_data): Likewise.
2868 (tan_towardzero_test_data): Likewise.
2869 (tan_downward_test_data): Likewise.
2870 (tan_upward_test_data): Likewise.
2871 (tanh_test_data): Likewise.
2872 (tgamma_test_data): Likewise.
2873 (trunc_test_data): Likewise.
2874 (y0_test_data): Likewise.
2875 (y1_test_data): Likewise.
2876 (yn_test_data): Likewise.
2877 (significand_test_data): Likewise.
2879 * math/gen-libm-test.pl (@functions): Remove variable.
2880 (generate_testfile): Don't handle START and END lines.
2881 * math/libm-test.inc (START): New macro.
2883 (END_COMPLEX): Likewise.
2884 (acos_test): Use END macro without arguments.
2885 (acos_test_tonearest): Likewise.
2886 (acos_test_towardzero): Likewise.
2887 (acos_test_downward): Likewise.
2888 (acos_test_upward): Likewise.
2889 (acosh_test): Likewise.
2890 (asin_test): Likewise.
2891 (asin_test_tonearest): Likewise.
2892 (asin_test_towardzero): Likewise.
2893 (asin_test_downward): Likewise.
2894 (asin_test_upward): Likewise.
2895 (asinh_test): Likewise.
2896 (atan_test): Likewise.
2897 (atanh_test): Likewise.
2898 (atan2_test): Likewise.
2899 (cabs_test): Likewise.
2900 (cacos_test): Use END_COMPLEX macro without arguments.
2901 (cacosh_test): Likewise.
2902 (carg_test): Use END macro without arguments.
2903 (casin_test): Use END_COMPLEX macro without arguments.
2904 (casinh_test): Likewise.
2905 (catan_test): Likewise.
2906 (catanh_test): Likewise.
2907 (cbrt_test): Use END macro without arguments.
2908 (ccos_test): Use END_COMPLEX macro without arguments.
2909 (ccosh_test): Likewise.
2910 (ceil_test): Use END macro without arguments.
2911 (cexp_test): Use END_COMPLEX macro without arguments.
2912 (cimag_test): Use END macro without arguments.
2913 (clog_test): Use END_COMPLEX macro without arguments.
2914 (clog10_test): Likewise.
2915 (conj_test): Likewise.
2916 (copysign_test): Use END macro without arguments.
2917 (cos_test): Likewise.
2918 (cos_test_tonearest): Likewise.
2919 (cos_test_towardzero): Likewise.
2920 (cos_test_downward): Likewise.
2921 (cos_test_upward): Likewise.
2922 (cosh_test): Likewise.
2923 (cosh_test_tonearest): Likewise.
2924 (cosh_test_towardzero): Likewise.
2925 (cosh_test_downward): Likewise.
2926 (cosh_test_upward): Likewise.
2927 (cpow_test): Use END_COMPLEX macro without arguments.
2928 (cproj_test): Likewise.
2929 (creal_test): Use END macro without arguments.
2930 (csin_test): Use END_COMPLEX macro without arguments.
2931 (csinh_test): Likewise.
2932 (csqrt_test): Likewise.
2933 (ctan_test): Likewise.
2934 (ctan_test_tonearest): Likewise.
2935 (ctan_test_towardzero): Likewise.
2936 (ctan_test_downward): Likewise.
2937 (ctan_test_upward): Likewise.
2938 (ctanh_test): Likewise.
2939 (ctanh_test_tonearest): Likewise.
2940 (ctanh_test_towardzero): Likewise.
2941 (ctanh_test_downward): Likewise.
2942 (ctanh_test_upward): Likewise.
2943 (erf_test): Use END macro without arguments.
2944 (erfc_test): Likewise.
2945 (exp_test): Likewise.
2946 (exp_test_tonearest): Likewise.
2947 (exp_test_towardzero): Likewise.
2948 (exp_test_downward): Likewise.
2949 (exp_test_upward): Likewise.
2950 (exp10_test): Likewise.
2951 (exp2_test): Likewise.
2952 (expm1_test): Likewise.
2953 (fabs_test): Likewise.
2954 (fdim_test): Likewise.
2955 (finite_test): Likewise.
2956 (floor_test): Likewise.
2957 (fma_test): Likewise.
2958 (fma_test_towardzero): Likewise.
2959 (fma_test_downward): Likewise.
2960 (fma_test_upward): Likewise.
2961 (fmax_test): Likewise.
2962 (fmin_test): Likewise.
2963 (fmod_test): Likewise.
2964 (fpclassify_test): Likewise.
2965 (frexp_test): Likewise.
2966 (gamma_test): Likewise.
2967 (hypot_test): Likewise.
2968 (ilogb_test): Likewise.
2969 (isfinite_test): Likewise.
2970 (isgreater_test): Likewise.
2971 (isgreaterequal_test): Likewise.
2972 (isinf_test): Likewise.
2973 (isless_test): Likewise.
2974 (islessequal_test): Likewise.
2975 (islessgreater_test): Likewise.
2976 (isnan_test): Likewise.
2977 (isnormal_test): Likewise.
2978 (issignaling_test): Likewise.
2979 (isunordered_test): Likewise.
2980 (j0_test): Likewise.
2981 (j1_test): Likewise.
2982 (jn_test): Likewise.
2983 (ldexp_test): Likewise.
2984 (lgamma_test): Likewise.
2985 (lrint_test): Likewise.
2986 (lrint_test_tonearest): Likewise.
2987 (lrint_test_towardzero): Likewise.
2988 (lrint_test_downward): Likewise.
2989 (lrint_test_upward): Likewise.
2990 (llrint_test): Likewise.
2991 (llrint_test_tonearest): Likewise.
2992 (llrint_test_towardzero): Likewise.
2993 (llrint_test_downward): Likewise.
2994 (llrint_test_upward): Likewise.
2995 (log_test): Likewise.
2996 (log10_test): Likewise.
2997 (log1p_test): Likewise.
2998 (log2_test): Likewise.
2999 (logb_test): Likewise.
3000 (logb_test_downward): Likewise.
3001 (lround_test): Likewise.
3002 (llround_test): Likewise.
3003 (modf_test): Likewise.
3004 (nearbyint_test): Likewise.
3005 (nextafter_test): Likewise.
3006 (nexttoward_test): Likewise.
3007 (pow_test): Likewise.
3008 (pow_test_tonearest): Likewise.
3009 (pow_test_towardzero): Likewise.
3010 (pow_test_downward): Likewise.
3011 (pow_test_upward): Likewise.
3012 (remainder_test): Likewise.
3013 (remainder_test_tonearest): Likewise.
3014 (remainder_test_towardzero): Likewise.
3015 (remainder_test_downward): Likewise.
3016 (remainder_test_upward): Likewise.
3017 (remquo_test): Likewise.
3018 (rint_test): Likewise.
3019 (rint_test_tonearest): Likewise.
3020 (rint_test_towardzero): Likewise.
3021 (rint_test_downward): Likewise.
3022 (rint_test_upward): Likewise.
3023 (round_test): Likewise.
3024 (scalb_test): Likewise.
3025 (scalbn_test): Likewise.
3026 (scalbln_test): Likewise.
3027 (signbit_test): Likewise.
3028 (sin_test): Likewise.
3029 (sin_test_tonearest): Likewise.
3030 (sin_test_towardzero): Likewise.
3031 (sin_test_downward): Likewise.
3032 (sin_test_upward): Likewise.
3033 (sincos_test): Likewise.
3034 (sinh_test): Likewise.
3035 (sinh_test_tonearest): Likewise.
3036 (sinh_test_towardzero): Likewise.
3037 (sinh_test_downward): Likewise.
3038 (sinh_test_upward): Likewise.
3039 (sqrt_test): Likewise.
3040 (tan_test): Likewise.
3041 (tan_test_tonearest): Likewise.
3042 (tan_test_towardzero): Likewise.
3043 (tan_test_downward): Likewise.
3044 (tan_test_upward): Likewise.
3045 (tanh_test): Likewise.
3046 (tgamma_test): Likewise.
3047 (trunc_test): Likewise.
3048 (y0_test): Likewise.
3049 (y1_test): Likewise.
3050 (yn_test): Likewise.
3051 (significand_test): Likewise.
3053 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3056 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3058 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3061 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3062 __ppc_mdoio and __ppc_mdoom.
3063 * manual/platform.texi: Document new functions __ppc_yield,
3064 __ppc_mdoio and __ppc_mdoom.
3066 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3068 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3069 (main): Mention "tls" pseudo-hwcap is legacy.
3070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3072 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3074 * math/gen-libm-test.pl (parse_args): Output only string of
3075 arguments as text for test name, not full call or descriptions of
3076 tests for extra outputs.
3077 (generate_testfile): Do not pass function name to parse_args.
3078 Generate this_func variable from START.
3079 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3081 (struct test_ff_f_data): Likewise.
3082 (test_ff_f_data_nexttoward): Likewise.
3083 (struct test_fi_f_data): Likewise.
3084 (struct test_fl_f_data): Likewise.
3085 (struct test_if_f_data): Likewise.
3086 (struct test_fff_f_data): Likewise.
3087 (struct test_c_f_data): Likewise.
3088 (struct test_f_f1_data): Likewise. Remove field extra_name.
3089 (struct test_fF_f1_data): Likewise.
3090 (struct test_ffI_f1_data): Likewise.
3091 (struct test_c_c_data): Rename test_name field to arg_str.
3092 (struct test_cc_c_data): Likewise.
3093 (struct test_f_i_data): Likewise.
3094 (struct test_ff_i_data): Likewise.
3095 (struct test_f_l_data): Likewise.
3096 (struct test_f_L_data): Likewise.
3097 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3099 (COMMON_TEST_SETUP): New macro.
3100 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3101 (COMMON_TEST_CLEANUP): Likewise.
3102 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3103 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3105 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3106 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3108 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3109 (RUN_TEST_fff_f): Take argument string. Call new setup and
3111 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3112 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3114 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3115 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3117 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3118 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3120 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3121 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3123 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3124 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3126 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3127 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3129 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3130 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3132 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3133 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3135 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3136 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3138 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3139 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3141 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3142 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3144 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3145 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3147 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3148 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3150 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3151 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3153 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3154 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3156 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3158 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3160 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3161 to _sifields.sigfault.
3162 (si_addr_lsb): Define new macro.
3163 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3165 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3167 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3170 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3172 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3174 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3177 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3179 * math/gen-libm-test.pl (parse_args): Do not include expected
3180 result in test name.
3181 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3190 * benchtests/Makefile: Sort function entries.
3192 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3193 tanh, asinh, acosh, atanh.
3194 * benchtests/acos-inputs: New file.
3195 * benchtests/acosh-inputs: New file.
3196 * benchtests/asin-inputs: New file.
3197 * benchtests/asinh-inputs: New file.
3198 * benchtests/atanh-inputs: New file.
3199 * benchtests/cosh-inputs: New file.
3200 * benchtests/log-inputs: New file.
3201 * benchtests/sinh-inputs: New file.
3202 * benchtests/tanh-inputs: New file.
3204 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3207 * posix/tst-getaddrinfo4.c: New test.
3208 * posix/Makefile (tests): Add it.
3210 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3213 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3214 when no services were used.
3215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3216 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3218 2013-05-21 Andreas Schwab <schwab@suse.de>
3221 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3222 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3224 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3225 redundant variable declarations and reallocation of buffer when
3226 parsing as IPv6 address. Always set NSS status when called from
3227 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3228 buffer too small. Correct computation of needed size.
3229 * nss/Makefile (tests): Add test-digits-dots.
3230 * nss/test-digits-dots.c: New test.
3232 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3234 * benchtests/Makefile: Remove instructions for adding
3236 * benchtests/README: New file to explain how to execute and
3237 enhance the benchmark tests.
3239 2013-05-21 Andreas Schwab <schwab@suse.de>
3242 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3243 * setjmp/tst-sigsetjmp.c: New test.
3245 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3247 * sysdeps/x86_64/memset.S (memset): New implementation.
3248 (__bzero): Likewise.
3249 (__memset_tail): New function.
3251 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3253 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3254 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3255 __memcpy_sse2_unaligned ifunc selection.
3256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3257 Add memcpy-sse2-unaligned.S.
3258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3259 Add: __memcpy_sse2_unaligned.
3261 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3264 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3265 math_force_eval before restoring floating-point envrionment.
3266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3267 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3271 (__nearbyintl): Use math_force_eval before restoring
3272 floating-point environment.
3273 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3275 * math/gen-libm-test.pl (special_functions): Remove.
3276 (parse_args): Don't handle TEST_extra. Handle functions with no
3278 * math/libm-test.inc (struct test_sincos_data): Replace with
3279 struct test_fFF_11_data.
3280 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3281 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3282 (sincos_test_data): Change element type to struct
3283 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3284 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3285 RUN_TEST_LOOP_sincos.
3286 * math/README.libm-test: Don't mention special handling of
3287 individual functions.
3288 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3290 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3291 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3292 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3295 * math/gen-libm-test.pl (get_variable): Remove function.
3296 (parse_args): Don't show pointer parameters to call in test
3297 names. Use "extra output N" in test names for extra outputs
3298 rather than naming variables.
3300 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3303 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3304 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3305 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3307 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3309 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3312 * math/gen-libm-test.pl (@tests): Remove variable.
3314 (new_test): Remove function.
3315 (show_exceptions): New function.
3316 (special_functions): Use show_exceptions instead of new_test.
3317 (parse_args): Likewise.
3318 (generate_testfile): Pass only function name in generated call to
3319 print_max_error or print_complex_max_error.
3320 (get_ulps): Do not handle complex tests specially.
3321 (output_test): Rename to ...
3322 (get_all_ulps_for_test): ... this. Return a string rather than
3323 printing to a file. Require ulps to be present.
3324 (output_ulps): Generate arrays rather than #defines.
3325 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3326 (struct ulp_data): New type.
3327 (BUILD_COMPLEX_ULP): Remove macro.
3328 (compare_ulp_data): New function.
3329 (find_ulps): Likewise.
3330 (find_test_ulps): Likewise.
3331 (find_function_ulps): Likewise.
3332 (find_complex_function_ulps): Likewise.
3333 (print_max_error): Determine allowed ulps using
3335 (print_complex_max_error): Determine allowed ulps using
3336 find_complex_function_ulps.
3337 (check_float_internal): Determine max ulps using find_test_ulps.
3338 (check_float): Do not take max_ulp parameter. Update call to
3339 check_float_internal.
3340 (check_complex): Likewise.
3341 (check_int): Do not take max_ulp parameter.
3342 (check_long): Likewise.
3343 (check_bool): Likewise.
3344 (check_longlong): Likewise.
3345 (struct test_f_f_data): Remove max_ulp field.
3346 (struct test_ff_f_data): Likewise.
3347 (struct test_ff_f_data_nexttoward): Likewise.
3348 (struct test_fi_f_data): Likewise.
3349 (struct test_fl_f_data): Likewise.
3350 (struct test_if_f_data): Likewise.
3351 (struct test_fff_f_data): Likewise.
3352 (struct test_c_f_data): Likewise.
3353 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3354 (struct test_fF_f1_data): Likewise.
3355 (struct test_ffI_f1_data): Likewise.
3356 (struct test_c_c_data): Remove max_ulp field.
3357 (struct test_cc_c_data): Likewise.
3358 (struct test_f_i_data): Likewise.
3359 (struct test_ff_i_data): Likewise.
3360 (struct test_f_l_data): Likewise.
3361 (struct test_f_L_data): Likewise.
3362 (struct test_sincos_data): Likewise.
3363 (RUN_TEST_f_f): Do not handle ulps.
3364 (RUN_TEST_LOOP_f_f): Likewise.
3365 (RUN_TEST_2_f): Likewise.
3366 (RUN_TEST_LOOP_2_f): Likewise.
3367 (RUN_TEST_fff_f): Likewise.
3368 (RUN_TEST_LOOP_fff_f): Likewise.
3369 (RUN_TEST_c_f): Likewise.
3370 (RUN_TEST_LOOP_c_f): Likewise.
3371 (RUN_TEST_f_f1): Likewise.
3372 (RUN_TEST_LOOP_f_f1): Likewise.
3373 (RUN_TEST_fF_f1): Likewise.
3374 (RUN_TEST_LOOP_fF_f1): Likewise.
3375 (RUN_TEST_fI_f1): Likewise.
3376 (RUN_TEST_LOOP_fI_f1): Likewise.
3377 (RUN_TEST_ffI_f1): Likewise.
3378 (RUN_TEST_LOOP_ffI_f1): Likewise.
3379 (RUN_TEST_c_c): Likewise.
3380 (RUN_TEST_LOOP_c_c): Likewise.
3381 (RUN_TEST_cc_c): Likewise.
3382 (RUN_TEST_LOOP_cc_c): Likewise.
3383 (RUN_TEST_f_i): Likewise.
3384 (RUN_TEST_LOOP_f_i): Likewise.
3385 (RUN_TEST_f_i_tg): Likewise.
3386 (RUN_TEST_LOOP_f_i_tg): Likewise.
3387 (RUN_TEST_ff_i_tg): Likewise.
3388 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3389 (RUN_TEST_f_b): Likewise.
3390 (RUN_TEST_LOOP_f_b): Likewise.
3391 (RUN_TEST_f_b_tg): Likewise.
3392 (RUN_TEST_LOOP_f_b_tg): Likewise.
3393 (RUN_TEST_f_l): Likewise.
3394 (RUN_TEST_LOOP_f_l): Likewise.
3395 (RUN_TEST_f_L): Likewise.
3396 (RUN_TEST_LOOP_f_L): Likewise.
3397 (RUN_TEST_sincos): Likewise.
3398 (RUN_TEST_LOOP_sincos): Likewise.
3400 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3404 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3405 main case of finite arguments, set rounding mode to FE_TONEAREST
3406 and discard exceptions.
3407 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3409 (remainder_tonearest_test_data): New variable.
3410 (remainder_test_tonearest): New function.
3411 (remainder_towardzero_test_data): New variable.
3412 (remainder_test_towardzero): New function.
3413 (remainder_downward_test_data): New variable.
3414 (remainder_test_downward): New function.
3415 (remainder_upward_test_data): New variable.
3416 (remainder_test_upward): New function.
3417 (main): Call the new test functions.
3419 * math/libm-test.inc (struct test_f_f1_data): Remove field
3421 (struct test_fF_f1_data): Likewise.
3422 (struct test_ffI_f1_data): Likewise.
3423 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3424 based on value of EXTRA_EXPECTED.
3425 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3426 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3427 EXTRA_VAR based on value of EXTRA_EXPECTED.
3428 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3429 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3430 EXTRA_VAR based on value of EXTRA_EXPECTED.
3431 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3432 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3433 EXTRA_VAR based on value of EXTRA_EXPECTED.
3434 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3435 * math/gen-libm-test.pl (parse_args): Don't output initializers
3436 for extra output values.
3438 * math/libm-test.inc (check_int): Expect result to be exactly
3439 equal to expected value and do not handle ulps.
3440 (check_long): Likewise.
3441 (check_longlong): Likewise.
3443 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3445 (cimag_test_data): Likewise.
3446 (conj_test_data): Likewise.
3447 (copysign_test_data): Likewise.
3448 (cproj_test_data): Likewise.
3449 (creal_test_data): Likewise.
3450 (fabs_test_data): Likewise.
3451 (fdim_test_data): Likewise.
3452 (finite_test_data): Likewise.
3453 (floor_test_data): Likewise.
3454 (fmax_test_data): Likewise.
3455 (fmin_test_data): Likewise.
3456 (fmod_test_data): Likewise.
3457 (fpclassify_test_data): Likewise.
3458 (frexp_test_data): Likewise.
3459 (ilogb_test_data): Likewise.
3460 (isfinite_test_data): Likewise.
3461 (isgreater_test_data): Likewise.
3462 (isgreaterequal_test_data): Likewise.
3463 (isinf_test_data): Likewise.
3464 (isless_test_data): Likewise.
3465 (islessequal_test_data): Likewise.
3466 (islessgreater_test_data): Likewise.
3467 (isnan_test_data): Likewise.
3468 (isnormal_test_data): Likewise.
3469 (issignaling_test_data): Likewise.
3470 (isunordered_test_data): Likewise.
3471 (ldexp_test_data): Likewise.
3472 (lrint_test_data): Likewise.
3473 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3474 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3475 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3476 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3477 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3478 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3480 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3481 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3482 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3483 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3485 (lrint_downward_test_data): Test for "inexact" exceptions.
3486 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3487 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3488 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3490 (lrint_upward_test_data): Test for "inexact" exceptions.
3491 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3493 (llrint_test_data): Test for "inexact" exceptions.
3494 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3495 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3496 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3497 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3498 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3499 (llrint_downward_test_data): Test for "inexact" exceptions.
3500 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3501 (llrint_upward_test_data): Test for "inexact" exceptions.
3502 (logb_test_data): Likewise.
3503 (logb_downward_test_data): Likewise.
3504 (nextafter_test_data): Likewise.
3505 (nexttoward_test_data): Likewise.
3506 (remainder_test_data): Likewise.
3507 (remquo_test_data): Likewise.
3508 (scalbn_test_data): Likewise.
3509 (scalbln_test_data): Likewise.
3510 (signbit_test_data): Likewise.
3511 (sqrt_test_data): Likewise.
3512 (significand_test_data): Likewise.
3514 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3517 * benchtests/bench-modf.c (struct args): Mark arg0 as
3519 * scripts/bench.pl: Mark members of struct args as volatile.
3521 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3525 negative infinity on POWER6 or lower.
3526 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3528 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3531 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3532 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3533 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3534 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3535 (_FP_SETQNAN): New macro.
3536 (_FP_SETQNAN_SEMIRAW): Likewise.
3537 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3538 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3539 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3540 (FP_EXTEND): Use _FP_FRAC_SNANP.
3541 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3542 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3549 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3551 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3552 with DIVIDE_BY_ZERO_EXCEPTION.
3553 (gamma_test_data): Likewise.
3554 (lgamma_test_data): Likewise.
3555 (log_test_data): Likewise.
3556 (log10_test_data): Likewise.
3557 (log2_test_data): Likewise.
3558 (tgamma_test_data): Likewise.
3560 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3561 (acos_test_tonearest): Likewise.
3562 (acos_test_towardzero): Likewise.
3563 (acos_test_downward): Likewise.
3564 (acos_test_upward): Likewise.
3565 (acosh_test): Likewise.
3566 (asin_test): Likewise.
3567 (asin_test_tonearest): Likewise.
3568 (asin_test_towardzero): Likewise.
3569 (asin_test_downward): Likewise.
3570 (asin_test_upward): Likewise.
3571 (asinh_test): Likewise.
3572 (atan_test): Likewise.
3573 (atanh_test): Likewise.
3574 (atan2_test): Likewise.
3575 (cabs_test): Likewise.
3576 (cacos_test): Likewise.
3577 (cacosh_test): Likewise.
3578 (casin_test): Likewise.
3579 (casinh_test): Likewise.
3580 (catan_test): Likewise.
3581 (catanh_test): Likewise.
3582 (cbrt_test): Likewise.
3583 (ccos_test): Likewise.
3584 (ccosh_test): Likewise.
3585 (cexp_test): Likewise.
3586 (clog_test): Likewise.
3587 (clog10_test): Likewise.
3588 (cos_test): Likewise.
3589 (cos_test_tonearest): Likewise.
3590 (cos_test_towardzero): Likewise.
3591 (cos_test_downward): Likewise.
3592 (cos_test_upward): Likewise.
3593 (cosh_test): Likewise.
3594 (cosh_test_tonearest): Likewise.
3595 (cosh_test_towardzero): Likewise.
3596 (cosh_test_downward): Likewise.
3597 (cosh_test_upward): Likewise.
3598 (cpow_test): Likewise.
3599 (csin_test): Likewise.
3600 (csinh_test): Likewise.
3601 (csqrt_test): Likewise.
3602 (ctan_test): Likewise.
3603 (ctan_test_tonearest): Likewise.
3604 (ctan_test_towardzero): Likewise.
3605 (ctan_test_downward): Likewise.
3606 (ctan_test_upward): Likewise.
3607 (ctanh_test): Likewise.
3608 (ctanh_test_tonearest): Likewise.
3609 (ctanh_test_towardzero): Likewise.
3610 (ctanh_test_downward): Likewise.
3611 (ctanh_test_upward): Likewise.
3612 (erf_test): Likewise.
3613 (erfc_test): Likewise.
3614 (exp_test): Likewise.
3615 (exp_test_tonearest): Likewise.
3616 (exp_test_towardzero): Likewise.
3617 (exp_test_downward): Likewise.
3618 (exp_test_upward): Likewise.
3619 (exp10_test): Likewise.
3620 (exp2_test): Likewise.
3621 (expm1_test): Likewise.
3622 (fmod_test): Likewise.
3623 (gamma_test): Likewise.
3624 (hypot_test): Likewise.
3625 (j0_test): Likewise.
3626 (j1_test): Likewise.
3627 (jn_test): Likewise.
3628 (lgamma_test): Likewise.
3629 (log_test): Likewise.
3630 (log10_test): Likewise.
3631 (log1p_test): Likewise.
3632 (log2_test): Likewise.
3633 (logb_test_downward): Likewise.
3634 (pow_test): Likewise.
3635 (pow_test_tonearest): Likewise.
3636 (pow_test_towardzero): Likewise.
3637 (pow_test_downward): Likewise.
3638 (pow_test_upward): Likewise.
3639 (remainder_test): Likewise.
3640 (remquo_test): Likewise.
3641 (sin_test): Likewise.
3642 (sin_test_tonearest): Likewise.
3643 (sin_test_towardzero): Likewise.
3644 (sin_test_downward): Likewise.
3645 (sin_test_upward): Likewise.
3646 (sincos_test): Likewise.
3647 (sinh_test): Likewise.
3648 (sinh_test_tonearest): Likewise.
3649 (sinh_test_towardzero): Likewise.
3650 (sinh_test_downward): Likewise.
3651 (sinh_test_upward): Likewise.
3652 (sqrt_test): Likewise.
3653 (tan_test): Likewise.
3654 (tan_test_tonearest): Likewise.
3655 (tan_test_towardzero): Likewise.
3656 (tan_test_downward): Likewise.
3657 (tan_test_upward): Likewise.
3658 (tanh_test): Likewise.
3659 (tgamma_test): Likewise.
3660 (y0_test): Likewise.
3661 (y1_test): Likewise.
3662 (yn_test): Likewise.
3664 * math/gen-libm-test.pl (adjust_arg): Remove function.
3665 (special_function): Remove argument $in_func. Only handle
3666 generating output for tables of tests, not inside functions.
3667 (parse_args): Likewise.
3668 (generate_testfile): Remove variable $in_func. Update call to
3670 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3671 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3672 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3673 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3674 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3675 (MAX_VALUE_INIT): Rename macro to max_value.
3676 (MIN_VALUE_INIT): Rename macro to min_value.
3677 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3678 (plus_zero): Remove variable.
3679 (minus_zero): Likewise.
3680 (plus_infty): Likewise.
3681 (minus_infty): Likewise.
3682 (qnan_value): Likewise.
3683 (max_value): Likewise.
3684 (min_value): Likewise.
3685 (min_subnorm_value): Likewise.
3687 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3689 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3690 uint64_t or uint32_t usage.
3691 * crypt/sha256-block.c: Likewise.
3692 * crypt/sha256-crypt.c: Likewise.
3693 * crypt/sha256.c: Likewise.
3694 * crypt/sha512-block.c: Likewise.
3695 * crypt/sha512-crypt.c: Likewise.
3696 * crypt/sha512.c: Likewise.
3697 * debug/backtrace-tst.c: Likewise.
3698 * debug/pcprofiledump.c: Likewise.
3699 * elf/cache.c: Likewise.
3700 * elf/dl-cache.c: Likewise.
3701 * elf/dl-misc.c: Likewise.
3702 * elf/dl-profile.c: Likewise.
3703 * elf/dl-support.c: Likewise.
3704 * elf/ldconfig.c: Likewise.
3705 * elf/sprof.c: Likewise.
3706 * iconv/dummy-repertoire.c: Likewise.
3707 * iconv/iconv_charmap.c: Likewise.
3708 * iconv/skeleton.c: Likewise.
3709 * iconvdata/8bit-generic.c: Likewise.
3710 * iconvdata/cp737.h: Likewise.
3711 * iconvdata/cp775.h: Likewise.
3712 * iconvdata/ibm1008.h: Likewise.
3713 * iconvdata/ibm1025.h: Likewise.
3714 * iconvdata/ibm1046.h: Likewise.
3715 * iconvdata/ibm1097.h: Likewise.
3716 * iconvdata/ibm1112.h: Likewise.
3717 * iconvdata/ibm1122.h: Likewise.
3718 * iconvdata/ibm1123.h: Likewise.
3719 * iconvdata/ibm1124.h: Likewise.
3720 * iconvdata/ibm1129.h: Likewise.
3721 * iconvdata/ibm1130.h: Likewise.
3722 * iconvdata/ibm1132.h: Likewise.
3723 * iconvdata/ibm1133.h: Likewise.
3724 * iconvdata/ibm1137.h: Likewise.
3725 * iconvdata/ibm1140.h: Likewise.
3726 * iconvdata/ibm1141.h: Likewise.
3727 * iconvdata/ibm1142.h: Likewise.
3728 * iconvdata/ibm1143.h: Likewise.
3729 * iconvdata/ibm1144.h: Likewise.
3730 * iconvdata/ibm1145.h: Likewise.
3731 * iconvdata/ibm1146.h: Likewise.
3732 * iconvdata/ibm1147.h: Likewise.
3733 * iconvdata/ibm1148.h: Likewise.
3734 * iconvdata/ibm1149.h: Likewise.
3735 * iconvdata/ibm1153.h: Likewise.
3736 * iconvdata/ibm1154.h: Likewise.
3737 * iconvdata/ibm1155.h: Likewise.
3738 * iconvdata/ibm1156.h: Likewise.
3739 * iconvdata/ibm1157.h: Likewise.
3740 * iconvdata/ibm1158.h: Likewise.
3741 * iconvdata/ibm1160.h: Likewise.
3742 * iconvdata/ibm1161.h: Likewise.
3743 * iconvdata/ibm1162.h: Likewise.
3744 * iconvdata/ibm1163.h: Likewise.
3745 * iconvdata/ibm1164.h: Likewise.
3746 * iconvdata/ibm1166.h: Likewise.
3747 * iconvdata/ibm1167.h: Likewise.
3748 * iconvdata/ibm12712.h: Likewise.
3749 * iconvdata/ibm1390.h: Likewise.
3750 * iconvdata/ibm1399.h: Likewise.
3751 * iconvdata/ibm16804.h: Likewise.
3752 * iconvdata/ibm4517.h: Likewise.
3753 * iconvdata/ibm4899.h: Likewise.
3754 * iconvdata/ibm4909.h: Likewise.
3755 * iconvdata/ibm4971.h: Likewise.
3756 * iconvdata/ibm5347.h: Likewise.
3757 * iconvdata/ibm803.h: Likewise.
3758 * iconvdata/ibm856.h: Likewise.
3759 * iconvdata/ibm901.h: Likewise.
3760 * iconvdata/ibm902.h: Likewise.
3761 * iconvdata/ibm9030.h: Likewise.
3762 * iconvdata/ibm9066.h: Likewise.
3763 * iconvdata/ibm921.h: Likewise.
3764 * iconvdata/ibm922.h: Likewise.
3765 * iconvdata/ibm9448.h: Likewise.
3766 * iconvdata/isiri-3342.h: Likewise.
3767 * iconvdata/jis0201.h: Likewise.
3768 * include/link.h: Likewise.
3769 * include/netdb.h: Likewise.
3770 * inet/check_native.c: Likewise.
3771 * inet/check_pf.c: Likewise.
3772 * inet/getipv4sourcefilter.c: Likewise.
3773 * inet/getnameinfo.c: Likewise.
3774 * inet/getsourcefilter.c: Likewise.
3775 * inet/htonl.c: Likewise.
3776 * inet/setipv4sourcefilter.c: Likewise.
3777 * inet/setsourcefilter.c: Likewise.
3778 * inet/test-inet6_opt.c: Likewise.
3779 * inet/tst-network.c: Likewise.
3780 * locale/C-collate.c: Likewise.
3781 * locale/C-ctype.c: Likewise.
3782 * locale/C-time.c: Likewise.
3783 * locale/C-translit.h: Likewise.
3784 * locale/loadarchive.c: Likewise.
3785 * locale/programs/3level.h: Likewise.
3786 * locale/programs/charmap.c: Likewise.
3787 * locale/programs/charmap.h: Likewise.
3788 * locale/programs/ld-address.c: Likewise.
3789 * locale/programs/ld-collate.c: Likewise.
3790 * locale/programs/ld-ctype.c: Likewise.
3791 * locale/programs/ld-identification.c: Likewise.
3792 * locale/programs/ld-measurement.c: Likewise.
3793 * locale/programs/ld-messages.c: Likewise.
3794 * locale/programs/ld-monetary.c: Likewise.
3795 * locale/programs/ld-name.c: Likewise.
3796 * locale/programs/ld-numeric.c: Likewise.
3797 * locale/programs/ld-paper.c: Likewise.
3798 * locale/programs/ld-telephone.c: Likewise.
3799 * locale/programs/ld-time.c: Likewise.
3800 * locale/programs/linereader.c: Likewise.
3801 * locale/programs/locale.c: Likewise.
3802 * locale/programs/locarchive.c: Likewise.
3803 * locale/programs/locfile.h: Likewise.
3804 * locale/programs/repertoire.c: Likewise.
3805 * locale/programs/simple-hash.c: Likewise.
3806 * locale/programs/simple-hash.h: Likewise.
3807 * malloc/memusage.c: Likewise.
3808 * malloc/memusagestat.c: Likewise.
3809 * nis/nis_defaults.c: Likewise.
3810 * nis/nis_hash.c: Likewise.
3811 * nis/nis_print.c: Likewise.
3812 * nis/nis_xdr.c: Likewise.
3813 * nscd/connections.c: Likewise.
3814 * nscd/hstcache.c: Likewise.
3815 * nscd/nscd_gethst_r.c: Likewise.
3816 * nscd/nscd_getserv_r.c: Likewise.
3817 * nscd/nscd_helper.c: Likewise.
3818 * nscd/servicescache.c: Likewise.
3819 * nss/makedb.c: Likewise.
3820 * nss/nss_db/db-XXX.c: Likewise.
3821 * nss/nss_db/db-initgroups.c: Likewise.
3822 * nss/nss_db/db-netgrp.c: Likewise.
3823 * nss/nss_files/files-network.c: Likewise.
3824 * nss/nss_files/files-parse.c: Likewise.
3825 * posix/bug-regex5.c: Likewise.
3826 * posix/fnmatch_loop.c: Likewise.
3827 * posix/regcomp.c: Likewise.
3828 * posix/regexec.c: Likewise.
3829 * posix/tst-rfc3484-2.c: Likewise.
3830 * posix/tst-rfc3484-3.c: Likewise.
3831 * posix/tst-rfc3484.c: Likewise.
3832 * resolv/nss_dns/dns-canon.c: Likewise.
3833 * resolv/nss_dns/dns-network.c: Likewise.
3834 * resolv/res_init.c: Likewise.
3835 * resolv/res_mkquery.c: Likewise.
3836 * resolv/tst-aton.c: Likewise.
3837 * stdlib/cxa_atexit.c: Likewise.
3838 * stdlib/cxa_finalize.c: Likewise.
3839 * stdlib/gen-fpioconst.c: Likewise.
3840 * stdlib/strtol_l.c: Likewise.
3841 * string/tst-endian.c: Likewise.
3842 * sunrpc/auth_des.c: Likewise.
3843 * sunrpc/clnt_udp.c: Likewise.
3844 * sunrpc/rtime.c: Likewise.
3845 * sunrpc/svcauth_des.c: Likewise.
3846 * sunrpc/xdr.c: Likewise.
3847 * sunrpc/xdr_intXX_t.c: Likewise.
3848 * sunrpc/xdr_rec.c: Likewise.
3849 * sysdeps/generic/ldconfig.h: Likewise.
3850 * sysdeps/generic/ldsodefs.h: Likewise.
3851 * sysdeps/generic/memusage.h: Likewise.
3852 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3862 * sysdeps/posix/getaddrinfo.c: Likewise.
3863 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3864 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3865 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3866 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3867 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3868 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3869 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3870 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3871 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3872 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3873 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3874 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3875 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3876 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3878 * sysdeps/x86_64/dl-tls.h: Likewise.
3879 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3880 * time/alt_digit.c: Likewise.
3881 * time/era.c: Likewise.
3882 * wcsmbs/tst-c16c32-1.c: Likewise.
3884 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3886 * math/libm-test.inc (struct test_sincos_data): New type.
3887 (RUN_TEST_LOOP_sincos): New macro.
3888 (sincos_test_data): New variable.
3889 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3891 2013-05-16 Richard Henderson <rth@redhat.com>
3893 * math/atest-exp2.c (LIMB64): New macro.
3894 (CONSTSZ): New macro.
3895 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3897 (print_mpn_fp): ... to function scope.
3898 (read_mpn_hex): Remove.
3900 (exp2_mpn): Use mp_log2.
3901 (main): Use mp_exp1.
3903 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3905 * math/libm-test.inc: Remove comment about not testing "inexact"
3907 (INEXACT_EXCEPTION): New macro.
3908 (NO_INEXACT_EXCEPTION): Likewise.
3909 (INVALID_EXCEPTION_OK): Update value.
3910 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3911 (OVERFLOW_EXCEPTION_OK): Likewise.
3912 (UNDERFLOW_EXCEPTION_OK): Likewise.
3913 (IGNORE_ZERO_INF_SIGN): Likewise.
3914 (ERRNO_UNCHANGED): Likewise.
3915 (ERRNO_EDOM): Likewise.
3916 (ERRNO_ERANGE): Likewise.
3917 (test_exceptions): Handle testing "inexact" exceptions.
3918 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3919 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3920 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3921 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3923 (rint_towardzero_test_data): Likewise.
3924 (rint_downward_test_data): Likewise.
3925 (rint_upward_test_data): Likewise.
3927 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3928 with OVERFLOW_EXCEPTION.
3929 (exp10_test_data): Likewise.
3930 (exp2_test_data): Likewise.
3931 (expm1_test_data): Likewise.
3932 (lgamma_test_data): Likewise.
3933 (pow_test_data): Likewise.
3934 (tgamma_test_data): Likewise.
3935 (yn_test_data): Remove duplicate test of overflow.
3937 * math/libm-test.inc (struct test_cc_c_data): New type.
3938 (RUN_TEST_LOOP_cc_c): New macro.
3939 (cpow_test_data): New variable.
3940 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3942 * math/libm-test.inc (struct test_f_L_data): New type.
3943 (RUN_TEST_LOOP_f_L): New macro.
3944 (llrint_test_data): New variable.
3945 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3946 (llrint_tonearest_test_data): New variable.
3947 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3948 (llrint_towardzero_test_data): New variable.
3949 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3950 (llrint_downward_test_data): New variable.
3951 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3952 (llrint_upward_test_data): New variable.
3953 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3954 (llround_test_data): New variable.
3955 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3957 2013-05-13 Peter Collingbourne <pcc@google.com>
3959 * math/atest-exp2.c (get_log2): Remove const attribute.
3961 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3963 * math/libm-test.inc (struct test_f_l_data): New type.
3964 (RUN_TEST_LOOP_f_l): New macro.
3965 (lrint_test_data): New variable.
3966 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3967 (lrint_tonearest_test_data): New variable.
3968 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3969 (lrint_towardzero_test_data): New variable.
3970 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3971 (lrint_downward_test_data): New variable.
3972 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3973 (lrint_upward_test_data): New variable.
3974 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3975 (lround_test_data): New variable.
3976 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3978 2013-05-15 Peter Collingbourne <pcc@google.com>
3980 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3981 (EXTRACT_WORDS64) Use where appropriate.
3982 (INSERT_WORDS64) Likewise.
3984 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3985 constraints with x constraints.
3986 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3988 * malloc/obstack.c (_obstack_compat): Add initializer.
3990 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3993 si_trapno and add si_addr_lsb to _sifields.sigfault.
3994 (si_trapno): Remove macro.
3995 (si_addr_lsb): Define new macro.
3996 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3998 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4000 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4001 instead of TEST_f_l.
4002 (llrint_test_tonearest): Likewise.
4003 (llrint_test_towardzero): Likewise.
4004 (llrint_test_downward): Likewise.
4005 (llrint_test_upward): Likewise.
4006 (llround_test): Likewise.
4008 * math/libm-test.inc (struct test_f_i_data): Add comment.
4009 (RUN_TEST_LOOP_f_b): New macro.
4010 (RUN_TEST_LOOP_f_b_tg): Likewise.
4011 (finite_test_data): New variable.
4012 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4013 (isfinite_test_data): New variable.
4014 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4015 (isinf_test_data): New variable.
4016 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4017 (isnan_test_data): New variable.
4018 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4019 (isnormal_test_data): New variable.
4020 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4021 (issignaling_test_data): New variable.
4022 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4023 (signbit_test_data): New variable.
4024 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4026 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4027 with INVALID_EXCEPTION.
4028 (acosh_test_data): Likewise.
4029 (asin_test_data): Likewise.
4030 (atanh_test_data): Likewise.
4031 (fmod_test_data): Likewise.
4032 (log_test_data): Likewise.
4033 (log10_test_data): Likewise.
4034 (log2_test_data): Likewise.
4035 (pow_test_data): Likewise.
4036 (sqrt_test_data): Likewise.
4037 (y0_test_data): Likewise.
4038 (y1_test_data): Likewise.
4039 (yn_test_data): Likewise.
4041 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4044 * math/libm-test.inc (struct test_ff_i_data): New type.
4045 (RUN_TEST_LOOP_ff_i_tg): New macro.
4046 (isgreater_test_data): New variable.
4047 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4048 (isgreaterequal_test_data): New variable.
4049 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4050 (isless_test_data): New variable.
4051 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4052 (islessequal_test_data): New variable.
4053 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4054 (islessgreater_test_data): New variable.
4055 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4056 (isunordered_test_data): New variable.
4057 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4059 2013-05-14 David S. Miller <davem@davemloft.net>
4061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4063 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4065 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4067 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4069 (struct test_f_i_data): Change type of max_ulp to int.
4071 * math/libm-test.inc (test_ffI_f1_data): New type.
4072 (RUN_TEST_LOOP_ffI_f1): New macro.
4073 (remquo_test_data): New variable.
4074 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4076 * setjmp/tst-setjmp-fp.c: New file.
4077 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4078 (link-libm): New variable.
4079 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4081 * math/libm-test.inc (struct test_f_i_data): New type.
4082 (RUN_TEST_LOOP_f_i): New macro.
4083 (RUN_TEST_LOOP_f_i_tg): Likewise.
4084 (fpclassify_test_data): New variable.
4085 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4086 (ilogb_test_data): New variable.
4087 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4089 * math/libm-test.inc (scalbln_test): Correct function name in END
4092 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4093 (RUN_TEST_LOOP_fI_f1): New macro.
4094 (frexp_test_data): New variable.
4095 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4097 * math/libm-test.inc (struct test_fF_f1_data): New type.
4098 (RUN_TEST_LOOP_fF_f1): New macro.
4099 (modf_test_data): New variable.
4100 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4102 * math/libm-test.inc (struct test_f_f1_data): New type.
4103 (RUN_TEST_LOOP_f_f1): New macro.
4104 (gamma_test_data): New variable.
4105 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4106 (lgamma_test_data): New variable.
4107 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4109 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4111 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4112 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4113 (main): Comment "tls" pseudo-hwcap.
4115 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4117 * math/libm-test.inc (struct test_fl_f_data): New type.
4118 (RUN_TEST_LOOP_fl_f): New variable.
4119 (scalbln_test_data): New variable.
4120 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4122 * math/libm-test.inc (struct test_fi_f_data): New type.
4123 (RUN_TEST_LOOP_fi_f): New macro.
4124 (ldexp_test_data): New variable.
4125 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4126 (scalbn_test_data): New variable.
4127 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4129 * math/libm-test.inc (struct test_c_f_data): New type.
4130 (RUN_TEST_LOOP_c_f): New macro.
4131 (cabs_test_data): New variable.
4132 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4133 (carg_test_data): New variable.
4134 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4135 (cimag_test_data): New variable.
4136 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4137 (creal_test_data): New variable.
4138 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4140 * math/libm-test.inc (struct test_if_f_data): New type.
4141 (RUN_TEST_LOOP_if_f): New macro.
4142 (jn_test_data): New variable.
4143 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4144 (yn_test_data): New variable.
4145 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4147 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4149 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4152 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4154 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4156 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4157 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4158 (bench-deps): Add bench-timing.h.
4159 * benchtests-bench-skeleton.c: Include bench-timing.h.
4160 (main): Use TIMING_* macros instead of clock_gettime.
4161 * benchtests/bench-timing.h: New file.
4164 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4165 Renamed from _LIB_VERSION.
4166 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4168 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4170 * math/libm-test.inc (struct test_fff_f_data): New type.
4171 (RUN_TEST_LOOP_fff_f): New macro.
4172 (fma_test_data): New variable.
4173 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4174 (fma_towardzero_test_data): New variable.
4175 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4176 (fma_downward_test_data): New variable.
4177 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4178 (fma_upward_test_data): New variable.
4179 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4181 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4182 (struct test_c_c_data): New type.
4183 (RUN_TEST_LOOP_c_c): New macro.
4184 (cacos_test_data): New variable.
4185 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4186 (cacosh_test_data): New variable.
4187 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4188 (casin_test_data): New variable.
4189 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4190 (casinh_test_data): New variable.
4191 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4192 (catan_test_data): New variable.
4193 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4194 (catanh_test_data): New variable.
4195 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4196 (ccos_test_data): New variable.
4197 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4198 (ccosh_test_data): New variable.
4199 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4200 (cexp_test_data): New variable.
4201 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4202 (clog_test_data): New variable.
4203 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4204 (clog10_test_data): New variable.
4205 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4206 (conj_test_data): New variable.
4207 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4208 (cproj_test_data): New variable.
4209 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4210 (csin_test_data): New variable.
4211 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4212 (csinh_test_data): New variable.
4213 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4214 (csqrt_test_data): New variable.
4215 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4216 (ctan_test_data): New variable.
4217 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4218 (ctan_tonearest_test_data): New variable.
4219 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4220 (ctan_towardzero_test_data): New variable.
4221 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4222 (ctan_downward_test_data): New variable.
4223 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4224 (ctan_upward_test_data): New variable.
4225 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4226 (ctanh_test_data): New variable.
4227 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4228 (ctanh_tonearest_test_data): New variable.
4229 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4230 (ctanh_towardzero_test_data): New variable.
4231 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4232 (ctanh_downward_test_data): New variable.
4233 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4234 (ctanh_upward_test_data): New variable.
4235 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4236 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4239 * math/libm-test.inc (struct test_ff_f_data): New type.
4240 (struct test_ff_f_data_nexttoward): Likewise.
4241 (RUN_TEST_LOOP_2_f): New macro.
4242 (RUN_TEST_LOOP_ff_f): Likewise.
4243 (atan2_test_data): New variable.
4244 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4245 (copysign_test_data): New variable.
4246 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4247 (fdim_test_data): New variable.
4248 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4249 (fmax_test_data): New variable.
4250 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4251 (fmin_test_data): New variable.
4252 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4253 (fmod_test_data): New variable.
4254 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4255 (hypot_test_data): New variable.
4256 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4257 (nextafter_test_data): New variable.
4258 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4259 (nexttoward_test_data): New variable.
4260 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4261 (pow_test_data): New variable.
4262 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4263 (pow_tonearest_test_data): New variable.
4264 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4265 (pow_towardzero_test_data): New variable.
4266 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4267 (pow_downward_test_data): New variable.
4268 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4269 (pow_upward_test_data): New variable.
4270 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4271 (remainder_test_data): New variable.
4272 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4273 (scalb_test_data): New variable.
4274 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4275 * sysdeps/i386/fpu/libm-test-ulps: Update.
4277 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4279 * math/libm-test.inc (fma_test): Use max_value instead of local
4281 (nextafter_test): Likewise.
4283 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4284 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4285 (acos_downward_test_data): New variable.
4286 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4287 (acos_upward_test_data): New variable.
4288 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4289 (acosh_test_data): New variable.
4290 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4291 (asin_test_data): New variable.
4292 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4293 (asin_tonearest_test_data): New variable.
4294 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4295 (asin_towardzero_test_data): New variable.
4296 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4297 (asin_downward_test_data): New variable.
4298 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4299 (asin_upward_test_data): New variable.
4300 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4301 (asinh_test_data): New variable.
4302 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4303 (atan_test_data): New variable.
4304 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4305 (atanh_test_data): New variable.
4306 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4307 (cbrt_test_data): New variable.
4308 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (ceil_test_data): New variable.
4310 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4311 (cos_test_data): New variable.
4312 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4313 (cos_tonearest_test_data): New variable.
4314 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4315 (cos_towardzero_test_data): New variable.
4316 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4317 (cos_downward_test_data): New variable.
4318 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4319 (cos_upward_test_data): New variable.
4320 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4321 (cosh_test_data): New variable.
4322 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4323 (cosh_tonearest_test_data): New variable.
4324 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4325 (cosh_towardzero_test_data): New variable.
4326 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4327 (cosh_downward_test_data): New variable.
4328 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4329 (cosh_upward_test_data): New variable.
4330 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4331 (erf_test_data): New variable.
4332 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4333 (erfc_test_data): New variable.
4334 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4335 (exp_test_data): New variable.
4336 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4337 (exp_tonearest_test_data): New variable.
4338 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4339 (exp_towardzero_test_data): New variable.
4340 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4341 (exp_downward_test_data): New variable.
4342 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4343 (exp_upward_test_data): New variable.
4344 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4345 (exp10_test_data): New variable.
4346 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4347 (exp2_test_data): New variable.
4348 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4349 (expm1_test_data): New variable.
4350 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4351 (fabs_test_data): New variable.
4352 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4353 (floor_test_data): New variable.
4354 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4355 (j0_test_data): New variable.
4356 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4357 (j1_test_data): New variable.
4358 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4359 (log_test_data): New variable.
4360 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4361 (log10_test_data): New variable.
4362 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4363 (log1p_test_data): New variable.
4364 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (log2_test_data): New variable.
4366 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4367 (logb_test_data): New variable.
4368 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4369 (logb_downward_test_data): New variable.
4370 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4371 (nearbyint_test_data): New variable.
4372 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4373 (rint_test_data): New variable.
4374 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4375 (rint_tonearest_test_data): New variable.
4376 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4377 (rint_towardzero_test_data): New variable.
4378 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4379 (rint_downward_test_data): New variable.
4380 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4381 (rint_upward_test_data): New variable.
4382 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4383 (round_test_data): New variable.
4384 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4385 (sin_test_data): New variable.
4386 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4387 (sin_tonearest_test_data): New variable.
4388 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4389 (sin_towardzero_test_data): New variable.
4390 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4391 (sin_downward_test_data): New variable.
4392 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4393 (sin_upward_test_data): New variable.
4394 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4395 (sinh_test_data): New variable.
4396 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4397 (sinh_tonearest_test_data): New variable.
4398 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4399 (sinh_towardzero_test_data): New variable.
4400 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4401 (sinh_downward_test_data): New variable.
4402 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4403 (sinh_upward_test_data): New variable.
4404 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4405 (sqrt_test_data): New variable.
4406 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4407 (tan_test_data): New variable.
4408 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4409 (tan_tonearest_test_data): New variable.
4410 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4411 (tan_towardzero_test_data): New variable.
4412 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4413 (tan_downward_test_data): New variable.
4414 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4415 (tan_upward_test_data): New variable.
4416 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4417 (tanh_test_data): New variable.
4418 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4419 (tgamma_test_data): New variable.
4420 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4421 (trunc_test_data): New variable.
4422 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4423 (y0_test_data): New variable.
4424 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4425 (y1_test_data): New variable.
4426 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4427 (significand_test_data): New variable.
4428 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4430 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4433 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4435 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4437 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4439 2013-05-10 Andreas Jaeger <aj@suse.de>
4442 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4443 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4445 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4447 * math/gen-libm-test.pl (adjust_arg): New function.
4448 (special_functions): Handle generating output in both functions
4450 (parse_args): Likewise.
4451 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4452 $in_func argument to parse_args.
4453 * math/libm-test.inc (struct test_f_f_data): New type.
4454 (IF_ROUND_INIT_): New macro.
4455 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4456 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4457 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4458 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4459 (ROUND_RESTORE_): Likewise.
4460 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4461 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4462 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4463 (ROUND_RESTORE_FE_UPWARD): Likewise.
4464 (RUN_TEST_LOOP_f_f): New macro.
4465 (acos_test_data): New variable.
4466 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4467 (acos_tonearest_test_data): New variable.
4468 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4470 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4472 * benchtests/bench-skeleton.c (startup): Fix coding style.
4474 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4477 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4478 negative infinity argument.
4479 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4480 negative infinity argument.
4481 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4482 negative infinity argument.
4483 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4486 2013-05-10 Florian Weimer <fweimer@redhat.com>
4488 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4489 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4490 * iconv/iconv_prog.c (main): Likewise.
4491 * locale/programs/charmap-dir.c (charmap_readdir)
4492 (fopen_uncompressed): Likewise.
4493 * locale/programs/locfile.c (siblings_uncached)
4494 (write_locale_data): Use lstat64 instead of lstat.
4495 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4498 2013-05-10 Andreas Jaeger <aj@suse.de>
4501 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4505 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4507 * elf/dl-close.c (_dl_close_worker): Add comments.
4509 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4512 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4514 (__ieee754_rem_pio2l): Update comments.
4517 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4519 (__ieee754_rem_pio2l): Update comments.
4521 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4522 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4524 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4527 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4528 (M_PI_34_LOG10El): Likewise.
4529 (M_PI2_LOG10El): Likewise.
4530 (M_PI4_LOG10El): Likewise.
4531 (M_PI_LOG10El): Likewise.
4533 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4537 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4539 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4540 (MINUS_ZERO_INIT): Likewise.
4541 (PLUS_INFTY_INIT): Likewise.
4542 (MINUS_INFTY_INIT): Likewise.
4543 (QNAN_VALUE_INIT): Likewise.
4544 (MAX_VALUE_INIT): Likewise.
4545 (MIN_VALUE_INIT): Likewise.
4546 (MIN_SUBNORM_VALUE_INIT): Likewise.
4547 (plus_zero): Initialize with PLUS_ZERO_INIT.
4548 (minus_zero): Initialize with MINUS_ZERO_INIT.
4549 (plus_infty): Initialize with PLUS_INFTY_INIT.
4550 (minus_infty): Initialize with MINUS_INFTY_INIT.
4551 (qnan_value): Initialize with QNAN_VALUE_INIT.
4552 (max_value): Initialize with MAX_VALUE_INIT.
4553 (min_value): Initialize with MIN_VALUE_INIT.
4554 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4556 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4557 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4558 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4559 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4561 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4562 (RUN_TEST_2_f): Likewise.
4563 (RUN_TEST_ff_f): Likewise.
4564 (RUN_TEST_fi_f): Likewise.
4565 (RUN_TEST_fl_f): Likewise.
4566 (RUN_TEST_fff_f): Likewise.
4567 (RUN_TEST_c_f): Likewise.
4568 (RUN_TEST_f_f1): Likewise.
4569 (RUN_TEST_fF_f1): Likewise.
4570 (RUN_TEST_fI_f1): Likewise.
4571 (RUN_TEST_ffI_f1): Likewise.
4572 (RUN_TEST_c_c): Likewise.
4573 (RUN_TEST_cc_c): Likewise.
4574 (RUN_TEST_f_i): Likewise.
4575 (RUN_TEST_f_i_tg): Likewise.
4576 (RUN_TEST_ff_i_tg): Likewise.
4577 (RUN_TEST_f_b): Likewise.
4578 (RUN_TEST_f_b_tg): Likewise.
4579 (RUN_TEST_f_l): Likewise.
4580 (RUN_TEST_f_L): Likewise.
4581 (RUN_TEST_sincos): Likewise.
4582 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4583 whether to show exceptions. Do not include ");\n" in return
4585 (special_functions): Output call to RUN_TEST_sincos instead of
4586 check_float calls. Update calls to new_test.
4587 (parse_args): Output call to single RUN_TEST_* macro instead of
4588 check_* calls and other assignments. Update calls to new_test.
4594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4595 input to result for tgamma overflow.
4596 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4597 (gamma_coeff): New variable.
4598 (NCOEFF): New macro.
4599 (gamma_positive): New function.
4600 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4601 underflow here. Use gamma_positive instead of exp (lgamma) for
4603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4604 (gamma_coeff): New variable.
4605 (NCOEFF): New macro.
4606 (gammaf_positive): New function.
4607 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4608 underflow here. Use gamma_positive instead of exp (lgamma) for
4610 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4611 (gamma_coeff): New variable.
4612 (NCOEFF): New macro.
4613 (gammal_positive): New function.
4614 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4615 underflow here. Use gamma_positive instead of exp (lgamma) for
4617 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4618 (gamma_coeff): New variable.
4619 (NCOEFF): New macro.
4620 (gammal_positive): New function.
4621 (__ieee754_gammal_r): Handle positive infinity, overflow and
4622 underflow here. Handle NaN the same as positive infinity. Remove
4623 check x < 0xffffffff for negative integers. Use gamma_positive
4624 instead of exp (lgamma) for other arguments.
4625 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4626 (gamma_coeff): New variable.
4627 (NCOEFF): New macro.
4628 (gammal_positive): New function.
4629 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4630 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4634 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4635 * sysdeps/generic/math_private.h (__gamma_productf): New
4637 (__gamma_product): Likewise.
4638 (__gamma_productl): Likewise.
4639 * math/Makefile (libm-calls): Add gamma_product.
4640 * math/libm-test.inc (tgamma_test): Add more tests.
4641 * sysdeps/i386/fpu/libm-test-ulps: Update.
4642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4644 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4646 * benchtests/bench-skeleton.c (main): Preheat CPU.
4648 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4650 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4652 2013-05-07 Roland McGrath <roland@hack.frob.com>
4654 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4655 and _dl_skip_args_internal.
4657 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4659 * manual/message.texi (Message Translation): Talk about users.
4660 Message to key mapping impacts design.
4662 2013-05-06 Roland McGrath <roland@hack.frob.com>
4664 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4666 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4668 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4669 * sysdeps/wordsize-64/glob64.c: ... here.
4671 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4672 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4675 * debug/getlogin_r_chk.c: Moved to ...
4676 * login/getlogin_r_chk.c: ... here.
4677 * debug/Makefile (routines): Move getlogin_r_chk to ...
4678 * login/Makefile (routines): ... here.
4679 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4680 * login/Versions (libc: GLIBC_2.4): ... here.
4682 * io/poll.c (__poll): Renamed from poll.
4683 Add libc_hidden_def.
4684 (poll): Define as weak alias.
4686 * debug/ptsname_r_chk.c: Moved to ...
4687 * login/ptsname_r_chk.c: ... here.
4688 * debug/Makefile (routines): Move ptsname_r_chk to ...
4689 * login/Makefile (routines): ... here.
4690 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4691 * login/Versions (libc: GLIBC_2.4): ... here.
4693 * posix/getlogin.c: Moved to ...
4694 * login/getlogin.c: ... here.
4695 * posix/getlogin_r.c: Moved to ...
4696 * login/getlogin_r.c: ... here.
4697 * posix/getlogin_r.c: Moved to ...
4698 * login/getlogin_r.c: ... here.
4699 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4700 * login/Makefile (routines): ... here.
4701 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4702 * login/Versions (libc: GLIBC_2.0): ... here.
4704 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4705 (setrlimit): Define as weak alias.
4707 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4708 Call __ names for open, ftruncate, and close.
4709 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4710 (truncate): Define as weak alias.
4712 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4714 * math/gen-libm-test.pl (parse_args): Initialize x before each
4715 test of frexp, modf and remquo.
4717 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4720 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4724 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4726 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4728 2013-05-06 Roland McGrath <roland@hack.frob.com>
4730 * elf/dl-writev.h: New file.
4731 * elf/dl-misc.c: Include it.
4732 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4733 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4735 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4737 * math/libm-test.inc (noXFails): Remove variable.
4738 (noXPasses): Likewise.
4739 (BUILD_COMPLEX_INT): Remove macro.
4740 (print_screen): Remove xfail argument.
4741 (print_screen_max_error): Likewise.
4742 (update_stats): Likewise.
4743 (print_max_error): Likewise. Update calls to other affected
4745 (print_complex_max_error): Likewise.
4746 (test_single_exception): Update calls to print_screen.
4747 (test_single_errno): Likewise.
4748 (check_float_internal): Remove xfail argument. Update calls to
4749 other affected functions.
4750 (check_float): Likewise.
4751 (check_complex): Likewise.
4752 (check_int): Likewise.
4753 (check_long): Likewise.
4754 (check_bool): Likewise.
4755 (check_longlong): Likewise.
4756 (main): Don't print noXFails and noXPasses.
4757 * math/gen-libm-test.pl (top level): Don't mention expected
4758 failure handling in comment.
4759 (new_test): Don't handle expected failures.
4760 (parse_args): Don't mention expected failure handling in comment.
4761 (generate_testfile): Don't handle expected failures.
4762 (parse_ulps): Likewise.
4763 (print_ulps_file): Likewise.
4764 (get_failure): Remove function.
4765 (output_test): Don't handle expected failures.
4766 * make/README.libm-test: Don't mention expected failure handling.
4768 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4769 (minus_zero): Likewise.
4770 (plus_infty): Likewise.
4771 (minus_infty): Likewise.
4772 (qnan_value): Likewise.
4773 (max_value): Likewise.
4774 (min_value): Likewise.
4775 (min_subnorm_value): Likewise.
4776 (initialize): Do not initialize those variables dynamically.
4778 2013-05-03 Roland McGrath <roland@hack.frob.com>
4780 * io/open.c (__open_2): Moved to ...
4781 * io/open_2.c: ... this new file.
4782 * io/open64.c (__open64_2): Moved to ...
4783 * io/open64_2.c: ... this new file.
4784 * io/openat.c (__openat_2): Moved to ...
4785 * io/openat_2.c: ... this new file.
4786 * io/openat64.c (__openat64_2): Moved to ...
4787 * io/openat64_2.c: ... this new file.
4788 * io/Makefile (routines): Add them.
4789 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4790 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4791 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4792 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4793 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4794 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4795 (__openat64): Add hidden_ver.
4796 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4797 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4799 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4800 Separately conditionalize setting of GLRO(dl_sysinfo) so
4801 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4802 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4804 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4807 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4809 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4810 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4811 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4812 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4813 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4815 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4817 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4820 * math/libm-test.inc (hypot_test): Do not use
4821 IGNORE_ZERO_INF_SIGN.
4823 2013-05-03 Andreas Jaeger <aj@suse.de>
4825 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4827 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4828 (PF_MAX): Adjust for VSOCK change.
4830 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4834 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4837 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4838 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4839 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4841 2013-05-02 David S. Miller <davem@davemloft.net>
4843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4845 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4847 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4849 2013-05-01 Roland McGrath <roland@hack.frob.com>
4851 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4853 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4856 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4857 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4858 Use __attribute__ ((__gnu_inline__)).
4859 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4860 Don't use __attribute__ ((__gnu_inline__)).
4862 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4865 * math/s_catan.c (__catan): Handle small real or imaginary part of
4866 input specially to avoid spurious underflow.
4867 * math/s_catanf.c (__catanf): Likewise.
4868 * math/s_catanh.c (__catanh): Likewise.
4869 * math/s_catanhf.c (__catanhf): Likewise.
4870 * math/s_catanhl.c (__catanhl): Likewise.
4871 * math/s_catanl.c (__catanl): Likewise.
4872 * math/libm-test.inc (catan_test): Add more tests.
4873 (catanh_test): Likewise.
4874 * sysdeps/i386/fpu/libm-test-ulps: Update.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4881 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4884 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4885 accurately for denominator in atan2.
4886 * math/s_catanf.c (__catanf): Likewise.
4887 * math/s_catanh.c (__catanh): Likewise.
4888 * math/s_catanhf.c (__catanhf): Likewise.
4889 * math/s_catanhl.c (__catanhl): Likewise.
4890 * math/s_catanl.c (__catanl): Likewise.
4891 * math/libm-test.inc (catan_test): Add more tests.
4892 (catanh_test): Likewise.
4893 * sysdeps/i386/fpu/libm-test-ulps: Update.
4894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4896 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4898 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4900 * benchtests/Makefile (bench): Remove slow benchmarks.
4901 * benchtests/atan-inputs: Add slow benchmark inputs.
4902 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4903 (BENCH_FUNC): Accept variant offset.
4905 * benchtests/bench-skeleton.c (main): Run benchmark for each
4907 * benchtests/cos-inputs: Add slow benchmark inputs.
4908 * benchtests/exp-inputs: Likewise.
4909 * benchtests/pow-inputs: Likewise.
4910 * benchtests/sin-inputs: Likewise.
4911 * benchtests/slowatan-inputs: Remove.
4912 * benchtests/slowatan.c: Remove.
4913 * benchtests/slowcos-inputs: Remove.
4914 * benchtests/slowcos.c: Remove.
4915 * benchtests/slowexp-inputs: Remove.
4916 * benchtests/slowexp.c: Remove.
4917 * benchtests/slowpow-inputs: Remove.
4918 * benchtests/slowpow.c: Remove.
4919 * benchtests/slowsin-inputs: Remove.
4920 * benchtests/slowsin.c: Remove.
4921 * benchtests/slowtan-inputs: Remove.
4922 * benchtests/slowtan.c: Remove.
4923 * benchtests/tan-inputs: Add slow benchmark inputs.
4924 * scripts/bench.pl: Parse comments and directives.
4926 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4928 ($(objpfx)bench-%.c): Remove *-ITER.
4929 * benchtests/bench-modf.c: Remove definition of ITER.
4930 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4931 (main): Loop for DURATION seconds instead of fixed number of
4933 * scripts/bench.pl: Don't expect iterations in parameters.
4935 2013-04-29 Roland McGrath <roland@hack.frob.com>
4937 * io/fchdir.c (__fchdir): Renamed from fchdir.
4938 (fchdir): Define as weak alias.
4940 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4942 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4943 (ERRNO_EDOM): Likewise.
4944 (ERRNO_ERANGE): Likewise.
4945 (noErrnoTests): New variable.
4946 (init_max_error): Set errno to 0.
4947 (test_single_errno): New function.
4948 (test_errno): Likewise.
4949 (check_float_internal): Call test_errno. Set errno to 0.
4950 (check_complex): Refer to errno tests in comment.
4951 (check_int): Call test_errno. Set errno to 0.
4952 (check_long): Likewise.
4953 (check_bool): Likewise.
4954 (check_longlong): Likewise.
4955 (cos_test): Use ERRNO_* flags for errno tests instead of
4957 (expm1_test): Likewise.
4958 (fmod_test): Likewise.
4959 (ilogb_test): Likewise.
4960 (lgamma_test): Likewise.
4961 (pow_test): Likewise.
4962 (remainder_test): Likewise.
4963 (sin_test): Likewise.
4964 (tan_test): Likewise.
4965 (yn_test): Likewise.
4966 (initialize): Set errno to 0.
4967 (main): Print number of errno tests.
4968 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4970 2013-04-29 Andreas Jaeger <aj@suse.de>
4973 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4977 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4978 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4982 * stdlib/random.c (__initstate): Return NULL if
4986 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4987 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4990 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4994 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4996 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4997 of individual tests.
4998 (casin_test): Likewise.
4999 (casinh_test): Likewise.
5001 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5004 * math/s_catan.c (__catan): Handle arguments with large real or
5005 imaginary part separately without squaring.
5006 * math/s_catanf.c (__catanf): Likewise.
5007 * math/s_catanh.c (__catanh): Likewise.
5008 * math/s_catanhf.c (__catanhf): Likewise.
5009 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5011 (__catanhl): Handle arguments with large real or imaginary part
5012 separately without squaring.
5013 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5015 (__catanl): Handle arguments with large real or imaginary part
5016 separately without squaring.
5017 * math/libm-test.inc (catan_test): Add more tests.
5018 (catanh_test): Likewise.
5019 * sysdeps/i386/fpu/libm-test-ulps: Update.
5020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5022 2013-04-27 Andreas Jaeger <aj@suse.de>
5025 * stdlib/stdlib.h: Update guards for qecvt.
5026 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5029 2013-04-27 Allan McRae <allan@archlinux.org>
5031 * sysdeps/i386/fpu/libm-test-ulps: Update.
5033 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5036 * math/s_catan.c: Include <float.h>.
5037 (__catan): Ensure underflow exception occurs for underflowed
5039 * math/s_catanf.c: Include <float.h>.
5040 (__catanf): Ensure underflow exception occurs for underflowed
5042 * math/s_catanh.c: Include <float.h>.
5043 (__catanh): Ensure underflow exception occurs for underflowed
5045 * math/s_catanhf.c: Include <float.h>.
5046 (__catanhf): Ensure underflow exception occurs for underflowed
5048 * math/s_catanhl.c: Include <float.h>.
5049 (__catanhl): Ensure underflow exception occurs for underflowed
5051 * math/s_catanl.c: Include <float.h>.
5052 (__catanl): Ensure underflow exception occurs for underflowed
5054 * math/libm-test.inc (catan_test): Add more tests.
5055 (catanh_test): Likewise.
5058 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5060 * math/s_ccoshf.c (__ccoshf): Likewise.
5061 * math/s_ccoshl.c (__ccoshl): Likewise.
5062 * math/s_csin.c (__csin): Likewise.
5063 * math/s_csinf.c (__csinf): Likewise.
5064 * math/s_csinh.c (__csinh): Likewise.
5065 * math/s_csinhf.c (__csinhf): Likewise.
5066 * math/s_csinhl.c (__csinhl): Likewise.
5067 * math/s_csinl.c (__csinl): Likewise.
5068 * math/libm-test.inc (ccos_test): Add more tests.
5069 (ccosh_test): Likewise.
5070 (csin_test): Likewise.
5071 (csinh_test): Likewise.
5073 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5076 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5077 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5078 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5079 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5080 powerpc/power5+/fpu folders.
5081 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5084 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5088 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5090 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5091 additions to variable.
5092 [$(config-machine) = x86_64] (modules-names): Likewise.
5093 ($(objpfx)tst-audit3): Remove dependency.
5094 ($(objpfx)tst-audit3.out): Likewise.
5095 ($(objpfx)tst-audit4): Likewise.
5096 ($(objpfx)tst-audit4.out): Likewise.
5097 ($(objpfx)tst-audit5): Likewise.
5098 ($(objpfx)tst-audit5.out): Likewise.
5099 ($(objpfx)tst-audit6): Likewise.
5100 ($(objpfx)tst-audit6.out): Likewise.
5101 ($(objpfx)tst-audit7): Likewise.
5102 ($(objpfx)tst-audit7.out): Likewise.
5103 (tst-audit3-ENV): Remove variable.
5104 (tst-audit4-ENV): Likewise.
5105 (tst-audit5-ENV): Likewise.
5106 (tst-audit6-ENV): Likewise.
5107 (tst-audit7-ENV): Likewise.
5108 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5109 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5110 addition to variable.
5111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5114 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5115 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5116 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5117 tst-audit3, tst-audit4 and tst-audit5.
5118 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5119 tst-audit6 and tst-audit7.
5120 [$(subdir) = elf] (modules-names): Add audit modules for those
5122 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5123 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5124 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5125 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5126 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5127 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5128 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5129 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5130 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5131 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5132 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5133 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5134 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5135 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5136 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5137 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5139 [$(subdir) = elf && $(config-cflags-avx) = yes]
5140 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5141 [$(subdir) = elf && $(config-cflags-avx) = yes]
5142 (CFLAGS-tst-auditmod4a.c): Likewise.
5143 [$(subdir) = elf && $(config-cflags-avx) = yes]
5144 (CFLAGS-tst-auditmod4b.c): Likewise.
5145 [$(subdir) = elf && $(config-cflags-avx) = yes]
5146 (CFLAGS-tst-auditmod6b.c): Likewise.
5147 [$(subdir) = elf && $(config-cflags-avx) = yes]
5148 (CFLAGS-tst-auditmod6c.c): Likewise.
5149 [$(subdir) = elf && $(config-cflags-avx) = yes]
5150 (CFLAGS-tst-auditmod7b.c): Likewise.
5151 * elf/tst-audit3.c: Move to ...
5152 * sysdeps/x86_64/tst-audit3.c: ... here.
5153 * elf/tst-audit4.c: Move to ...
5154 * sysdeps/x86_64/tst-audit4.c: ... here.
5155 * elf/tst-audit5.c: Move to ...
5156 * sysdeps/x86_64/tst-audit5.c: ... here.
5157 * elf/tst-audit6.c: Move to ...
5158 * sysdeps/x86_64/tst-audit6.c: ... here.
5159 * elf/tst-audit7.c: Move to ...
5160 * sysdeps/x86_64/tst-audit7.c: ... here.
5161 * elf/tst-auditmod3a.c: Move to ...
5162 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5163 * elf/tst-auditmod3b.c: Move to ...
5164 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5165 * elf/tst-auditmod4a.c: Move to ...
5166 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5167 * elf/tst-auditmod4b.c: Move to ...
5168 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5169 * elf/tst-auditmod5a.c: Move to ...
5170 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5171 * elf/tst-auditmod5b.c: Move to ...
5172 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5173 * elf/tst-auditmod6a.c: Move to ...
5174 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5175 * elf/tst-auditmod6b.c: Move to ...
5176 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5177 * elf/tst-auditmod6c.c: Move to ...
5178 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5179 * elf/tst-auditmod7a.c: Move to ...
5180 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5181 * elf/tst-auditmod7b.c: Move to ...
5182 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5184 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5187 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5188 define unconditionally.
5189 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5190 define unconditionally.
5191 (INT8_C, INT16_C, etc.): Likewise.
5193 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5195 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5196 __ehdr_start with hidden visibility.
5198 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5200 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5202 * math/libm-test.inc (cos_test): Use accurate hex constants.
5203 (sincost_test): Likewise.
5205 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5207 * math/libm-test.inc (catan_test): Add more tests.
5208 (catanh_test): Likewise.
5210 * math/s_catanf.c (__catanf): Use suffixed floating-point
5212 * math/s_catanhf.c (__catanhf): Likewise.
5213 * math/s_catanhl.c (__catanhl): Likewise.
5214 * math/s_catanl.c (__catanl): Likewise.
5217 * math/s_catan.c (__catan): Calculate imaginary part of result
5218 with log1p not log unless computing log of number close to 0.
5219 * math/s_catanf.c (__catanf): Likewise.
5220 * math/s_catanl.c (__catanl): Likewise.
5221 * math/s_catanh.c (__catanh): Calculate real part of result with
5222 log1p not log unless computing log of number close to 0.
5223 * math/s_catanhf.c (__catanhf): Likewise.
5224 * math/s_catanhl.c (__catanhl): Likewise.
5225 * math/libm-test.inc (catan_test): Add more tests.
5226 (catanh_test): Likewise.
5227 * sysdeps/i386/fpu/libm-test-ulps: Update.
5228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5230 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5232 * benchtests/Makefile: Mention files in which fast and slow
5233 paths of math functions are implemented.
5235 2013-04-23 Roland McGrath <roland@hack.frob.com>
5237 * sysdeps/posix/timespec_get.c: New file.
5239 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5241 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5243 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5245 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5246 powerpc/power5/fpu folders.
5247 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5248 * benchtests/Makefile: Add modf testcase.
5249 * benchtests/bench-modf.c: New file: Benchmark test for mo
5251 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5254 * time/Makefile (tests): Add tst-strptime-whitespace.
5255 * time/strptime_l.c (get_number): Use ISSPACE.
5256 (__strptime_internal): Likewise.
5257 * time/tst-strptime-whitespace.c: New test case.
5259 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5261 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5263 (_nss_files_init): Set it here.
5265 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5268 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5271 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5273 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5275 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5280 2013-04-21 David S. Miller <davem@davemloft.net>
5282 * po/ru.po: Update Russion translation from translation project.
5284 2013-04-17 Adam Conrad <adconrad@0c3.net>
5286 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5289 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5291 * configure.in: Remove i386 configure warning. Remove i386 case.
5292 * configure: Regenerate.
5293 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5294 Add example to error message.
5295 * sysdeps/i386/configure: Regenerate.
5297 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5299 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5301 * benchtests/cos-inputs: New file.
5302 * benchtests/slowcos-inputs: New file.
5303 * benchtests/slowcos.c: New file.
5304 * benchtests/slowtan-inputs: New file.
5305 * benchtests/slowtan.c: New file.
5306 * benchtests/tan-inputs: New file.
5308 2013-04-16 Roland McGrath <roland@hack.frob.com>
5310 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5313 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5315 * benchtests/Makefile: Include cppflags-iterator.mk to add
5316 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5318 * Makefile.in (bench-clean): New target.
5319 * benchtests/Makefile (bench-clean): Likewise.
5321 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5323 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5325 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5327 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5329 2013-04-15 Andreas Schwab <schwab@suse.de>
5331 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5333 * nscd/pwdcache.c (cache_addpw): Likewise.
5334 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5337 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5339 * benchtests/Makefile (bench): Write all output to
5340 bench-out.tmp together.
5342 2013-04-15 Andreas Schwab <schwab@suse.de>
5344 * nscd/nscd.c (main): Don't fork again after closing files.
5346 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5348 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5350 * benchtests/Rules (bench-deps): Collect dependencies into a
5351 single variable. Add Makefile to dependencies.
5352 ($(objpfx)bench-%.c): Depend on bench-deps.
5354 2013-04-12 Roland McGrath <roland@hack.frob.com>
5355 Xavier Roche <roche+kml2@exalead.com>
5358 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5359 just that it's a file descriptor.
5360 * manual/llio.texi (Synchronizing AIO Operations): Update description
5361 for EBADF error from aio_fsync.
5363 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5365 * Rules (bench): Move target definition...
5366 * benchtests/Makefile: ... here.
5368 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5370 * math/libm-test.inc (cos_test): Fix PI/2 test.
5371 (sincos_test): Likewise.
5372 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5373 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5375 2013-04-11 Andreas Schwab <schwab@suse.de>
5378 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5379 accept exponent character only when digits were seen.
5380 * stdio-common/Makefile (tests): Add bug26.
5381 * stdio-common/bug26.c: New file.
5384 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5387 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5389 * Makeconfig (rtld-prefix): Define built linker prefix.
5390 * Rules (run-bench): Use it.
5391 * math/Makefile (run-regen-ulps): Likewise.
5393 * Rules (bench): Remove eval.
5395 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5396 Roland McGrath <roland@hack.frob.com>
5397 Ondrej Bilka <neleai@seznam.cz>
5400 * time/getdate.c: Include ctype.h and alloca.h.
5401 (__getdate_r): Trim leading and trailing spaces of input.
5402 * time/tst-getdate.c (tests): Add tests with leading and
5405 2013-04-08 Roland McGrath <roland@hack.frob.com>
5408 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5409 when computing value.
5411 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5413 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5414 Use testrun.sh to run libm tests.
5417 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5419 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5422 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5424 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5426 * Makefile.in (regen-ulps): New target.
5427 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5428 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5429 [ifneq (no,$(PERL)] (regen-ulps): New target.
5430 [ifeq (no,$(PERL)] (regen-ulps): New target.
5431 * math/libm-test.inc (ulps_file_name): Define.
5432 (output_dir): New variable.
5433 (options): Add "output-dir" option.
5434 (parse_opt): Handle 'o' case.
5435 (main): If output_dir is non-NULL use it as a prefix
5437 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5442 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5443 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5444 fail configure if __sync_val_compare_and_swap is not inlined.
5445 * sysdeps/i386/configure: Regenerate.
5446 * configure.in: Build for i686 when configured for i386.
5447 * configure: Regenerate.
5448 * README: Remove i386 reference.
5450 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5452 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5453 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5455 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5457 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5458 (lmsnanval): New variables.
5459 (F): Add conversion tests.
5460 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5461 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5463 * stdio-common/tstdiomisc.c (F): Properly collect individual
5467 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5468 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5469 Instead, use input NaN values or generate a qNaN by arithmetic
5470 operation. Also fix bugs to comply with the standard.
5471 * math/libm-test.inc (remainder_test): Add more tests.
5474 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5476 input NaN values or generate a qNaN by arithmetic operation.
5478 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5481 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5484 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5487 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5489 * math/s_cexpf.c (__cexpf): Likewise.
5490 * math/s_cexpl.c (__cexpl): Likewise.
5491 * math/libm-test.inc (cexp_test): Add more tests.
5493 2013-04-03 Andreas Schwab <schwab@suse.de>
5496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5497 order arrays from heap if bigger than alloca cutoff.
5499 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5501 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5502 (SNAN_TESTS_double): Refer to GCC PR56831.
5503 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5506 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5508 * Rules (bench): Move bench.out after the run is complete.
5510 * Rules (bench): Echo currently running benchmark.
5512 * benchtests/Makefile (bench): Add atan and slowatan.
5513 * benchtests/atan-inputs: New file.
5514 * benchtests/slowatan-inputs: New file.
5515 * benchtests/slowatan.c: New file.
5517 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5522 * sysdeps/unix/sysv/linux/kernel-features.h
5523 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5524 __ASSUME_XFS_RESTRICTED_CHOWN.
5525 * sysdeps/unix/sysv/linux/pathconf.c
5526 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5527 Save and restore errno.
5529 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5532 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5533 arguments using __kernel_casinh.
5534 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5535 arguments using __kernel_casinhf.
5536 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5537 arguments using __kernel_casinhl.
5538 * math/libm-test.inc (cacosh_test): Add more tests.
5539 * sysdeps/i386/fpu/libm-test-ulps: Update.
5540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5542 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5544 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5547 * bench/Makefile (bench): Add sin and slowsin.
5548 * benchtests/sin-inputs: New file.
5549 * benchtests/slowsin-inputs: New file.
5550 * benchtests/slowsin.c: New file.
5552 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5553 (bench): Add slowexp and slowpow.
5554 (exp-ITER): Increase iterations.
5555 (pow-ITER): Likewise.
5556 * benchtests/exp-inputs: Change input.
5557 * benchtests/pow-inputs: Likewise.
5558 * benchtests/slowexp-inputs: New file.
5559 * benchtests/slowexp.c: New file.
5560 * benchtests/slowpow-inputs: New file.
5561 * benchtests/slowpow.c: New file.
5563 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5565 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5567 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5568 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5569 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5570 * benchtests/Makefile: Add rint benchtest.
5571 * benchtests/rint-inputs: Input for rint benchtest.
5573 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5575 * Versions.def (libm): Add GLIBC_2.18.
5576 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5577 hidden libm prototypes.
5578 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5579 * math/Makefile (libm-calls): Add s_issignaling.
5580 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5581 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5582 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5584 * math/math.h [__USE_GNU] (issignaling): New macro.
5585 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5586 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5591 * manual/arith.texi (issignaling): New section.
5592 * manual/libm-err-tab.pl (@all_functions): Update comment.
5593 * math/gen-libm-test.pl (parse_args): Apply special handling for
5595 * math/libm-test.inc (print_float, issignaling_test): New
5597 (check_float_internal): Add issignaling checks.
5598 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5600 * sysdeps/powerpc/math-tests.h: New file.
5601 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5603 * math/test-snan.c (TEST_FUNC): Likewise.
5605 2013-03-30 David S. Miller <davem@davemloft.net>
5607 * po/de.po: Update from translation team.
5609 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5612 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5613 imaginary part less than 1.0 and real part less than 0.5
5615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5617 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5618 (cacos_test): Add more tests.
5619 (casin_test): Likewise.
5620 (casinh_test): Likewise.
5621 * sysdeps/i386/fpu/libm-test-ulps: Update.
5622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5626 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5629 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5630 (__pow_mp): Replace ONE and MONE with their values.
5631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5632 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5634 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5640 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5641 (__pow_mp): Replace ZERO and MZERO with their values.
5642 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5643 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5647 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5650 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5652 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5654 2013-03-28 Roland McGrath <roland@hack.frob.com>
5656 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5657 Declare with __attribute__ ((weak)).
5658 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5659 Call __call_tls_dtors only if it's not NULL.
5661 2013-03-28 Roland McGrath <roland@hack.frob.com>
5663 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5664 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5665 magic __ehdr_start linker symbol if it's defined.
5666 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5667 them up here if it was already done.
5669 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5670 (_dl_aux_init): Use const in cast when setting it.
5671 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5672 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5673 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5675 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5677 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5678 * csu/libc-tls.c: Nor here.
5679 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5681 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5682 (__libc_message): Never call vsyslog.
5684 2013-03-28 Alan Modra <amodra@gmail.com>
5686 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5688 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5691 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5698 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5702 Don't add gid passed as argument.
5704 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5706 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5710 imaginary part between 1.0 and 1.5 and real part less than 0.5
5712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5714 * math/libm-test.inc (cacos_test): Add more tests.
5715 (casin_test): Likewise.
5716 (casinh_test): Likewise.
5717 * sysdeps/i386/fpu/libm-test-ulps: Update.
5718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5722 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5726 (__dbl_mp): Likewise.
5727 (add_magnitudes): Likewise.
5728 (sub_magnitudes): Likewise.
5736 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5738 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5739 (__dubcos): Likewise.
5740 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5741 (__ieee754_acos): Likewise.
5742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5743 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5745 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5748 (my_log2): Likewise.
5749 (checkint): Likewise.
5750 * sysdeps/ieee754/dbl-64/e_remainder.c
5751 (__ieee754_remainder): Likewise.
5752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5755 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5759 MANTISSA_STORE_T to store computations on mantissa. Use
5760 macros for rounding and division.
5762 (__dbl_mp): Likewise.
5763 (add_magnitudes): Likewise.
5764 (sub_magnitudes): Likewise.
5767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5768 powers of two in terms of TWOPOW macro.
5769 (mp_no): Make type of mantissa as MANTISSA_T.
5770 [!RADIXI]: Define RADIXI.
5771 [!TWO52]: Define TWO52.
5772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5774 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5777 llroundl symbol when building for PPC32.
5779 2013-03-24 Mark H Weaver <mhw@netris.org>
5781 * manual/arith.texi (Normalization Functions): Fix prototypes for
5782 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5784 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5788 high value to check if expl overflow.
5789 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5790 to check for underflow and overflow.
5791 * math/libm-test.inc: Add exp test.
5793 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5796 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5799 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5804 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5806 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5807 wrap blocks consisting of several statements.
5809 * sysdeps/generic/math-tests.h: New file.
5810 * sysdeps/i386/fpu/math-tests.h: Likewise.
5811 * math/test-snan.c: Include it.
5812 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5814 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5818 (__ieee754_j0l): Do not improve calculations using cos of twice
5819 input for inputs above LDBL_MAX / 2.0L.
5820 (__ieee754_y0l): Likewise.
5821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5822 (__ieee754_j1l): Do not improve calculations using cos of twice
5823 input for inputs above LDBL_MAX / 2.0L.
5824 (__ieee754_y1l): Likewise.
5825 * math/libm-test.inc (j0_test): Add another test.
5826 (j1_test): Likewise.
5827 (y0_test): Likewise.
5828 (y1_test): Likewise.
5829 * sysdeps/i386/fpu/libm-test-ulps: Update.
5831 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5833 * Rules ($(objpfx)bench-%.c): Include code from a C source
5836 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5840 imaginary part 1.0 and real part less than 0.5 specially.
5841 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5842 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5843 * math/libm-test.inc (cacos_test): Add more tests.
5844 (casin_test): Likewise.
5845 (casinh_test): Likewise.
5846 * sysdeps/i386/fpu/libm-test-ulps: Update.
5847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5852 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5854 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5856 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5857 * config.make.in (config-cflags-sse4): Remove variable.
5858 (config-cflags-avx): Likewise.
5859 (config-cflags-sse2avx): Likewise.
5860 (config-cflags-novzeroupper): Likewise.
5861 (config-asflags-i686): Likewise.
5862 (have-mfma4): Likewise.
5863 (have-as-vis3): Likewise.
5865 * configure.in (MIG): Do not AC_SUBST.
5866 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5867 (libc_cv_cc_sse4): Do not AC_SUBST.
5868 (libc_cv_cc_avx): Likewise.
5869 (libc_cv_cc_sse2avx): Likewise.
5870 (libc_cv_cc_novzeroupper): Likewise.
5871 (libc_cv_cc_fma4): Likewise.
5872 (libc_cv_as_i686): Likewise.
5873 (libc_cv_sparc_as_vis3): Likewise.
5874 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5876 (config-asflags-i686): Likewise.
5877 (config-cflags-avx): Likewise.
5878 (config-cflags-sse2avx): Likewise.
5879 (have-mfma4): Likewise.
5880 (config-cflags-novzeroupper): Likewise.
5881 * sysdeps/mach/configure.in (MIG): Likewise.
5882 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5883 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5885 (config-cflags-avx): Likewise.
5886 (config-cflags-sse2avx): Likewise.
5887 (have-mfma4): Likewise.
5888 (config-cflags-novzeroupper): Likewise.
5889 * configure: Regenerated.
5890 * sysdeps/i386/configure: Likewise.
5891 * sysdeps/mach/configure: Likewise.
5892 * sysdeps/sparc/configure: Likewise.
5893 * sysdeps/x86_64/configure: Likewise.
5895 2013-03-20 Roland McGrath <roland@hack.frob.com>
5898 * locale/programs/localedef.c (options): Put N_ translation marker
5899 on argument names, not just descriptions.
5901 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5903 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5905 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5908 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5910 2013-03-19 Roland McGrath <roland@hack.frob.com>
5912 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5913 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5914 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5915 [!BEFORE_ABORT] (before_abort): New function.
5916 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5917 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5918 (writev_for_fatal): New function.
5919 (WRITEV_FOR_FATAL): New macro; call that.
5920 (backtrace_and_maps): New function.
5921 (BEFORE_ABORT): New macro; call that.
5922 (struct str_list): Type removed.
5923 (__libc_message, __libc_fatal): Functions removed.
5924 Include <sysdeps/posix/libc_fatal.c> instead.
5926 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5928 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5930 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5933 2013-03-19 Andreas Schwab <schwab@suse.de>
5935 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5936 * sysdeps/gnu/configure: Regenerate.
5938 * configure.in: Substitute libc_cv_rtlddir.
5939 * configure: Regenerate.
5940 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5941 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5942 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5943 * elf/Makefile (install-others, CFLAGS-interp.c)
5944 (ldso_install, common-ldd-rewrite): Likewise.
5945 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5946 $(inst_slibdir)/$(rtld-installed-name).
5947 * scripts/rellns-sh: Add -p option.
5948 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5951 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5953 * manual/nptl.texi: Renamed to ...
5954 * manual/threads.texi: ... this.
5955 * manual/Makefile (chapters): Update.
5957 2013-03-18 Roland McGrath <roland@hack.frob.com>
5960 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5961 on argument names, not just descriptions.
5962 * malloc/memusagestat.c (options): Likewise.
5963 * nss/getent.c (options): Likewise.
5965 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5968 * iconv/iconv_prog.c (options): Put N_ translation marker
5969 on argument names, not just descriptions.
5970 * iconv/iconvconfig.c (options): Likewise.
5972 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5974 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5975 implementation which is faster on all x86_64 architectures.
5976 Tested on AMD, Intel Nehalem, SNB, IVB.
5977 * sysdeps/x86_64/strnlen.S: Likewise.
5979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5980 Remove all multiarch strlen and strnlen versions.
5981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5982 Remove strlen and strnlen related parts.
5984 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5986 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5988 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5990 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5991 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5992 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5995 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5997 * manual/memory.texi (Malloc Tunable Parameters):
5998 Sort parameters alphabetically. Add comments for missing entries.
6000 2013-03-17 David S. Miller <davem@davemloft.net>
6002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6004 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6008 for arguments at most half maximum finite value.
6009 * math/libm-test.inc (j0_test): Add more tests.
6010 (j1_test): Likewise.
6011 (y0_test): Likewise.
6012 (y1_test): Likewise.
6013 * sysdeps/i386/fpu/libm-test-ulps: Update.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6017 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6018 1 / x and functions P and Q for arguments above 0x1p256L.
6019 (__ieee754_y0l): Likewise.
6020 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6021 (__ieee754_y1l): Likewise.
6022 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6023 (j1_test): Likewise.
6024 (y0_test): Likewise.
6025 (y1_test): Likewise.
6027 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6029 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6032 2013-03-15 Roland McGrath <roland@hack.frob.com>
6034 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6035 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6036 zero since it's initialized to EXEC_PAGESIZE.
6038 * sysdeps/unix/sysv/linux/ldsodefs.h
6039 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6040 * sysdeps/generic/ldsodefs.h: ... here.
6042 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6044 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6046 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6048 * math/test-snan.c: Renamed from
6049 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6050 * math/Makefile (tests): Add test-snan.
6051 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6054 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6055 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6057 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6058 __builtin_nan family of functions.
6059 * math/libm-test.inc (initialize): Initialize qnan_value with
6060 __builtin_nan family of functions.
6061 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6063 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6065 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6066 storage class. Initialize qNaN_var and sNaN_var with
6067 __builtin_nan and __builtin_nans families of functions,
6070 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6071 (sqrt_test): Remove duplicate test with qNaN input.
6072 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6073 (round_test, signbit_test, significand_test): Note missing +/-Inf
6074 as well as qNaN tests.
6076 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6077 qNaN_var. Fix a few strings, too.
6078 * math/libm-test.inc (nan_value): Rename to qnan_value.
6079 * math/gen-libm-test.pl (%beautify): Adjust to that.
6080 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6081 * math/test-misc.c (main): Likewise.
6082 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6083 to __qnan_bytes, and __qnan_union, respectively.
6084 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6086 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6087 and lqnanval, respectively.
6088 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6089 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6090 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6091 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6093 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6094 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6097 * math/test-misc.c (main): Fix copy'n'pastos.
6098 * misc/tst-efgcvt.c (special): Likewise.
6100 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6101 Remove declarations.
6103 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6105 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6106 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6107 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6108 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6110 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6113 macro to return vdso values correctly in IFUNC implementations.
6114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6115 Optimization by using IFUNC.
6117 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6118 Richard Henderson <rth@redhat.com>
6119 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6121 * Makefile.in (bench): New target.
6122 * NEWS: Mention the benchmark framework.
6123 * Rules (bench): Likewise.
6124 (binaries-bench): Generate binaries for functions to
6126 * benchtests/Makefile: New makefile for benchmark tests.
6127 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6129 * benchtests/exp-inputs: New input file for EXP function.
6130 * benchtests/pow-inputs: New input file for POW function.
6131 * scripts/bench.pl: New script to generate source files for
6134 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6136 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6137 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6138 computations on mantissa. Use macros for rounding and
6141 (__dbl_mp): Likewise.
6142 (add_magnitudes): Likewise.
6143 (sub_magnitudes): Likewise.
6146 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6147 powers of two in terms of TWOPOW macro.
6148 (mp_no): Make type of mantissa as MANTISSA_T.
6149 [!RADIXI]: Define RADIXI.
6150 [!TWO52]: Define TWO52.
6151 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6153 * manual/nptl.texi (cindex): Modify threads to pthreads.
6155 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6157 * sysdeps/x86_64/preconfigure: Regenerated.
6159 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6164 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6165 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6167 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6168 * math/libm-test.inc (j0_test): Do not allow one spurious
6169 underflow exception.
6170 (y1_test): Likewise.
6172 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6174 * manual/Makefile (chapters): Add nptl.
6175 * manual/debug.texi (Debugging Support): Add link to Threads
6177 * manual/nptl.texi: New file.
6179 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6181 2013-03-14 Petr Baudis <pasky@ucw.cz>
6183 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6184 for non-NULL pointer before the memory validity test. Pointed
6185 out by Holger Brunck <holger.brunck@keymile.com>.
6187 2013-03-13 Andreas Schwab <schwab@suse.de>
6189 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6192 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6194 * timezone/zic.c: Update from tzcode 2013b.
6196 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6198 * manual/install.texi (Configuring and compiling):
6199 Mention i686 and i586.
6200 * INSTALL: Regenerate.
6202 2013-03-12 Roland McGrath <roland@hack.frob.com>
6204 * sysdeps/init_array/elf-init.c: New file.
6206 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6207 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6209 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6210 __gmon_start__ as global, but as static with a .preinit_array pointer.
6211 * sysdeps/init_array/gmon-start.c: New file. Use that.
6212 * sysdeps/init_array/crti.S: New file, empty except for comments.
6213 * sysdeps/init_array/crtn.S: Likewise.
6215 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6217 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6220 Remove Prefer_SSE_for_memop.
6221 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6222 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6223 HAS_PREFER_SSE_FOR_MEMOP.
6224 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6227 Remove bzero, memset ifunc support.
6228 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6230 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6231 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6233 2013-03-11 Andreas Schwab <schwab@suse.de>
6236 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6239 (GLIBC_2.16): Remove pthread_atfork.
6241 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6243 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6244 (ptestcases.h): Likewise.
6246 2013-03-08 Roland McGrath <roland@hack.frob.com>
6248 * Makeconfig ($(common-objpfx)config.status): Depend on
6249 sysdeps/*/preconfigure{,.in} too.
6251 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6253 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6254 (__free_hook): Use void * instead of __malloc_ptr_t.
6255 (__malloc_hook): Likewise.
6256 (__realloc_hook): Likewise.
6257 (__memalign_hook): Likewise.
6258 (__after_morecore_hook): Likewise.
6259 * malloc/arena.c (save_malloc_hook): Likewise.
6260 (save_free_hook): Likewise.
6261 * malloc/hooks.c (malloc_hook_ini): Likewise.
6262 (realloc_hook_ini): Likewise.
6263 (memalign_hook_ini): Likewise.
6264 * malloc/malloc.c (malloc_hook_ini): Likewise.
6265 (realloc_hook_ini): Likewise.
6266 (memalign_hook_ini): Likewise.
6267 (__free_hook): Likewise.
6268 (__malloc_hook): Likewise.
6269 (__realloc_hook): Likewise.
6270 (__memalign_hook): Likewise.
6271 (__libc_malloc): Likewise.
6272 (__libc_free): Likewise.
6273 (__libc_realloc): Likewise.
6274 (__libc_memalign): Likewise.
6275 (__libc_valloc): Likewise.
6276 (__libc_pvalloc): Likewise.
6277 (__libc_calloc): Likewise.
6278 (__posix_memalign): Likewise.
6279 * malloc/morecore.c (__sbrk): Likewise.
6280 (__default_morecore): Likewise.
6282 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6284 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6285 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6288 * malloc/malloc.h (__malloc_size_t): Remove macro.
6289 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6291 (old_memalign_hook): Likewise.
6292 (old_realloc_hook): Likewise.
6293 (struct hdr): Likewise.
6295 (mallochook): Likewise.
6296 (memalignhook): Likewise.
6297 (reallochook): Likewise.
6298 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6299 (tr_old_realloc_hook): Likewise.
6300 (tr_old_memalign_hook): Likewise.
6301 (tr_mallochook): Likewise.
6302 (tr_reallochook): Likewise.
6303 (tr_memalignhook): Likewise.
6305 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6308 default_ldbl_pack and using as default implementation.
6309 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6311 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6312 redundant definition.
6313 (ldbl_insert_mantissa): Likewise.
6314 (ldbl_canonicalize): Likewise.
6315 (ldbl_nearbyint): Likewise.
6316 (ldbl_pack): Rename to ldbl_pack_ppc.
6317 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6318 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6319 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6321 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6324 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6325 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6326 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6328 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6329 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6330 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6332 2013-03-07 Andreas Jaeger <aj@suse.de>
6334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6337 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6339 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6340 Include mpa.h and declare __MPEXP.
6341 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6342 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6343 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6345 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6346 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6347 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6349 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6350 (__slowpow): Use long double EXPL and LOGL functions to
6352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6353 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6356 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6360 intermediate variable to calculate exponent.
6362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6366 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6367 [!NO__SQR]: Define __sqr.
6368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6369 and NO__SQR. Remove all code except __mul and __sqr. Include
6370 sysdeps/ieee754/dbl-64/mpa.c.
6371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6374 * posix/Makefile (tests): Add tst-pathconf.
6375 * posix/tst-pathconf.c: New test case.
6376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6378 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6380 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6382 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6384 2013-03-06 Andreas Jaeger <aj@suse.de>
6386 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6387 definition via __MAP_ANONYMOUS.
6389 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6390 it's not part of Linux headers.
6392 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6393 (MAP_HUGE_MASK): Define.
6395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6397 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6400 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6401 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6403 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6406 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6408 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6409 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6410 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6411 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6412 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6413 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6415 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6419 Handle f2fs and efivarfs.
6421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6424 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6425 (EFIVARFS_MAGIC): Add.
6426 (F2FS_LINK_MAX): Add.
6428 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6430 * stdio-common/vfprintf.c: Replace __builtin_expect with
6433 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6436 * sysdeps/generic/bp-sym.h: Remove file.
6437 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6438 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (__longjmp): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6443 (memcpy): Don't use BP_SYM.
6444 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (memcpy): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6449 (memcpy): Don't use BP_SYM.
6450 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6452 (memset): Don't use BP_SYM.
6453 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6454 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6455 (__bzero): Don't use BP_SYM.
6456 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6457 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6458 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6459 <bp-sym.h> and <bp-asm.h>.
6460 (memcmp): Don't use BP_SYM. Remove comment about bounded
6462 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6463 <bp-sym.h> and <bp-asm.h>.
6464 (memcpy): Don't use BP_SYM.
6465 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6466 <bp-sym.h> and <bp-asm.h>.
6467 (memset): Don't use BP_SYM.
6468 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6469 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6470 (__bzero): Don't use BP_SYM.
6471 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6472 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6474 <bp-sym.h> and <bp-asm.h>.
6475 (strncmp): Don't use BP_SYM. Remove comment about bounded
6477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6478 <bp-sym.h> and <bp-asm.h>.
6479 (memcpy): Don't use BP_SYM.
6480 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6481 <bp-sym.h> and <bp-asm.h>.
6482 (memset): Don't use BP_SYM.
6483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6485 (__bzero): Don't use BP_SYM.
6486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6489 <bp-sym.h> and <bp-asm.h>.
6490 (__memchr): Don't use BP_SYM.
6491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6492 <bp-sym.h> and <bp-asm.h>.
6493 (memcmp): Don't use BP_SYM. Remove comment about bounded
6495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6496 <bp-sym.h> and <bp-asm.h>.
6497 (memcpy): Don't use BP_SYM.
6498 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6499 <bp-sym.h> and <bp-asm.h>.
6500 (__mempcpy): Don't use BP_SYM.
6501 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6502 <bp-sym.h> and <bp-asm.h>.
6503 (__memrchr): Don't use BP_SYM.
6504 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6505 <bp-sym.h> and <bp-asm.h>.
6506 (memset): Don't use BP_SYM.
6507 (__bzero): Likewise.
6508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6509 <bp-sym.h> and <bp-asm.h>.
6510 (__rawmemchr): Don't use BP_SYM.
6511 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (__STRCMP): Don't use BP_SYM.
6514 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (strchr): Don't use BP_SYM.
6517 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6518 <bp-sym.h> and <bp-asm.h>.
6519 (__strchrnul): Don't use BP_SYM.
6520 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6521 <bp-sym.h> and <bp-asm.h>.
6522 (strlen): Don't use BP_SYM.
6523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6524 <bp-sym.h> and <bp-asm.h>.
6525 (strncmp): Don't use BP_SYM. Remove comment about bounded
6527 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6528 <bp-sym.h> and <bp-asm.h>.
6529 (__strnlen): Don't use BP_SYM.
6530 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6531 <bp-sym.h> and <bp-asm.h>.
6532 (__GI__setjmp): Don't use BP_SYM.
6533 (_setjmp): Likewise.
6534 (__sigsetjmp): Likewise.
6535 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6536 (L(start_addresses)): Don't use BP_SYM.
6538 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6540 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6541 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6542 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6543 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6544 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6546 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6547 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6548 about bounded pointers.
6549 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6550 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6551 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6553 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6554 about bounded pointers. Remove GKM FIXME comments.
6555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6556 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6558 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6559 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6560 Remove GKM FIXME comments.
6561 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6562 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6563 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6565 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6566 about bounded pointers. Remove GKM FIXME comment.
6567 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6569 (strncmp): Don't use BP_SYM. Remove comment about bounded
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6572 <bp-sym.h> and <bp-asm.h>.
6573 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6575 <bp-sym.h> and <bp-asm.h>.
6576 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6579 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6581 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6584 2013-03-05 David S. Miller <davem@davemloft.net>
6586 * po/es.po: Update from translation team.
6588 2013-03-05 Andreas Jaeger <aj@suse.de>
6590 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6591 <bits/mman-linux.h>.
6592 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6594 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6595 <bits/mman-linux.h> to end of file.
6596 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6598 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6599 <bits/mman-linux.h> to end of file.
6600 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6603 <bits/mman-linux.h> to end of file.
6605 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6606 (MCL_CURRENT, MCL_FUTURE): Define here.
6608 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6615 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6617 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6618 fourth parameter needed for rt_sigprocmask syscall.
6619 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6620 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6622 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6623 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6624 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6626 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6629 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6630 comment about bounded pointers.
6631 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6632 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6634 2013-03-04 Andreas Jaeger <aj@suse.de>
6636 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6640 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6641 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6644 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6646 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6650 __ieee754_sqrl instead of __sqrl.
6652 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6654 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6655 * sysdeps/powerpc/fpu_control.h: ... here.
6656 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6657 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6658 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6659 * sysdeps/powerpc/bits/mathinline.h: ... here.
6661 2013-03-01 Roland McGrath <roland@hack.frob.com>
6663 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6664 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6665 to just [NEED_DL_SYSINFO_DSO].
6666 * elf/dl-support.c: Likewise.
6667 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6668 * elf/rtld.c (dl_main): Likewise.
6669 * elf/setup-vdso.h (setup_vdso): Likewise.
6670 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6671 * sysdeps/unix/sysv/linux/dl-sysdep.c
6672 (_dl_discover_osversion): Likewise.
6674 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6676 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6677 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6679 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6681 * NEWS: Mention libm performance improvements and non-x86 PI
6684 * csu/libc-start.c (__pthread_initialize_minimal): Change
6686 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6688 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6691 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6692 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6693 <bp-sym.h> and <bp-asm.h>.
6694 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6695 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6700 (__mpn_add_n): Don't use BP_SYM.
6701 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6702 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6704 (__mpn_addmul_1): Don't use BP_SYM.
6705 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6706 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6708 (_setjmp): Don't use BP_SYM.
6709 (__novmx_setjmp): Likewise.
6710 (__GI__setjmp): Likewise.
6711 (__vmx_setjmp): Likewise.
6712 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6714 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6715 (__bzero): Don't use BP_SYM.
6716 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6717 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6719 <bp-sym.h> and <bp-asm.h>.
6720 (memcpy): Don't use BP_SYM.
6721 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6722 <bp-sym.h> and <bp-asm.h>.
6723 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6724 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6725 <bp-sym.h> and <bp-asm.h>.
6726 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6727 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6729 (__mpn_lshift): Don't use BP_SYM.
6730 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6731 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6733 (memset): Don't use BP_SYM.
6734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6736 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6738 (__mpn_mul_1): Don't use BP_SYM.
6739 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6741 <bp-sym.h> and <bp-asm.h>.
6742 (memcmp): Don't use BP_SYM.
6743 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6744 <bp-sym.h> and <bp-asm.h>.
6745 (memcpy): Don't use BP_SYM.
6746 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6747 <bp-sym.h> and <bp-asm.h>.
6748 (memset): Don't use BP_SYM.
6749 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6750 <bp-sym.h> and <bp-asm.h>.
6751 (strncmp): Don't use BP_SYM.
6752 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6753 <bp-sym.h> and <bp-asm.h>.
6754 (memcpy): Don't use BP_SYM.
6755 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6756 <bp-sym.h> and <bp-asm.h>.
6757 (memset): Don't use BP_SYM.
6758 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6759 <bp-sym.h> and <bp-asm.h>.
6760 (__memchr): Don't use BP_SYM.
6761 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6762 <bp-sym.h> and <bp-asm.h>.
6763 (memcmp): Don't use BP_SYM.
6764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6765 <bp-sym.h> and <bp-asm.h>.
6766 (memcpy): Don't use BP_SYM.
6767 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6768 <bp-sym.h> and <bp-asm.h>.
6769 (__mempcpy): Don't use BP_SYM.
6770 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6771 <bp-sym.h> and <bp-asm.h>.
6772 (__memrchr): Don't use BP_SYM.
6773 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6774 <bp-sym.h> and <bp-asm.h>.
6775 (memset): Don't use BP_SYM.
6776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6777 <bp-sym.h> and <bp-asm.h>.
6778 (__rawmemchr): Don't use BP_SYM.
6779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6780 <bp-sym.h> and <bp-asm.h>.
6781 (__STRCMP): Don't use BP_SYM.
6782 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6783 <bp-sym.h> and <bp-asm.h>.
6784 (strchr): Don't use BP_SYM.
6785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6786 <bp-sym.h> and <bp-asm.h>.
6787 (__strchrnul): Don't use BP_SYM.
6788 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6789 <bp-sym.h> and <bp-asm.h>.
6790 (strlen): Don't use BP_SYM.
6791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6792 <bp-sym.h> and <bp-asm.h>.
6793 (strncmp): Don't use BP_SYM.
6794 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6795 <bp-sym.h> and <bp-asm.h>.
6796 (__strnlen): Don't use BP_SYM.
6797 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6799 (__mpn_rshift): Don't use BP_SYM.
6800 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6801 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6802 <bp-sym.h> and <bp-asm.h>.
6803 (__sigsetjmp): Don't use BP_SYM.
6804 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6805 (L(start_addresses)): Don't use BP_SYM.
6807 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6809 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6812 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6814 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6817 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6822 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6824 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6826 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6827 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6828 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6830 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6832 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6834 (strncmp): Don't use BP_SYM,
6835 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6837 (__mpn_sub_n): Don't use BP_SYM.
6838 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6839 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6841 (__mpn_submul_1): Don't use BP_SYM.
6842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6844 <bp-sym.h> and <bp-asm.h>.
6845 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6847 <bp-sym.h> and <bp-asm.h>.
6848 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6851 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6854 Use ZK to minimize writes to Z.
6855 (sub_magnitudes): Simplify code a bit.
6856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6857 Use ZK to minimize writes to Z.
6858 (sub_magnitudes): Simplify code a bit.
6860 2013-02-27 Roland McGrath <roland@hack.frob.com>
6862 * csu/gmon-start.c: Add special exception to license text.
6864 2013-02-27 Richard Henderson <rth@redhat.com>
6866 * scripts/config.guess: Update from config.git.
6867 * scripts/config.sub: Likewise.
6869 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6873 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6875 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6877 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6879 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6881 2013-02-26 Roland McGrath <roland@hack.frob.com>
6883 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6884 [$(build-shared = yes].
6886 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6888 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6889 (__mul): Reduce iterations for calculating mantissa.
6891 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6893 (__mpranred): Likewise.
6896 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6897 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6899 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6901 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6902 Define __attribute__.
6904 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6906 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6908 * posix/regex_internal.h (__attribute): Remove.
6909 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6910 (re_string_context_at): Likewise.
6911 (bitset_not): Use __attribute__ and mark function as possibly
6913 (bitset_merge): Likewise.
6914 (bitset_mask): Likewise.
6915 (re_string_char_size_at): Likewise.
6916 (re_string_wchar_at): Likewise.
6917 (re_string_elem_size_at): Likewise.
6919 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6921 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6925 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6930 (__dbl_mp): Likewise.
6931 (add_magnitudes): Likewise.
6932 (sub_magnitudes): Likewise.
6936 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6939 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6942 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6946 up changes with default code.
6947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6950 2013-02-24 Allan McRae <allan@archlinux.org>
6952 * manual/socket.texi (The Internet Namespace): Order menu items
6953 to match that in the file.
6955 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6956 node listing of the info page menu.
6958 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/i386/bp-asm.h: Remove file.
6962 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6963 (PARMS): Do not use macros from bp-asm.h.
6967 (__mpn_add_n): Do not use BP_SYM
6968 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6970 (PARMS): Do not use macros from bp-asm.h.
6973 (__mpn_addmul_1): Do not use BP_SYM
6974 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6976 (PARMS): Do not use macros from bp-asm.h.
6978 (_setjmp): Likewise. Do not use BP_SYM.
6979 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6981 (PARMS): Do not use macros from bp-asm.h.
6983 (setjmp): Likewise. Do not use BP_SYM.
6984 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (__frexp): Do not use BP_SYM.
6989 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6991 (PARMS): Do not use macros from bp-asm.h.
6992 (__frexpf): Do not use BP_SYM.
6994 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6996 (PARMS): Do not use macros from bp-asm.h.
6997 (__frexpl): Do not use BP_SYM.
6999 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7001 (PARMS): Do not use macros from bp-asm.h.
7002 (__remquo): Do not use BP_SYM.
7004 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7006 (PARMS): Do not use macros from bp-asm.h.
7007 (__remquof): Do not use BP_SYM.
7008 (remquof): Likewise.
7009 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7011 (PARMS): Do not use macros from bp-asm.h.
7012 (__remquol): Do not use BP_SYM.
7013 (remquol): Likewise.
7014 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7016 (PARMS): Do not use macros from bp-asm.h.
7019 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7020 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7022 (PARMS): Do not use macros from bp-asm.h.
7023 (strlen): Do not use BP_SYM.
7024 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7026 (PARMS): Do not use macros from bp-asm.h.
7030 (__mpn_add_n): Do not use BP_SYM.
7031 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7033 (PARMS): Do not use macros from bp-asm.h.
7036 (__mpn_addmul_1): Do not use BP_SYM.
7037 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7040 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7042 (PARMS): Do not use macros from bp-asm.h.
7045 (__mpn_lshift): Do not use BP_SYM.
7046 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7048 (PARMS): Do not use macros from bp-asm.h.
7052 (memcpy): Likewise. Do not use BP_SYM.
7053 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7054 libc_hidden_def and weak_alias.
7055 (mempcpy): Do not use BP_SYM in weak_alias.
7056 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7058 (PARMS): Do not use macros from bp-asm.h.
7061 [!BZERO_P] (CHR): Likewise.
7062 (memset): Likewise. Do not use BP_SYM.
7063 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7065 (PARMS): Do not use macros from bp-asm.h.
7068 (__mpn_mul_1): Do not use BP_SYM.
7069 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7071 (PARMS): Do not use macros from bp-asm.h.
7074 (__mpn_rshift): Do not use BP_SYM.
7075 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7077 (PARMS): Do not use macros from bp-asm.h.
7080 (strchr): Likewise. Do not use BP_SYM.
7081 (index): Do not use BP_SYM in weak_alias.
7082 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7084 (PARMS): Do not use macros from bp-asm.h.
7087 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7088 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7090 (PARMS): Do not use macros from bp-asm.h.
7091 (strlen): Do not use BP_SYM.
7092 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7094 (PARMS): Do not use macros from bp-asm.h.
7098 (__mpn_sub_n): Do not use BP_SYM.
7099 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7101 (PARMS): Do not use macros from bp-asm.h.
7104 (__mpn_submul_1): Do not use BP_SYM.
7105 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7107 (PARMS): Do not use macros from bp-asm.h.
7111 (__mpn_add_n): Do not use BP_SYM.
7112 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7115 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7117 (PARMS): Do not use macros from bp-asm.h.
7120 (memcmp): Do not use BP_SYM.
7121 (bcmp): Do not use BP_SYM in weak_alias.
7122 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7124 (PARMS): Do not use macros from bp-asm.h.
7128 (memcpy): Likewise. Do not use BP_SYM.
7129 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7131 (PARMS): Do not use macros from bp-asm.h.
7135 (memmove): Likewise. Do not use BP_SYM.
7136 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7138 (PARMS): Do not use macros from bp-asm.h.
7142 (__mempcpy): Likewise. Do not use BP_SYM.
7143 (mempcpy): Do not use BP_SYM in weak_alias.
7144 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7146 (PARMS): Do not use macros from bp-asm.h.
7149 [!BZERO_P] (CHR): Likewise.
7150 (memset): Likewise. Do not use BP_SYM.
7151 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7153 (PARMS): Do not use macros from bp-asm.h.
7155 (strcmp): Do not use BP_SYM.
7156 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7158 (PARMS): Do not use macros from bp-asm.h.
7161 [USE_AS_STRTOK_R] (SAVE): Likewise.
7162 (FUNCTION): Likewise. Do not use BP_SYM.
7163 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7165 (strtok_r): Likewise.
7166 (__GI___strtok_r): Likewise.
7167 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7168 (PARMS): Do not use macros from bp-asm.h.
7171 (__mpn_lshift): Do not use BP_SYM.
7172 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7173 (PARMS): Do not use macros from bp-asm.h.
7176 (__memchr): Do not use BP_SYM.
7177 (memchr): Do not use BP_SYM in weak_alias.
7178 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7179 (PARMS): Do not use macros from bp-asm.h.
7182 (memcmp): Do not use BP_SYM.
7183 (bcmp): Do not use BP_SYM in weak_alias.
7184 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7185 (PARMS): Do not use macros from bp-asm.h.
7188 (__mpn_mul_1): Do not use BP_SYM.
7189 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7191 (PARMS): Do not use macros from bp-asm.h.
7194 (__rawmemchr): Do not use BP_SYM.
7195 (rawmemchr): Do not use BP_SYM in weak_alias.
7196 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7197 (PARMS): Do not use macros from bp-asm.h.
7200 (__mpn_rshift): Do not use BP_SYM.
7201 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7202 (PARMS): Do not use macros from bp-asm.h.
7204 (__sigsetjmp): Likewise. Do not use BP_SYM.
7205 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7206 (_start): Do not use BP_SYM.
7207 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7208 (PARMS): Do not use macros from bp-asm.h.
7211 (__stpcpy): Likewise. Do not use BP_SYM.
7212 (stpcpy): Do not use BP_SYM in weak_alias.
7213 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7215 (PARMS): Do not use macros from bp-asm.h.
7219 (__stpncpy): Likewise. Do not use BP_SYM.
7220 (stpncpy): Do not use BP_SYM in weak_alias.
7221 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7222 (PARMS): Do not use macros from bp-asm.h.
7225 (strchr): Likewise. Do not use BP_SYM.
7226 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7228 (PARMS): Do not use macros from bp-asm.h.
7231 (__strchrnul): Likewise. Do not use BP_SYM.
7232 (strchrnul): Do not use BP_SYM in weak_alias.
7233 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7235 (PARMS): Do not use macros from bp-asm.h.
7237 (strcspn): Do not use BP_SYM.
7238 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7240 (PARMS): Do not use macros from bp-asm.h.
7243 (strpbrk): Likewise. Do not use BP_SYM.
7244 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7246 (PARMS): Do not use macros from bp-asm.h.
7249 (strrchr): Likewise. Do not use BP_SYM.
7250 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7251 (PARMS): Do not use macros from bp-asm.h.
7253 (strspn): Do not use BP_SYM.
7254 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7255 (PARMS): Do not use macros from bp-asm.h.
7259 (FUNCTION): Likewise. Do not use BP_SYM.
7260 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7262 (strtok_r): Likewise.
7263 (__GI___strtok_r): Likewise.
7264 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7265 (PARMS): Do not use macros from bp-asm.h.
7269 (__mpn_sub_n): Do not use BP_SYM.
7270 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7272 (PARMS): Do not use macros from bp-asm.h.
7275 (__mpn_submul_1): Do not use BP_SYM.
7276 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7278 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7280 (PARMS): Do not use macros from bp-asm.h.
7285 (__clone): Do not use BP_SYM.
7286 (clone): Do not use BP_SYM in weak_alias.
7287 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7289 (PARMS): Do not use macros from bp-asm.h.
7291 (__mmap64): Do not use BP_SYM.
7292 (mmap64): Do not use BP_SYM in weak_alias.
7293 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7294 <bp-sym.h> and <bp-asm.h>.
7295 (PARMS): Do not use macros from bp-asm.h.
7296 (__posix_fadvise64_l64): Do not use BP_SYM.
7297 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7298 (PARMS): Do not use macros from bp-asm.h.
7300 (semtimedop): Do not use BP_SYM.
7301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7304 2013-02-21 Allan McRae <allan@archlinux.org>
7306 * manual/message.texi (Charset conversion in gettext):
7307 Move @end statement to beginning of line.
7309 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7321 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7323 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7324 tail-call to the resolved function if pltexit isn't needed.
7326 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7329 or Y being zero as being unlikely.
7330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7333 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7335 * manual/nss.texi (System Databases and Name Service Switch):
7336 Remove frobnicate @pxref.
7338 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7340 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7341 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7343 2013-02-20 Petr Machata <pmachata@redhat.com>
7345 * elf/elf.h (R_ARM_TARGET1): New macro.
7346 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7347 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7348 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7349 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7350 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7351 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7352 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7353 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7354 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7355 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7356 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7357 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7358 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7359 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7360 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7361 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7362 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7363 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7364 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7365 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7366 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7367 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7368 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7369 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7370 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7371 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7372 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7373 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7374 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7375 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7376 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7377 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7378 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7379 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7380 (R_ARM_THM_GOT_BREL12): Likewise.
7381 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7382 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7383 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7384 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7385 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7386 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7387 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7388 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7389 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7391 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7394 __attribute_used__ to __attribute__ ((unused)).
7396 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7398 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7404 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7409 (ENTER): Remove both macro definitions.
7411 (CHECK_BOUNDS_LOW): Likewise.
7412 (CHECK_BOUNDS_HIGH): Likewise.
7413 (CHECK_BOUNDS_BOTH): Likewise.
7414 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7415 (RETURN_BOUNDED_POINTER): Likewise.
7416 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7417 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7418 (POP_ERRNO_LOCATION_RETURN): Likewise.
7419 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7420 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7421 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7424 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7425 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7426 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7427 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7428 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7429 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7430 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7431 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7432 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7433 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7434 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7436 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7439 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7441 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7442 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7443 * sysdeps/i386/i586/memset.S (memset): Likewise.
7444 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7445 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7446 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7449 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7450 Change uses of L(2) to L(out).
7451 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7452 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7453 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7455 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7457 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7458 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7460 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7461 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7462 (RETURN): Do not use macro LEAVE.
7463 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7464 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7465 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7466 * sysdeps/i386/i686/memset.S (memset): Likewise.
7467 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7468 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7470 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7472 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7473 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7474 L(1_2) and L(1_3) into L(1).
7475 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7476 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7477 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7478 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7479 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7480 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7481 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7482 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7483 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7485 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7487 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7488 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7489 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7490 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7491 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7492 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7493 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7494 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7495 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7496 * sysdeps/i386/strspn.S (strspn): Likewise.
7497 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7500 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7501 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7502 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7504 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7505 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7506 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7508 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7510 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7512 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7515 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7517 * math/atest-exp.c (exp_mpn): Remove ROUND.
7518 * math/atest-exp2.c (exp_mpn): Likewise.
7519 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7521 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7522 * stdlib/tst-tls-atexit-lib.c: Likewise.
7523 * stdlib/tst-tls-atexit.c: Likewise.
7525 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7527 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7528 and __attribute_alloc_size__.
7530 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7532 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7533 __attribute_alloc_size__.
7534 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7535 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7537 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7539 * include/programs/xmalloc.h: New file.
7540 * catgets/gencat.c: Include it.
7541 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7542 * elf/pldd.c: Likewise.
7543 * iconv/iconv_charmap.c: Likewise.
7544 * iconv/iconvconfig.c: Likewise.
7545 * iconv/strtab.c: Likewise.
7546 * locale/programs/locale.c: Likewise.
7547 * locale/programs/localedef.h: Likewise.
7548 * locale/programs/simple-hash.c: Likewise.
7549 * nscd/nscd.h: Likewise.
7550 * nss/makedb.c: Likewise.
7551 * sysdeps/generic/ldconfig.h: Likewise.
7553 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7555 * Versions.def: Add GLIBC_2.18.
7556 * include/link.h (struct link_map): New member l_tls_dtor_count.
7557 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7558 (__call_tls_dtors): Likewise.
7559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7560 __cxa_thread_atexit_impl.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7569 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7577 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7578 (tests): Add test case tst-tls-atexit.
7579 (modules-names): Add shared library for tst-tls-atexit.
7580 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7581 (GLIBC_PRIVATE): Add __call_tls_dtors.
7582 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7584 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7585 * stdlib/tst-tls-atexit.c: New test case.
7586 * stdlib/tst-tls-atexit-lib.c: New test case.
7588 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7590 * elf/Versions (ld): Add _dl_find_dso_for_object.
7591 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7592 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7593 (dl_open_worker): Use _dl_find_dso_for_object.
7594 * elf/dl-sym.c (do_sym): Likewise.
7595 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7597 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7599 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7600 Syntactic changes only.
7601 (_dl_runtime_profile): Do a tail-call to the resolved function.
7603 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7606 * sysdeps/x86_64/bp-asm.h: Remove file.
7607 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7608 <bp-sym.h> and <bp-asm.h>.
7609 (__clone): Do not use BP_SYM.
7610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7611 <bp-sym.h> and <bp-asm.h>.
7612 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7613 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7615 (_setjmp): Do not use BP_SYM.
7616 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7618 (setjmp): Do not use BP_SYM.
7619 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7621 (mempcpy): Do not use BP_SYM in weak_alias.
7622 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7624 (strchr): Do not use BP_SYM.
7625 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7627 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7628 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7629 (_start): Do not use BP_SYM.
7630 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7632 (strcat): Do not use BP_SYM.
7633 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7635 (STRCMP): Do not use BP_SYM.
7636 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7638 (STRCPY): Do not use BP_SYM.
7639 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7641 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7643 (FUNCTION): Do not use BP_SYM.
7644 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7646 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7648 2013-02-17 Andreas Jaeger <aj@suse.de>
7650 * time/Versions: Sort entries.
7651 * string/Versions: Likewise.
7652 * resolv/Versions: Likewise.
7653 * posix/Versions: Likewise.
7654 * iconv/Versions: Likewise.
7655 * elf/Versions: Likewise.
7656 * wcsmbs/Versions: Likewise.
7658 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7660 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7661 loop termination condition.
7663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7664 variable to calculate EZ.
7667 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7668 the lower precision input.
7670 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7673 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7674 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7675 (run-via-rtld-prefix): Do not handle %-bp tests.
7676 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7677 (all-object-suffixes): Remove .ob.
7678 (bppfx): Remove variable.
7679 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7680 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7681 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7682 [$(build-bounded) = yes] (libtype.ob): Likewise.
7683 * Makerules (elide-routines.ob): Remove variable.
7684 (do-tests-clean): Do not handle *-bp.out.
7685 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7686 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7687 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7688 (tests): Do not include $(tests-bp.out).
7689 (xtests): Do not include $(xtests-bp.out).
7690 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7691 [$(build-bounded) = yes] ($(addprefix
7692 $(objpfx),$(binaries-bounded))): Remove rule.
7693 ($(objpfx)%-bp.out): Remove rule.
7694 * config.make.in (build-bounded): Remove variable.
7695 * crypt/Makefile [$(build-bounded) = yes]
7696 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7697 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7699 [$(build-bounded) = yes] (install-lib): Likewise.
7700 [$(build-bounded) = yes] (generated): Likewise.
7701 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7703 * intl/Makefile [$(build-bounded) = yes]
7704 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7705 * math/Makefile [$(build-bounded) = yes]
7706 ($(tests:%=$(objpfx)%-bp): Likewise.
7707 * misc/Makefile [$(build-bounded) = yes]
7708 ($(objpfx)tst-tsearch-bp): Likewise.
7709 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7710 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7712 * string/Makefile (o-objects.ob): Remove variable.
7713 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7714 (CFLAGS-.ob): Remove variable.
7715 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7716 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7717 both definitions of variable.
7718 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7719 (ASFLAGS-.ob): Remove variable.
7721 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7724 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7725 Remove __BOUNDED_POINTERS__ from condition.
7726 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7727 * string/bits/string2.h [!__NO_STRING_INLINES &&
7728 !__BOUNDED_POINTERS__]: Likewise.
7729 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7731 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7732 Remove conditional code.
7733 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7734 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7735 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7739 * csu/libc-start.c: Do not include <bp-sym.h>.
7740 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7741 * elf/dl-open.c: Do not include <bp-sym.h>.
7742 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7743 * math/fegetenv.c: Do not include <bp-sym.h>.
7744 (fegetenv): Do not use BP_SYM in versioned symbols.
7745 * nptl/sysdeps/pthread/bits/libc-lockP.h
7746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7749 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7751 (__pthread_mutex_destroy): Likewise.
7752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7753 (__pthread_mutex_lock): Likewise.
7754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7755 (__pthread_mutex_trylock): Likewise.
7756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7757 (__pthread_mutex_unlock): Likewise.
7758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7759 (__pthread_mutexattr_init): Likewise.
7760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7761 (__pthread_mutexattr_destroy): Likewise.
7762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7763 (__pthread_mutexattr_settype): Likewise.
7764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7765 (__pthread_rwlock_init): Likewise.
7766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7767 (__pthread_rwlock_destroy): Likewise.
7768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7769 (__pthread_rwlock_rdlock): Likewise.
7770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7771 (__pthread_rwlock_tryrdlock): Likewise.
7772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7773 (__pthread_rwlock_wrlock): Likewise.
7774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7775 (__pthread_rwlock_trywrlock): Likewise.
7776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7777 (__pthread_rwlock_unlock): Likewise.
7778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7779 (__pthread_key_create): Likewise.
7780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7781 (__pthread_setspecific): Likewise.
7782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7783 (__pthread_getspecific): Likewise.
7784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7787 (_pthread_cleanup_push_defer): Likewise.
7788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7789 (_pthread_cleanup_pop_restore): Likewise.
7790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7791 (pthread_setcancelstate): Likewise.
7792 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7794 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7795 (memchr): Do not use BP_SYM in weak_alias.
7796 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7797 (fegetenv): Do not use BP_SYM in versioned symbols.
7798 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7799 (fesetenv): Do not use BP_SYM in versioned symbols.
7800 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7801 (feupdateenv): Do not use BP_SYM in versioned symbols.
7802 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7803 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7804 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7805 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7806 (open64): Do not use BP_SYM in weak_alias.
7807 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7808 (fegetenv): Do not use BP_SYM in versioned symbols.
7809 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7810 (fesetenv): Do not use BP_SYM in versioned symbols.
7811 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7812 (feupdateenv): Do not use BP_SYM in versioned symbols.
7813 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7814 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7815 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7816 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7817 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7818 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7819 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7821 (__libc_start_main): Do not use BP_SYM.
7823 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7826 redundant return line.
7830 (sub_magnitudes): Likewise.
7836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7840 (sub_magnitudes): Likewise.
7847 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7850 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7853 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7854 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7856 of __mul for squares.
7857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7861 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7862 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7864 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7867 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7869 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7870 prototype or function definition. Rename ubp_* variables and
7871 parameters. Remove argv definitions conditional on
7872 [__BOUNDED_POINTERS__].
7873 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7874 * elf/dl-runtime.c (_dl_fixup): Likewise.
7875 * include/set-hooks.h (RUN_HOOK): Likewise.
7876 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7878 * string/strcpy.c (strcpy): Do not use __unbounded.
7879 * sysdeps/generic/frame.h (struct layout): Likewise.
7880 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7881 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7882 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7883 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7884 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7885 (__backtrace): Likewise.
7886 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7888 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7889 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7890 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7892 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7893 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7894 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7895 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7896 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7897 Do not use __unbounded.
7898 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7899 Rename __unboundedrlimits parameter to rlimits in prototype.
7900 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7901 Do not use __unbounded.
7902 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7904 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7905 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7906 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7907 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7908 __ptrvalue or __unbounded.
7909 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7910 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7912 (__new_msgctl): Do not use __ptrvalue.
7913 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7915 (__libc_msgrcv): Do not use __ptrvalue.
7916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7917 startup_info): Do not use __unbounded.
7918 (__libc_start_main): Likewise. Rename ubp_* variables and
7919 parameters. Remove argv definitions conditional on
7920 [__BOUNDED_POINTERS__].
7921 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7923 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7927 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7929 (__new_shmctl): Do not use __ptrvalue.
7930 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7931 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7933 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7935 (__libc_sigaction): Likewise.
7936 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7941 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7943 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7945 * string/mempcpy.c: Implement by calling memcpy.
7947 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7954 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7955 values in the mantissa.
7957 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7958 minimize writes to Z.
7959 (sub_magnitudes): Simplify code a bit.
7961 2013-02-12 Roland McGrath <roland@hack.frob.com>
7963 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7964 from the message. The linker prefixes all warnings with that already.
7966 2013-02-12 Andreas Schwab <schwab@suse.de>
7969 * posix/regexec.c (extend_buffers): Add parameter min_len.
7970 (check_matching): Pass minimum needed length.
7971 (clean_state_log_if_needed): Likewise.
7972 (get_subexp): Likewise.
7973 * posix/Makefile (tests): Add bug-regex34.
7974 (bug-regex34-ENV): Define.
7975 * posix/bug-regex34.c: New file.
7978 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7979 elements compare against the byte sequence of it, not its name.
7980 * posix/Makefile (tests): Add bug-regex35.
7981 (bug-regex35-ENV): Define.
7982 * posix/bug-regex35.c: New file.
7984 2013-02-11 Tom de Vries <tom@codesourcery.com>
7986 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7988 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7989 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7990 (CHECK_EOL): Add undef.
7992 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7994 * bits/stdlib-bsearch.h: New file.
7995 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7996 * stdlib/stdlib.h: Likewise.
7998 2013-02-11 Roland McGrath <roland@hack.frob.com>
8000 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8001 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8003 * manual/search.texi (Array Search Function): Add missing const in
8005 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8006 declaration to use rlim_t.
8007 (Basic Scheduling Functions): Remove erroneous const from
8008 sched_getparam prototype. Remove erroneous * from
8009 sched_get_priority_max and sched_get_priority_min prototypes.
8010 (Resource Usage): Fix summary @comment on vtimes to refer to
8011 sys/vtimes.h rather than vtimes.h.
8012 Add missing *s in vtimes prototype.
8013 (Limits on Resources): Fix ulimit prototype to return long int.
8014 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8015 prototypes to use long int rather than double.
8016 (BSD Random): Fix initstate and setstate to use char *, not void *.
8017 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8018 prototype to make second argument 'struct aiocb64 *const[]'.
8019 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8020 (Status of AIO Operations): Remove erroneous const in aio_return and
8021 aio_return64 prototypes.
8022 (Synchronizing I/O): Fix sync prototype to return void.
8023 * manual/startup.texi (Suboptions): Remove an erroneous const in
8024 getsubopt prototype.
8025 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8026 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8027 use size_t rather than int.
8028 (Scanning All Users): Likewise for getpwent_r.
8029 (Setting Groups): Add missing const to setgroups prototype.
8030 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8031 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8032 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8033 'const void *' rather than 'const char *'.
8034 (Host Address Functions): Likewise for inet_ntop.
8035 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8036 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8037 ssize_t for return value.
8038 (Sending Data): Likewise for send, sendto, sendmsg.
8039 (Socket Option Functions): Add a missing const in setsockopt prototype.
8040 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8041 use wchar_t for the argument.
8042 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8043 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8045 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8046 double/float/long double for second argument.
8047 Fix return types of significand, significandf, significandl.
8048 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8049 argument in fchmod prototype.
8050 (File Owner): Use uid_t and gid_t in fchown prototype.
8051 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8052 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8053 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8054 use 'const struct dirent **' as argument types to CMP function pointer
8056 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8057 (File Times): Fix summary magic @comment for struct utimbuf and utime
8058 to refer to utime.h, not time.h.
8059 * manual/string.texi (Argz Functions): Add missing const in
8060 argz_extract and argz_next prototypes.
8061 (Finding Tokens in a String): Likewise for basename.
8062 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8063 (Copying and Concatenation): Fix typo in wmemmove prototype.
8064 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8065 (Signal Stack): Remove erroneous const in sigstack prototype.
8066 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8068 (Simple Calendar Time): Likewise for stime.
8069 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8071 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8072 say sys/sysctl.h instead.
8073 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8074 and vsyslog prototypes.
8076 2013-02-11 Tom de Vries <tom@codesourcery.com>
8078 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8081 2013-02-11 Roland McGrath <roland@hack.frob.com>
8083 * misc/sys/mman.h: Fix typo in mremap comment.
8085 2013-02-08 Roland McGrath <roland@hack.frob.com>
8087 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8088 the '\0' terminator.
8090 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8093 * debug/segfault.c: Don't include <bp-checks.h>.
8094 * sysdeps/generic/bp-checks.h: Remove file.
8095 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8096 (__GETDENTS): Don't use CHECK_N.
8097 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8098 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8099 (__getgroups): Don't use CHECK_N.
8100 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8101 (setgroups): Don't use CHECK_N.
8102 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8103 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8104 (__libc_msgrcv): Don't use CHECK_N.
8105 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8106 (__libc_msgsnd): Don't use CHECK_N.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8109 (__libc_pread): Don't use CHECK_N.
8110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8111 include <bp-checks.h>.
8112 (__libc_pread64): Don't use CHECK_N.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8114 include <bp-checks.h>.
8115 (__libc_pwrite): Don't use CHECK_N.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8117 include <bp-checks.h>.
8118 (__libc_pwrite64): Don't use CHECK_N.
8119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8121 (__libc_pread): Don't use CHECK_N.
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8123 include <bp-checks.h>.
8124 (__libc_pread64): Don't use CHECK_N.
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8126 include <bp-checks.h>.
8127 (__libc_pwrite): Don't use CHECK_N.
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8129 include <bp-checks.h>.
8130 (__libc_pwrite64): Don't use CHECK_N.
8131 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8132 (do_pread): Don't use CHECK_N.
8133 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8134 (do_pread64): Don't use CHECK_N.
8135 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8136 (do_pwrite): Don't use CHECK_N.
8137 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8138 (do_pwrite64): Don't use CHECK_N.
8139 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8140 (__libc_readv): Don't use CHECK_N.
8141 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8142 (semop): Don't use CHECK_N.
8143 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8145 (semtimedop): Don't use CHECK_N.
8146 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8147 (__libc_pread): Don't use CHECK_N.
8148 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8150 (__libc_pread64): Don't use CHECK_N.
8151 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8153 (__libc_pwrite): Don't use CHECK_N.
8154 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8156 (__libc_pwrite64): Don't use CHECK_N.
8157 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8159 (__libc_msgrcv): Don't use CHECK_N.
8160 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8161 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8162 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8163 (__libc_writev): Don't use CHECK_N.
8165 2013-02-08 Roland McGrath <roland@hack.frob.com>
8167 * string/strcpy.c: Removed unused variable.
8169 * Makeconfig (+sysdep-includes): Define with := rather than =.
8170 Use an existing include/ subdir of each sysdeps dir before it.
8172 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8174 * nscd/connection.c (register_traced_file): Comment function.
8175 [HAVE_INOTIFY] (union __inev): Define.
8176 [HAVE_INOTIFY] (inotify_check_files): New function.
8177 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8178 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8180 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8182 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8184 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8185 loaded if not already and that a failure is permanent.
8187 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8190 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8191 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8193 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8196 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8197 (CHECK_1_NULL_OK): Likewise.
8198 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8199 (__fxstat): Do not use CHECK_1.
8200 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8202 (___fxstat64): Do not use CHECK_1.
8203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8205 (__fxstatat): Do not use CHECK_1.
8206 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8208 (__fxstatat64): Do not use CHECK_1.
8209 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8211 (__fxstat): Do not use CHECK_1.
8212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8214 (__fxstatat): Do not use CHECK_1.
8215 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8217 (__getresgid): Do not use CHECK_1.
8218 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8220 (__getresuid): Do not use CHECK_1.
8221 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8223 (__lxstat): Do not use CHECK_1.
8224 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8226 (__old_msgctl): Do not use CHECK_1.
8227 (__new_msgctl): Likewise.
8228 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8230 (__new_setrlimit): Do not use CHECK_1.
8231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8233 (__old_shmctl): Do not use CHECK_1.
8234 (__new_shmctl): Likewise.
8235 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8237 (__xstat): Do not use CHECK_1.
8238 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8239 (__lxstat): Do not use CHECK_1.
8240 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8242 (___lxstat64): Do not use CHECK_1.
8243 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8244 (__old_msgctl): Do not use CHECK_1.
8245 (__new_msgctl): Likewise.
8246 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8248 (__gettimeofday): Do not use CHECK_1.
8249 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8250 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8251 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8253 (__gettimeofday): Do not use CHECK_1.
8254 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8255 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8256 (__new_shmctl): Do not use CHECK_1.
8257 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8259 (do_sigtimedwait): Do not use CHECK_1.
8260 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8262 (do_sigwaitinfo): Do not use CHECK_1.
8263 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8265 (msgctl): Do not use CHECK_1.
8266 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8268 (shmctl): Do not use CHECK_1.
8269 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8270 (ustat): Do not use CHECK_1.
8271 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8273 (__fxstat): Do not use CHECK_1.
8274 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8276 (__fxstatat): Do not use CHECK_1.
8277 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8279 (__lxstat): Do not use CHECK_1.
8280 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8282 (__xstat): Do not use CHECK_1.
8283 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8284 (__xstat): Do not use CHECK_1.
8285 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8286 (___xstat64): Do not use CHECK_1.
8289 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8291 (CHECK_BOUNDS_HIGH): Likewise.
8292 * string/strcpy.c: Do not include <bp-checks.h>.
8293 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8295 2013-02-07 Roland McGrath <roland@hack.frob.com>
8297 * nscd/nscd-client.h (__nscd_drop_map_ref):
8298 Add __attribute__ ((unused)).
8299 * nis/nss-nisplus.h (niserr2nss): Likewise.
8301 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8302 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8304 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8305 Remove inline keyword.
8306 * include/rounding-mode.h (round_away): Likewise.
8307 * libio/wfileops.c (adjust_wide_data): Likewise.
8308 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8309 (__m128i_strloadu_tolower): Likewise.
8310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8311 (__m128i_strloadu_tolower): Likewise.
8312 * time/mktime.c (ydhms_diff): Likewise.
8313 * locale/elem-hash.h (elem_hash): Likewise.
8314 * locale/setlocale.c (setdata): Likewise.
8315 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8316 (re_string_wchar_at): Likewise.
8317 (bitset_not, bitset_merge, bitset_mask): Likewise.
8318 [!(__GNUC__ > 3)] (inline): Remove macro.
8319 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8320 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8321 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8322 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8323 * string/memcmp.c (memcmp_bytes): Likewise.
8324 * locale/programs/locarchive.c (compute_hashval): Likewise.
8325 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8326 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8327 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8328 * nss/getent.c (print_rpc, print_protocols): Likewise.
8329 (print_passwd, print_group, print_aliases): Likewise.
8330 * nis/nss-nisplus.h (niserr2nss): Likewise.
8331 * nscd/connections.c (restart_p): Likewise.
8332 Change return type to bool.
8334 2013-02-05 Roland McGrath <roland@hack.frob.com>
8336 * Makeconfig (all-Depend-files): Add existing
8337 $(sorted-subdirs:=/Depend) files.
8338 (all-subdirs): Remove nss.
8339 * sysdeps/unix/inet/Subdirs: Add it here instead.
8340 * hesiod/Depend: New file.
8342 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8343 instead of calling alloca.
8345 * io/lseek.c (__lseek): Rename to __libc_lseek.
8346 Define __lseek as an alias.
8348 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8350 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8352 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8353 else clause and remove check for non-standard endianness.
8355 2013-02-04 David S. Miller <davem@davemloft.net>
8357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8359 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8362 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8363 (__ubp_memchr): Remove prototype.
8364 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8365 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8366 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8367 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8368 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8370 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8371 (__ubp_memchr): Likewise.
8372 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8373 (__ubp_memchr): Likewise.
8374 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8375 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8376 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8377 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8379 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8380 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8381 (__getcwd): Do not use CHECK_STRING.
8382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8384 (__real_chown): Do not use CHECK_STRING.
8385 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8387 (fchownat): Do not use CHECK_STRING.
8388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8390 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8392 (__lchown): Do not use CHECK_STRING.
8393 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8394 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8395 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8396 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8398 include <bp-checks.h>.
8399 (truncate64): Do not use CHECK_STRING.
8400 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8402 (__real_chown): Do not use CHECK_STRING.
8403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8405 (__lchown): Do not use CHECK_STRING.
8406 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8408 (__chown): Do not use CHECK_STRING.
8409 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8411 (truncate64): Do not use CHECK_STRING.
8412 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8414 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8415 (__xmknod): Do not use CHECK_STRING.
8416 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8418 (__xmknodat): Do not use CHECK_STRING.
8419 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8420 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8422 2013-02-04 Andreas Schwab <schwab@suse.de>
8425 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8426 * include/netdb.h: Likewise for h_errno.
8427 * elf/tst-stackguard1.c: Include <tls.h>.
8429 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8431 * elf/link.h (struct link_map): Extend the l_addr comment.
8432 * include/link.h (struct link_map): Likewise.
8434 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8438 (BOUNDED_1): Remove macro.
8439 * debug/backtrace.c: Don't include <bp-checks.h>.
8440 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8441 (__backtrace): Likewise.
8442 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8444 (__backtrace): Don't use BOUNDED_1.
8445 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8447 (__backtrace): Don't use BOUNDED_1.
8448 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8449 (__backtrace): Don't use BOUNDED_1.
8450 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8451 (shmat): Don't use BOUNDED_N.
8453 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8456 * sysdeps/generic/bp-start.h: Remove file.
8457 * csu/libc-start.c: Don't include <bp-start.h>.
8458 (LIBC_START_MAIN): Set up __environ directly instead of using
8459 INIT_ARGV_and_ENVIRON.
8460 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8464 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8466 (CHECK_FCNTL): Likewise.
8467 (CHECK_N_PAGES): Likewise.
8470 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8472 (CHECK_SIGSET_NULL_OK): Likewise.
8473 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8475 (sigpending): Don't use CHECK_SIGSET.
8476 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8478 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8479 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8481 (do_sigsuspend): Don't use CHECK_SIGSET.
8482 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8484 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8485 (do_sigwait): Don't use CHECK_SIGSET.
8486 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8488 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8489 include <bp-checks.h>.
8490 (sigpending): Don't use CHECK_SIGSET.
8491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8492 include <bp-checks.h>.
8493 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8494 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8496 (sigpending): Don't use CHECK_SIGSET.
8497 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8502 * sysdeps/generic/bp-semctl.h: Remove file.
8503 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8504 <bp-checks.h> and <bp-semctl.h>.
8505 (__old_semctl): Don't use CHECK_SEMCTL.
8506 (__new_semctl): Likewise.
8507 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8509 (__old_semctl): Don't use CHECK_SEMCTL.
8510 (__new_semctl): Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8512 <bp-checks.h> and <bp-semctl.h>.
8513 (__old_semctl): Don't use CHECK_SEMCTL.
8514 (__new_semctl): Likewise.
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8516 <bp-checks.h> and <bp-semctl.h>.
8517 (semctl): Don't use CHECK_SEMCTL.
8520 * Makerules (elide-bp-thunks): Remove variable.
8521 (elide-routines.oS): Don't use $(elide-bp-thunks).
8522 (elide-routines.os): Likewise.
8523 (elide-routines.o): Likewise.
8524 (elide-routines.op): Likewise.
8525 (elide-routines.og): Likewise.
8526 (objects): Don't use $(bp-thunks).
8527 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8529 (common-generated): Do not add s-proto-bp.d.
8530 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8533 Do not generate makefile rules for bounded-pointer thunks.
8534 * sysdeps/generic/bp-thunks.h: Remove file.
8535 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8536 * sysdeps/unix/s-proto-bp.S: Likewise.
8539 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8540 parts of result separately when argument is not close to line from
8541 -i to i and one part of argument is small.
8542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8544 * math/libm-test.inc (cacos_test): Add more tests.
8545 (casin_test): Likewise.
8546 (casinh_test): Likewise.
8547 * sysdeps/i386/fpu/libm-test-ulps: Update.
8548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8550 2013-01-31 David S. Miller <davem@davemloft.net>
8552 * po/de.po: Update from translation team.
8554 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8556 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8558 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8560 * configure.in (_AC_PROG_CC_C89): New definition.
8561 * configure: Regenerate.
8563 * configure.in (AC_PROG_CPP): New definition.
8564 * configure: Regenerate.
8566 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8568 * debug/tst-backtrace.h: New file.
8569 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8570 (ret): Remove variable.
8572 (FAIL): Remove macro.
8573 (NO_INLINE): Likewise.
8574 (fn1): Use match function instead of strstr.
8575 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8576 (ret): Remove variable.
8578 (FAIL): Remove macro.
8579 (NO_INLINE): Likewise.
8580 (fn): Use match function instead of strstr.
8581 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8582 (ret): Remove variable.
8584 (FAIL): Remove macro.
8585 (NO_INLINE): Likewise.
8586 (handle_signal): Use match function instead of strstr.
8587 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8588 (ret): Remove variable.
8590 (FAIL): Remove macro.
8591 (NO_INLINE): Likewise.
8592 (handle_signal): Use match function instead of strstr.
8594 2013-01-23 Roland McGrath <roland@hack.frob.com>
8596 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8598 2013-01-23 David S. Miller <davem@davemloft.net>
8600 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8601 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8602 argument of CAS if possible.
8603 * sysdeps/sparc/sparc64/bits/atomic.h
8604 (__arch_compare_and_exchange_val_32_acq): Likewise.
8605 (__arch_compare_and_exchange_val_64_acq): Likewise.
8607 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8609 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8610 * sysdeps/posix/ulimit.c: ... this.
8612 * sysdeps/unix/bsd/ulimit.c: Remove file.
8614 2013-01-23 Adam Conrad <adconrad@0c3.net>
8616 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8617 (LDFLAGS-tst-array5): Likewise.
8619 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8622 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8623 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8624 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8625 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8627 2013-01-21 David S. Miller <davem@davemloft.net>
8629 * sysdeps/sparc/backtrace.c: New file.
8630 * sysdeps/sparc/sparc32/backtrace.h: New file.
8631 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8632 * sysdeps/sparc/sparc64/backtrace.h: New file.
8633 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8634 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8637 2013-01-21 Andreas Schwab <schwab@suse.de>
8640 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8643 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8649 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8650 Mark Mitchell <mark@codesourcery.com>
8651 Tom de Vries <tom@codesourcery.com>
8652 Paul Pluzhnikov <ppluzhnikov@google.com>
8654 * debug/tst-backtrace2.c: New file.
8655 * debug/tst-backtrace3.c: Likewise.
8656 * debug/tst-backtrace4.c: Likewise.
8657 * debug/tst-backtrace5.c: Likewise.
8658 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8659 (CFLAGS-tst-backtrace3.c): Likewise.
8660 (CFLAGS-tst-backtrace4.c): Likewise.
8661 (CFLAGS-tst-backtrace5.c): Likewise.
8662 (LDFLAGS-tst-backtrace2): Likewise.
8663 (LDFLAGS-tst-backtrace3): Likewise.
8664 (LDFLAGS-tst-backtrace4): Likewise.
8665 (LDFLAGS-tst-backtrace5): Likewise.
8666 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8667 tst-backtrace4 and tst-backtrace5.
8669 2013-01-18 Anton Blanchard <anton@samba.org>
8670 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8672 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8673 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8674 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8675 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8677 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8678 "+r" and remove output regs list as redundant. Add explicit inline
8679 asm to specify register of return val to work around compiler codegen
8680 bug. Remove (int) cast on return value. Add return type parameter to
8681 use in macro so that this macro does not truncate return value for
8683 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8684 pass to INTERNAL_VSYSCALL_NCS.
8685 (INLINE_VSYSCALL): Add 'long int' as return type to
8686 INTERNAL_VSYSCALL_NCS macro invocation.
8687 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8688 INTERNAL_VSYSCALL_NCS macro invocation.
8689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8691 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8694 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8695 Fix application of SIMD FP exception mask.
8697 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8698 mp_no from a power of two.
8699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8700 __mpexp_twomm1. Use __pow_mp.
8702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8705 2013-01-17 David S. Miller <davem@davemloft.net>
8707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8709 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8712 * include/complex.h: Condition contents on [!_COMPLEX_H].
8713 (__kernel_casinhf): New prototype.
8714 (__kernel_casinh): Likewise.
8715 (__kernel_casinhl): Likewise.
8716 * math/Makefile (libm_calls): Add k_casinh.
8717 * math/k_casinh.c: New file.
8718 * math/k_casinhf.c: Likewise.
8719 * math/k_casinhl.c: Likewise.
8720 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8721 finite nonzero arguments.
8722 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8723 finite nonzero arguments.
8724 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8725 finite nonzero arguments.
8726 * math/s_casinh.c: Do not include <float.h>.
8727 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8728 * math/s_casinhf.c: Do not include <float.h>.
8729 (__casinhf): Move code for finite nonzero arguments to
8731 * math/s_casinhl.c: Do not include <float.h>.
8732 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8734 (__casinhl): Move code for finite nonzero arguments to
8736 * math/libm-test.inc (cacos_test): Add more tests.
8737 * sysdeps/i386/fpu/libm-test-ulps: Update.
8738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8740 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8742 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8743 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8744 [!HAVE_MREMAP]: Remove [defined linux] case.
8745 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8747 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8749 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8751 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8753 * elf/elf.h (R_386_SIZE32): New relocation.
8754 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8756 (elf_machine_rela): Likewise.
8757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8758 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8760 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8762 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8763 (FP_FAST_FMA): Do not define.
8764 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8765 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8766 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8767 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8768 !_SOFT_FLOAT]: Likewise.
8769 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8773 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8774 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8776 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8777 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8780 2013-01-16 Andreas Schwab <schwab@suse.de>
8783 * include/stdlib.h (__mktemp): Add declaration.
8784 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8785 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8787 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8789 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8791 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8792 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8793 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8795 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8796 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8798 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8800 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8801 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8804 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8805 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8807 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8809 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8811 2013-01-15 David S. Miller <davem@davemloft.net>
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8814 trunc{,f} to libm-sysdep_routes.
8815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8829 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8830 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8833 nearbyint{,f} to libm-sysdep_routes.
8834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8847 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8851 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8852 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8855 libc_feholdexcept and libc_fesetenv.
8857 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8859 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8861 2013-01-14 David S. Miller <davem@davemloft.net>
8863 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8864 (SPARC_ASM_VIS2_IFUNC): Likewise.
8865 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8867 use of 'siam' instruction.
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8887 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8901 routines to libm-sysdep_routines.
8902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8905 fdim/fdimf to libm-sysdep_routines.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8914 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8915 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8916 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8917 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8919 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8921 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8924 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8929 local variable MPTWO.
8930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8933 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8935 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8938 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8940 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8942 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8944 * manual/pattern.texi (glob_t): Document gl_flags.
8945 (glob64_t): Likewise.
8947 2013-01-11 David S. Miller <davem@davemloft.net>
8949 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8950 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8951 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8952 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8953 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8954 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8956 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8957 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8958 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8959 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8960 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8963 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8964 sparc V9 rather than using V8 code.
8965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8968 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8970 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8973 2013-01-11 Roland McGrath <roland@hack.frob.com>
8975 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8976 not in the main loop.
8977 * configure: Regenerated.
8979 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8981 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8982 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8984 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8985 [!__GLIBC_HAVE_LONG_LONG] case.
8986 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8987 condition to just #else.
8988 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8989 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8990 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8991 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8993 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8994 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8995 #elif condition to just #else.
8996 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8997 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8998 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8999 #elif condition to just #else.
9001 2013-01-11 Steve Ellcey <sellcey@mips.com>
9003 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9004 (EF_MIPS_ARCH_64): Fix value.
9005 (EF_MIPS_ARCH_32R2): New.
9006 (EF_MIPS_ARCH_64R2): New.
9008 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9010 * Makeconfig (+link-pie-before-libc): New.
9011 (+link-pie-after-libc): Likewise.
9012 (+link-pie-tests): Likewise.
9013 (+link-pie): Rewritten.
9014 (link-before-libc): Remove $(config-LDFLAGS).
9015 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9016 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9017 (config-LDFLAGS): Renamed to ...
9018 (rtld-LDFLAGS): This.
9019 (rtld-tests-LDFLAGS): New macro.
9020 (link-libc-rpath-link): Likewise.
9021 (link-libc-tests-rpath-link): Likewise.
9022 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9023 (link-libc): Prepand $(link-libc-rpath-link).
9024 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9025 (test-program-prefix): New macro.
9026 (test-via-rtld-prefix): Likewise.
9027 (test-program-cmd): Likewise.
9028 (host-test-program-cmd): Likewise.
9029 * Makefile ($(common-objpfx)testrun.sh): Replace
9030 $(run-program-prefix) with $(test-program-prefix).
9031 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9033 ($(common-objpfx)shlib.lds): Likewise.
9034 (build-module-helper): Likewise.
9035 ($(common-objpfx)format.lds): Likewise.
9036 * Rules (binaries-pie-tests): New.
9037 (binaries-pie-notests): Likewise.
9038 (binaries-pie): Rewritten.
9039 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9040 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9041 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9042 (make-test-out): Replace $(host-built-program-cmd) with
9043 $(host-test-program-cmd).
9044 * config.make.in (build-hardcoded-path-in-tests): New variable.
9045 * configure.in (--enable-hardcoded-path-in-tests): New configure
9047 (hardcoded_path_in_tests): New AC_SUBST.
9048 * configure: Regenerated.
9049 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9050 $(built-program-cmd) with $(test-program-cmd).
9051 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9052 (test_program_cmd): This.
9053 * elf/Makefile ($(objpfx)order.out): Run test with
9054 $(test-program-prefix).
9055 ($(objpfx)order2.out): Likewise.
9056 ($(objpfx)tst-initorder.out): Likewise.
9057 ($(objpfx)tst-initorder2.out): Likewise.
9058 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9059 $(test-program-cmd).
9060 ($(objpfx)tst-array1-static.out): Likewise.
9061 ($(objpfx)tst-array2.out): Likewise.
9062 ($(objpfx)tst-array3.out): Likewise.
9063 ($(objpfx)tst-array4.out): Likewise.
9064 ($(objpfx)tst-array5.out): Likewise.
9065 ($(objpfx)tst-array5-static.out): Likewise.
9066 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9067 $(test-program-cmd).
9068 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9069 $(run-program-prefix) with $(test-program-prefix).
9070 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9071 (test_program_prefix): This.
9072 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9073 $(run-program-prefix) with $(test-program-prefix).
9074 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9075 (test_program_prefix): This.
9076 * iconvdata/tst-tables.sh: Likewise.
9077 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9078 $(run-program-prefix) with $(test-program-prefix).
9079 ($(objpfx)tst-translit.out): Likewise.
9080 ($(objpfx)tst-gettext2.out): Likewise.
9081 ($(objpfx)tst-gettext4.out): Likewise.
9082 ($(objpfx)tst-gettext6.out): Likewise.
9083 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9084 (test_program_prefix): This.
9085 * intl/tst-gettext2.sh: Likewise.
9086 * intl/tst-gettext4.sh Likewise.
9087 * intl/tst-gettext6.sh: Likewise.
9088 * intl/tst-translit.sh: Likewise.
9089 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9090 with $(test-program-cmd).
9091 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9092 $(run-program-prefix) with $(test-program-prefix).
9093 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9094 (test_program_prefix): This.
9095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9096 $(run-program-prefix) with $(test-program-prefix).
9097 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9098 (test_program_prefix): This.
9099 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9100 * posix/Makefile ($(objpfx)globtest.out): Replace
9101 $(run-via-rtld-prefix) and $(test-wrapper) with
9102 $(test-program-prefix) and $(test-via-rtld-prefix).
9103 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9104 $(test-program-prefix).
9105 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9106 $(host-test-program-cmd).
9107 (tst-spawn-ARGS): Likewise.
9108 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9109 $(test-program-prefix).
9110 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9111 (test_via_rtld_prefix): This.
9112 (test_wrapper): Renamed to ...
9113 (test_program_prefix): This.
9114 (run_program_prefix): Replaced by test_program_prefix.
9115 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9116 (test_program_prefix): This.
9117 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9118 with $(host-test-program-cmd).
9119 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9120 $(run-program-prefix) with $(test-program-prefix).
9121 ($(objpfx)tst-printf.out): Likewise.
9122 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9123 $(test-program-cmd).
9124 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9125 (test_program_prefix): This.
9126 * stdio-common/tst-unbputc.sh: Likewise.
9127 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9128 $(run-program-prefix) with $(test-program-prefix).
9129 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9130 (test_program_prefix): This.
9131 * string/Makefile ($(objpfx)tst-svc.out): Replace
9132 $(built-program-cmd) with $(test-program-cmd).
9134 2013-01-11 Andreas Jaeger <aj@suse.de>
9137 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9138 value. Sync with Linux 3.7.
9140 2013-01-10 David S. Miller <davem@davemloft.net>
9142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9146 2013-01-10 Roland McGrath <roland@hack.frob.com>
9148 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9150 * configure: Regenerated.
9152 2013-01-10 David S. Miller <davem@davemloft.net>
9154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9155 sparc V9 rather than using V8 code.
9156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9159 2013-01-10 Roland McGrath <roland@hack.frob.com>
9161 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9162 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9163 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9164 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9165 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9166 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9167 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9168 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9169 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9170 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9171 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9172 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9173 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9174 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9175 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9176 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9177 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9178 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9179 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9180 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9181 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9182 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9183 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9184 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9185 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9186 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9187 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9189 2013-01-10 David S. Miller <davem@davemloft.net>
9191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9193 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9195 * posix/Makefile (tests-static): New variable.
9196 (tests): Add $(tests-static).
9197 (tst-exec-static-ARGS): New variable.
9198 (tst-spawn-static-ARGS): Likewise.
9199 * posix/tst-exec-static.c: New file.
9200 * posix/tst-spawn-static.c: Likewise.
9201 * posix/tst-exec.c: Support run directly.
9202 * posix/tst-spawn.c: Likewise.
9204 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9206 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9208 * math/bits/mathcalls.h (llrint): Likewise.
9209 (llround): Likewise.
9210 * stdlib/stdlib.h (struct drand48_data): Likewise.
9211 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9212 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9213 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9215 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9217 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9218 (elf_greg_t): Likewise.
9219 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9220 (__jmp_buf): Likewise.
9221 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9223 (llrint): Likewise, for all definitions.
9224 (llrintl): Likewise.
9226 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9227 Remove [__GNUC__] condition.
9228 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9229 condition to just [__USE_ISOC99].
9230 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9232 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9235 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9236 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9238 (_POSIX_V6_ILP32_OFF32): Likewise.
9239 (_XBS5_ILP32_OFF32): Likewise.
9240 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9241 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9243 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9245 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9248 doubles __mpexp_twomm1. Adjust usage.
9249 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9252 2013-01-10 Andreas Schwab <schwab@suse.de>
9255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9256 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9258 2013-01-09 David S. Miller <davem@davemloft.net>
9261 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9262 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9263 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9264 TCP_FASTOPEN): Define.
9265 (tcp_repair_opt): New structure.
9266 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9268 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9269 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9270 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9271 (tcp_cookie_transactions): New structure.
9273 2013-01-09 Anton Blanchard <anton@samba.org>
9275 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9276 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9280 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9282 * include/features.h (__USE_ANSI): Remove.
9284 2013-01-09 Roland McGrath <roland@hack.frob.com>
9286 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9288 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9290 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9292 * sysdeps/s390/fpu/libm-test-ulps: Update.
9294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9296 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9301 (__mp_dbl): Likewise.
9302 (__dbl_mp): Likewise.
9303 (add_magnitudes): Likewise.
9304 (sub_magnitudes): Likewise.
9310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9315 (__mp_dbl): Likewise.
9316 (__dbl_mp): Likewise.
9317 (add_magnitudes): Likewise.
9318 (sub_magnitudes): Likewise.
9324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9329 (__mp_dbl): Likewise.
9330 (__dbl_mp): Likewise.
9331 (add_magnitudes): Likewise.
9332 (sub_magnitudes): Likewise.
9339 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9341 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9342 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9343 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9344 2 && __USE_EXTERN_INLINES]: Likewise.
9346 2013-01-08 Andreas Jaeger <aj@suse.de>
9349 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9351 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9352 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9354 2013-01-07 Anton Blanchard <anton@samba.org>
9356 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9357 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9358 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9359 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9360 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9361 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9362 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9363 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9366 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9368 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9369 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9371 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9372 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9374 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9377 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9379 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9380 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9381 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9383 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9384 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9386 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9388 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9389 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9390 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9391 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9392 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9394 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9395 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9400 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9402 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9403 (__MALLOC_PMT): Likewise.
9404 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9405 [__GNUC__], only on [_LIBC].
9406 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9407 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9408 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9409 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9410 forward declaration.
9411 (realloc_hook_ini): Likewise.
9412 (memalign_hook_ini): Likewise.
9413 (__libc_memalign): Do not use __MALLOC_PMT in variable
9415 (__libc_valloc): Likewise.
9416 (__libc_pvalloc): Likewise.
9417 (__libc_calloc): Likewise.
9418 (__posix_memalign): Likewise.
9421 * math/s_casinh.c: Include <float.h>.
9422 (__casinh): Do not do computation with squaring and square root
9423 for large arguments.
9424 * math/s_casinhf.c: Include <float.h>.
9425 (__casinhf): Do not do computation with squaring and square root
9426 for large arguments.
9427 * math/s_casinhl.c: Include <float.h>.
9428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9429 (__casinhl): Do not do computation with squaring and square root
9430 for large arguments.
9431 * math/libm-test.inc (casin_test): Add more tests.
9432 (casinh_test): Likewise.
9433 * sysdeps/i386/fpu/libm-test-ulps: Update.
9434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9436 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9438 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9439 (__x86_64_raw_data_cache_size): Likewise.
9440 (__x86_64_data_cache_size_half): Likewise.
9441 (__x86_64_raw_data_cache_size_half): Likewise.
9442 (__x86_64_shared_cache_size): Likewise.
9443 (__x86_64_raw_shared_cache_size): Likewise.
9444 (__x86_64_shared_cache_size_half): Likewise.
9445 (__x86_64_raw_shared_cache_size_half): Likewise.
9446 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9448 (__x86_data_cache_size): This.
9449 (__x86_64_raw_data_cache_size): Renamed to ...
9450 (__x86_raw_data_cache_size): This.
9451 (__x86_64_data_cache_size_half): Renamed to ...
9452 (__x86_data_cache_size_half): This.
9453 (__x86_64_raw_data_cache_size_half): Renamed to ...
9454 (__x86_raw_data_cache_size_half): This.
9455 (__x86_64_shared_cache_size): Renamed to ...
9456 (__x86_shared_cache_size): This.
9457 (__x86_64_raw_shared_cache_size): Renamed to ...
9458 (__x86_raw_shared_cache_size): This.
9459 (__x86_64_shared_cache_size_half): Renamed to ...
9460 (__x86_shared_cache_size_half): This.
9461 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9462 (__x86_raw_shared_cache_size_half): This.
9463 * sysdeps/x86_64/memcpy.S: Updated.
9464 * sysdeps/x86_64/memset.S: Likewise.
9465 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9469 2013-01-04 David S. Miller <davem@davemloft.net>
9471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9473 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9476 1 to avoid redefinition warning.
9477 (__USE_GNU): Don't define.
9478 (init_signaling_nan): Protoize.
9480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9482 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9484 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9486 (__cpymn): Likewise.
9487 (norm): Remove commented code.
9489 (__mp_dbl): Likewise.
9491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9492 (__cpymn): Likewise.
9493 (norm): Remove commented code.
9495 (__mp_dbl): Likewise.
9498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9499 mp_no value for 1.0 and 2.0.
9500 (norm): Use RADIXI instead of radixi.d.
9502 (__mul): Use 0.0 instead of zero.d.
9503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9504 mp_no value for 1.0 and 2.0.
9505 (norm): Use RADIXI instead of radixi.d.
9507 (__mul): Use 0.0 instead of zero.d.
9509 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9512 * math/s_casinh.c (__casinh): Reduce finite argument to first
9513 quadrant then set signs of results at the end.
9514 * math/s_casinhf.c (__casinhf): Likewise.
9515 * math/s_casinhl.c (__casinhl): Likewise.
9516 * math/libm-test.inc (casin_test): Add more tests.
9517 (casinh_test): Likewise.
9518 * sysdeps/i386/fpu/libm-test-ulps: Update.
9519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9521 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9523 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9525 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9527 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9530 (__mp_dbl): Likewise.
9533 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9534 and adjust the header comment.
9536 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9537 variable name from declaration.
9539 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9542 Initialize COMMON_CPUID_INDEX_7 element.
9543 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9544 (CPUID_RTM): Likewise.
9545 (HAS_RTM): Likewise.
9546 (COMMON_CPUID_INDEX_7): New enum.
9548 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9551 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9552 size is zero, record memory as freed.
9554 2013-01-03 Andreas Jaeger <aj@suse.de>
9556 * po/ia.po: Add new Interlingua translation.
9558 2012-01-03 Allan McRae <allan@archlinux.org>
9560 * locale/programs/localedef.c: Fix description of '--posix' flag.
9562 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9564 * NEWS: Update dates in second copyright notice.
9565 * README: Update copyright dates in example.
9566 * manual/libc.texinfo: Update copyright dates.
9567 * scripts/test-installation.pl: Update copyright date in --version
9570 * hurd/ctty-input.c: Fix copyright notice formatting.
9571 * hurd/ctty-output.c: Likewise.
9572 * hurd/dtable.c: Likewise.
9573 * hurd/hurd-raise.c: Likewise.
9574 * hurd/hurdprio.c: Likewise.
9575 * hurd/msgportdemux.c: Likewise.
9576 * misc/sys/file.h: Likewise.
9577 * misc/sys/ioctl.h: Likewise.
9578 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9579 * sysdeps/mach/hurd/chdir.c: Likewise.
9580 * sysdeps/mach/hurd/fchdir.c: Likewise.
9581 * sysdeps/mach/hurd/rename.c: Likewise.
9582 * sysdeps/mach/hurd/rmdir.c: Likewise.
9583 * sysdeps/mach/hurd/seekdir.c: Likewise.
9584 * sysdeps/mach/hurd/setsid.c: Likewise.
9585 * sysdeps/posix/wait3.c: Likewise.
9587 * All files with FSF copyright notices: Update copyright dates
9588 using scripts/update-copyrights.
9589 * intl/plural.c: Regenerated.
9590 * locale/programs/charmap-kw.h: Likewise.
9591 * locale/programs/locfile-kw.h: Likewise.
9593 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9599 calculation loop and add branch prediction.
9601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9602 check access beyond bounds of m1np.
9604 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9606 (__inv): Remove local variable MPTWO to use the global
9608 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9609 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9611 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9612 MP3HALFS static const.
9614 2013-01-01 David S. Miller <davem@davemloft.net>
9616 * po/ca.po: Update from translation team.
9618 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9620 * scripts/update-copyrights: New file.
9621 * Makeconfig: Reformat copyright notice.
9622 * ctype/ctype.h: Likewise.
9623 * debug/swprintf_chk.c: Likewise.
9624 * elf/dl-cache.c: Likewise.
9625 * elf/dl-debug.c: Likewise.
9626 * elf/dl-object.c: Likewise.
9627 * grp/initgroups.c: Likewise.
9628 * hurd/Makefile: Likewise.
9629 * hurd/hurd/signal.h: Likewise.
9630 * hurd/hurdfault.c: Likewise.
9631 * hurd/hurdioctl.c: Likewise.
9632 * hurd/hurdlookup.c: Likewise.
9633 * hurd/intr-msg.c: Likewise.
9634 * iconv/gconv_open.c: Likewise.
9635 * libio/swprintf.c: Likewise.
9636 * locale/lc-ctype.c: Likewise.
9637 * locale/nl_langinfo.c: Likewise.
9638 * mach/Machrules: Likewise.
9639 * mach/Makefile: Likewise.
9640 * malloc/obstack.h: Likewise.
9641 * manual/Makefile: Likewise.
9642 * manual/tsort.awk: Likewise.
9643 * misc/bits/stab.def: Likewise.
9644 * nis/nis_print_group_entry.c: Likewise.
9645 * nis/nis_table.c: Likewise.
9646 * nis/nss_compat/compat-pwd.c: Likewise.
9647 * nis/nss_compat/compat-spwd.c: Likewise.
9648 * po/Makefile: Likewise.
9649 * posix/fnmatch.c: Likewise.
9650 * posix/regex.h: Likewise.
9651 * resolv/Makefile: Likewise.
9652 * resolv/nss_dns/dns-network.c: Likewise.
9653 * resolv/res_hconf.c: Likewise.
9654 * scripts/gen-sorted.awk: Likewise.
9655 * soft-fp/soft-fp.h: Likewise.
9656 * stdio-common/printf.h: Likewise.
9657 * stdlib/monetary.h: Likewise.
9658 * stdlib/random.c: Likewise.
9659 * stdlib/random_r.c: Likewise.
9660 * sysdeps/generic/Makefile: Likewise.
9661 * sysdeps/gnu/Makefile: Likewise.
9662 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9670 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9671 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9672 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9673 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9674 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9680 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9690 * sysdeps/mach/hurd/errnos.awk: Likewise.
9691 * sysdeps/mach/hurd/fork.c: Likewise.
9692 * sysdeps/mach/hurd/getcwd.c: Likewise.
9693 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9694 * sysdeps/mach/hurd/mmap.c: Likewise.
9695 * sysdeps/mach/hurd/utimes.c: Likewise.
9696 * sysdeps/mach/hurd/xmknod.c: Likewise.
9697 * sysdeps/posix/profil.c: Likewise.
9698 * sysdeps/posix/readdir_r.c: Likewise.
9699 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9700 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9701 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9702 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9704 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9706 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9708 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9710 * sysdeps/pthread/lio_listio.c: Likewise.
9711 * sysdeps/sparc/dl-procinfo.h: Likewise.
9712 * sysdeps/unix/i386/sysdep.S: Likewise.
9713 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9714 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9715 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9716 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9718 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9719 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9720 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9721 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9722 * sysdeps/wordsize-32/divdi3.c: Likewise.
9723 * time/sys/time.h: Likewise.
9724 * wcsmbs/Makefile: Likewise.
9726 2013-01-01 David S. Miller <davem@davemloft.net>
9728 * po/fr.po: Update from translation team.
9730 * catgets/gencat.c: Update copyright year.
9731 * csu/version.c: Likewise.
9732 * debug/catchsegv.sh: Likewise.
9733 * debug/pcprofiledump.c: Likewise.
9734 * debug/xtrace.sh: Likewise.
9735 * elf/ldconfig.c: Likewise.
9736 * elf/ldd.bash.in: Likewise.
9737 * elf/pldd.c: Likewise.
9738 * elf/sotruss.ksh: Likewise.
9739 * elf/sprof.c: Likewise.
9740 * iconv/iconv_prog.c: Likewise.
9741 * iconv/iconvconfig.c: Likewise.
9742 * locale/programs/locale.c: Likewise.
9743 * locale/programs/localedef.c: Likewise.
9744 * login/programs/pt_chown.c: Likewise.
9745 * malloc/memusage.sh: Likewise.
9746 * malloc/memusagestat.c: Likewise.
9747 * malloc/mtrace.pl: Likewise.
9748 * nscd/nscd.c: Likewise.
9749 * nss/getent.c: Likewise.
9750 * nss/makedb.c: Likewise.
9751 * posix/getconf.c: Likewise.
9753 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9755 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9758 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9760 * math/bits/mathcalls.h (modf): Use __nonnull.
9762 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9764 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9765 (split): Use macro CN instead of the bare value.
9766 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9769 instead of the bare value.
9772 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9776 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9778 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9781 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9782 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9783 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9785 2012-12-28 Andreas Jaeger <aj@suse.de>
9787 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9788 values are from Linux 3.7.
9790 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9791 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9793 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9795 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9800 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9801 variables with preprocessor constants.
9802 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9803 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9804 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9806 2012-12-27 Bruno Haible <bruno@clisp.org>
9809 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9812 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9815 and use variable directly.
9816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9818 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9820 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9825 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9826 include directive. Remove local variable MPONE.
9827 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9828 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9829 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9831 2012-12-25 David S. Miller <davem@davemloft.net>
9833 * version.h (RELEASE): Set to "development".
9834 (VERSION): Set to "2.17.90".
9835 * NEWS: Add 2.18 section.
9837 2012-12-21 David S. Miller <davem@davemloft.net>
9839 * po/hr.po: Update from translation team.
9841 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9843 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9845 2012-12-19 Steve Ellcey <sellcey@mips.com>
9847 * NEWS: Mention new memcpy for MIPS.
9849 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9851 * manual/contrib.texi (Contributors): Spelling correction.
9853 2012-12-15 David S. Miller <davem@davemloft.net>
9855 * po/ru.po: Update from translation team.
9857 2012-12-13 David S. Miller <davem@davemloft.net>
9859 * NEWS: Mention IFUNC testsuite enhancements.
9861 * po/pl.po: Update from translation team.
9862 * po/bg.po: Likewise.
9864 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9865 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9867 2012-12-11 David S. Miller <davem@davemloft.net>
9869 * po/sv.po: Update from translation team.
9871 * po/vi.po: Update from translation team.
9873 * po/cs.po: Update from translation team.
9875 * po/de.po: Update from translation team.
9876 * po/eo.po: Likewise.
9877 * po/nl.po: Likewise.
9879 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9882 * manual/argp.texi (Argp Helper Functions): Move node to follow
9886 * manual/conf.texi (Limits on File System Capacity): Mention if
9887 terminating null is included in the max size.
9889 2012-12-10 Andreas Jaeger <aj@suse.de>
9891 * po/cs.po: Update from translation team.
9893 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9895 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9896 void pointer and cast to uintptr_t.
9897 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9899 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9900 * sysdeps/s390/s390-64/memset.S: Likewise.
9902 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9905 * menual/message.texi (Message Translation): Fix typos.
9906 (Helper programs for gettext): Likewise.
9908 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9911 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9914 2012-12-07 David S. Miller <davem@davemloft.net>
9916 * po/libc.pot: Update.
9918 2012-12-07 Richard Henderson <rth@redhat.com>
9921 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9922 normal/normal case to before the switch.
9923 (_FP_DIV): Likewise.
9925 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9926 Mike Frysinger <vapier@gentoo.org>
9928 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9929 check for __NR_fadvise64_64.
9931 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9933 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9934 0, not just to plain "0" as a statement.
9935 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9938 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9940 * NEWS: Use sourceware.org in Bugzilla URL.
9942 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9945 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9947 * stdio-common/tst-put-error.c (do_test): Add newline to the
9948 padded test to ensure flush.
9950 2012-12-05 Jeff Law <law@redhat.com>
9952 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9954 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9956 * README: Don't refer to ports add-on as distributed separately.
9957 Mention AArch64 in list of systems supported in the ports add-on.
9959 * LICENSES: Add more non-FSF copyright and license notices.
9961 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9966 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9967 10000 as width of padded output.
9969 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9974 variable LX with __attribute__ ((unused)).
9975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9979 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9980 with __attribute__ ((unused)).
9982 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9984 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9986 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9988 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9989 (CFLAGS-nldbl-acos.c): New variable.
9990 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10004 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10005 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10006 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10027 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10028 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10029 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10030 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10031 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10032 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10033 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10034 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10039 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10040 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10045 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10046 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10047 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10048 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10049 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10050 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10051 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10052 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10053 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10054 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10055 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10056 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10057 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10058 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10059 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10062 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10063 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10064 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10065 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10066 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10067 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10068 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10069 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10070 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10071 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10072 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10073 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10074 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10075 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10076 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10077 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10078 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10079 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10080 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10081 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10082 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10083 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10084 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10085 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10086 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10089 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10092 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10093 whole low double instead of just low 47 bits when splitting values
10096 2012-12-03 Allan McRae <allan@archlinux.org>
10098 * manual/stdio.texi (Predefined Printf Handlers): Remove
10099 @hsep and @vsep usage.
10101 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10103 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10104 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10106 2012-12-03 Jeff Law <law@redhat.com>
10108 * time/sys/time.h (settimeofday): Do not mark TV argument
10111 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10113 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10114 when currently writing and seek to current position when not.
10115 * libio/Makefile (tests): Remove bug-fclose1.
10116 * libio/bug-fclose1.c: Delete.
10118 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10120 * manual/arith.texi (feenableexcept): Fix typo.
10121 (fedisableexcept): Likewise.
10123 2012-11-30 Roland McGrath <roland@hack.frob.com>
10125 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10126 second, differently-typed declaration, rather than a cast.
10128 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10130 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10131 * include/rpc/svc.h: ... here.
10133 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10136 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10137 depending n and resplen2 to catch cases where answer
10140 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10142 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10143 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10145 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10149 2012-11-29 Roland McGrath <roland@hack.frob.com>
10151 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10153 2012-11-28 Jeff Law <law@redhat.com>
10156 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10157 dataset_temporary. Track alloca usage into alloca_used.
10158 If dataset is large allocate and release it via malloc/free.
10160 2012-06-04 Florian Weimer <fweimer@redhat.com>
10163 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10165 2012-11-28 David S. Miller <davem@davemloft.net>
10167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10169 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10172 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10173 of pi/2 rounded to nearest to 64 bits.
10174 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10175 nearest to 64 bits.
10176 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10179 2012-11-28 Jeff Law <law@redhat.com>
10180 Martin Osvald <mosvald@redhat.com>
10183 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10184 * sunrpc/svc.c: Include time.h.
10185 (__svc_accept_failed): New function.
10186 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10187 any reason other than EINTR, call __svc_accept_failed.
10188 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10189 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10191 2012-11-28 Andreas Schwab <schwab@suse.de>
10193 * scripts/abilist.awk: Also handle indirect functions in .opd
10196 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10199 * sysdeps/x86/fpu/powl_helper.c: New file.
10200 * sysdeps/x86/fpu/Makefile: Likewise.
10201 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10203 (__ieee754_powl): Use __powl_helper for finite arguments except
10204 integer exponents below 8.
10205 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10207 (__ieee754_powl): Use __powl_helper for finite arguments except
10208 integer exponents below 8.
10209 * math/libm-test.inc (pow_test): Add more tests and enable some
10210 previously disabled tests.
10211 * sysdeps/i386/fpu/libm-test-ulps: Update.
10212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10215 Carlos O'Donell <carlos_odonell@mentor.com>
10217 * nss/makedb.c (is_prime): Assert that input is odd and greater
10218 than 4. Note that fact in a comment too.
10219 (next_prime): Add 4 to input.
10221 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10224 * libio/Makefile (tests): Add test case tst-fwrite-error.
10225 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10226 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10227 * libio/tst-fwrite-error.c: New test case.
10229 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10231 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10232 before casting to void *.
10233 * include/libc-internal.h (__pointer_type): New macro.
10234 (__integer_if_pointer_type_sub): Likewise.
10235 (__integer_if_pointer_type): Likewise.
10236 (cast_to_integer): Likewise.
10237 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10238 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10239 before casting to atomic64_t.
10240 (atomic_exchange_acq): Likewise.
10241 (__arch_exchange_and_add_body): Likewise.
10242 (__arch_add_body): Likewise.
10243 (atomic_add_negative): Likewise.
10244 (atomic_add_zero): Likewise.
10246 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10248 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10249 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10250 (add_fdes): Likewise.
10251 (linear_search_fdes): Likewise.
10252 (binary_search_unencoded_fdes): Likewise.
10254 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10256 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10258 2012-11-24 Adam Conrad <adconrad@0c3.net>
10260 * configure.in: Autodetect C++ header directories.
10261 * configure: Regenerated.
10263 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10265 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10267 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10271 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10273 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10274 LDBL_MANT_DIG == 106]: Disable some tests.
10275 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10277 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10282 input for small inputs. Return +/- pi/2 for large inputs.
10283 * math/libm-test.inc (atan_test): Add more tests.
10285 * sysdeps/generic/unwind-dw2-fde-glibc.c
10286 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10287 __attribute__ ((unused)).
10290 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10291 x * y if x and y are nonzero and z is zero.
10294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10295 nonzero exponents with absolute value below 0x1p-117 to +/-
10299 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10300 up arguments below 2**-450, not just those below 2**-500.
10301 * math/libm-test.inc (hypot_test): Add another test.
10304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10305 Return a+b for ratio over 2**120, not 2**60.
10306 * math/libm-test.inc (hypot_test): Add another test.
10308 * math/libm-test.inc (clog_test): Use
10309 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10310 (clog10_test): Likewise.
10313 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10315 2012-11-22 Andreas Schwab <schwab@suse.de>
10317 * sysdeps/i386/fpu/libm-test-ulps: Update.
10319 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10321 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10322 printf output with newline.
10324 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10327 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10328 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10329 -z nodlopen, -z initfirst and -z execstack support.
10330 * configure: Regenerated.
10332 * elf/elf.h (DF_1_NODIRECT): New macro.
10333 (DF_1_IGNMULDEF): Likewise.
10334 (DF_1_NOKSYMS): Likewise.
10335 (DF_1_NOHDR): Likewise.
10336 (DF_1_EDITED): Likewise.
10337 (DF_1_NORELOC): Likewise.
10338 (DF_1_SYMINTPOSE): Likewise.
10339 (DF_1_GLOBAUDIT): Likewise.
10340 (DF_1_SINGLETON): Likewise.
10341 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10342 DT_1_SUPPORTED_MASK bits.
10343 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10345 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10347 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10349 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10351 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10354 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10355 (sendmmsg): Move declarations...
10356 * socket/sys/socket.h: ... here.
10357 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10358 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10360 * socket/recvmmsg.c: ... this new file.
10361 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10362 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10363 definition of __sendmmsg hidden.
10364 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10365 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10366 Move ENOSYS stub into and include it from...
10367 * socket/sendmmsg.c: ... this new file.
10368 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10369 (sysdep_routines): Move recvmmsg and sendmmsg...
10370 * socket/Makefile (routines): ... here.
10371 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10372 (GLIBC_PRIVATE): Add __sendmmsg.
10373 * include/sys/socket.h (__sendmmsg): Add declarations.
10374 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10377 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10380 variable I1 with __attribute__ ((unused)).
10381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10383 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10385 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10386 DUMMY variables with __attribute__ ((unused)).
10388 * bits/byteswap.h: Include <bits/types.h>.
10389 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10391 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10393 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10394 string_t. Do not manually set errno.
10395 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10396 length with __strnlen. Make sure to both set errno and return it on
10399 2012-11-19 David S. Miller <davem@davemloft.net>
10401 With help from Joseph Myers.
10402 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10403 very large arguments properly.
10404 * math/libm-test.inc (atan_test): New tests.
10405 (atan2_test): New tests.
10406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10409 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10412 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10415 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10416 [POSIX] (EADDRNOTAVAIL): Likewise.
10417 [POSIX] (EAFNOSUPPORT): Likewise.
10418 [POSIX] (EALREADY): Likewise.
10419 [POSIX] (ECONNABORTED): Likewise.
10420 [POSIX] (ECONNREFUSED): Likewise.
10421 [POSIX] (ECONNRESET): Likewise.
10422 [POSIX] (EDESTADDRREQ): Likewise.
10423 [POSIX] (EDQUOT): Likewise.
10424 [POSIX] (EHOSTUNREACH): Likewise.
10425 [POSIX] (EIDRM): Likewise.
10426 [POSIX] (EISCONN): Likewise.
10427 [POSIX] (ELOOP): Likewise.
10428 [POSIX] (EMULTIHOP): Likewise.
10429 [POSIX] (ENETDOWN): Likewise.
10430 [POSIX] (ENETUNREACH): Likewise.
10431 [POSIX] (ENOBUFS): Likewise.
10432 [POSIX] (ENODATA): Likewise.
10433 [POSIX] (ENOLINK): Likewise.
10434 [POSIX] (ENOMSG): Likewise.
10435 [POSIX] (ENOPROTOOPT): Likewise.
10436 [POSIX] (ENOSR): Likewise.
10437 [POSIX] (ENOSTR): Likewise.
10438 [POSIX] (ENOTCONN): Likewise.
10439 [POSIX] (ENOTSOCK): Likewise.
10440 [POSIX] (EOPNOTSUPP): Likewise.
10441 [POSIX] (EOVERFLOW): Likewise.
10442 [POSIX] (EPROTO): Likewise.
10443 [POSIX] (EPROTONOSUPPORT): Likewise.
10444 [POSIX] (EPROTOTYPE): Likewise.
10445 [POSIX] (ESTALE): Likewise.
10446 [POSIX] (ETIME): Likewise.
10447 [POSIX] (ETXTBSY): Likewise.
10448 [POSIX] (EWOULDBLOCK): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10450 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10451 [POSIX] (SEEK_CUR): Likewise.
10452 [POSIX] (SEEK_END): Likewise.
10453 [POSIX || UNIX98] (mode_t): Do not require.
10454 [POSIX] (off_t): Likewise.
10455 [POSIX] (pid_t): Likewise.
10456 [POSIX] (sys/stat.h): Do not allow header.
10457 [POSIX] (unistd.h): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10459 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10461 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10463 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10464 sigevent): Specify elements.
10465 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10467 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10468 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10470 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10471 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10472 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10473 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10474 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10475 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10476 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10477 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10479 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10480 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10481 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10482 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10487 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10489 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10491 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10493 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10494 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10496 Specify lower bound on value.
10497 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10499 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10500 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10501 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10502 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10503 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10504 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10506 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10508 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10525 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10527 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10529 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10530 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10531 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10532 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10534 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10535 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10536 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10537 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10538 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10539 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10543 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10544 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10545 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10546 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10547 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10548 specify as optional.
10549 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10550 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10551 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10552 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10553 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10554 [XPG3] (NL_LANGMAX): Likewise.
10555 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10556 [POSIX || XPG3] (NL_NMAX): Likewise.
10557 [POSIX || XPG3] (NL_SETMAX): Likewise.
10558 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10559 [XPG3] (NZERO): Likewise.
10560 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10561 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10562 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10563 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10564 (REG_ERANGE): Expect.
10565 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10567 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10568 Use (void) in prototype.
10569 [POSIX] (*_t): Allow.
10570 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10571 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10572 (WRDE_BADVAL): Expect.
10574 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10576 [XPG3 || XPG4] (O_RSYNC): Likewise.
10577 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10579 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10580 [XPG3 || XPG4] (sigqueue): Likewise.
10581 [XPG3 || XPG4] (sigtimedwait): Likewise.
10582 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10583 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10584 [XPG3 || XPG4] (vsnprintf): Likewise.
10585 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10587 [XPG3 || XPG4] (blksize_t): Likewise.
10588 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10590 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10591 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10592 [XPG3 || XPG4] (struct itimerspec): Likewise.
10593 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10594 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10595 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10596 [XPG3 || XPG4] (clockid_t): Likewise.
10597 [XPG3 || XPG4] (timer_t): Likewise.
10598 [XPG3 || XPG4] (clock_getres): Likewise.
10599 [XPG3 || XPG4] (clock_gettime): Likewise.
10600 [XPG3 || XPG4] (clock_settime): Likewise.
10601 [XPG3 || XPG4] (nanosleep): Likewise.
10602 [XPG3 || XPG4] (timer_create): Likewise.
10603 [XPG3 || XPG4] (timer_delete): Likewise.
10604 [XPG3 || XPG4] (timer_gettime): Likewise.
10605 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10606 [XPG3 || XPG4] (timer_settime): Likewise.
10607 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10608 [XPG3 || XPG4] (getlogin_r): Likewise.
10609 [XPG3 || XPG4] (pread): Likewise.
10610 [XPG3 || XPG4] (pthread_atfork): Likewise.
10611 [XPG3 || XPG4] (pwrite): Likewise.
10614 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10617 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10619 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10620 finalizing MALLSTREAM.
10622 * sysdeps/mach/hurd/syncfs.c: New file.
10624 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10627 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10628 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10629 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10630 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10631 (_nss_dns_gethostbyname4_r): Likewise.
10632 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10633 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10635 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10638 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10640 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10642 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10643 * elf/cache.c (print_entry): Print ",AArch64" for
10646 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10647 * elf/cache.c (print_entry): Print ",hard-float" for
10650 2012-11-18 David S. Miller <davem@davemloft.net>
10652 With help from Joseph Myers.
10653 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10655 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10657 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10658 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10660 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10661 * math/libm-test.inc (y0_test): New tests.
10662 (y1_test): New tests.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10667 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10669 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10671 * configure: Regenerated.
10673 2012-11-17 David S. Miller <davem@davemloft.net>
10676 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10677 nonzero exponents with absolute value below 0x1p-128 to +/-
10680 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10682 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10684 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10686 * posix/getconf-speclist.c: New file.
10687 * posix/posix-envs.def: Likewise.
10688 * posix/confstr.c (START_ENV_GROUP): New macro.
10689 (END_ENV_GROUP): Likewise.
10690 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10691 (KNOWN_PRESENT_ENV_STRING): Likewise.
10692 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10693 (UNKNOWN_ENVIRONMENT): Likewise.
10694 (confstr): Include posix-envs.def instead of handling
10695 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10696 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10697 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10698 (END_ENV_GROUP): Likewise.
10699 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10700 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10701 (UNKNOWN_ENVIRONMENT): Likewise.
10702 (__sysconf): Include posix-envs.def instead of handling associated
10703 cases directly here.
10704 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10705 preprocessing getconf-speclist.c rather than running getconf or
10706 generating empty file.
10708 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10710 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10712 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10715 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10717 2012-11-16 David S. Miller <davem@davemloft.net>
10719 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10720 smaller than LDBL_EPSILON/2.0L, just return xm1.
10722 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10724 * elf/tst-array1.c (init): Set constructor priority to 1000.
10725 (fini): Set destructor priority to 1000.
10726 * elf/tst-array2dep.c: Likewise.
10728 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10731 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10732 (_IO_new_file_xsputn): Also return EOF if none of the input
10733 data was written when overflow failed.
10734 * libio/iopadn.c (_IO_padn): Likewise.
10735 * libio/iowpadn.c (_IO_wpadn): Likewise.
10736 * stdio-common/tst-put-error.c: Add copyright notice.
10737 (do_test): Add case for printing padded string.
10738 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10739 _IO_padn returned error.
10740 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10741 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10744 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 * libio/libioP.h: Add comment note that the references to C++
10747 bits are now obsolete.
10749 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10751 * math/libm-test.inc (check_complex): Use asprintf.
10753 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10755 * debug/pcprofiledump.c (print_version): Update copyright year.
10756 * malloc/memusagestat.c (print_version): Likewise.
10758 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10761 * elf/Makefile (tests): Add tst-audit8.
10762 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10763 ($(objpfx)tst-audit8.out): New target.
10764 (tst-audit8-ENV): New variable.
10765 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10766 audit if l_reloc_result is NULL.
10767 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10768 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10769 * elf/tst-audit8.c: New file.
10771 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10773 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10774 * misc/Makefile (CFLAGS-select.c): Define.
10775 * posix/Makefile (CFLAGS-pause.c): Define.
10777 2012-11-13 David S. Miller <davem@davemloft.net>
10779 * crypt/Makefile: Move test targets after toplevel Rules
10780 inclusion. Grab any necessary sysdep routines when linking.
10781 * crypt/md5.c (md5_process_block): Remove define, we will always
10782 name it __md5_process_block.
10783 (md5_finish_ctx): Update md5_process_block call.
10784 (md5_stream): Likewise.
10785 (md5_process_bytes): Likewise.
10786 (md5_process_block): Rename to __md5_process_block and move to ...
10787 * crypt/md5-block.c: ... here.
10788 * crypt/sha256.c (sha256_process_block): Move to ...
10789 * crypt/sha256-block.c: ... here.
10790 * crypt/sha512.c (sha512_process_block): Move to ...
10791 * crypt/sha512-block.c: ... here.
10792 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10794 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10795 * sysdeps/sparc/sparc64/multiarch/Makefile
10796 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10798 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10799 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10801 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10802 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10803 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10804 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10805 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10806 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10807 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10808 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10811 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10814 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10816 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10818 * timezone/tzselect.ksh: Update from tzcode git revision
10819 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10820 * timezone/zdump.c: Likewise.
10821 * timezone/zic.c: Likewise.
10822 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10823 in TZVERSION setting, not $(PKGVERSION).
10824 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10825 REPORT_BUGS_TO settings.
10828 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10831 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10833 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10834 detection to immediately after _FP_ROUND().
10835 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10838 2012-11-11 David S. Miller <davem@davemloft.net>
10840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10842 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10843 __close rather than their public counterparts.
10845 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10847 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10849 [UNIX98] (sem_timedwait): Do not expect.
10850 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10851 [XPG4 || UNIX98] (sockatmark): Do not expect.
10852 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10853 (clock_getcpuclockid): Do not expect.
10854 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10855 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10857 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10858 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10859 [UNIX98] (vwscanf): Likewise.
10860 [UNIX98] (vswscanf): Likewise.
10862 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10864 * timezone/version.h: Remove file.
10865 * timezone/README: Do not refer to version.h.
10866 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10867 $(objpfx)version.h.
10868 ($(objpfx)zdump.o): Likewise.
10869 ($(objpfx)version.h): New target.
10871 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10873 * timezone/README: Don't mention modification to tzselect.ksh.
10874 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10875 work on unmodified tzselect.ksh. Substitute version numbers in
10878 * Makefile (format-me): Remove.
10879 (INSTALL): Adjust indentation. Use commands directly instead of
10880 using $(format-me).
10882 * aclocal.m4 (ACX_PKGVERSION): New macro.
10883 (ACX_BUGURL): Likewise.
10884 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10885 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10886 (REPORT_BUGS_TO): Likewise.
10887 * configure: Regenerated.
10888 * config.h.in (PKGVERSION): New macro.
10889 (REPORT_BUGS_TO): Likewise.
10890 * config.make.in (PKGVERSION): New variable.
10891 (PKGVERSION_TEXI): Likewise.
10892 (REPORT_BUGS_TO): Likewise.
10893 (REPORT_BUGS_TEXI): Likewise.
10894 * Makefile (format-me): Use -I$(common-objpfx)manual.
10895 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10896 ($(common-objpfx)manual/%): New target.
10897 (manual/%): Remove target.
10898 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10899 (print_version): Use PKGVERSION.
10900 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10901 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10902 and REPORT_BUGS_TO.
10903 ($(objpfx)xtrace): Likewise.
10904 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10905 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10906 (print_version): Use PKGVERSION.
10907 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10908 (do_version): Use PKGVERSION.
10909 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10911 (common-ldd-rewrite): Likewise.
10912 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10913 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10914 (print_version): Use PKGVERSION.
10915 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10916 * elf/pldd.c (argp_program_bug_address): Remove variable.
10917 (more_help): New function.
10918 (argp): Use more_help.
10919 (print_version): Use PKGVERSION.
10920 * elf/sln.c (main): Use PKGVERSION.
10921 (usage): Use REPORT_BUGS_TO.
10922 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10923 (top level): Use PKGVERSION.
10924 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10925 (print_version): Use PKGVERSION.
10926 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10927 (print_version): Use PKGVERSION.
10928 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10929 (print_version): Use PKGVERSION.
10930 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10931 (print_version): Use PKGVERSION.
10932 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10933 (print_version): Use PKGVERSION.
10934 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10935 (print_version): Use PKGVERSION.
10936 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10938 ($(objpfx)memusage): Likewise.
10939 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10940 (do_version): Use PKGVERSION.
10941 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10942 (print_version): Use PKGVERSION.
10943 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10944 ($PKGVERSION): New variable.
10945 ($REPORT_BUGS_TO): Likewise.
10946 (usage): Use $REPORT_BUGS_TO.
10947 (top level): Use $PKGVERSION.
10948 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10949 ($(objpfx)pkgvers.texi): New rule.
10950 ($(objpfx)stamp-pkgvers): Likewise.
10951 * manual/install.texi: Include pkgvers.texi.
10952 (--with-pkgversion): Document new configure option.
10953 (--with-bugurl): Likewise.
10954 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10955 than necessarily for this particular distribution. Use
10956 REPORT_BUGS_TO for where to report bugs.
10957 * INSTALL: Regenerated.
10958 * manual/libc.texinfo: Include pkgvers.texi.
10959 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10960 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10961 (print_version): Use PKGVERSION.
10962 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10963 (print_version): Use PKGVERSION.
10964 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10965 (print_version): Use PKGVERSION.
10966 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10967 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10969 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10970 (print_version): Use PKGVERSION.
10971 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10972 (print_version): Use PKGVERSION.
10973 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10976 * timezone/checktab.awk: Update from tzcode 2012i.
10977 * timezone/ialloc.c: Likewise.
10978 * timezone/private.h: Likewise.
10979 * timezone/scheck.c: Likewise.
10980 * timezone/tzfile.h: Likewise.
10981 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10982 (TZVERSION): Hardcode tzcode version number.
10983 * timezone/zdump.c: Update from tzcode 2012i.
10984 * timezone/zic.c: Likewise.
10985 * timezone/version.h: New file.
10986 * timezone/README: Describe version.h. Update upstream location.
10989 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10990 (mktemp): Enable declaration.
10991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11004 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11008 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11009 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11010 for copies of such integer values.
11011 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11012 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11014 2012-11-09 Andreas Jaeger <aj@suse.de>
11016 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11017 definitions and declarations that are provided by
11018 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11020 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11023 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11024 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11027 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11029 * elf/elf.h: Update comment before AArch64 relocations.
11031 2012-11-07 David S. Miller <davem@davemloft.net>
11033 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11034 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11035 (__start_context): Declare.
11036 (__makecontext_ret): Delete.
11037 (__makecontext): Hook up __start_context instead of
11039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11040 (sysdep_routines): Add __start_context when in stdlib.
11042 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11045 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11046 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11048 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11049 (READELF): New variable. Use it instead of hardcoded "readelf".
11051 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11053 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11054 * sysdeps/x86/Makefile: Here.
11055 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11056 * sysdeps/x86/tst-xmmymm.sh: This.
11058 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11060 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11062 [UNIX98] (pthread_barrier_t): Do not expect.
11063 [UNIX98] (pthread_barrierattr_t): Likewise.
11064 [UNIX98] (pthread_spinlock_t): Likewise.
11065 [UNIX98] (pthread_barrier_destroy): Likewise.
11066 [UNIX98] (pthread_barrier_init): Likewise.
11067 [UNIX98] (pthread_barrier_wait): Likewise.
11068 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11069 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11070 [UNIX98] (pthread_barrierattr_init): Likewise.
11071 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11072 [UNIX98] (pthread_getcpuclockid): Likewise.
11073 [UNIX98] (pthread_mutex_timedlock): Likewise.
11074 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11075 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11076 [UNIX98] (pthread_sigmask): Likewise.
11077 [UNIX98] (pthread_spin_destroy): Likewise.
11078 [UNIX98] (pthread_spin_init): Likewise.
11079 [UNIX98] (pthread_spin_lock): Likewise.
11080 [UNIX98] (pthread_spin_trylock): Likewise.
11081 [UNIX98] (pthread_spin_unlock): Likewise.
11082 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11084 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11085 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11086 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11087 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11088 [XPG3 || XPG4] (pthread_key_t): Likewise.
11089 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11090 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11091 [XPG3 || XPG4] (pthread_once_t): Likewise.
11092 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11093 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11094 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11095 [XPG3 || XPG4] (pthread_t): Likewise.
11097 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11099 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11101 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11102 Change function return type to int.
11104 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11105 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11106 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11107 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11108 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11109 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11110 [!POSIX] (posix_madvise): Likewise.
11111 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11113 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11114 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11115 (mode_t): Likewise.
11116 (posix_mem_offset): Likewise.
11117 (posix_typed_mem_get_info): Likewise.
11118 (posix_typed_mem_open): Likewise.
11120 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11121 Change condition to [XOPEN2K8].
11123 * conform/conformtest.pl: Preprocess allow-header data with -x c
11124 instead of from stdin.
11125 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11126 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11127 [C99-based standards] (cerfc): Likewise.
11128 [C99-based standards] (cexp2): Likewise.
11129 [C99-based standards] (cexpm1): Likewise.
11130 [C99-based standards] (clog10): Likewise.
11131 [C99-based standards] (clog1p): Likewise.
11132 [C99-based standards] (clog2): Likewise.
11133 [C99-based standards] (clgamma): Likewise.
11134 [C99-based standards] (ctgamma): Likewise.
11135 [C99-based standards] (cerff): Likewise.
11136 [C99-based standards] (cerfcf): Likewise.
11137 [C99-based standards] (cexp2f): Likewise.
11138 [C99-based standards] (cexpm1f): Likewise.
11139 [C99-based standards] (clog10f): Likewise.
11140 [C99-based standards] (clog1pf): Likewise.
11141 [C99-based standards] (clog2f): Likewise.
11142 [C99-based standards] (clgammaf): Likewise.
11143 [C99-based standards] (ctgammaf): Likewise.
11144 [C99-based standards] (cerfl): Likewise.
11145 [C99-based standards] (cerfcl): Likewise.
11146 [C99-based standards] (cexp2l): Likewise.
11147 [C99-based standards] (cexpm1l): Likewise.
11148 [C99-based standards] (clog10l): Likewise.
11149 [C99-based standards] (clog1pl): Likewise.
11150 [C99-based standards] (clog2l): Likewise.
11151 [C99-based standards] (clgammal): Likewise.
11152 [C99-based standards] (ctgammal): Likewise.
11153 * conform/data/inttypes.h-data [C99-based standards]: Include
11154 stdint.h-data. Remove all expectations for stdint.h contents.
11155 [C99-based standards] (PRI*): Do not allow.
11156 [C99-based standards] (SCN*): Likewise.
11157 [C99-based standards] (*_t): Likewise.
11158 [C99-based-standards] (PRId8): Expect macro.
11159 [C99-based-standards] (PRIi8): Likewise.
11160 [C99-based-standards] (PRIo8): Likewise.
11161 [C99-based-standards] (PRIu8): Likewise.
11162 [C99-based-standards] (PRIx8): Likewise.
11163 [C99-based-standards] (PRIX8): Likewise.
11164 [C99-based-standards] (SCNd8): Likewise.
11165 [C99-based-standards] (SCNi8): Likewise.
11166 [C99-based-standards] (SCNo8): Likewise.
11167 [C99-based-standards] (SCNu8): Likewise.
11168 [C99-based-standards] (SCNx8): Likewise.
11169 [C99-based-standards] (PRIdLEAST8): Likewise.
11170 [C99-based-standards] (PRIiLEAST8): Likewise.
11171 [C99-based-standards] (PRIoLEAST8): Likewise.
11172 [C99-based-standards] (PRIuLEAST8): Likewise.
11173 [C99-based-standards] (PRIxLEAST8): Likewise.
11174 [C99-based-standards] (PRIXLEAST8): Likewise.
11175 [C99-based-standards] (SCNdLEAST8): Likewise.
11176 [C99-based-standards] (SCNiLEAST8): Likewise.
11177 [C99-based-standards] (SCNoLEAST8): Likewise.
11178 [C99-based-standards] (SCNuLEAST8): Likewise.
11179 [C99-based-standards] (SCNxLEAST8): Likewise.
11180 [C99-based-standards] (PRIdFAST8): Likewise.
11181 [C99-based-standards] (PRIiFAST8): Likewise.
11182 [C99-based-standards] (PRIoFAST8): Likewise.
11183 [C99-based-standards] (PRIuFAST8): Likewise.
11184 [C99-based-standards] (PRIxFAST8): Likewise.
11185 [C99-based-standards] (PRIXFAST8): Likewise.
11186 [C99-based-standards] (SCNdFAST8): Likewise.
11187 [C99-based-standards] (SCNiFAST8): Likewise.
11188 [C99-based-standards] (SCNoFAST8): Likewise.
11189 [C99-based-standards] (SCNuFAST8): Likewise.
11190 [C99-based-standards] (SCNxFAST8): Likewise.
11191 [C99-based-standards] (PRId16): Likewise.
11192 [C99-based-standards] (PRIi16): Likewise.
11193 [C99-based-standards] (PRIo16): Likewise.
11194 [C99-based-standards] (PRIu16): Likewise.
11195 [C99-based-standards] (PRIx16): Likewise.
11196 [C99-based-standards] (PRIX16): Likewise.
11197 [C99-based-standards] (SCNd16): Likewise.
11198 [C99-based-standards] (SCNi16): Likewise.
11199 [C99-based-standards] (SCNo16): Likewise.
11200 [C99-based-standards] (SCNu16): Likewise.
11201 [C99-based-standards] (SCNx16): Likewise.
11202 [C99-based-standards] (PRIdLEAST16): Likewise.
11203 [C99-based-standards] (PRIiLEAST16): Likewise.
11204 [C99-based-standards] (PRIoLEAST16): Likewise.
11205 [C99-based-standards] (PRIuLEAST16): Likewise.
11206 [C99-based-standards] (PRIxLEAST16): Likewise.
11207 [C99-based-standards] (PRIXLEAST16): Likewise.
11208 [C99-based-standards] (SCNdLEAST16): Likewise.
11209 [C99-based-standards] (SCNiLEAST16): Likewise.
11210 [C99-based-standards] (SCNoLEAST16): Likewise.
11211 [C99-based-standards] (SCNuLEAST16): Likewise.
11212 [C99-based-standards] (SCNxLEAST16): Likewise.
11213 [C99-based-standards] (PRIdFAST16): Likewise.
11214 [C99-based-standards] (PRIiFAST16): Likewise.
11215 [C99-based-standards] (PRIoFAST16): Likewise.
11216 [C99-based-standards] (PRIuFAST16): Likewise.
11217 [C99-based-standards] (PRIxFAST16): Likewise.
11218 [C99-based-standards] (PRIXFAST16): Likewise.
11219 [C99-based-standards] (SCNdFAST16): Likewise.
11220 [C99-based-standards] (SCNiFAST16): Likewise.
11221 [C99-based-standards] (SCNoFAST16): Likewise.
11222 [C99-based-standards] (SCNuFAST16): Likewise.
11223 [C99-based-standards] (SCNxFAST16): Likewise.
11224 [C99-based-standards] (PRId32): Likewise.
11225 [C99-based-standards] (PRIi32): Likewise.
11226 [C99-based-standards] (PRIo32): Likewise.
11227 [C99-based-standards] (PRIu32): Likewise.
11228 [C99-based-standards] (PRIx32): Likewise.
11229 [C99-based-standards] (PRIX32): Likewise.
11230 [C99-based-standards] (SCNd32): Likewise.
11231 [C99-based-standards] (SCNi32): Likewise.
11232 [C99-based-standards] (SCNo32): Likewise.
11233 [C99-based-standards] (SCNu32): Likewise.
11234 [C99-based-standards] (SCNx32): Likewise.
11235 [C99-based-standards] (PRIdLEAST32): Likewise.
11236 [C99-based-standards] (PRIiLEAST32): Likewise.
11237 [C99-based-standards] (PRIoLEAST32): Likewise.
11238 [C99-based-standards] (PRIuLEAST32): Likewise.
11239 [C99-based-standards] (PRIxLEAST32): Likewise.
11240 [C99-based-standards] (PRIXLEAST32): Likewise.
11241 [C99-based-standards] (SCNdLEAST32): Likewise.
11242 [C99-based-standards] (SCNiLEAST32): Likewise.
11243 [C99-based-standards] (SCNoLEAST32): Likewise.
11244 [C99-based-standards] (SCNuLEAST32): Likewise.
11245 [C99-based-standards] (SCNxLEAST32): Likewise.
11246 [C99-based-standards] (PRIdFAST32): Likewise.
11247 [C99-based-standards] (PRIiFAST32): Likewise.
11248 [C99-based-standards] (PRIoFAST32): Likewise.
11249 [C99-based-standards] (PRIuFAST32): Likewise.
11250 [C99-based-standards] (PRIxFAST32): Likewise.
11251 [C99-based-standards] (PRIXFAST32): Likewise.
11252 [C99-based-standards] (SCNdFAST32): Likewise.
11253 [C99-based-standards] (SCNiFAST32): Likewise.
11254 [C99-based-standards] (SCNoFAST32): Likewise.
11255 [C99-based-standards] (SCNuFAST32): Likewise.
11256 [C99-based-standards] (SCNxFAST32): Likewise.
11257 [C99-based-standards] (PRId64): Likewise.
11258 [C99-based-standards] (PRIi64): Likewise.
11259 [C99-based-standards] (PRIo64): Likewise.
11260 [C99-based-standards] (PRIu64): Likewise.
11261 [C99-based-standards] (PRIx64): Likewise.
11262 [C99-based-standards] (PRIX64): Likewise.
11263 [C99-based-standards] (SCNd64): Likewise.
11264 [C99-based-standards] (SCNi64): Likewise.
11265 [C99-based-standards] (SCNo64): Likewise.
11266 [C99-based-standards] (SCNu64): Likewise.
11267 [C99-based-standards] (SCNx64): Likewise.
11268 [C99-based-standards] (PRIdLEAST64): Likewise.
11269 [C99-based-standards] (PRIiLEAST64): Likewise.
11270 [C99-based-standards] (PRIoLEAST64): Likewise.
11271 [C99-based-standards] (PRIuLEAST64): Likewise.
11272 [C99-based-standards] (PRIxLEAST64): Likewise.
11273 [C99-based-standards] (PRIXLEAST64): Likewise.
11274 [C99-based-standards] (SCNdLEAST64): Likewise.
11275 [C99-based-standards] (SCNiLEAST64): Likewise.
11276 [C99-based-standards] (SCNoLEAST64): Likewise.
11277 [C99-based-standards] (SCNuLEAST64): Likewise.
11278 [C99-based-standards] (SCNxLEAST64): Likewise.
11279 [C99-based-standards] (PRIdFAST64): Likewise.
11280 [C99-based-standards] (PRIiFAST64): Likewise.
11281 [C99-based-standards] (PRIoFAST64): Likewise.
11282 [C99-based-standards] (PRIuFAST64): Likewise.
11283 [C99-based-standards] (PRIxFAST64): Likewise.
11284 [C99-based-standards] (PRIXFAST64): Likewise.
11285 [C99-based-standards] (SCNdFAST64): Likewise.
11286 [C99-based-standards] (SCNiFAST64): Likewise.
11287 [C99-based-standards] (SCNoFAST64): Likewise.
11288 [C99-based-standards] (SCNuFAST64): Likewise.
11289 [C99-based-standards] (SCNxFAST64): Likewise.
11290 [C99-based-standards] (PRIdMAX): Likewise.
11291 [C99-based-standards] (PRIiMAX): Likewise.
11292 [C99-based-standards] (PRIoMAX): Likewise.
11293 [C99-based-standards] (PRIuMAX): Likewise.
11294 [C99-based-standards] (PRIxMAX): Likewise.
11295 [C99-based-standards] (PRIXMAX): Likewise.
11296 [C99-based-standards] (SCNdMAX): Likewise.
11297 [C99-based-standards] (SCNiMAX): Likewise.
11298 [C99-based-standards] (SCNoMAX): Likewise.
11299 [C99-based-standards] (SCNuMAX): Likewise.
11300 [C99-based-standards] (SCNxMAX): Likewise.
11301 [C99-based-standards] (PRIdPTR): Likewise.
11302 [C99-based-standards] (PRIiPTR): Likewise.
11303 [C99-based-standards] (PRIoPTR): Likewise.
11304 [C99-based-standards] (PRIuPTR): Likewise.
11305 [C99-based-standards] (PRIxPTR): Likewise.
11306 [C99-based-standards] (PRIXPTR): Likewise.
11307 [C99-based-standards] (SCNdPTR): Likewise.
11308 [C99-based-standards] (SCNiPTR): Likewise.
11309 [C99-based-standards] (SCNoPTR): Likewise.
11310 [C99-based-standards] (SCNuPTR): Likewise.
11311 [C99-based-standards] (SCNxPTR): Likewise.
11312 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11314 * conform/data/stdint.h-data: Update comments to clarify
11316 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11318 [C99-based standards] (INT8_MAX): Likewise.
11319 [C99-based standards] (INT16_MIN): Likewise.
11320 [C99-based standards] (INT16_MAX): Likewise.
11321 [C99-based standards] (INT32_MIN): Likewise.
11322 [C99-based standards] (INT32_MAX): Likewise.
11323 [C99-based standards] (INT64_MIN): Likewise.
11324 [C99-based standards] (INT64_MAX): Likewise.
11325 [C99-based standards] (UINT8_MAX): Likewise.
11326 [C99-based standards] (UINT16_MAX): Likewise.
11327 [C99-based standards] (UINT32_MAX): Likewise.
11328 [C99-based standards] (UINT64_MAX): Likewise.
11329 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11330 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11331 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11332 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11333 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11334 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11335 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11336 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11337 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11338 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11339 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11340 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11341 [C99-based standards] (INT_FAST8_MIN): Likewise.
11342 [C99-based standards] (INT_FAST8_MAX): Likewise.
11343 [C99-based standards] (INT_FAST16_MIN): Likewise.
11344 [C99-based standards] (INT_FAST16_MAX): Likewise.
11345 [C99-based standards] (INT_FAST32_MIN): Likewise.
11346 [C99-based standards] (INT_FAST32_MAX): Likewise.
11347 [C99-based standards] (INT_FAST64_MIN): Likewise.
11348 [C99-based standards] (INT_FAST64_MAX): Likewise.
11349 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11350 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11351 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11352 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11353 [C99-based standards] (INTPTR_MIN): Likewise.
11354 [C99-based standards] (INTPTR_MAX): Likewise.
11355 [C99-based standards] (UINTPTR_MAX): Likewise.
11356 [C99-based standards] (INTMAX_MIN): Likewise.
11357 [C99-based standards] (INTMAX_MAX): Likewise.
11358 [C99-based standards] (UINTMAX_MAX): Likewise.
11359 [C99-based standards] (PTRDIFF_MIN): Likewise.
11360 [C99-based standards] (PTRDIFF_MAX): Likewise.
11361 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11362 [C99-based standards] (SIZE_MAX): Likewise.
11363 [C99-based standards] (WCHAR_MAX): Likewise.
11364 [C99-based standards] (WINT_MAX): Likewise.
11365 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11366 constraint on value.
11367 [C99-based standards] (WCHAR_MIN): Likewise.
11368 [C99-based standards] (WINT_MIN): Likewise.
11369 [C99-based standards] (*_t): Allow.
11370 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11371 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11372 Include math.h-data and complex.h-data. Remove all expectations
11373 of math.h and complex.h contents.
11374 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11376 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11377 (struct tm): Expect tag.
11378 [C99-based-standards] (wcstof): Expect function.
11379 [C99-based-standards] (wcstold): Likewise.
11380 [C99-based-standards] (wcstoll): Likewise.
11381 [C99-based-standards] (wcstoull): Likewise.
11382 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11383 macro-int-constant. Specify type.
11384 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11385 constraint on value.
11386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11388 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11390 [ISO C standards]: Do not allow headers.
11391 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11392 wcs[abcdefghijklmnopqrstuvwxyz]*.
11393 [ISO C standards] (*_t): Do not allow.
11394 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11396 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11397 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11399 [ISO C standards]: Do not allow headers.
11400 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11401 is[abcdefghijklmnopqrstuvwxyz]*.
11402 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11403 to[abcdefghijklmnopqrstuvwxyz]*.
11404 [ISO C standards] (*_t): Do not allow.
11405 * conform/data/stdalign.h-data: New file.
11406 * conform/data/stdbool.h-data: Likewise.
11407 * conform/data/stdnoreturn.h-data: Likewise.
11409 2012-11-07 Roland McGrath <roland@hack.frob.com>
11412 * manual/filesys.texi (Directory Entries): Typo fix.
11413 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11415 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11417 * elf/elf.h (EM_AARCH64): New macro.
11418 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11419 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11420 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11421 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11422 (R_AARCH64_TLSDESC): Likewise.
11423 (NT_ARM_TLS): Likewise.
11424 (NT_ARM_HW_BREAK): Likewise.
11425 (NT_ARM_HW_WATCH): Likewise.
11427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11430 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11431 (__ieee754_powl): Saturate nonzero exponents with absolute value
11432 below 0x1p-79 to +/- 0x1p-79.
11433 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11434 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11435 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11436 nonzero exponents with absolute value below 0x1p-32 to +/-
11438 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11439 (__ieee754_powl): Saturate nonzero exponents with absolute value
11440 below 0x1p-79 to +/- 0x1p-79.
11441 * math/libm-test.inc (pow_test): Add more tests.
11443 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11445 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11446 _dl_s390_cap_flags with kernel. Increase string length.
11447 (_dl_s390_platforms): Add z196 and zEC12.
11449 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11451 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11452 Change XOPEN21K to XOPEN2K.
11454 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11456 * string/memmove.c: Use memcpy when possible.
11458 2012-11-06 Andreas Jaeger <aj@suse.de>
11460 * po/eo.po: Update from translation team.
11462 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11466 exponent and small x and y exponents, scale x or y up. Increase
11467 by 2 the exponent used in scaling up.
11468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11470 * math/libm-test.inc (fma_test): Add more tests.
11471 (fma_test_towardzero): Likewise.
11472 (fma_test_downward): Likewise.
11473 (fma_test_upward): Likewise.
11475 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11478 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11482 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11483 namespace for names of struct fields.
11484 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11486 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11487 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11489 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11492 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11494 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11496 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11500 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11503 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11507 definitely overflow as x * y not x * y + z.
11508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11510 * math/libm-test.inc (fma_test): Add more tests.
11511 (fma_test_towardzero): Likewise.
11512 (fma_test_downward): Likewise.
11513 (fma_test_upward): Likewise.
11515 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11519 * include/stub-tag.h: Remove file.
11520 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11522 * manual/maint.texi (Porting): Don't reference it.
11523 * Makerules ($(objpfx)stubs): Likewise.
11524 * dirent/closedir.c: Don't include <stub-tag.h>.
11525 * dirent/dirfd.c: Likewise.
11526 * dirent/fdopendir.c: Likewise.
11527 * dirent/getdents.c: Likewise.
11528 * dirent/getdents64.c: Likewise.
11529 * dirent/opendir.c: Likewise.
11530 * dirent/readdir.c: Likewise.
11531 * dirent/readdir64.c: Likewise.
11532 * dirent/readdir64_r.c: Likewise.
11533 * dirent/readdir_r.c: Likewise.
11534 * dirent/rewinddir.c: Likewise.
11535 * dirent/seekdir.c: Likewise.
11536 * dirent/telldir.c: Likewise.
11537 * gmon/profil.c: Likewise.
11538 * grp/setgroups.c: Likewise.
11539 * inet/if_index.c: Likewise.
11540 * io/access.c: Likewise.
11541 * io/chdir.c: Likewise.
11542 * io/chmod.c: Likewise.
11543 * io/chown.c: Likewise.
11544 * io/close.c: Likewise.
11545 * io/dup.c: Likewise.
11546 * io/dup2.c: Likewise.
11547 * io/dup3.c: Likewise.
11548 * io/euidaccess.c: Likewise.
11549 * io/faccessat.c: Likewise.
11550 * io/fchdir.c: Likewise.
11551 * io/fchmod.c: Likewise.
11552 * io/fchmodat.c: Likewise.
11553 * io/fchown.c: Likewise.
11554 * io/fchownat.c: Likewise.
11555 * io/fcntl.c: Likewise.
11556 * io/flock.c: Likewise.
11557 * io/fstatfs.c: Likewise.
11558 * io/fstatfs64.c: Likewise.
11559 * io/fstatvfs.c: Likewise.
11560 * io/fstatvfs64.c: Likewise.
11561 * io/futimens.c: Likewise.
11562 * io/fxstat.c: Likewise.
11563 * io/fxstat64.c: Likewise.
11564 * io/fxstatat.c: Likewise.
11565 * io/fxstatat64.c: Likewise.
11566 * io/getcwd.c: Likewise.
11567 * io/isatty.c: Likewise.
11568 * io/lchmod.c: Likewise.
11569 * io/lchown.c: Likewise.
11570 * io/link.c: Likewise.
11571 * io/linkat.c: Likewise.
11572 * io/lseek.c: Likewise.
11573 * io/lseek64.c: Likewise.
11574 * io/lxstat64.c: Likewise.
11575 * io/mkdir.c: Likewise.
11576 * io/mkdirat.c: Likewise.
11577 * io/mkfifo.c: Likewise.
11578 * io/mkfifoat.c: Likewise.
11579 * io/open.c: Likewise.
11580 * io/open64.c: Likewise.
11581 * io/openat.c: Likewise.
11582 * io/openat64.c: Likewise.
11583 * io/pipe.c: Likewise.
11584 * io/pipe2.c: Likewise.
11585 * io/poll.c: Likewise.
11586 * io/posix_fadvise.c: Likewise.
11587 * io/posix_fadvise64.c: Likewise.
11588 * io/posix_fallocate.c: Likewise.
11589 * io/posix_fallocate64.c: Likewise.
11590 * io/read.c: Likewise.
11591 * io/readlink.c: Likewise.
11592 * io/readlinkat.c: Likewise.
11593 * io/rmdir.c: Likewise.
11594 * io/sendfile.c: Likewise.
11595 * io/sendfile64.c: Likewise.
11596 * io/statfs.c: Likewise.
11597 * io/statfs64.c: Likewise.
11598 * io/statvfs.c: Likewise.
11599 * io/statvfs64.c: Likewise.
11600 * io/symlink.c: Likewise.
11601 * io/symlinkat.c: Likewise.
11602 * io/ttyname.c: Likewise.
11603 * io/ttyname_r.c: Likewise.
11604 * io/umask.c: Likewise.
11605 * io/unlink.c: Likewise.
11606 * io/unlinkat.c: Likewise.
11607 * io/utime.c: Likewise.
11608 * io/utimensat.c: Likewise.
11609 * io/write.c: Likewise.
11610 * io/xmknod.c: Likewise.
11611 * io/xmknodat.c: Likewise.
11612 * io/xstat.c: Likewise.
11613 * io/xstat64.c: Likewise.
11614 * login/getpt.c: Likewise.
11615 * login/grantpt.c: Likewise.
11616 * login/unlockpt.c: Likewise.
11617 * math/e_acoshl.c: Likewise.
11618 * math/e_acosl.c: Likewise.
11619 * math/e_asinl.c: Likewise.
11620 * math/e_atan2l.c: Likewise.
11621 * math/e_atanhl.c: Likewise.
11622 * math/e_coshl.c: Likewise.
11623 * math/e_expl.c: Likewise.
11624 * math/e_fmodl.c: Likewise.
11625 * math/e_gammal_r.c: Likewise.
11626 * math/e_hypotl.c: Likewise.
11627 * math/e_j0l.c: Likewise.
11628 * math/e_j1l.c: Likewise.
11629 * math/e_jnl.c: Likewise.
11630 * math/e_lgammal_r.c: Likewise.
11631 * math/e_log10l.c: Likewise.
11632 * math/e_log2l.c: Likewise.
11633 * math/e_logl.c: Likewise.
11634 * math/e_powl.c: Likewise.
11635 * math/e_rem_pio2l.c: Likewise.
11636 * math/e_sinhl.c: Likewise.
11637 * math/e_sqrtl.c: Likewise.
11638 * math/fclrexcpt.c: Likewise.
11639 * math/fedisblxcpt.c: Likewise.
11640 * math/feenablxcpt.c: Likewise.
11641 * math/fegetenv.c: Likewise.
11642 * math/fegetexcept.c: Likewise.
11643 * math/fegetround.c: Likewise.
11644 * math/feholdexcpt.c: Likewise.
11645 * math/fesetenv.c: Likewise.
11646 * math/fesetround.c: Likewise.
11647 * math/feupdateenv.c: Likewise.
11648 * math/fgetexcptflg.c: Likewise.
11649 * math/fraiseexcpt.c: Likewise.
11650 * math/fsetexcptflg.c: Likewise.
11651 * math/ftestexcept.c: Likewise.
11652 * math/k_cosl.c: Likewise.
11653 * math/k_rem_pio2l.c: Likewise.
11654 * math/k_sinl.c: Likewise.
11655 * math/k_tanl.c: Likewise.
11656 * math/s_asinhl.c: Likewise.
11657 * math/s_atanl.c: Likewise.
11658 * math/s_cbrtl.c: Likewise.
11659 * math/s_erfl.c: Likewise.
11660 * math/s_expm1l.c: Likewise.
11661 * math/s_log1pl.c: Likewise.
11662 * math/s_tanhl.c: Likewise.
11663 * misc/acct.c: Likewise.
11664 * misc/brk.c: Likewise.
11665 * misc/chflags.c: Likewise.
11666 * misc/chroot.c: Likewise.
11667 * misc/fchflags.c: Likewise.
11668 * misc/fgetxattr.c: Likewise.
11669 * misc/flistxattr.c: Likewise.
11670 * misc/fremovexattr.c: Likewise.
11671 * misc/fsetxattr.c: Likewise.
11672 * misc/fsync.c: Likewise.
11673 * misc/ftruncate.c: Likewise.
11674 * misc/futimes.c: Likewise.
11675 * misc/futimesat.c: Likewise.
11676 * misc/getdomain.c: Likewise.
11677 * misc/getdtsz.c: Likewise.
11678 * misc/gethostid.c: Likewise.
11679 * misc/gethostname.c: Likewise.
11680 * misc/getloadavg.c: Likewise.
11681 * misc/getpagesize.c: Likewise.
11682 * misc/getsysstats.c: Likewise.
11683 * misc/getxattr.c: Likewise.
11684 * misc/gtty.c: Likewise.
11685 * misc/ioctl.c: Likewise.
11686 * misc/lgetxattr.c: Likewise.
11687 * misc/listxattr.c: Likewise.
11688 * misc/llistxattr.c: Likewise.
11689 * misc/lremovexattr.c: Likewise.
11690 * misc/lsetxattr.c: Likewise.
11691 * misc/lutimes.c: Likewise.
11692 * misc/madvise.c: Likewise.
11693 * misc/mincore.c: Likewise.
11694 * misc/mlock.c: Likewise.
11695 * misc/mlockall.c: Likewise.
11696 * misc/mmap.c: Likewise.
11697 * misc/mprotect.c: Likewise.
11698 * misc/msync.c: Likewise.
11699 * misc/munlock.c: Likewise.
11700 * misc/munlockall.c: Likewise.
11701 * misc/munmap.c: Likewise.
11702 * misc/preadv.c: Likewise.
11703 * misc/preadv64.c: Likewise.
11704 * misc/ptrace.c: Likewise.
11705 * misc/pwritev.c: Likewise.
11706 * misc/pwritev64.c: Likewise.
11707 * misc/readv.c: Likewise.
11708 * misc/reboot.c: Likewise.
11709 * misc/remap_file_pages.c: Likewise.
11710 * misc/removexattr.c: Likewise.
11711 * misc/revoke.c: Likewise.
11712 * misc/select.c: Likewise.
11713 * misc/setdomain.c: Likewise.
11714 * misc/setegid.c: Likewise.
11715 * misc/seteuid.c: Likewise.
11716 * misc/sethostid.c: Likewise.
11717 * misc/sethostname.c: Likewise.
11718 * misc/setregid.c: Likewise.
11719 * misc/setreuid.c: Likewise.
11720 * misc/setxattr.c: Likewise.
11721 * misc/sstk.c: Likewise.
11722 * misc/stty.c: Likewise.
11723 * misc/swapoff.c: Likewise.
11724 * misc/swapon.c: Likewise.
11725 * misc/sync.c: Likewise.
11726 * misc/syncfs.c: Likewise.
11727 * misc/syscall.c: Likewise.
11728 * misc/truncate.c: Likewise.
11729 * misc/ualarm.c: Likewise.
11730 * misc/usleep.c: Likewise.
11731 * misc/ustat.c: Likewise.
11732 * misc/utimes.c: Likewise.
11733 * misc/vhangup.c: Likewise.
11734 * misc/writev.c: Likewise.
11735 * posix/_exit.c: Likewise.
11736 * posix/alarm.c: Likewise.
11737 * posix/execve.c: Likewise.
11738 * posix/fexecve.c: Likewise.
11739 * posix/fork.c: Likewise.
11740 * posix/fpathconf.c: Likewise.
11741 * posix/getaddrinfo.c: Likewise.
11742 * posix/getegid.c: Likewise.
11743 * posix/geteuid.c: Likewise.
11744 * posix/getgid.c: Likewise.
11745 * posix/getgroups.c: Likewise.
11746 * posix/getlogin.c: Likewise.
11747 * posix/getlogin_r.c: Likewise.
11748 * posix/getpgid.c: Likewise.
11749 * posix/getpid.c: Likewise.
11750 * posix/getppid.c: Likewise.
11751 * posix/getresgid.c: Likewise.
11752 * posix/getresuid.c: Likewise.
11753 * posix/getsid.c: Likewise.
11754 * posix/getuid.c: Likewise.
11755 * posix/glob64.c: Likewise.
11756 * posix/nanosleep.c: Likewise.
11757 * posix/pathconf.c: Likewise.
11758 * posix/pause.c: Likewise.
11759 * posix/posix_madvise.c: Likewise.
11760 * posix/pread.c: Likewise.
11761 * posix/pread64.c: Likewise.
11762 * posix/pwrite.c: Likewise.
11763 * posix/pwrite64.c: Likewise.
11764 * posix/sched_getaffinity.c: Likewise.
11765 * posix/sched_getp.c: Likewise.
11766 * posix/sched_gets.c: Likewise.
11767 * posix/sched_primax.c: Likewise.
11768 * posix/sched_primin.c: Likewise.
11769 * posix/sched_rr_gi.c: Likewise.
11770 * posix/sched_setaffinity.c: Likewise.
11771 * posix/sched_setp.c: Likewise.
11772 * posix/sched_sets.c: Likewise.
11773 * posix/sched_yield.c: Likewise.
11774 * posix/setgid.c: Likewise.
11775 * posix/setlogin.c: Likewise.
11776 * posix/setpgid.c: Likewise.
11777 * posix/setresgid.c: Likewise.
11778 * posix/setresuid.c: Likewise.
11779 * posix/setsid.c: Likewise.
11780 * posix/setuid.c: Likewise.
11781 * posix/sleep.c: Likewise.
11782 * posix/spawni.c: Likewise.
11783 * posix/sysconf.c: Likewise.
11784 * posix/times.c: Likewise.
11785 * posix/wait.c: Likewise.
11786 * posix/wait3.c: Likewise.
11787 * posix/wait4.c: Likewise.
11788 * posix/waitpid.c: Likewise.
11789 * resolv/gai_sigqueue.c: Likewise.
11790 * resource/getpriority.c: Likewise.
11791 * resource/getrlimit.c: Likewise.
11792 * resource/getrusage.c: Likewise.
11793 * resource/nice.c: Likewise.
11794 * resource/setpriority.c: Likewise.
11795 * resource/setrlimit.c: Likewise.
11796 * resource/ulimit.c: Likewise.
11797 * rt/aio_cancel.c: Likewise.
11798 * rt/aio_fsync.c: Likewise.
11799 * rt/aio_read.c: Likewise.
11800 * rt/aio_sigqueue.c: Likewise.
11801 * rt/aio_suspend.c: Likewise.
11802 * rt/aio_write.c: Likewise.
11803 * rt/clock_getres.c: Likewise.
11804 * rt/clock_gettime.c: Likewise.
11805 * rt/clock_nanosleep.c: Likewise.
11806 * rt/clock_settime.c: Likewise.
11807 * rt/lio_listio.c: Likewise.
11808 * rt/mq_close.c: Likewise.
11809 * rt/mq_getattr.c: Likewise.
11810 * rt/mq_notify.c: Likewise.
11811 * rt/mq_open.c: Likewise.
11812 * rt/mq_receive.c: Likewise.
11813 * rt/mq_send.c: Likewise.
11814 * rt/mq_setattr.c: Likewise.
11815 * rt/mq_timedreceive.c: Likewise.
11816 * rt/mq_timedsend.c: Likewise.
11817 * rt/mq_unlink.c: Likewise.
11818 * rt/shm_open.c: Likewise.
11819 * rt/shm_unlink.c: Likewise.
11820 * rt/timer_create.c: Likewise.
11821 * rt/timer_delete.c: Likewise.
11822 * rt/timer_getoverr.c: Likewise.
11823 * rt/timer_gettime.c: Likewise.
11824 * rt/timer_settime.c: Likewise.
11825 * setjmp/__longjmp.c: Likewise.
11826 * setjmp/setjmp.c: Likewise.
11827 * signal/kill.c: Likewise.
11828 * signal/killpg.c: Likewise.
11829 * signal/raise.c: Likewise.
11830 * signal/sigaction.c: Likewise.
11831 * signal/sigaltstack.c: Likewise.
11832 * signal/sigblock.c: Likewise.
11833 * signal/sigignore.c: Likewise.
11834 * signal/sigintr.c: Likewise.
11835 * signal/signal.c: Likewise.
11836 * signal/sigpause.c: Likewise.
11837 * signal/sigpending.c: Likewise.
11838 * signal/sigqueue.c: Likewise.
11839 * signal/sigreturn.c: Likewise.
11840 * signal/sigset.c: Likewise.
11841 * signal/sigsetmask.c: Likewise.
11842 * signal/sigstack.c: Likewise.
11843 * signal/sigsuspend.c: Likewise.
11844 * signal/sigtimedwait.c: Likewise.
11845 * signal/sigvec.c: Likewise.
11846 * signal/sigwait.c: Likewise.
11847 * signal/sigwaitinfo.c: Likewise.
11848 * signal/sysv_signal.c: Likewise.
11849 * socket/accept.c: Likewise.
11850 * socket/accept4.c: Likewise.
11851 * socket/bind.c: Likewise.
11852 * socket/connect.c: Likewise.
11853 * socket/getpeername.c: Likewise.
11854 * socket/getsockname.c: Likewise.
11855 * socket/getsockopt.c: Likewise.
11856 * socket/isfdtype.c: Likewise.
11857 * socket/listen.c: Likewise.
11858 * socket/recv.c: Likewise.
11859 * socket/recvfrom.c: Likewise.
11860 * socket/recvmsg.c: Likewise.
11861 * socket/send.c: Likewise.
11862 * socket/sendmsg.c: Likewise.
11863 * socket/sendto.c: Likewise.
11864 * socket/setsockopt.c: Likewise.
11865 * socket/shutdown.c: Likewise.
11866 * socket/sockatmark.c: Likewise.
11867 * socket/socket.c: Likewise.
11868 * socket/socketpair.c: Likewise.
11869 * stdio-common/ctermid.c: Likewise.
11870 * stdio-common/cuserid.c: Likewise.
11871 * stdio-common/remove.c: Likewise.
11872 * stdio-common/rename.c: Likewise.
11873 * stdio-common/renameat.c: Likewise.
11874 * stdio-common/tempname.c: Likewise.
11875 * stdlib/getcontext.c: Likewise.
11876 * stdlib/makecontext.c: Likewise.
11877 * stdlib/setcontext.c: Likewise.
11878 * stdlib/swapcontext.c: Likewise.
11879 * stdlib/system.c: Likewise.
11880 * streams/fattach.c: Likewise.
11881 * streams/fdetach.c: Likewise.
11882 * streams/getmsg.c: Likewise.
11883 * streams/getpmsg.c: Likewise.
11884 * streams/putmsg.c: Likewise.
11885 * streams/putpmsg.c: Likewise.
11886 * sysdeps/unix/bsd/getpt.c: Likewise.
11887 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11888 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11892 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11894 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11895 * sysvipc/msgctl.c: Likewise.
11896 * sysvipc/msgget.c: Likewise.
11897 * sysvipc/msgrcv.c: Likewise.
11898 * sysvipc/msgsnd.c: Likewise.
11899 * sysvipc/semctl.c: Likewise.
11900 * sysvipc/semget.c: Likewise.
11901 * sysvipc/semop.c: Likewise.
11902 * sysvipc/semtimedop.c: Likewise.
11903 * sysvipc/shmat.c: Likewise.
11904 * sysvipc/shmctl.c: Likewise.
11905 * sysvipc/shmdt.c: Likewise.
11906 * sysvipc/shmget.c: Likewise.
11907 * termios/tcdrain.c: Likewise.
11908 * termios/tcflow.c: Likewise.
11909 * termios/tcflush.c: Likewise.
11910 * termios/tcgetattr.c: Likewise.
11911 * termios/tcgetpgrp.c: Likewise.
11912 * termios/tcsendbrk.c: Likewise.
11913 * termios/tcsetattr.c: Likewise.
11914 * termios/tcsetpgrp.c: Likewise.
11915 * time/adjtime.c: Likewise.
11916 * time/clock.c: Likewise.
11917 * time/getitimer.c: Likewise.
11918 * time/gettimeofday.c: Likewise.
11919 * time/setitimer.c: Likewise.
11920 * time/settimeofday.c: Likewise.
11921 * time/stime.c: Likewise.
11922 * time/time.c: Likewise.
11924 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11926 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11929 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11931 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11933 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11937 FE_TONEAREST before applying Dekker multiplication and Knuth
11938 addition. Clear inexact exceptions and check for exact zero
11939 results afterwards.
11940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11941 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11943 * math/libm-test.inc (fma_test): Add more tests.
11944 (fma_test_towardzero): Likewise.
11945 (fma_test_downward): Likewise.
11946 (fma_test_upward): Likewise.
11947 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11949 (libc_fesetround): New macro.
11950 (libc_fesetroundf): Likewise.
11951 (libc_fesetroundl): Likewise.
11952 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11954 (libc_fesetround_387): Likewise.
11955 (libc_fesetroundf): New macro.
11956 (libc_fesetround): Likewise.
11957 (libc_fesetroundl): Likewise.
11958 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11960 (libc_fesetroundf): New macro.
11961 (libc_fesetround): Likewise.
11962 (libc_fesetroundl): Likewise.
11963 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11964 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11965 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11967 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11968 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11970 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11971 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11973 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11977 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11978 integer constant usable in #if and use that to give value to enum
11980 (FE_DIVBYZERO): Likewise.
11981 (FE_UNDERFLOW): Likewise.
11982 (FE_OVERFLOW): Likewise.
11983 (FE_INVALID): Likewise.
11984 (FE_INVALID_SNAN): Likewise.
11985 (FE_INVALID_ISI): Likewise.
11986 (FE_INVALID_IDI): Likewise.
11987 (FE_INVALID_ZDZ): Likewise.
11988 (FE_INVALID_IMZ): Likewise.
11989 (FE_INVALID_COMPARE): Likewise.
11990 (FE_INVALID_SOFTWARE): Likewise.
11991 (FE_INVALID_SQRT): Likewise.
11992 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11993 (FE_TONEAREST): Likewise.
11994 (FE_TOWARDZERO): Likewise.
11995 (FE_UPWARD): Likewise.
11996 (FE_DOWNWARD): Likewise.
11997 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11998 (FE_DIVBYZERO): Likewise.
11999 (FE_OVERFLOW): Likewise.
12000 (FE_UNDERFLOW): Likewise.
12001 (FE_INEXACT): Likewise.
12002 (FE_TONEAREST): Likewise.
12003 (FE_DOWNWARD): Likewise.
12004 (FE_UPWARD): Likewise.
12005 (FE_TOWARDZERO): Likewise.
12006 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12007 (FE_UNDERFLOW): Likewise.
12008 (FE_OVERFLOW): Likewise.
12009 (FE_DIVBYZERO): Likewise.
12010 (FE_INVALID): Likewise.
12011 (FE_TONEAREST): Likewise.
12012 (FE_TOWARDZERO): Likewise.
12013 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12014 (FE_OVERFLOW): Likewise.
12015 (FE_UNDERFLOW): Likewise.
12016 (FE_DIVBYZERO): Likewise.
12017 (FE_INEXACT): Likewise.
12018 (FE_TONEAREST): Likewise.
12019 (FE_TOWARDZERO): Likewise.
12020 (FE_UPWARD): Likewise.
12021 (FE_DOWNWARD): Likewise.
12022 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12023 (FE_DIVBYZERO): Likewise.
12024 (FE_OVERFLOW): Likewise.
12025 (FE_UNDERFLOW): Likewise.
12026 (FE_INEXACT): Likewise.
12027 (FE_TONEAREST): Likewise.
12028 (FE_DOWNWARD): Likewise.
12029 (FE_UPWARD): Likewise.
12030 (FE_TOWARDZERO): Likewise.
12032 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12034 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12036 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12038 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12039 commands. Quote $PWD.
12040 (blacklist_exports): Don't use remove_newlines. Replace "declare
12042 (remove_newlines): Remove.
12044 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12046 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12047 * stdlib/stdlib.h (atof): Moved to ...
12048 * include/bits/stdlib-float.h: Here. New file.
12049 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12050 * stdlib/bits/stdlib-float.h: New file.
12051 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12053 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12056 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12058 * conform/conformtest.pl (@headers): Add fenv.h.
12059 * conform/data/fenv.h-data: New file.
12060 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12061 include of <math/fenv.h>.
12063 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12064 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12065 && !UNIX98]. Enables tests for XOPEN2K8.
12066 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12067 POSIX2008]: Likewise.
12069 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12070 (struct rusage): Do not expect type or its members.
12073 * math/math.h (FP_NAN): Define macro to integer constant usable in
12074 #if and use that to give value to enum constant.
12075 (FP_INFINITE): Likewise.
12076 (FP_ZERO): Likewise.
12077 (FP_SUBNORMAL): Likewise.
12078 (FP_NORMAL): Likewise.
12080 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12082 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12083 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12086 2012-11-02 Roland McGrath <roland@hack.frob.com>
12088 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12089 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12090 autoconf-time if not.
12091 * configure.in: Remove AC_PREREQ.
12093 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12095 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12096 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12097 of the internal implementation.
12099 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12101 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12102 except include of <misc/sys/syslog.h>.
12104 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12107 function returns with a NULL context exit with zero.
12109 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12111 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12113 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12115 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12116 (run_program_cmd): This.
12117 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12118 (tst_langinfo): New variable. Use it.
12120 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12122 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12123 floating point opcodes.
12125 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12127 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12130 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12132 * sysdeps/mach/hurd/powerpc: Remove directory.
12133 * sysdeps/mach/powerpc: Likewise.
12135 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12137 * scripts/check-local-headers.sh: Ignore c++ headers.
12139 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12141 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12142 __libc_cleanup_region_start argument.
12144 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12148 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12149 x * y using scaling, not as x * y + z.
12150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12152 * math/libm-test.inc (fma_test): Add more tests.
12153 (fma_test_towardzero): Likewise.
12154 (fma_test_downward): Likewise.
12155 (fma_test_upward): Likewise.
12157 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12159 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12161 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12163 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12166 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12168 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12170 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12177 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12180 Fix the order of the list for glibc 2.17.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12184 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12188 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12192 for low part of x being zero before using __atanl (y).
12193 * math/libm-test.inc (atan2_test): Add another test.
12195 * manual/install.texi (Configuring and compiling): Document
12196 general use of test-wrapper and test-wrapper-env.
12197 * INSTALL: Regenerated.
12199 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12200 (__fma): Do not extract and scale down low bits on after-rounding
12201 systems when result rounded to normal precision would have normal
12203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12204 (__fmal): Do not extract and scale down low bits on after-rounding
12205 systems when result rounded to normal precision would have normal
12207 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12208 (__fmal): Do not extract and scale down low bits on after-rounding
12209 systems when result rounded to normal precision would have normal
12211 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12213 (fma_test): Add more tests.
12214 (fma_test_towardzero): Likewise.
12215 (fma_test_downward): Likewise.
12216 (fma_test_upward): Likewise.
12218 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12220 * sysdeps/i386/tininess.h: Renamed to ...
12221 * sysdeps/x86/tininess.h: This.
12222 * sysdeps/x86_64/tininess.h: Removed.
12224 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12226 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12227 input. Use $(build-program-cmd).
12228 ($(objpfx)tst-array1-static.out): Likewise.
12229 ($(objpfx)tst-array2.out): Likewise.
12230 ($(objpfx)tst-array3.out): Likewise.
12231 ($(objpfx)tst-array4.out): Likewise.
12232 ($(objpfx)tst-array5.out): Likewise.
12233 ($(objpfx)tst-array5-static.out): Likewise.
12235 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12237 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12240 * nss/nsswitch.h (nss_interface_function): Provide new
12241 macro for use with NSS functions.
12242 * grp/initgroups.c: Use new macro.
12243 * nss/getXXbyYY.c: Likewise.
12244 * nss/getXXbyYY_r.c: Likewise.
12245 * nss/getXXent.c: Likewise.
12246 * nss/getXXent_r.c: Likewise.
12247 * sysdeps/posix/getaddrinfo.c: Likewise.
12249 2012-10-30 Andreas Jaeger <aj@suse.de>
12251 * po/ru.po: Update Russion translation from translation project.
12253 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12258 result and shift together with sticky bit instead of replicating
12259 round-to-nearest rounding.
12260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12261 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12262 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12263 missing underflow exceptions.
12264 (fma_test_towardzero): Add more tests.
12265 (fma_test_downward): Likewise.
12266 (fma_test_upward): Likewise.
12269 * sysdeps/generic/tininess.h: New file.
12270 * sysdeps/i386/tininess.h: Likewise.
12271 * sysdeps/sh/tininess.h: Likewise.
12272 * sysdeps/x86_64/tininess.h: Likewise.
12273 * stdlib/tst-strtod-underflow.c: Likewise.
12274 * stdlib/tst-tininess.c: Likewise.
12275 * stdlib/strtod_l.c: Include <tininess.h>.
12276 (round_and_return): Do not set errno for exact underflow cases.
12277 Force an underflow exception when setting errno for underflow.
12278 Determine underflow based on rounding to normal precision if
12279 TININESS_AFTER_ROUNDING.
12280 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12281 ERANGE for exact underflow cases.
12282 * stdlib/Makefile (tests): Add tst-tininess and
12283 tst-strtod-underflow.
12284 ($(objpfx)tst-tininess): Use $(link-libm).
12285 ($(objpfx)tst-strtod-underflow): Likewise.
12287 2012-10-30 Andreas Jaeger <aj@suse.de>
12290 * elf/Makefile (tests): Remove conditional for have-initfini-array
12291 since this is now always required and the variable does not exist
12293 (tests-static): Likewise.
12294 (modules-names): Likewise.
12296 * po/eo.po: Add Esperanto translation from translation project.
12298 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12299 merged with constructor/destructor.
12300 (init_array): Likewise.
12301 * elf/tst-array2dep.c (fini_array): Likewise.
12302 (init_array): Likewise.
12304 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12306 * manual/message.texi: Delete @cartouche tags.
12308 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12310 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12312 * sysdeps/mach/hurd/fsync.c: Likewise.
12314 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12315 [_POSIX_REALTIME_SIGNALS]: Change condition to
12316 [_POSIX_REALTIME_SIGNALS > 0].
12318 2012-10-27 Andreas Jaeger <aj@suse.de>
12320 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12321 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12323 [__WORDSIZE != 64]: Likewise.
12325 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12327 * iconvdata/tst-table.sh: Remove ${SHELL}.
12328 * iconvdata/tst-tables.sh: Likewise.
12330 2012-10-25 David S. Miller <davem@davemloft.net>
12332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12333 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12339 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12340 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12343 2012-10-25 Roland McGrath <roland@hack.frob.com>
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12346 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12349 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12350 Jim Blandy <jimb@codesourcery.com>
12352 * scripts/cross-test-ssh.sh: New file.
12353 * manual/install.texi (Configuring and compiling): Document use of
12355 * INSTALL: Regenerated.
12357 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12359 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12362 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12364 * Makeconfig (run-program-prefix): Fix comment.
12366 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12367 Jim Blandy <jimb@codesourcery.com>
12369 * Makeconfig (test-wrapper): New variable,
12370 (test-wrapper-env): Likewise.
12371 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12372 (run-built-tests): Define to yes.
12373 (run-program-prefix): Use $(test-wrapper).
12374 (built-program-cmd): Likewise.
12375 * Rules (make-test-out): Use $(test-wrapper-env) and
12376 $(host-built-program-cmd).
12377 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12378 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12380 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12381 $(test-wrapper-env) to tst-rtld-load-self.sh.
12382 ($(objpfx)order2.out): Use $(test-wrapper).
12383 ($(objpfx)tst-initorder.out): Likewise.
12384 ($(objpfx)tst-initorder2.out): Likewise.
12385 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12386 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12387 (test_wrapper_env): New variable. Use it to run ld.so.
12388 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12389 Use it to run ld.so.
12390 (test_wrapper_env): Likewise.
12391 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12392 $(test-wrapper) to run-iconv-test.sh.
12393 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12394 (ICONV): Use $test_wrapper.
12395 * posix/Makefile ($(objpfx)globtest.out): Pass
12396 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12397 globtest.sh, not $(run-program-prefix).
12398 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12399 (test_wrapper): Likewise.
12400 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12401 set together with run_via_rtld_prefix.
12402 (run_program_prefix): Define in terms of test_wrapper and
12403 run_via_rtld_prefix.
12405 2012-10-24 Roland McGrath <roland@hack.frob.com>
12407 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12408 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12412 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12413 Declare __clock_getres, __clock_gettime, __clock_settime,
12414 __clock_nanosleep, and __clock_getcpuclockid.
12415 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12416 Remove librt_hidden_def (clock_gettime).
12417 * sysdeps/unix/clock_gettime.c: Likewise.
12418 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12419 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12420 * rt/clock_getres.c: Define __clock_getres as an alias.
12421 * sysdeps/posix/clock_getres.c: Likewise.
12422 * rt/clock_settime.c: Define __clock_settime as an alias.
12423 * sysdeps/unix/clock_settime.c: Likewise.
12424 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12425 * sysdeps/unix/clock_nanosleep.c: Likewise.
12426 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12427 * rt/clock-compat.c: New file.
12428 * rt/Makefile (librt-routines): Add clock-compat and move
12429 $(clock-routines) to ...
12430 (routines): ... here, new variable.
12431 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12432 Don't add get_clockfreq here.
12433 * rt/Versions (libc: GLIBC_2.17): New version set.
12434 Add clock_* symbols here.
12435 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12437 (GLIBC_2.17): Add clock_* symbols.
12438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12449 * NEWS: Mention the move.
12451 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12452 Use __open, __read, __close rather than their public counterparts.
12453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12454 (__get_clockfreq_via_cpuinfo): Likewise.
12455 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12456 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12458 * config.h.in (HAVE_IFUNC): New #undef.
12459 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12461 * configure: Regenerated.
12463 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12465 * configure.in: Move READELF check to start of file.
12466 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12467 libc_cv_asm_gnu_indirect_function in the process.
12468 * configure: Regenerated.
12470 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12472 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12473 send the output to /dev/null.
12474 (libc_cv_cc_with_libunwind): Likewise.
12475 (libc_cv_as_noexecstack): Likewise.
12476 * configure: Regenerate.
12478 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12480 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12482 * posix/globtest.sh (TMPDIR): Do not set.
12483 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12484 (testout): Likewise.
12486 2012-10-24 Andreas Jaeger <aj@suse.de>
12488 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12489 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12490 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12491 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12492 posix_fadvise64, posix_fallocate64.
12494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12495 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12496 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12498 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12500 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12503 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12504 <bits/fcntl-linux.h>.
12505 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12508 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12509 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12510 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12511 [__WORDSIZE != 64]: Likewise.
12513 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12515 * Makeconfig (run-built-tests): New variable.
12516 * Rules [$(cross-compiling) = yes]: Change condition to
12517 [$(run-built-tests) = no].
12518 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12519 to [$(run-built-tests) = yes].
12520 * elf/Makefile [$(cross-compiling) = no]: Likewise
12521 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12522 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12523 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12524 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12525 * io/Makefile [$(cross-compiling) = no]: Likewise.
12526 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12527 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12528 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12529 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12530 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12531 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12532 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12533 * string/Makefile [$(cross-compiling) = no]: Likewise.
12535 * posix/Makefile ($(objpfx)globtest.out): Pass
12536 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12537 $(rtld-installed-name).
12538 * posix/globtest.sh (elf_objpfx): Remove variable.
12539 (rtld_installed_name): Likewise.
12540 (library_path): Likewise.
12541 (run_program_prefix): New variable. Use for running globtest
12544 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12545 Joseph Myers <joseph@codesourcery.com>
12547 * Makeconfig (host-built-program-cmd): New variable.
12548 * elf/Makefile (tst-stackguard1-ARGS): Use
12549 $(host-built-program-cmd).
12550 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12551 (tst-spawn-ARGS): Likewise.
12552 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12554 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12555 Jim Blandy <jimb@codesourcery.com>
12557 * Makeconfig (run-via-rtld-prefix): New variable.
12558 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12559 (built-program-cmd): Likewise.
12561 2012-10-22 Andreas Jaeger <aj@suse.de>
12563 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12564 __O_RSYNC if it exists, otherwise to O_SYNC.
12566 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12567 Joseph Myers <joseph@codesourcery.com>
12569 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12571 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12573 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12576 2012-10-22 Andreas Jaeger <aj@suse.de>
12578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12583 bits/fcntl-linux.h.
12585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12586 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12593 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12594 Joseph Myers <joseph@codesourcery.com>
12596 * config.make.in (NM): New variable.
12598 2012-10-21 Andreas Jaeger <aj@suse.de>
12600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12601 definitions and declarations that are provided by
12602 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12604 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12607 * elf/Makefile (tests-static): Add tst-leaks1-static.
12608 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12609 ($(objpfx)tst-leaks1-static): New rule.
12610 ($(objpfx)tst-leaks1-static-mem): Likewise.
12611 (tst-leaks1-static-ENV): New macro.
12612 * elf/dl-open.c (dl_open_worker): Check the main application
12613 only if SHARED is defined.
12614 * elf/tst-leaks1-static.c: New file.
12616 2012-10-20 Andreas Jaeger <aj@suse.de>
12618 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12619 generic values for Linux.
12620 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12621 and declarations that are provided by <bits/fcntl-linux.h> and
12622 include <bits/fcntl-linux.h>.
12623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12626 2012-10-20 Roland McGrath <roland@hack.frob.com>
12628 * io/fcntl.h: Move include of <bits/types.h> to the top and
12629 include it unconditionally.
12631 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12633 * wcsmbs/Makefile (tests-ifunc): New variable.
12634 (tests): Add $(tests-ifunc).
12635 * wcsmbs/test-wcschr-ifunc.c: New file.
12636 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12637 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12638 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12639 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12640 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12642 * string/Makefile (tests-ifunc): New variable.
12643 (tests): Add $(tests-ifunc).
12644 * string/test-memccpy.c (TEST_NAME): New macro.
12645 * string/test-memchr.c (TEST_NAME): Likewise.
12646 * string/test-memcmp.c (TEST_NAME): Likewise.
12647 * string/test-memcpy.c (TEST_NAME): Likewise.
12648 * string/test-memmem.c (TEST_NAME): Likewise.
12649 * string/test-memmove.c (TEST_NAME): Likewise.
12650 * string/test-memset.c (TEST_NAME): Likewise.
12651 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12652 * string/test-stpcpy.c (TEST_NAME): Likewise.
12653 * string/test-stpncpy.c (TEST_NAME): Likewise.
12654 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12655 * string/test-strcasestr.c (TEST_NAME): Likewise.
12656 * string/test-strcat.c (TEST_NAME): Likewise.
12657 * string/test-strchr.c (TEST_NAME): Likewise.
12658 * string/test-strcmp.c(TEST_NAME): Likewise.
12659 * string/test-strcpy.c (TEST_NAME): Likewise.
12660 * string/test-strcspn.c (TEST_NAME): Likewise.
12661 * string/test-strlen.c (TEST_NAME): Likewise.
12662 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12663 * string/test-strncmp.c (TEST_NAME): Likewise.
12664 * string/test-strncpy.c (TEST_NAME): Likewise.
12665 * string/test-strnlen.c (TEST_NAME): Likewise.
12666 * string/test-strpbrk.c (TEST_NAME): Likewise.
12667 * string/test-strrchr.c (TEST_NAME): Likewise.
12668 * string/test-strspn.c (TEST_NAME): Likewise.
12669 * string/test-strstr.c (TEST_NAME): Likewise.
12670 * string/test-bcopy-ifunc.c: New file.
12671 * string/test-bzero-ifunc.c: Likewise.
12672 * string/test-memccpy-ifunc.c: Likewise.
12673 * string/test-memchr-ifunc.c: Likewise.
12674 * string/test-memcmp-ifunc.c: Likewise.
12675 * string/test-memcpy-ifunc.c: Likewise.
12676 * string/test-memmem-ifunc.c: Likewise.
12677 * string/test-memmove-ifunc.c: Likewise.
12678 * string/test-mempcpy-ifunc.c: Likewise.
12679 * string/test-memset-ifunc.c: Likewise.
12680 * string/test-rawmemchr-ifunc.c: Likewise.
12681 * string/test-stpcpy-ifunc.c: Likewise.
12682 * string/test-stpncpy-ifunc.c: Likewise.
12683 * string/test-strcasecmp-ifunc.c: Likewise.
12684 * string/test-strcasestr-ifunc.c: Likewise.
12685 * string/test-strcat-ifunc.c: Likewise.
12686 * string/test-strchr-ifunc.c: Likewise.
12687 * string/test-strchrnul-ifunc.c: Likewise.
12688 * string/test-strcmp-ifunc.c: Likewise.
12689 * string/test-strcpy-ifunc.c: Likewise.
12690 * string/test-strcspn-ifunc.c: Likewise.
12691 * string/test-strlen-ifunc.c: Likewise.
12692 * string/test-strncasecmp-ifunc.c: Likewise.
12693 * string/test-strncat-ifunc.c: Likewise.
12694 * string/test-strncmp-ifunc.c: Likewise.
12695 * string/test-strncpy-ifunc.c: Likewise.
12696 * string/test-strnlen-ifunc.c: Likewise.
12697 * string/test-strpbrk-ifunc.c: Likewise.
12698 * string/test-strrchr-ifunc.c: Likewise.
12699 * string/test-strspn-ifunc.c: Likewise.
12700 * string/test-strstr-ifunc.c: Likewise.
12702 * debug/Makefile (tests-ifunc): New variable.
12703 (tests): Add $(tests-ifunc).
12704 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12705 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12706 * debug/test-stpcpy_chk-ifunc.c: New file.
12707 * debug/test-strcpy_chk-ifunc.c: Likewise.
12709 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12712 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12713 header is not read in.
12715 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12717 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12718 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12719 directly. Pass built executable to script as
12720 $(built-program-cmd).
12721 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12722 $testprogram without using LD_LIBRARY_PATH and $ldso.
12724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12725 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12726 $(rtld-installed-name).
12727 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12728 (rtld_installed_name): Likewise.
12729 (library_path): Likewise.
12730 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12731 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12732 $(run-program-prefix) to tst-tables.sh.
12733 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12734 it to run tst-table-from and tst-table-to.
12735 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12736 Pass it to tst-table.sh.
12737 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12738 $(run-program-prefix) to tst-gettext.sh.
12739 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12741 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12743 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12744 to run tst-gettext.
12745 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12746 to run tst-gettext2.
12747 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12748 to run tst-translit.
12749 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12750 $(run-program-prefix) to tst-mtrace.sh.
12751 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12753 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12754 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12755 $(rtld-installed-name).
12756 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12757 (rtld_installed_name): Likewise.
12758 (run_program_prefix): New variable. Use it to run wordexp-test.
12760 * Makeconfig (ARCH): Remove all definitions.
12761 (machine): Likewise.
12762 [ARCH]: Remove conditional code.
12763 [!objdir]: Give error.
12764 [!objdir] (objpfx): Remove.
12765 [!objdir] (common-objpfx): Likewise.
12766 [!objdir] (common-objdir): Likewise.
12767 * configure.in (config_makefile): Remove. Hardcode Makefile in
12768 AC_CONFIG_FILES call.
12769 * configure: Regenerated.
12772 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12774 (testout): Likewise.
12776 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12777 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12778 $(rtld-installed-name).
12779 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12780 (rtld_installed_name): Likwise.
12781 (runit): Remove function.
12782 (run_getconf): New variable, Use it for running getconf binary.
12784 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12787 * string/test-memmem.c (check_result): New function.
12788 (do_one_test): Use it.
12789 (check1): New function.
12790 (test_main): Use it.
12792 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12794 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12796 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12798 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12799 (_G_LSEEK64): Likewise.
12800 (_G_MMAP64): Likewise.
12801 (_G_FSTAT64): Likewise.
12802 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12803 (_G_LSEEK64): Likewise.
12804 (_G_MMAP64): Likewise.
12805 (_G_FSTAT64): Likewise.
12806 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12807 unconditional. Call __mmap64 directly.
12808 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12809 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12810 __lseek64 directly.
12811 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12812 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12814 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12815 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12816 __lseek64 directly.
12817 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12818 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12819 __lseek64 directly.
12820 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12821 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12822 __lseek64 directly.
12823 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12824 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12825 __fxstat64 directly.
12826 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12827 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12829 (freopen64) [!_G_OPEN64]: Remove conditional code.
12830 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12832 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12833 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12835 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12836 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12838 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12839 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12841 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12842 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12844 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12845 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12847 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12848 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12850 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12852 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12855 * manual/memory.texi (Malloc Tunable Parameters): Add note
12856 about free list pointers overwriting some perturb bytes.
12857 Wording suggested by Roland McGrath.
12859 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12861 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12862 (lgamma_test): Likewise.
12863 (tgamma_test): Likewise.
12865 2012-10-16 Florian Weimer <fweimer@redhat.com>
12868 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12869 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12871 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12873 * NEWS: Mention BZ #14716.
12874 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12875 when removing AVAILABLE1_USES_J macro.
12877 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12879 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12880 (__bswap_64): __uint64_t for unsigned 64-bit int.
12882 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12884 * include/string.h (memmem): Declare libc hidden alias.
12885 * string/memmem.c (memmem): Define libc hidden alias.
12886 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12887 __read, __close instead of open, read, close.
12889 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12892 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12894 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12895 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12896 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12898 (__rawmemchr_sse2): Likewise.
12899 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12900 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12901 (__strchr_sse2): Likewise.
12902 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12903 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12904 (__strcasecmp_sse2): Likewise.
12905 (__strncasecmp_sse2): Likewise.
12906 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12907 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12908 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12909 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12910 (__strrchr_sse2): Likewise.
12911 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12913 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12914 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12915 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12916 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12917 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12918 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12919 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12920 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12921 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12922 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12923 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12924 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12925 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12926 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12927 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12928 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12929 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12930 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12931 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12932 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12933 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12934 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12935 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12936 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12937 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12939 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12940 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12941 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12942 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12946 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12947 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12948 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12949 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12951 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12953 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12954 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12955 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12956 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12972 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12974 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12975 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12976 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12977 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12978 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12979 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12980 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12981 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12983 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12984 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12985 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12986 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12987 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12988 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12989 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12990 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12991 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12992 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12993 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12994 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12995 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12996 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12997 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12998 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13000 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13001 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13002 * include/ifunc-impl-list.h: New file.
13003 * misc/ifunc-impl-list.c: Likewise.
13004 * misc/Makefile (routines): Add ifunc-impl-list.
13005 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13006 * string/test-string.h: Include <ifunc-impl-list.h>.
13007 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13008 impl_array): New variables.
13009 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13011 (test_init): Call __libc_ifunc_impl_list to initialize
13012 func_list if TEST_IFUNC and TEST_NAME are defined.
13014 * string/Makefile (strop-tests): Add bcopy and bzero.
13015 * string/test-bcopy.c: New file.
13016 * string/test-bzero.c: Likewise.
13017 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13019 * string/test-memset.c: Support bzero test if TEST_BZERO is
13021 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13023 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13025 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13028 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13030 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13031 * configure: Regenerated.
13033 * Makeconfig (+link-static-before-libc): Don't include
13034 $(link-static-libc).
13036 * libio/libio.h (_IO_pos_t): Remove.
13038 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13040 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13043 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13045 * crypt/crypt-entry.c: Include fips-private.h.
13046 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13047 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13048 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13049 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13051 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13053 * crypt/crypt-private.h: Include stdbool.h.
13054 (_ufc_setup_salt_r): Return bool.
13055 * crypt/crypt-entry.c: Include errno.h.
13056 (__crypt_r): Return NULL with EINVAL for bad salt.
13057 * crypt/crypt_util.c (bad_for_salt): New.
13058 (_ufc_setup_salt_r): Check that salt is long enough and within
13059 the specified alphabet.
13060 * crypt/badsalttest.c: New file.
13061 * crypt/Makefile (tests): Add it.
13062 ($(objpfx)badsalttest): New.
13064 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13066 * NEWS: Add entry for BZ #14602.
13068 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13070 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13072 * math/libm-test.inc: Update comment listing what functions and
13074 (isgreater_test): New function.
13075 (isgreaterequal_test): Likewise.
13076 (isless_test): Likewise.
13077 (islessequal_test): Likewise.
13078 (islessgreater_test): Likewise.
13079 (isunordered_test): Likewise.
13080 (main): Call the new functions.
13082 2012-10-09 Roland McGrath <roland@hack.frob.com>
13084 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13085 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13086 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13087 * sysdeps/i386/configure: Regenerated.
13088 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13089 * sysdeps/mach/configure: Regenerated.
13090 * sysdeps/mach/hurd/configure: Regenerated.
13091 * sysdeps/powerpc/configure: Regenerated.
13092 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13093 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13094 * sysdeps/s390/s390-32/configure: Regenerated.
13095 * sysdeps/s390/s390-64/configure: Regenerated.
13096 * sysdeps/sh/configure: Regenerated.
13097 * sysdeps/sparc/configure: Regenerated.
13098 * sysdeps/unix/sysv/linux/configure: Regenerated.
13099 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13100 * sysdeps/x86_64/configure: Regenerated.
13102 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13103 defined. Don't check if MAP is NULL.
13105 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13107 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13108 (_G_stat64): Likewise.
13109 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13110 (_G_stat64): Likewise.
13111 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13112 instead of struct _G_stat64.
13113 * libio/fileops.c (mmap_remap_check): Likewise.
13114 (decide_maybe_mmap): Likewise.
13115 (_IO_new_file_seekoff): Likewise.
13116 (_IO_file_stat): Likewise.
13117 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13119 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13120 instead of struct _G_stat64.
13121 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13123 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13126 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13128 (CHECK_EOL): New macro.
13129 (two_way_short_needle): Check beginning of haystack for EOL. Use
13131 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13132 Replace with CHECK_EOL.
13133 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13134 Replace with CHECK_EOL.
13136 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13138 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13140 * math/libm-test.inc: Update comment listing what functions and
13142 (finite_test): New function.
13143 (isinf_test): Likewise.
13144 (isnan_test): Likewise.
13145 (fpclassify_test): Test subnormal input.
13146 (isfinite_test): Likewise.
13147 (isnormal_test): Likewise.
13148 (main): Call the new functions.
13150 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13153 * Makerules (%.dynsym): Force C locale when running
13154 $(OBJDUMP) --dynamic-syms.
13156 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13158 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13161 2012-10-06 David S. Miller <davem@davemloft.net>
13163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13164 upper 32-bits of the length value in %o2 since we use branch-on-register
13165 tests which consider the entire 64-bit register.
13167 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13169 * string/test-strstr.c (check2): Add a test for page boundary.
13171 2012-10-05 David S. Miller <davem@davemloft.net>
13173 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13174 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13176 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13178 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13179 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13180 and bzero when HWCAP_SPARC_CRYPTO is present.
13182 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13185 * string/test-strstr.c (check2): New function.
13186 (test_main): Call check2.
13188 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13190 * string/bug-strcasestr1.c (do_test): Moved to ...
13191 * string/test-strcasestr.c (check1): Here. New function.
13192 (do_one_test): Break out result checking code into ...
13193 (check_result): This. New function.
13194 (do_one_test): Call check_result.
13195 (test_main): Call check1.
13196 * string/bug-strchr1.c (do_test): Moved to ...
13197 * string/test-strchr.c (check1): Here. New function.
13198 (do_one_test): Break out result checking code into ...
13199 (check_result): This. New function.
13200 (do_one_test): Call check_result.
13201 (test_main): Call check1.
13202 * string/bug-strstr1.c (main): Moved to ...
13203 * string/test-strstr.c (check1): Here. New function.
13204 (do_one_test): Break out result checking code into ...
13205 (check_result): This. New function.
13206 (do_one_test): Call check_result.
13207 (test_main): Call check1.
13208 * string/bug-strcasestr1.c: Removed.
13209 * string/bug-strchr1.c: Likewise.
13210 * string/bug-strstr1.c: Likewise.
13212 * elf/Makefile (dl-routines): Add hwcaps.
13213 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13214 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13215 (_dl_important_hwcaps): Moved to ...
13216 * elf/dl-hwcaps.c: Here. New file.
13217 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13220 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13221 if IS_IN_rtld isn't defined.
13223 * elf/dl-support.c (_dl_sysinfo_map): New.
13224 Include "get-dynamic-info.h" and "setup-vdso.h".
13225 (_dl_non_dynamic_init): Call setup_vdso.
13226 * elf/dynamic-link.h: Don't include <assert.h>.
13227 (elf_get_dynamic_info): Moved to ...
13228 * elf/get-dynamic-info.h: Here. New file.
13229 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13230 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13231 * elf/setup-vdso.h: Here. New file.
13232 * elf/rtld.c: Include "setup-vdso.h".
13233 (dl_main): Call setup_vdso.
13235 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13237 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13238 creal in comment listing functions tested. List finite, isinf,
13239 isnan, isless, islessequal, isgreater, isgreaterequal,
13240 islessgreater, isunordered, lgamma_r and pow10 as functions and
13241 macros not tested. Mention which functions not tested are aliases
13242 for other functions. Fix typo. Note that signs of NaNs are not
13245 * scripts/config.guess: Update from config.git.
13246 * scripts/config.sub: Likewise.
13248 2012-10-04 Roland McGrath <roland@hack.frob.com>
13250 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13251 * misc/madvise.c (madvise): Renamed to __madvise.
13252 Make madvise a weak alias.
13253 * include/sys/mman.h: Declare __madvise.
13254 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13255 * sysdeps/unix/syscalls.list
13256 (madvise): Make __madvise the strong name, and madvise a weak alias.
13257 * sysdeps/unix/sysv/linux/syscalls.list
13258 (madvise, mmap): Remove redundant entries.
13259 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13260 * malloc/malloc.c (mtrim): Likewise.
13261 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13263 2012-10-03 Roland McGrath <roland@hack.frob.com>
13265 * sysdeps/mach/hurd/dl-cache.c: File removed.
13266 * config.h.in (USE_LDCONFIG): New #undef.
13267 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13268 * configure: Regenerated.
13269 * elf/Makefile (dl-routines): Add dl-cache only under
13270 [$(use-ldconfig) = yes].
13271 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13272 cache on [USE_LDCONFIG].
13273 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13275 * elf/rtld.c (dl_main): Likewise.
13277 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13279 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13280 _SC_LEVEL4_CACHE_LINESIZE.
13282 2012-10-03 Roland McGrath <roland@hack.frob.com>
13284 * sysdeps/unix/bsd/confstr.h: File removed.
13286 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13288 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13291 2012-10-02 Roland McGrath <roland@hack.frob.com>
13293 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13294 Make 'mapoff' field ElfW(Off) rather than off_t.
13296 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13298 * nscd/Makefile: Remove nscd-cflags and all its users.
13299 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13300 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13303 * malloc.c (malloc_printerr): Clarify error message.
13305 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13309 Set bit_FMA_Usable if FMA is supported.
13310 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13312 (bit_FMA4_Usable): Updated.
13313 (index_FMA_Usable): New macro.
13314 (CPUID_FMA): Likewise
13315 (HAS_FMA): Defined with bit_FMA_Usable.
13317 2012-10-01 Roland McGrath <roland@hack.frob.com>
13319 * bits/types.h (__swblk_t): Type removed.
13320 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13321 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13323 (__SWBLK_T_TYPE): Likewise.
13324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13325 (__SWBLK_T_TYPE): Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13327 (__SWBLK_T_TYPE): Likewise.
13328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13329 (__SWBLK_T_TYPE): Likewise.
13331 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13332 Honza Horak <hhorak@redhat.com>
13334 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13335 (xdr_mapname): Use YPMAXMAP as maxsize.
13336 (xdr_peername): Use YPMAXPEER as maxsize.
13337 (xdr_keydat): Use YPAXRECORD as maxsize.
13338 (xdr_valdat): Use YPMAXRECORD as maxsize.
13340 2012-10-01 Roland McGrath <roland@hack.frob.com>
13342 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13344 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13345 * csu/init-first.c: ... here.
13346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13347 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13348 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13349 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13350 * sysdeps/i386/init-first.c: File removed.
13351 * sysdeps/sh/init-first.c: File removed.
13353 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13357 if x * y might underflow to zero and z is zero.
13358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13359 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13360 * math/libm-test.inc (min_subnorm_value): New variable.
13361 (fma_test): Add more tests.
13362 (fma_test_towardzero): Likewise.
13363 (fma_test_downward): Likewise
13364 (fma_test_upward): Likewise.
13365 (initialize): Set min_subnorm_value.
13367 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13373 mode for addition resulting in exact zero.
13374 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13379 * math/libm-test.inc (fma_test): Add more tests.
13380 (fma_test_towardzero): New function.
13381 (fma_test_downward): Likewise.
13382 (fma_test_upward): Likewise.
13383 (main): Call the new functions.
13385 2012-09-28 David S. Miller <davem@davemloft.net>
13387 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13389 2012-09-28 Roland McGrath <roland@hack.frob.com>
13391 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13392 instead of SIGALRM.
13394 * sysdeps/gnu/_G_config.h: Moved to ...
13395 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13396 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13397 * sysdeps/generic/_G_config.h: ... here.
13399 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13401 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13403 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13404 Conditionalize target on [libnss_test1.so-version].
13406 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13408 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13409 (elfobjdir): Move out of conditionals.
13411 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13412 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13413 (__nss_lookup_function): Conditionalize label remove_from_tree on
13414 [!DO_STATIC_NSS || SHARED], matching its only use.
13416 2012-09-28 David S. Miller <davem@davemloft.net>
13418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13419 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13421 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13423 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13425 when HWCAP_SPARC_CRYPTO is present.
13427 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13429 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13431 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13434 * stdio-common/vfprintf.c (process_string_arg): Revert
13437 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13439 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13441 * stdio-common/tst-sprintf.c: Include <locale.h>
13442 (main): Test sprintf's handling of incomplete multibyte
13445 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13447 * elf/dl-runtime.c (VERSYMIDX): Removed.
13448 * elf/dl-version.c (VERSYMIDX): Likewise.
13449 * elf/do-rel.h (VERSYMIDX): Likewise.
13450 (VALIDX): Likewise.
13451 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13452 * elf/rtld.c (VALIDX): Likewise.
13453 (ADDRIDX): Likewise.
13454 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13455 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13456 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13457 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13458 (VALIDX): Likewise.
13459 (ADDRIDX): Likewise.
13461 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13463 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13465 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13468 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13470 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13471 addresses are in the same scope as 192.0.2/24.
13472 * posix/gai.conf: Document new scope table defaults.
13474 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13477 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13478 for ftell. Compute offsets from write pointers instead.
13479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13481 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13484 * libio/Makefile (tests): New test case tst-fseek.
13485 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13486 combination works in wide mode.
13487 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13488 state when the external buffer state changes.
13490 2012-09-27 David S. Miller <davem@davemloft.net>
13493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13494 pass reloc->r_addend in as the 'high' argument to
13495 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13499 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13501 * rt/tst-aio2.c: Include <pthread.h>.
13502 * rt/tst-aio3.c: Likewise.
13504 2012-09-27 Steve Ellcey <sellcey@mips.com>
13506 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13508 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13510 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13511 contents on [SHARED].
13513 2012-09-26 Marek Polacek <polacek@redhat.com>
13517 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13518 for C++ and GCC <4.3 as well as for non GCC compilers.
13520 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13524 2012-09-25 Roland McGrath <roland@hack.frob.com>
13526 * Makefile.in (all, install): Declare with .PHONY.
13527 Reported by Michael Hope <michael.hope@linaro.org>.
13529 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13531 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13532 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13534 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13536 (sydep_routines): Add the new and the internal functions.
13537 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13538 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13540 (GLIBC_2.17): Add the new function.
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13542 (GLIBC_2.17): Likewise.
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13544 (GLIBC_2.17): Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13546 (GLIBC_2.17): Likewise.
13547 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13549 2012-09-25 Alan Modra <amodra@gmail.com>
13551 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13552 Add release barrier before setting once_control to say
13553 initialisation is done. Add hints on lwarx. Use macro in
13555 (clear_once_control): Add release barrier.
13557 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13560 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13562 * math/s_clog10.c (__clog10): Likewise.
13563 * math/s_clog10f.c (__clog10f): Likewise.
13564 * math/s_clog10l.c (__clog10l): Likewise.
13565 * math/s_clogf.c (__clogf): Likewise.
13566 * math/s_clogl.c (__clogl): Likewise.
13567 * math/Makefile (libm-calls): Add x2y2m1.
13568 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13569 (__x2y2m1): Likewise.
13570 (__x2y2m1l): Likewise.
13571 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13572 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13577 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13578 * sysdeps/i386/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13582 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13583 int as type of variable DEPTH.
13584 (glob): Use size_t instead of int as type of variables NEWCOUNT
13587 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13589 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13590 Add s_sincosf-sse2.
13591 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13592 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13593 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13594 macros for using routine as __sincosf_ia32.
13595 Use macro for function declaration and weak_alias.
13596 * sysdeps/i386/fpu/libm-test-ulps: Update.
13598 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13601 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13602 subnormal argument.
13603 * math/s_cexpf.c (__cexpf): Likewise.
13604 * math/s_csinf.c (__csinf): Likewise.
13605 * math/s_csinhf.c (__csinhf): Likewise.
13606 * math/s_ctanf.c (__ctanf): Likewise.
13607 * math/s_ctanhf.c (__ctanhf): Likewise.
13608 * math/s_ccosh.c (__ccoshf): Likewise.
13609 * math/s_cexp.c (__cexpl): Likewise.
13610 * math/s_csin.c (__csin): Likewise.
13611 * math/s_csinh.c (__csinh): Likewise.
13612 * math/s_ctan.c (__ctan): Likewise.
13613 * math/s_ctanh.c (ctanh): Likewise.
13614 * math/s_ccoshl.c (__ccoshl): Likewise.
13615 * math/s_cexpl.c (__cexpl): Likewise.
13616 * math/s_csinl.c (__csinl): Likewise.
13617 * math/s_csinhl.c (__csinhl): Likewise.
13618 * math/s_ctanl.c (__ctanl): Likewise.
13619 * math/s_ctanhl.c (__ctanhl): Likewise.
13621 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13623 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13624 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13625 (_IO_off_t): Define to __off_t, not _G_off_t.
13626 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13627 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13628 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13629 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13630 type of __dummy and __dummy2 fields.
13631 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13632 (_G_ssize_t): Likewise.
13633 (_G_off_t): Likewise.
13634 (_G_pid_t): Likewise.
13635 (_G_uid_t): Likewise.
13636 (_G_wchar_t): Likewise.
13637 (_G_wint_t): Likewise.
13638 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13639 (_G_ssize_t): Likewise.
13640 (_G_off_t): Likewise.
13641 (_G_pid_t): Likewise.
13642 (_G_uid_t): Likewise.
13643 (_G_wchar_t): Likewise.
13644 (_G_wint_t): Likewise.
13645 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13646 (_G_ssize_t): Likewise.
13647 (_G_off_t): Likewise.
13648 (_G_pid_t): Likewise.
13649 (_G_uid_t): Likewise.
13650 (_G_wchar_t): Likewise.
13651 (_G_wint_t): Likewise.
13653 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13655 * malloc/arena.c: Include malloc-sysdep.h.
13656 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13657 is sufficient to shrink the heap or an unmap is needed.
13658 * sysdeps/generic/malloc-sysdep.h: New file. Define
13659 new function check_may_shrink_heap.
13660 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13661 new function check_may_shrink_heap.
13663 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13665 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13668 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13670 * catgets/test-gencat.sh: Add "set -e".
13671 * elf/tst-pathopt.sh: Likewise.
13672 * grp/tst_fgetgrent.sh: Likewise.
13673 * iconvdata/run-iconv-test.sh: Likewise.
13674 * intl/tst-gettext.sh: Likewise.
13675 * intl/tst-gettext2.sh: Likewise.
13676 * intl/tst-gettext4.sh: Likewise.
13677 * intl/tst-gettext6.sh: Likewise.
13678 * intl/tst-translit.sh: Likewise.
13679 * io/ftwtest-sh: Likewise.
13680 * libio/test-freopen.sh: Likewise.
13681 * malloc/tst-mtrace.sh: Likewise.
13682 * posix/globtest.sh: Likewise.
13683 * posix/tst-getconf.sh: Likewise.
13684 * posix/wordexp-tst.sh: Likewise.
13685 * stdio-common/tst-printf.sh: Likewise.
13686 * stdio-common/tst-unbputc.sh: Likewise.
13687 * stdlib/tst-fmtmsg.sh: Likewise.
13688 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13689 * catgets/Makefile: Do not specify -e option when running
13690 testsuite shell scripts.
13691 * elf/Makefile: Likewise.
13692 * grp/Makefile: Likewise.
13693 * iconvdata/Makefile: Likewise.
13694 * intl/Makefile: Likewise.
13695 * io/Makefile: Likewise.
13696 * libio/Makefile: Likewise.
13697 * malloc/Makefile: Likewise.
13698 * posix/Makefile: Likewise.
13699 * stdio-common/Makefile: Likewise.
13700 * stdlib/Makefile: Likewise.
13701 * sysdeps/x86_64/Makefile: Likewise.
13703 * io/ftwtest-sh: Add copyright header.
13704 * posix/globtest.sh: Likewise.
13705 * posix/tst-getconf.sh: Likewise.
13706 * posix/wordexp-tst.sh: Likewise.
13707 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13709 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13712 * Makeconfig (+link): Defined as $(+link-static) if
13713 $(build-shared) isn't yes.
13714 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13716 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13718 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13721 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13722 new chunk size with MALLOC_ALIGN_MASK.
13724 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13727 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13729 (__printf_fphex): Determine rounding using get_rounding_mode and
13731 * stdio-common/tst-printf-round.c (struct hex_test): New
13733 (hex_tests): New variable.
13734 (test_hex_in_one_mode): New function.
13735 (do_test): Also run tests for hex float output.
13737 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13739 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13740 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13741 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13742 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13743 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13744 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13745 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13746 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13748 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13750 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13751 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13752 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13753 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13755 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13758 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13760 * elf/tst-rtld-load-self.sh: New test.
13761 * elf/Makefile: Run it.
13763 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13765 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13766 (tst-writev-ENV): Remove.
13767 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13769 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13771 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13773 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13775 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13777 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13779 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13780 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13781 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13784 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13787 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13788 * config.make.in (have-cpp-asm-debuginfo): Removed.
13789 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13790 * configure: Regenerated.
13792 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13795 * stdio-common/printf_fp.c: Include <stdbool.h> and
13797 (___printf_fp): Determine rounding using get_rounding_mode and
13799 * stdio-common/tst-printf-round.c: New file.
13800 * stdio-common/Makefile (tests): Add tst-printf-round.
13801 (link-libm): New variable.
13802 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13804 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13807 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13808 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13810 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13813 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13815 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13816 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13817 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13818 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13820 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13823 * include/rounding-mode.h: New file.
13824 * sysdeps/generic/get-rounding-mode.h: Likewise.
13825 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13826 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13827 (MAX_VALUE): New macro.
13828 (MIN_VALUE): Likewise.
13829 (overflow_value): New function.
13830 (underflow_value): Likewise.
13831 (round_and_return): Use overflow_value and underflow_value to
13832 determine return values in overflow and underflow cases. Use
13833 round_away to determine rounding depending on rounding mode.
13834 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13835 determine return values in overflow and underflow cases.
13836 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13837 (struct test_results): New structure.
13838 (struct test): Use struct test_results to store expected results
13839 for all rounding modes.
13840 (TEST): Include expected results for all rounding modes.
13841 (test_in_one_mode): New function.
13842 (do_test): Use test_in_one_mode to compute and check results.
13843 Check results for all rounding modes.
13844 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13847 2012-12-09 Allan McRae <allan@archlinux.org>
13849 * sysdeps/i386/fpu/libm-test-ulps: Update
13851 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13853 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13854 (_G_int32_t): Likewise.
13855 (_G_uint16_t): Likewise.
13856 (_G_uint32_t): Likewise.
13857 (_G_HAVE_BOOL): Likewise.
13858 (_G_HAVE_ATEXIT): Likewise.
13859 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13860 (_G_HAVE_IO_FILE_OPEN): Likewise.
13861 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13862 (_G_int32_t): Likewise.
13863 (_G_uint16_t): Likewise.
13864 (_G_uint32_t): Likewise.
13865 (_G_HAVE_BOOL): Likewise.
13866 (_G_HAVE_ATEXIT): Likewise.
13867 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13868 (_G_HAVE_IO_FILE_OPEN): Likewise.
13869 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13870 (_G_int32_t): Likewise.
13871 (_G_uint16_t): Likewise.
13872 (_G_uint32_t): Likewise.
13873 (_G_HAVE_BOOL): Likewise.
13874 (_G_HAVE_ATEXIT): Likewise.
13875 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13876 (_G_HAVE_IO_FILE_OPEN): Likewise.
13878 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13880 * csu/libc-tls.c: Update copyright years.
13882 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13884 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13885 [!_G_USING_THUNKS]: Remove conditional code.
13886 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13887 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13889 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13890 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13891 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13892 (_G_VTABLE_LABEL_PREFIX): Likewise.
13893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13894 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13895 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13896 (_G_VTABLE_LABEL_PREFIX): Likewise.
13897 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13898 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13899 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13900 (_G_VTABLE_LABEL_PREFIX): Likewise.
13901 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13903 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13905 * libio/Makefile: Include ../Makeconfig before tests.
13906 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13907 only if $(build-shared) is yes.
13909 * iconv/gconv_db.c: Update copyright years.
13911 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13913 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13914 unwind info if defined PIC. Fix special cases description.
13915 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13917 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13919 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13921 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13923 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13925 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13928 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13929 (LDLIBS-tst-chk4): This.
13930 (LDFLAGS-tst-chk5): Renamed to ...
13931 (LDLIBS-tst-chk5): This.
13932 (LDFLAGS-tst-chk6): Renamed to ...
13933 (LDLIBS-tst-chk6): This.
13934 (LDFLAGS-tst-lfschk4): Renamed to ...
13935 (LDLIBS-tst-lfschk4): This.
13936 (LDFLAGS-tst-lfschk5): Renamed to ...
13937 (LDLIBS-tst-lfschk5): This.
13938 (LDFLAGS-tst-lfschk6): Renamed to ...
13939 (LDLIBS-tst-lfschk6): This.
13941 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13942 on $(common-objpfx)soversions.mk.
13944 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13947 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13950 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13952 * malloc/arena.c (arena_get_retry): New function that gets
13953 another arena for the caller to try its request on.
13954 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13955 current arena cannot fulfill the request.
13956 (__libc_memalign): Likewise.
13957 (__libc_memalign): Likewise.
13958 (__libc_pvalloc): Likewise.
13959 (__libc_calloc): Likewise.
13961 2012-09-05 John Tobey <john.tobey@gmail.com>
13964 * manual/arith.texi (Operations on Complex): Fix description
13965 of carg branch cut.
13967 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13970 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13974 * manual/memory.texi (Memory): Make order of menu items match
13977 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13979 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13980 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13981 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13983 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13985 * csu/libc-tls.c (static_dtv): Renamed to ...
13986 (_dl_static_dtv): This. Make it global.
13987 (_dl_initial_dtv): Removed.
13988 (__libc_setup_tls): Updated.
13989 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13990 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13993 2012-09-06 Petr Machata <pmachata@redhat.com>
13995 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13996 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13997 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13998 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14000 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14003 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14004 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14007 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14010 * Makeconfig (link-static-before-libc): Replace $(+prector)
14012 (link-static-after-libc): Replace $(+postctor) with
14014 (link-bounded): Replace $(+prector)/$(+postctor) with
14015 $(+prectorT)/$(+postctorT).
14016 (+prectorT): New macro.
14017 (+postctorT): Likewise.
14019 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14021 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14022 (round_str): Handle values above the maximum for IBM long double
14024 * stdlib/tst-strtod-round.c (tests): Regenerated.
14026 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14028 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14030 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14031 zarch_nohighgprs around the zarch optimized routines.
14032 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14033 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14034 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14037 2012-09-05 David S. Miller <davem@davemloft.net>
14039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14041 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14042 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14043 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14044 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14047 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14049 * malloc/arena.c: Fold copyright years.
14050 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14052 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14054 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14056 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14058 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14060 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14062 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14063 change internal state upon failure.
14065 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14067 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14068 * malloc/memusage.c (mmap): Likewise.
14069 (mmap64, mremap): Likewise. Adjust name in comment.
14071 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14073 * libio/fileops.c: Fix typos in comments.
14074 * libio/oldfileops.c: Likewise.
14075 * libio/wfileops.c: Likewise.
14077 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14080 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14081 (tst-malloc-usable-ENV): Set environment for test case.
14082 * malloc/hooks.c (malloc_check_get_size): New function to get
14084 * malloc/malloc.c (musable): Use malloc_check_get_size.
14085 * malloc/tst-malloc-usable.c: New test case.
14087 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14089 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14091 2012-09-05 Allan McRae <allan@archlinux.org>
14094 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14095 determine header location.
14096 * configure: Regenerated.
14098 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14100 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14102 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14103 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14105 (test): Regenerate.
14107 2012-09-04 David S. Miller <davem@davemloft.net>
14109 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14110 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14111 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14113 2012-09-04 Florian Weimer <fweimer@redhat.com>
14115 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14118 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14120 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14123 * libio/iogetdelim.c: Include <limits.h>.
14124 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14125 + len + 1 would overflow.
14127 2012-09-03 Andreas Jaeger <aj@suse.de>
14129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14130 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14134 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14135 Add s_sinf-sse2, s_conf-sse2.
14137 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14138 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14139 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14140 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14142 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14143 for using routine as __sinf_ia32.
14144 Use macro for function declaration and weak_alias.
14145 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14146 for using routine as __cosf_ia32.
14147 Use macro for function declaration and weak_alias.
14149 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14150 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14152 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14153 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14156 * math/libm-test.inc (cos_test): Add more test cases.
14157 (sin_test): Likewise.
14158 (sincos_test): Likewise.
14160 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14163 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14165 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14167 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14170 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14171 first element of the GOT.
14172 (elf_machine_load_address): Return the difference between
14173 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14175 2012-09-01 Allan McRae <allan@archlinux.org>
14178 * configure.in (AWK): Require gawk version 3.0 or later.
14179 * configure: Regenerated.
14181 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14183 * sysdeps/unix/sysv/linux/kernel-features.h
14184 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14185 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14186 [__NR_clock_getres]: Make code unconditional.
14187 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14188 (clock_getcpuclockid): Remove code left unreachable by removal of
14190 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14191 code unconditional.
14192 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14193 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14194 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14195 Make code unconditional.
14196 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14197 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14198 * sysdeps/unix/sysv/linux/clock_settime.c
14199 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14201 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14202 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14204 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14207 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14208 scripts/test-installation.pl.
14210 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14211 and $ld_so_version if it is set.
14213 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14217 failure if reading from procfs failed.
14218 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14220 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14222 * sysdeps/unix/sysv/linux/kernel-features.h
14223 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14224 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14225 Remove conditional code.
14226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14227 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14228 Remove conditional code.
14229 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14230 * sysdeps/unix/sysv/linux/i386/fxstat.c
14231 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14232 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14233 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14234 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14235 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14236 * sysdeps/unix/sysv/linux/i386/lxstat.c
14237 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14239 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14240 Remove conditional code.
14241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14242 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14243 Remove conditional code.
14244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14245 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14246 <kernel-features.h>.
14247 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14249 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14250 Remove conditional code.
14251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14252 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14253 Remove conditional.
14255 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14258 * NEWS: Add fixed bug number.
14260 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14263 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14264 underflowing exponent in case of negative sign.
14265 * stdlib/tst-strtod-round-data: Add more tests.
14266 * stdlib/tst-strtod-round.c (tests): Regenerated.
14269 * stdlib/strtod_l.c (NDIG): Remove.
14270 (HEXNDIG): Likewise.
14271 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14272 smallest representable value.
14273 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14274 lie within an exact representation of 1/2 ulp of the result.
14275 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14277 (TENS_P9_IDX): Define unconditionally.
14278 (TENS_P9_SIZE): Likewise.
14279 (TENS_P10_IDX): Likewise.
14280 (TENS_P10_SIZE): Likewise.
14281 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14282 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14283 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14284 entries for 10^2^13 and 10^2^14.
14285 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14286 (TENS_P13_IDX): Define.
14287 (TENS_P13_SIZE): Likewise.
14288 (TENS_P14_IDX): Likewise.
14289 (TENS_P14_SIZE): Likewise.
14290 (_fpioconst_pow10): Change array size to
14291 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14293 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14294 1024]: Add entries for 10^2^13 and 10^2^14.
14295 [LAST_POW10 > _LAST_POW10]: Remove #error.
14296 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14297 (_fpioconst_pow10): Change array size to
14298 FPIOCONST_POW10_ARRAY_SIZE.
14299 * stdlib/gen-fpioconst.c: New file.
14300 * stdlib/gen-tst-strtod-round.c: Likewise.
14301 * stdlib/tst-strtod-round-data: Likewise.
14302 * stdlib/tst-strtod-round.c: Likewise.
14303 * stdlib/Makefile (tests): Add tst-strtod-round.
14306 * stdlib/strtod_l.c: Include <stdint.h>.
14307 (NDEBUG): Do not define.
14308 (round_and_return): Change EXPONENT parameter to type intmax_t.
14309 Rearrange calculations to avoid internal overflow possibilities.
14310 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14311 Rearrange calculations to avoid internal overflow possibilities.
14312 Assert that number fits inside MPNSIZE limbs.
14313 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14314 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14315 calculations and add assertions to avoid internal overflow
14316 possibilities. Add casts to avoid signed/unsigned operations.
14317 * stdlib/tst-strtod-overflow.c: New file.
14318 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14320 2012-08-25 Marek Polacek <polacek@redhat.com>
14322 * time/time.h: Fix some typos in comments.
14324 2012-08-23 Roland McGrath <roland@hack.frob.com>
14326 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14327 * posix/tst-rfc3484-2.c: Likewise.
14328 * posix/tst-rfc3484-3.c: Likewise.
14330 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14332 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14333 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14335 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14337 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14338 #include of fxstatat64.c.
14340 2012-08-22 Roland McGrath <roland@hack.frob.com>
14342 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14343 * shadow/getspent_r.c: Likewise.
14344 * shadow/getspnam.c: Likewise.
14345 * shadow/getspnam_r.c: Likewise.
14346 * gshadow/getsgent.c: Likewise.
14347 * gshadow/getsgent_r.c: Likewise.
14348 * gshadow/getsgnam.c: Likewise.
14349 * gshadow/getsgnam_r.c: Likewise.
14350 * inet/getnetbyad.c: Likewise.
14351 * inet/getnetbyad_r.c: Likewise.
14352 * inet/getnetbynm.c: Likewise.
14353 * inet/getnetbynm_r.c: Likewise.
14354 * inet/getnetent.c: Likewise.
14355 * inet/getnetent_r.c: Likewise.
14356 * inet/getproto.c: Likewise.
14357 * inet/getproto_r.c: Likewise.
14358 * inet/getprtent.c: Likewise.
14359 * inet/getprtent_r.c: Likewise.
14360 * inet/getprtname.c: Likewise.
14361 * inet/getprtname_r.c: Likewise.
14362 * inet/getrpcbyname.c: Likewise.
14363 * inet/getrpcbyname_r.c: Likewise.
14364 * inet/getrpcbynumber.c: Likewise.
14365 * inet/getrpcbynumber_r.c: Likewise.
14366 * inet/getrpcent.c: Likewise.
14367 * inet/getrpcent_r.c: Likewise.
14368 * inet/getaliasent.c: Likewise.
14369 * inet/getaliasent_r.c: Likewise.
14370 * inet/getaliasname.c: Likewise.
14371 * inet/getaliasname_r.c: Likewise.
14372 * nscd/getgrgid_r.c: Likewise.
14373 * nscd/getgrnam_r.c: Likewise.
14374 * nscd/gethstbyad_r.c: Likewise.
14375 * nscd/gethstbynm3_r.c: Likewise.
14376 * nscd/getpwnam_r.c: Likewise.
14377 * nscd/getpwuid_r.c: Likewise.
14378 * nscd/getsrvbynm_r.c: Likewise.
14379 * nscd/getsrvbypt_r.c: Likewise.
14380 * nscd/gai.c: Likewise.
14382 * configure.in (build_nscd): New substituted variable, set
14383 by --disable-build-nscd and defaults to $use_nscd.
14384 * configure: Regenerated.
14385 * config.make.in (build-nscd): New substituted variable.
14386 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14387 Change conditional to require [$(build-nscd) = yes] as well.
14388 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14391 * configure.in (use_nscd): New substituted variable, set by
14392 --disable-nscd. If enabled, define USE_NSCD.
14393 * configure: Regenerated.
14394 * config.h.in: Add USE_NSCD.
14395 * config.make.in (use-nscd): New substituted variable.
14396 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14397 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14398 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14399 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14400 (CFLAGS-getgrnam_r.c): Likewise.
14401 (CFLAGS-initgroups.c): Likewise.
14402 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14403 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14405 * inet/getnetgrent_r.c
14406 (nscd_setnetgrent): New function, broken out of ...
14407 (setnetgrent): ... here. Call it.
14408 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14409 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14410 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14411 * nscd/Makefile (routines, aux): Move definitions after include of
14412 Makeconfig. Conditionalize on [$(use-nscd) != no].
14413 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14414 Conditionalize on [USE_NSCD].
14415 (is_nscd, nscd_init_cb): Likewise.
14416 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14417 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14418 * nss/nss_db/db-init.c: Likewise.
14419 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14421 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14422 (make_request): Use it.
14423 (cache_valid_p): New function.
14424 (__check_pf): Use it.
14425 * NEWS: Add item for --disable-nscd.
14427 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14429 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14430 to support sed >= 4.2.1-20-ga9bf076.
14431 * configure: Regenerated.
14433 2012-08-22 Roland McGrath <roland@hack.frob.com>
14435 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14436 Conditionalize whole body on [IREL].
14438 2012-08-22 Jeff Law <law@redhat.com>
14441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14442 if the family is PF_UNSPEC.
14444 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14446 * Makerules (lib-version): Rename from V.
14447 (install-lib-nosubdir): Change V to lib-version.
14449 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14452 * powerpc32/power6/wcschr.c: New file.
14453 * powerpc32/power6/wcscpy.c: New file.
14454 * powerpc32/power6/wcsrchr.c: New file.
14455 * powerpc64/power6/wcschr.c: New file.
14456 * powerpc64/power6/wcscpy.c: New file.
14457 * powerpc64/power6/wcsrchr.c: New file.
14459 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14461 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14462 (two_way_short_needle): Use it.
14463 * string/strstr.c (AVAILABLE1_USES_J): Define.
14464 * string/strcasestr.c: Likewise.
14466 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14468 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14471 * NEWS: Add an entry.
14472 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14473 define their defaults.
14474 (two_way_short_needle): Detect end-of-string on-the-fly.
14475 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14476 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14477 * string/bug-strcasestr1.c: New test.
14478 * string/Makefile: Run it.
14480 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14483 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14484 the first character.
14486 2012-08-21 Roland McGrath <roland@hack.frob.com>
14488 * csu/elf-init.c (__libc_csu_irel): Function removed.
14489 * csu/libc-start.c (apply_irel): New function.
14490 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14492 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14494 * sysdeps/unix/sysv/linux/kernel-features.h
14495 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14496 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14497 <kernel-features.h>.
14498 [__NR_fadvise64_64]: Make code unconditional.
14499 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14500 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14501 !__NR_fadvise64_64)]: Likewise.
14502 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14503 !__NR_fadvise64_64))]: Likewise.
14504 [__NR_fadvise64]: Make code unconditional.
14505 [!__NR_fadvise64]: Remove conditional code.
14506 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14507 <kernel-features.h>.
14508 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14510 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14513 not include <kernel-features.h>.
14514 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14516 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14518 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14519 include <kernel-features.h>.
14520 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14522 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14525 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14528 slight instruction rearrangements per scrollpipe analysis.
14529 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14531 2012-08-20 Roland McGrath <roland@hack.frob.com>
14533 * manual/syslog.texi (syslog; vsyslog, closelog):
14534 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14535 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14537 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14538 DSOCAPS to match condition on defining it.
14540 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14542 * sysdeps/unix/sysv/linux/kernel-features.h
14543 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14545 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14546 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14548 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14549 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14551 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14552 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14554 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14555 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14557 * sysdeps/unix/sysv/linux/kernel-features.h
14558 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14559 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14561 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14562 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14563 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14564 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14565 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14566 Make code unconditional.
14567 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14568 (__mmap64) [!__NR_mmap2]: Likewise.
14569 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14570 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14571 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14573 [__NR_mmap2]: Make code unconditional.
14574 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14575 (__mmap64) [!__NR_mmap2]: Likewise.
14577 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14579 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14581 2012-08-18 Andreas Jaeger <aj@suse.de>
14583 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14585 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14587 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14588 * include/unistd.h (__have_sock_cloexec): Likewise.
14589 (__have_pipe2): Likewise.
14590 (__have_dup3): Likewise.
14592 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14595 * include/unistd.h (__have_pipe2): Change define into an extern int.
14596 (__have_dup3): Likewise.
14597 * socket/have_sock_cloexec.c: Include fcntl.h.
14598 (__have_pipe2): New variable.
14599 (__have_dup3): Likewise.
14601 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14603 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14605 2012-08-17 Marek Polacek <polacek@redhat.com>
14607 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14608 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14610 2012-08-17 Roland McGrath <roland@hack.frob.com>
14612 * configure.in: Add AC_SUBST for sysheaders.
14613 * configure: Regenerated.
14614 * config.make.in (sysheaders): New substituted variable.
14616 * sysdeps/unix/mkfifo.c: Moved ...
14617 * sysdeps/posix/mkfifo.c: ... here.
14618 * sysdeps/unix/mkfifoat.c: Moved ...
14619 * sysdeps/posix/mkfifoat.c: ... here.
14621 * sysdeps/unix/utime.c: Moved ...
14622 * sysdeps/posix/utime.c: ... here.
14624 * sysdeps/unix/time.c: Moved ...
14625 * sysdeps/posix/time.c: ... here.
14626 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14629 * sysdeps/unix/nice.c: Moved ...
14630 * sysdeps/posix/nice.c: ... here.
14632 * sysdeps/unix/alarm.c: Moved ...
14633 * sysdeps/posix/alarm.c: ... here.
14635 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14637 2012-08-17 Jeff Law <law@redhat.com>
14639 * intl/Makefile (codeset_mo): New variable.
14640 ($(codeset_mo)): New target.
14641 (tst-codeset.out): Depend on that. Remove explicit rule.
14642 (tst-gettext3.out, tst-gettext5.out): Likewise.
14643 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14644 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14645 * intl/tst-codeset.sh: Remove.
14646 * intl/tst-gettext3.sh: Likewise.
14647 * intl/tst-gettext5.sh: Likewise.
14649 2012-08-17 Roland McGrath <roland@hack.frob.com>
14651 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14652 * sysdeps/unix/syscalls.list: ... here.
14654 * sysdeps/posix/getaddrinfo.c
14655 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14656 (gaiconf_init, gaiconf_reload): Use them.
14657 [!_STATBUF_ST_NSEC]
14658 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14659 Define using time_t rather than struct timespec.
14661 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14662 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14664 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14666 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14667 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14670 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14671 __libc_cleanup_push argument.
14673 * bits/param.h: New file.
14674 * misc/sys/param.h: New file.
14675 * include/sys/param.h: New file.
14676 * misc/Makefile (headers): Add bits/param.h.
14677 * sysdeps/generic/sys/param.h: File removed.
14678 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14679 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14680 * sysdeps/mach/hurd/bits/param.h: New file.
14681 * sysdeps/mach/hurd/sys/param.h: File removed.
14683 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14686 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14688 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14689 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14692 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14693 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14694 rather than -D_IO_MTSAFE_IO conditionally.
14695 * stdio-common/Makefile (CPPFLAGS): Likewise.
14696 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14697 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14698 Use $(libio-mtsafe).
14699 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14700 of -D_IO_MTSAFE_IO.
14701 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14702 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14703 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14704 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14705 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14706 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14707 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14708 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14709 (CFLAGS-fread_u_chk.c): Likewise.
14710 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14711 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14712 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14713 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14714 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14715 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14716 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14717 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14718 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14720 * libio/Makefile: Test [$(libc-reentrant) = yes]
14721 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14724 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14725 * sysdeps/pthread/configure: File removed.
14726 * sysdeps/pthread/Makeconfig: New file.
14727 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14728 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14730 2012-08-16 Gary Benson <gbenson@redhat.com>
14732 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14733 unmapping the first object in a namespace.
14735 2012-08-16 Roland McGrath <roland@hack.frob.com>
14737 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14738 (__internal_setnetgrent): ... this. Add internal_function to
14739 definition. Add libc_hidden_def.
14740 (setnetgrent): Update caller.
14741 (internal_endnetgrent): Renamed to ...
14742 (__internal_endnetgrent): ... this. Add internal_function to
14743 definition. Add libc_hidden_def.
14744 (endnetgrent): Update caller.
14745 (internal_getnetgrent_r): Renamed to ...
14746 (__internal_getnetgrent_r): ... this. Add internal_function to
14747 definition. Add libc_hidden_def.
14748 (__getnetgrent_r): Update caller.
14749 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14751 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14753 * stdlib/longlong.h: Update from GCC.
14755 2012-08-16 Roland McGrath <roland@hack.frob.com>
14757 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14758 on _QL, which is set by umul_ppmm but never used.
14759 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14760 variables, which are set by GMP macros but never used.
14761 * stdio-common/_itowa.c (_itowa): Likewise.
14762 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14763 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14765 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14767 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14768 struct La_sh_regs is not constant.
14769 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14770 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14771 and struct La_sparc64_regs are not constant.
14773 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14775 * sysdeps/unix/sysv/linux/kernel-features.h
14776 (__ASSUME_POSIX_TIMERS): Remove.
14777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14778 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14779 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14780 Make code unconditional.
14781 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14782 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14783 Make code unconditional.
14784 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14785 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14786 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14787 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14788 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14789 Make code unconditional.
14790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14791 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14792 (__libc_missing_posix_timers): Remove.
14794 2012-08-15 Roland McGrath <roland@hack.frob.com>
14796 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14797 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14799 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14801 * elf/dl-sym.c: Include <stdlib.h>.
14803 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14804 constants, which avoids warnings in 32-bit builds.
14806 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14807 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14809 * misc/lseek.c: File moved to ...
14810 * io/lseek.c: ... here.
14812 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14814 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14815 shifting LEN more than 31 bits at once.
14817 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14820 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14821 segmentation fault for a case of two empty input strings.
14822 * string/test-strncasecmp.c (check1): Renamed to...
14823 (bz12205): ...this.
14824 (bz14195): Add new testcase for two empty input strings and N > 0.
14825 (test_main): Call new testcase, adapt for renamed function.
14827 2012-08-15 Andreas Jaeger <aj@suse.de>
14830 * crypt/md5test2.c: New test, based on test supplied by Serge
14831 Belyshev <belyshev@depni.sinp.msu.ru>.
14832 * crypt/Makefile (xtests): Add md5test-giant..
14833 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14835 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14838 * crypt/md5.c (md5_process_block): Don't assume the buffer
14839 length is less than 2**32.
14840 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14841 length is less than 2**64.
14843 2012-08-15 Roland McGrath <roland@hack.frob.com>
14845 * string/str-two-way.h: Include <sys/param.h>.
14846 (MAX): Macro removed.
14848 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14849 Move #define and #undef of memmove to just before and after
14850 including <string.h>.
14852 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14853 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14854 and after including <string.h>. Move declarations of
14855 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14856 to before #include "string/memmove.c".
14858 * include/dirent.h: Declare __getdirentries.
14860 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14861 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14863 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14865 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14866 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14867 * sysdeps/i386/configure: Regenerated.
14868 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14869 STABS_CURRENT_FILE, and STABS_FUN.
14870 (END): Remove call to STABS_FUN_END.
14871 (STABS_CURRENT_FILE1): Delete.
14872 (STABS_CURRENT_FILE): Likewise.
14873 (STABS_FUN): Likewise.
14874 (STABS_FUN_END): Likewise.
14875 (STABS_FUN2): Likewise.
14876 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14877 * sysdeps/x86_64/configure: Regenerated.
14879 2012-08-14 Roland McGrath <roland@hack.frob.com>
14881 * elf/dl-open.c: Include <atomic.h>.
14882 * elf/dl-lookup.c: Likewise.
14884 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14886 * sysdeps/unix/sysv/linux/kernel-features.h
14887 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14888 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14890 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14892 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14893 condition on __ASSUME_CLONE_THREAD_FLAGS.
14895 2012-08-14 Andreas Jaeger <aj@suse.de>
14897 * sysdeps/i386/fpu/libm-test-ulps: Update.
14899 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14901 * include/atomic.h (atomic_exchange_and_add): Split into ...
14902 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14905 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14909 2012-08-13 Jeff Law <law@redhat.com>
14911 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14912 null byte in the output string.
14914 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14916 * sysdeps/unix/sysv/linux/kernel-features.h
14917 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14918 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14919 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14921 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14922 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14923 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14925 2012-08-09 Jeff Law <law@redhat.com>
14928 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14929 When avoid_arena is set, don't retry in the that arena. Pick the
14930 next one, whatever it might be.
14931 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14932 (arena_lock): Pass in new parameter to arena_get2.
14933 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14935 (__libc_malloc): Unify retrying after main arena failure with
14936 __libc_memalign version.
14937 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14939 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14942 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14943 to __redirect_strstr.
14944 (__strstr_sse42): Use typeof __redirect_strstr.
14945 (__strstr_ia32): Likewise.
14946 (__libc_strstr): New prototype.
14947 (strstr): Renamed to ...
14948 (__libc_strstr): This.
14949 (strstr): New strong alias of __libc_strstr.
14950 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14951 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14954 (__libc_time): New prototype.
14955 (time_ifunc): Replace time with __libc_time.
14956 (time): New strong alias and hidden definition of __libc_time.
14957 (__GI_time): Remove strong alias.
14958 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14959 Include <stddef.h>.
14960 (memmove): Redefined to __redirect_memmove.
14961 (__memmove_sse2): Use typeof __redirect_memmove.
14962 (__memmove_ssse3): Likewise.
14963 (__memmove_ssse3_back): Likewise.
14964 (__libc_memmove): New prototype.
14965 (memmove): Renamed to ...
14966 (__libc_memmove): This.
14967 (memmove): New strong alias of __libc_memmove.
14969 2012-08-08 Mark Salter <msalter@redhat.com>
14972 (R_MN10300_TLS_GD): Define.
14973 (R_MN10300_TLS_LD): Likewise.
14974 (R_MN10300_TLS_LDO): Likewise.
14975 (R_MN10300_TLS_GOTIE): Likewise.
14976 (R_MN10300_TLS_IE): Likewise.
14977 (R_MN10300_TLS_LE): Likewise.
14978 (R_MN10300_TLS_DTPMOD): Likewise.
14979 (R_MN10300_TLS_DTPOFF): Likewise.
14980 (R_MN10300_TLS_TPOFF): Likewise.
14981 (R_MN10300_SYM_DIFF): Likewise.
14982 (R_MN10300_ALIGN): Likewise.
14983 (R_MN10300_NUM): Update.
14985 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14987 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14990 2012-08-08 Roland McGrath <roland@hack.frob.com>
14992 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14994 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14995 sysdeps/unix -> sysdeps/posix move.
14996 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14998 2012-08-07 Allan McRae <allan@archlinux.org>
15001 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15002 (SUNOS_CPP): Likewise.
15003 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15005 (open_input): Call CPP using execvp.
15007 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15009 * sysdeps/unix/sysv/linux/kernel-features.h
15010 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15011 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15012 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15013 (__ASSUME_WAITID_SYSCALL): Likewise.
15014 * sysdeps/unix/sysv/linux/dl-execstack.c
15015 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15016 code unconditional.
15017 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15019 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15020 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15021 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15023 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15025 [__ASSUME_WAITID_SYSCALL]: Likewise.
15026 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15028 2012-08-07 Roland McGrath <roland@hack.frob.com>
15030 * sysdeps/unix/closedir.c: Renamed to ...
15031 * sysdeps/posix/closedir.c: ... here.
15032 * sysdeps/unix/dirfd.c: Renamed to ...
15033 * sysdeps/posix/dirfd.c: ... here.
15034 * sysdeps/unix/dirstream.h: Renamed to ...
15035 * sysdeps/posix/dirstream.h: ... here.
15036 * sysdeps/unix/fdopendir.c: Renamed to ...
15037 * sysdeps/posix/fdopendir.c: ... here.
15038 * sysdeps/unix/opendir.c: Renamed to ...
15039 * sysdeps/posix/opendir.c: ... here.
15040 * sysdeps/unix/readdir.c: Renamed to ...
15041 * sysdeps/posix/readdir.c: ... here.
15042 * sysdeps/unix/readdir_r.c: Renamed to ...
15043 * sysdeps/posix/readdir_r.c: ... here.
15044 * sysdeps/unix/rewinddir.c: Renamed to ...
15045 * sysdeps/posix/rewinddir.c: ... here.
15046 * sysdeps/unix/seekdir.c: Renamed to ...
15047 * sysdeps/posix/seekdir.c: ... here.
15048 * sysdeps/unix/telldir.c: Renamed to ...
15049 * sysdeps/posix/telldir.c: ... here.
15050 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15051 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15052 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15053 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15055 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15056 * bits/fcntl.h: ... here.
15058 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15060 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15061 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15062 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15063 (struct flock): Move l_start, l_len to the beginning.
15064 Use __pid_t for l_pid.
15065 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15066 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15067 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15068 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15069 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15070 [__USE_LARGEFILE64] (struct flock64): New type.
15071 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15073 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15074 * bits/dirent.h: ... here.
15076 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15077 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15079 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15082 Change from 2.6.0 to 2.6.16.
15083 * sysdeps/unix/sysv/linux/configure: Regenerated.
15084 * sysdeps/unix/sysv/linux/kernel-features.h
15085 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15086 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15088 (__ASSUME_UTIMES): Likewise.
15089 (__ASSUME_CLONE_STOPPED): Remove.
15090 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15091 architectures, not kernel version.
15092 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15093 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15094 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15095 (__ASSUME_WAITID_SYSCALL): Likewise.
15096 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15097 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15098 * README: State 2.6.16 as minimum Linux kernel version. Do not
15099 refer to older versions.
15101 2012-08-06 Roland McGrath <roland@hack.frob.com>
15103 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15104 Define alphasort64 as an alias.
15105 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15106 Define versionsort64 as an alias.
15107 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15108 Define scandir64 as an alias.
15109 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15110 Define scandirat64 as an alias.
15111 * dirent/alphasort64.c (alphasort64):
15112 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15113 * dirent/versionsort64.c: Likewise.
15114 * dirent/scandir64.c: Likewise.
15115 * dirent/scandirat64.c: Likewise.
15116 * sysdeps/wordsize-64/alphasort.c: File removed.
15117 * sysdeps/wordsize-64/alphasort64.c: File removed.
15118 * sysdeps/wordsize-64/scandir.c: File removed.
15119 * sysdeps/wordsize-64/scandir64.c: File removed.
15120 * sysdeps/wordsize-64/scandirat.c: File removed.
15121 * sysdeps/wordsize-64/scandirat64.c: File removed.
15122 * sysdeps/wordsize-64/versionsort.c: File removed.
15123 * sysdeps/wordsize-64/versionsort64.c: File removed.
15124 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15125 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15127 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15129 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15133 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15135 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15137 [defined __arch64__ || defined __sparcv9]
15138 (__INO_T_MATCHES_INO64_T): New macro.
15139 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15140 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15141 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15142 * sysdeps/unix/sysv/linux/bits/dirent.h
15143 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15144 (_DIRENT_MATCHES_DIRENT64): New macro.
15146 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15147 Define lockf64 as an alias.
15148 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15149 Define fseeko64 as an alias.
15150 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15151 Define ftello64 as an alias.
15152 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15153 Define _IO_fgetpos64 and fgetpos64 as aliases.
15154 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15155 Define _IO_fsetpos64 and fsetpos64 as aliases.
15156 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15157 Conditionalize body on this.
15158 * libio/fseeko64.c: Likewise.
15159 * libio/ftello64.c: Likewise.
15160 * libio/iofgetpos64.c: Likewise.
15161 * libio/iofsetpos64.c: Likewise.
15162 * sysdeps/wordsize-64/lockf.c: File removed.
15163 * sysdeps/wordsize-64/lockf64.c: File removed.
15164 * sysdeps/wordsize-64/fseeko.c: File removed.
15165 * sysdeps/wordsize-64/fseeko64.c: File removed.
15166 * sysdeps/wordsize-64/ftello.c: File removed.
15167 * sysdeps/wordsize-64/ftello64.c: File removed.
15168 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15169 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15170 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15171 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15172 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15173 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15174 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15175 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15176 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15178 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15183 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15185 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15187 [defined __arch64__ || defined __sparcv9]
15188 (__OFF_T_MATCHES_OFF64_T): New macro.
15189 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15190 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15192 (__OFF_T_MATCHES_OFF64_T): New macro.
15194 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15196 * stdlib/secure-getenv.c (__secure_getenv): Replace
15197 GLIBC_2_16 with GLIBC_2_17.
15199 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15202 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15204 2012-08-03 David S. Miller <davem@davemloft.net>
15206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15208 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15210 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15212 (__ASSUME_CORRECT_SI_PID): Likewise.
15213 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15214 (__ASSUME_TMPFS_NAME): Likewise.
15215 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15216 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15217 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15218 (HAVE_AUX_SECURE): Make definition unconditional.
15219 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15220 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15222 2012-08-03 Roland McGrath <roland@hack.frob.com>
15224 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15225 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15226 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15227 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15228 __eloop_threshold instead of SYMLOOP_MAX.
15230 * sysdeps/generic/eloop-threshold.h: New file.
15231 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15233 * elf/chroot_canon.c (chroot_canon): Likewise.
15235 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15239 Change to 2.6.0 everywhere.
15240 * sysdeps/unix/sysv/linux/configure: Regenerated.
15241 * sysdeps/unix/sysv/linux/kernel-features.h
15242 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15243 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15245 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15246 (__ASSUME_FUTEX_REQUEUE): Remove.
15247 (__ASSUME_STATFS64): Define unconditionally.
15248 (__ASSUME_AT_SECURE): Likewise.
15249 (__ASSUME_CORRECT_SI_PID): Likewise.
15250 (__ASSUME_TGKILL): Define without depending on kernel version for
15252 (__ASSUME_UTIMES): Likewise.
15253 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15255 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15256 (__ASSUME_TMPFS_NAME): Likewise.
15257 * README: Update reference to Linux kernel versions.
15259 2012-08-02 Marek Polacek <polacek@redhat.com>
15262 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15263 libc_cv_asm_type_prefix with %.
15264 * configure: Regenerated.
15265 * include/libc-symbols.h: Remove comment about
15266 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15267 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15268 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15269 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15270 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15271 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15272 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15273 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15274 * elf/tst-unique2mod1.c: Likewise.
15275 * elf/tst-unique1mod2.c: Likewise.
15276 * elf/tst-unique1mod1.c: Likewise.
15277 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15278 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15279 Replace ASM_TYPE_DIRECTIVE with .type.
15280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15281 * sysdeps/i386/sysdep.h: Likewise.
15282 * sysdeps/x86_64/sysdep.h: Likewise.
15283 * sysdeps/sh/sysdep.h: Likewise.
15284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15285 Do not define ASM_TYPE_DIRECTIVE.
15286 * sysdeps/powerpc/sysdep.h: Likewise.
15287 * sysdeps/powerpc/powerpc32/sysdep.h:
15288 Replace ASM_TYPE_DIRECTIVE with .type.
15289 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15291 * sysdeps/i386/fpu/e_powf.S: Likewise.
15292 * sysdeps/i386/fpu/e_expl.S: Likewise.
15293 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15294 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15295 * sysdeps/i386/fpu/e_pow.S: Likewise.
15296 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15297 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15298 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15299 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15300 * sysdeps/i386/fpu/e_log2.S: Likewise.
15301 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15302 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15303 * sysdeps/i386/fpu/e_powl.S: Likewise.
15304 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15305 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15306 * sysdeps/i386/fpu/e_logl.S: Likewise.
15307 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15308 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15309 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15311 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15312 * sysdeps/i386/fpu/e_log.S: Likewise.
15313 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15314 * sysdeps/i386/fpu/e_logf.S: Likewise.
15315 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15316 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15317 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15318 * sysdeps/i386/fpu/e_log10.S: Likewise.
15319 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15320 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15321 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15322 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15323 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15324 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15325 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15326 * sysdeps/i386/i686/strtok.S: Likewise.
15327 * sysdeps/i386/i386-mcount.S: Likewise.
15328 * sysdeps/i386/strtok.S: Likewise.
15329 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15330 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15331 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15332 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15333 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15334 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15335 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15336 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15338 * sysdeps/x86_64/_mcount.S: Likewise.
15339 * sysdeps/x86_64/strtok.S: Likewise.
15340 * sysdeps/sh/_mcount.S: Likewise.
15342 2012-08-01 Roland McGrath <roland@hack.frob.com>
15344 * libio/iofopen.c: Include <fcntl.h>.
15345 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15346 (_IO_fopen64, fopen64): Define as aliases.
15347 * libio/iofopen64.c: Include <fcntl.h>.
15348 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15349 Conditionalize body on this.
15350 * sysdeps/wordsize-64/iofopen.c: File removed.
15351 * sysdeps/wordsize-64/iofopen64.c: File removed.
15353 2012-08-01 Marek Polacek <polacek@redhat.com>
15355 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15356 Use dlfcn directly instead of a variable.
15357 (binfmt-subdir): Do not define.
15360 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15362 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15363 Remove all definitions.
15364 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15365 <kernel-features.h>.
15366 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15367 (miss_F_GETOWN_EX): Remove all definitions.
15368 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15370 [!__ASSUME_FCNTL64]: Remove conditional code.
15371 [__ASSUME_FCNTL64]: Make code unconditional.
15372 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15373 <kernel-features.h>.
15374 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15375 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15376 (lockf64) [__NR_fcntl64]: Make code unconditional.
15377 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15379 * sysdeps/unix/sysv/linux/kernel-features.h
15380 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15381 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15382 Make code unconditional.
15383 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15384 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15386 [__NR_vfork]: Make code unconditional.
15387 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15388 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15390 [__NR_vfork]: Make code unconditional.
15391 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15392 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15394 2012-08-01 Roland McGrath <roland@hack.frob.com>
15396 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15397 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15399 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15400 Define mkstemp64 as an alias.
15401 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15402 Define mkstemps64 as an alias.
15403 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15404 Define mkostemp64 as an alias.
15405 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15406 Define mkostemps64 as an alias.
15407 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15408 Conditionalize body on this.
15409 * misc/mkostemp64.c: Likewise.
15410 * misc/mkostemps64.c: Likewise.
15411 * misc/mkstemps64.c: Likewise.
15412 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15413 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15414 * sysdeps/wordsize-64/mkostemp.c: File removed.
15415 * sysdeps/wordsize-64/mkstemp.c: File removed.
15416 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15417 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15418 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15419 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15422 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15423 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15424 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15425 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15427 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15428 compat_symbol macros from <shlib-compat.h> rather than the underlying
15429 default_symbol_version and symbol_version macros, so that DEFAULT
15430 lines in shlib-versions are respected.
15431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15433 2012-08-01 Florian Weimer <fweimer@redhat.com>
15435 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15436 Declare with warn_unused_result.
15437 (setgid, setregid, setegid, setresgid): Likewise.
15438 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15440 * WUR-REPORT: Remove set*id functions.
15442 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15444 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15446 2012-07-31 Roland McGrath <roland@hack.frob.com>
15449 * include/sys/socket.h (__libc_accept, __libc_accept4):
15450 Add attribute_hidden.
15451 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15453 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15455 * inet/getnetgrent_r.c (setup): Likewise.
15457 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15459 2012-07-31 David S. Miller <davem@davemloft.net>
15461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15463 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15466 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15467 value between 1.0 and 2.0 and smaller part has absolute value less
15469 * math/s_clog10.c (__clog10): Likewise.
15470 * math/s_clog10f.c (__clog10f): Likewise.
15471 * math/s_clog10l.c (__clog10l): Likewise.
15472 * math/s_clogf.c (__clogf): Likewise.
15473 * math/s_clogl.c (__clogl): Likewise.
15474 * math/libm-test.inc (clog_test): Add more tests.
15475 (clog10_test): Likewise.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15479 2012-07-31 Florian Weimer <fweimer@redhat.com>
15481 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15482 Exit with zero in case no suitable GID is found, and write a
15483 message to standard error.
15485 2012-07-30 Roland McGrath <roland@hack.frob.com>
15487 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15489 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15490 (MAXPATHLEN): Removed.
15491 (NOGROUP, NODEV): New macros.
15492 (setbit, clrbit, isset, isclr): New macros.
15493 (howmany, roundup, powerof2): New macros.
15494 (DEV_BSIZE): New macro.
15496 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15497 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15499 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15500 definition on [!__NO_LONG_DOUBLE_MATH].
15502 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15503 PTR_MANGLE and PTR_DEMANGLE.
15505 * socket/accept4.c (accept4): Rename to __libc_accept4.
15506 Define accept4 as a weak alias.
15508 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15509 on [_DIRENT_HAVE_D_TYPE].
15510 * io/ftw.c (ftw_dir): Likewise.
15512 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15514 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15516 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15517 Use the BSD numbers rather than the arbitrary ones we had.
15518 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15519 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15520 (SIGXCPU, SIGXFSZ): New macros.
15523 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15524 initializer on [_LIBC_REENTRANT].
15526 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15527 definitions inside [_POSIX_MAPPED_FILES].
15529 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15531 * dirent/opendir.c: Include <fcntl.h>.
15533 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15534 (__libc_getspecific): Likewise.
15535 (__libc_key_create): Likewise.
15537 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15538 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15539 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15540 (tmpfile64): Define as alias.
15541 * sysdeps/wordsize-64/tmpfile.c: File removed.
15542 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15543 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15544 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15546 * stdio-common/vfscanf.c: Include <stdbool.h>.
15547 * nss/makedb.c: Likewise.
15548 * stdio-common/_i18n_number.h: Likewise.
15549 * argp/argp-help.c: Likewise.
15550 * posix/wordexp.c: Likewise.
15551 * sysdeps/posix/spawni.c: Likewise.
15552 * nss/nss_files/files-initgroups.c: Likewise.
15553 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15554 * nss/nss_files/files-initgroups.c: Likewise.
15555 * nss/nss_db/db-netgrp.c: Likewise.
15556 * nss/nss_db/db-initgroups.c: Likewise.
15557 * io/fchmodat.c: Include <sys/stat.h>.
15559 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15560 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15562 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15565 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15566 Add multiple inclusion protection.
15568 2012-07-27 David S. Miller <davem@davemloft.net>
15570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15572 2012-07-27 Gary Benson <gbenson@redhat.com>
15575 * elf/rtld.c: Include <stap-probe.h>.
15576 (dl_main): Added static probes "init_start" and "init_complete".
15577 * elf/dl-load.c: Include <stap-probe.h>.
15578 (lose): Take new parameter "nsid".
15579 Added static probe "map_failed".
15580 (_dl_map_object_from_fd): Pass namespace id to lose.
15581 Added static probe "map_start".
15582 (open_verify): Pass namespace id to lose.
15583 * elf/dl-open.c: Include <stap-probe.h>.
15584 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15585 and "reloc_complete".
15586 * elf/dl-close.c: Include <stap-probe.h>.
15587 (_dl_close_worker): Added static probes "unmap_start" and
15589 * elf/rtld-debugger-interface.txt: New file documenting the above.
15591 2012-07-26 Roland McGrath <roland@hack.frob.com>
15593 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15594 rather than a string variable.
15595 * sunrpc/rpc_main.c (h_output): Likewise.
15596 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15598 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15600 * inet/check_native.c: New file.
15602 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15605 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15606 if larger part has absolute value 1.0.
15607 * math/s_clog10.c (__clog10): Likewise.
15608 * math/s_clog10f.c (__clog10f): Likewise.
15609 * math/s_clog10l.c (__clog10l): Likewise.
15610 * math/s_clogf.c (__clogf): Likewise.
15611 * math/s_clogl.c (__clogl): Likewise.
15612 * math/libm-test.inc (clog_test): Add more tests.
15613 (clog10_test): Likewise.
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15617 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15618 (pltexit): Likewise.
15619 (La_regs): Likewise.
15620 (La_retval): Likewise.
15621 (int_retval): Likewise.
15622 Update #error for removed macros to refer only to definitions in
15624 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15626 (pltexit): Likewise.
15627 (La_regs): Likewise.
15628 (La_retval): Likewise.
15629 (int_retval): Likewise.
15630 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15632 (pltexit): Likewise.
15633 (La_regs): Likewise.
15634 (La_retval): Likewise.
15635 (int_retval): Likewise.
15636 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15638 (pltexit): Likewise.
15639 (La_regs): Likewise.
15640 (La_retval): Likewise.
15641 (int_retval): Likewise.
15642 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15644 (pltexit): Likewise.
15645 (La_regs): Likewise.
15646 (La_retval): Likewise.
15647 (int_retval): Likewise.
15648 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15650 (pltexit): Likewise.
15651 (La_regs): Likewise.
15652 (La_retval): Likewise.
15653 (int_retval): Likewise.
15654 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15656 (pltexit): Likewise.
15657 (La_regs): Likewise.
15658 (La_retval): Likewise.
15659 (int_retval): Likewise.
15660 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15661 macro definitions in tst-audit.h.
15662 * sysdeps/i386/tst-audit.h: New file.
15663 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15664 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15665 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15666 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15667 * sysdeps/sh/tst-audit.h: Likewise.
15668 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15669 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15670 * sysdeps/x86_64/tst-audit.h: Likewise.
15672 2012-07-26 Andreas Jaeger <aj@suse.de>
15674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15677 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15678 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15679 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15681 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15682 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15683 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15685 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15688 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15690 (si_call_addr, si_syscall, si_arch): Define new macro.
15691 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15693 (si_call_addr, si_syscall, si_arch): Define new marcro.
15694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15696 (si_call_addr, si_syscall, si_arch): Define new macro.
15697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15699 (si_call_addr, si_syscall, si_arch): Define new macro.
15701 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15705 Change to 2.4.21 where previously 2.4.1.
15706 * sysdeps/unix/sysv/linux/configure: Regenerated.
15707 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15708 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15709 Linux kernel version.
15710 (__ASSUME_STD_AUXV): Remove.
15711 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15713 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15714 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15715 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15716 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15717 (__ASSUME_NETLINK_SUPPORT): Likewise.
15718 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15719 (__no_netlink_support): Remove conditional definition.
15720 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15722 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15723 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15724 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15725 (if_nameindex_ioctl): Remove.
15726 (if_nameindex_netlink): Do not handle __no_netlink_support.
15727 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15729 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15730 Remove conditional code.
15731 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15733 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15735 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15736 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15737 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15739 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15740 [!__ASSUME_STD_AUXV]: Remove conditional code.
15741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15742 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15743 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15745 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15746 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15748 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15750 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15751 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15753 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15755 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15758 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15761 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15762 code unconditional.
15763 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15765 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15767 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15770 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15772 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15775 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15776 code unconditional.
15777 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15779 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15781 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15784 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15785 code unconditional.
15786 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15788 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15790 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15793 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15795 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15796 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15797 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15798 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15799 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15800 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15801 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15802 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15803 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15804 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15805 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15806 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15807 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15808 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15810 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15811 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15812 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15813 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15815 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15816 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15817 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15819 2012-07-25 Florian Weimer <fweimer@redhat.com>
15821 * Versions.def: Add GLIBC_2.17.
15822 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15823 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15824 Introduce __libc_secure_getenv.
15825 * stdlib/Versions (2.17): Add secure_getenv
15826 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15827 * stdlib/secure-getenv.c: Rename __secure_getenv to
15828 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15829 symbol __secure_getenv for GLIBC_2.0.
15830 * stdlib/tst-secure-getenv.c: New.
15831 * stdlib/Makefile (tests): Add testcase.
15832 * manual/startup.texi (Environment Access): Document
15834 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15835 __libc_secure_getenv.
15836 * inet/ruserpass.c (ruserpass): Likewise.
15837 * malloc/mtrace.c (mtrace): Likewise.
15838 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15839 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15840 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15841 * sysdeps/posix/tempname.c: Likewise. Evaluate
15842 HAVE_SECURE_GETENV.
15843 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15844 __secure_getenv to __libc_secure_getenv.
15845 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15858 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15860 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15861 (struct La_i86_retval): Likewise.
15862 (struct La_x86_64_regs): Likewise.
15863 (struct La_x86_64_retval): Likewise.
15864 (struct La_x32_regs): Likewise.
15865 (struct La_x32_retval): Likewise.
15866 (struct La_ppc32_regs): Likewise.
15867 (struct La_ppc32_retval): Likewise.
15868 (struct La_ppc64_regs): Likewise.
15869 (struct La_ppc64_retval): Likewise.
15870 (struct La_sh_regs): Likewise.
15871 (struct La_sh_retval): Likewise.
15872 (struct La_s390_32_regs): Likewise.
15873 (struct La_s390_32_retval): Likewise.
15874 (struct La_s390_64_regs): Likewise.
15875 (struct La_s390_64_retval): Likewise.
15876 (struct La_sparc32_regs): Likewise.
15877 (struct La_sparc32_retval): Likewise.
15878 (struct La_sparc64_regs): Likewise.
15879 (struct La_sparc64_retval): Likewise.
15880 (struct audit_ifaces): Remove architecture-specific pltenter and
15882 * sysdeps/i386/ldsodefs.h: New file.
15883 * sysdeps/powerpc/ldsodefs.h: Likewise.
15884 * sysdeps/s390/ldsodefs.h: Likewise.
15885 * sysdeps/sh/ldsodefs.h: Likewise.
15886 * sysdeps/sparc/ldsodefs.h: Likewise.
15887 * sysdeps/x86_64/ldsodefs.h: Likewise.
15889 2012-07-25 Marek Polacek <polacek@redhat.com>
15892 * math/libm-test.inc (yn_test): Add another test.
15893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15894 to ERANGE when the result is +-Inf.
15895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15896 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15897 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15898 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15900 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15902 * conform/data/time.h-data (NULL): Use macro-constant. Require
15904 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15906 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15908 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15910 * configure.in <sysdeps resolving>: Correct printing
15912 * configure: Regenerate.
15914 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15916 * math/w_ilogb.c: Include <limits.h>.
15917 * math/w_ilogbl.c: Likewise.
15919 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15921 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15922 va_copy. Document allowing for unavailable va_copy only as
15923 pre-C99 compatibility.
15924 * manual/string.texi (Copying and Concatenation): Use va_copy
15925 instead of __va_copy in concat example.
15927 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15929 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15930 (__sendto): Use create_address_port. Initialize APORT and deallocate
15933 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15934 with O_NOLINK passed to __file_name_lookup.
15936 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15937 with O_NOLINK passed to __file_name_lookup.
15939 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15940 negative N or less than NGIDS.
15942 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15943 type to string_t. Set ERANGE as errno and return it if NAME is not big
15944 enough. Use memcpy instead of strncpy.
15946 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15948 * elf/Makefile (check-data): Remove.
15949 (localplt.data): New vpath directive.
15950 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15951 instead of $(check-data).
15952 * scripts/data/localplt-generic.data: Move to ...
15953 * sysdeps/generic/localplt.data: ... here.
15954 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15955 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15956 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15959 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15962 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15965 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15968 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15971 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15975 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15977 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15978 PPC32 and PPC64 files.
15979 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15980 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15982 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15984 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15985 __makecontext_ret to ...
15986 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15987 ... here and call exit if uc_link is NULL. New file.
15988 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15989 __makecontext_ret.S.
15990 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15991 __makecontext_ret to ...
15992 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15993 ... here and call exit if uc_link is NULL. New file.
15994 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15995 __makecontext_ret.S.
15997 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15999 * elf/elf.h (R_390_IRELATIVE): New definition.
16000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16001 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16002 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16003 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16004 (elf_machine_lazy_rel): Likewise.
16005 * sysdeps/s390/dl-irel.h: New file.
16006 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16007 * sysdeps/s390/s390-64/memset.S: New asm code.
16008 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16009 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16010 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16011 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16012 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16013 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16015 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16016 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16017 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16018 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16019 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16020 * sysdeps/s390/s390-32/memset.S: New asm code.
16021 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16023 2012-07-17 Marek Polacek <polacek@redhat.com>
16026 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16027 * sysdeps/s390/s390-64/configure.in: Likewise.
16028 * sysdeps/sparc/configure.in: Likewise.
16029 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16030 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16031 * sysdeps/i386/configure.in: Likewise.
16032 * sysdeps/x86_64/configure.in: Likewise.
16033 * sysdeps/sh/configure.in: Likewise.
16034 * sysdeps/s390/s390-32/configure: Regenerated.
16035 * sysdeps/s390/s390-64/configure: Likewise.
16036 * sysdeps/x86_64/configure: Likewise.
16037 * sysdeps/sh/configure: Likewise.
16038 * sysdeps/powerpc/powerpc64/configure: Likewise.
16039 * sysdeps/powerpc/powerpc32/configure: Likewise.
16040 * sysdeps/sparc/configure: Likwise.
16041 * sysdeps/i386/configure: Likewise.
16043 * elf/dl-open.c: Comment fixes.
16045 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16047 * Makefile [CXX] (check-data): Remove.
16048 [CXX] (c++-types.data): New vpath directive.
16049 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16050 vpath. Do not allow for C++ type data being missing.
16051 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16052 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16053 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16054 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16055 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16056 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16057 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16060 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16063 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16066 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16069 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16072 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16075 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16078 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16081 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16082 definitions to architecture-specific files.
16083 (TLS_IE): Likewise.
16084 (TLS_LD): Likewise.
16085 (TLS_GD): Likewise.
16086 * sysdeps/i386/tls-macros.h: New file.
16087 * sysdeps/powerpc/tls-macros.h: Likewise.
16088 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16089 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16090 * sysdeps/sh/tls-macros.h: Likewise.
16091 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16092 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16093 * sysdeps/x86_64/tls-macros.h: Likewise.
16095 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16097 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16098 zero value for regular exit case.
16100 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16101 (__start_context): Preserve zero value for regular exit case.
16103 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16104 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16106 * manual/setjmp.texi (setcontext): Clarify normal process
16107 termination when uc_link is the null pointer.
16108 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16111 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16113 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16114 preprocessor. Test for each exception mask separately.
16116 2012-07-16 Andreas Jaeger <aj@suse.de>
16118 * po/ru.po: Update from translation team.
16120 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16122 * conform/data/string.h-data (NULL): Use macro-constant. Require
16124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16125 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16126 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16127 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16128 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16130 2012-07-13 Andreas Jaeger <aj@suse.de>
16132 * po/fr.po: Update from translation team.
16134 2012-07-12 Marek Polacek <polacek@redhat.com>
16137 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16141 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16145 Change to 2.4.1 where previously 2.4.0.
16146 * sysdeps/unix/sysv/linux/configure: Regenerated.
16147 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16148 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16150 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16151 (__ASSUME_AT_CLKTCK): Remove.
16152 (__ASSUME_AT_PAGESIZE): Likewise.
16153 (__ASSUME_AT_XID): Likewise.
16154 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16155 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16156 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16158 (HAVE_AUX_PAGESIZE): Likewise.
16159 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16160 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16161 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16163 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16167 the temporary buffer used to invoke __gethostbyname2_r,
16168 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16169 host_data / struct gaih_addrtuple.
16170 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16171 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16172 header file nss/nsswitch.h.
16173 * nss/nsswitch.h (global scope): Add definition of implementation
16174 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16175 resolv/nss_dns/dns-host.c).
16177 2012-07-11 Andreas Jaeger <aj@suse.de>
16179 * po/fr.po: Update from translation team.
16181 * po/sv.po: Update from translation team
16182 * po/fr.po: Another update from translation team.
16184 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16186 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16187 for subnormals or multiply small sinh result by itself.
16188 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16191 2012-07-11 David S. Miller <davem@davemloft.net>
16193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16195 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16198 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16199 (INTERNAL_MARK): Shift it here.
16201 2012-07-10 Marek Polacek <polacek@redhat.com>
16204 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16205 libc_cv_asm_global_directive with .globl.
16206 * configure: Regenerated.
16207 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16209 * sysdeps/i386/configure: Regenerated.
16210 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16212 * sysdeps/x86_64/configure: Regenerated.
16213 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16214 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16215 * elf/tst-unique2mod2.c: Likewise.
16216 * elf/tst-unique2mod1.c: Likewise.
16217 * elf/tst-unique1mod2.c: Likewise.
16218 * elf/tst-unique1mod1.c: Likewise.
16219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16220 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16223 * sysdeps/mach/sysdep.h: Likewise.
16224 * sysdeps/i386/sysdep.h: Likewise.
16225 * sysdeps/i386/i386-mcount.S: Likewise.
16226 * sysdeps/x86_64/_mcount.S: Likewise.
16227 * sysdeps/x86_64/sysdep.h: Likewise.
16228 * sysdeps/sh/_mcount.S: Likewise.
16229 * sysdeps/sh/sysdep.h: Likewise.
16230 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16231 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16232 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16234 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16235 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16236 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16237 * locale/localeinfo.h: Likewise.
16238 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16239 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16241 2012-07-09 Roland McGrath <roland@hack.frob.com>
16244 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16246 * manual/message.texi (The Uniforum approach): Likewise.
16247 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16248 (glibc iconv Implementation): Likewise.
16250 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16253 * math/s_clog.c (__clog): Avoid scaling a value down where that
16254 could result in underflow.
16255 * math/s_clog10.c (__clog10): Likewise.
16256 * math/s_clog10f.c (__clog10f): Likewise.
16257 * math/s_clog10l.c (__clog10l): Likewise.
16258 * math/s_clogf.c (__clogf): Likewise.
16259 * math/s_clogl.c (__clogl): Likewise.
16260 * math/libm-test.inc (clog_test): Add more tests.
16261 (clog10_test): Likewise.
16262 * sysdeps/i386/fpu/libm-test-ulps: Update.
16263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16265 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16268 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16269 by 7 not 8 to examine high bit of fractional part.
16272 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16273 for call to __mcount_internal.
16274 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16275 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16276 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16278 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16281 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16282 approximation for values within 0x1p-13f of an odd multiple of
16284 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16285 exception. Add more tests.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16289 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16290 inputs and return -1 for them. Do not check for +Inf in case not
16291 reachable for +Inf.
16292 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16293 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16294 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16295 and return -1 for them. Do not check for +Inf in case not
16296 reachable for +Inf.
16297 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16300 and return -1 for them. Do not check for +Inf in case not
16301 reachable for +Inf.
16302 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16303 spurious underflow.
16304 * sysdeps/i386/fpu/libm-test-ulps: Update.
16305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16307 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16309 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16311 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16315 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16316 could result in spurious underflow. Scale down values above
16317 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16318 * math/s_csqrtf.c (__csqrtf): Likewise.
16319 * math/s_csqrtl.c (__csqrtl): Likewise.
16320 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16321 spurious underflow.
16322 * sysdeps/i386/fpu/libm-test-ulps: Update.
16323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16325 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16327 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16329 * catgets/xopen-msg.awk: New file.
16330 * catgets/xopen-msg.sed: Removed.
16332 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16334 * intl/po2test.awk: New file.
16335 * intl/po2test.sed: Removed.
16337 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16340 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16341 or multiply small sinh result by itself.
16342 * math/s_ctanf.c (__ctanf): Likewise.
16343 * math/s_ctanh.c (__ctanh): Likewise.
16344 * math/s_ctanhf.c (__ctanhf): Likewise.
16345 * math/s_ctanhl.c (__ctanhl): Likewise.
16346 * math/s_ctanl.c (__ctanl): Likewise.
16347 * math/libm-test.inc (ctan_test_tonearest): New function.
16348 (ctan_test_towardzero): Likewise.
16349 (ctan_test_downward): Likewise.
16350 (ctan_test_upward): Likewise.
16351 (ctanh_test_tonearest): Likewise.
16352 (ctanh_test_towardzero): Likewise.
16353 (ctanh_test_downward): Likewise.
16354 (ctanh_test_upward): Likewise.
16355 (main): Call these new functions.
16356 * sysdeps/i386/fpu/libm-test-ulps: Update.
16357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16359 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16361 * .gitignore: Delete /ports entry.
16363 2012-07-03 Andreas Jaeger <aj@suse.de>
16365 * po/bg.po: Update from translation team.
16366 * po/cs.po: Likewise.
16367 * po/de.po: Likewise.
16368 * po/hr.po: Likewise.
16369 * po/nl.pl: Likewise.
16370 * po/pl.po: Likewise.
16371 * po/vi.po: Likewise.
16373 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16375 * Makeconfig [!+link] (+link-before-libc): New variable.
16376 [!+link] (+link-after-libc): Likewise.
16377 [!+link] (+link-tests): Likewise.
16378 [!+link] (+link): Define in terms of $(+link-before-libc) and
16379 $(+link-after-libc).
16380 [!+link-static] (+link-static-before-libc): New variable.
16381 [!+link-static] (+link-static-after-libc): Likewise.
16382 [!+link-static] (+link-static-tests): Likewise.
16383 [!+link-static] (+link-static): Define in terms of
16384 $(+link-static-before-libc) and $(+link-static-after-libc).
16385 [build-shared] (link-libc-before-gnulib): New variable.
16386 [build-shared] (link-libc-tests): Likewise.
16387 [build-shared] (link-libc): Define in terms of
16388 $(link-libc-before-gnulib).
16389 [!build-shared] (link-libc-tests): New variable.
16390 (link-libc-static-tests): New variable.
16391 [!gnulib] (gnulib-arch): New variable.
16392 [!gnulib] (gnulib-tests): Likewise.
16393 [!gnulib] (static-gnulib-arch): Likewise.
16394 [!gnulib] (static-gnulib-tests): Likewise.
16395 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16396 Define with "=" instead of ":=".
16397 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16398 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16399 * Rules (binaries-all-notests): New variable.
16400 (binaries-all-tests): Likewise.
16401 (binaries-static-notests): Likewise.
16402 (binaries-static-tests): Likewise.
16403 (binaries-all): Define using $(binaries-all-notests) and
16404 $(binaries-all-tests).
16405 (binaries-static): Define using $(binaries-static-notests) and
16406 $(binaries-static-tests).
16407 (binaries-shared-tests): New variable.
16408 (binaries-shared-notests): Likewise.
16409 (binaries-shared): Remove variable.
16410 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16411 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16412 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16413 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16414 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16415 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16416 * elf/Makefile (sln-modules): New variable.
16417 (extra-objs): Add $(sln-modules:=.o).
16418 (ldconfig-modules): Add static-stubs.
16419 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16420 * elf/static-stubs.c: New file.
16423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16424 by 7 not 8 to examine high bit of fractional part. Use volatile
16425 variables when splitting into final array of floats if
16426 __FLT_EVAL_METHOD__ != 0.
16427 * math/libm-test.inc (cos_test): Add another test.
16428 (sin_test): Likewise.
16429 * sysdeps/i386/fpu/libm-test-ulps: Update.
16432 * math/libm-test.inc (cosh_test): Add more tests.
16434 * version.h (RELEASE): Set to "development".
16435 (VERSION): Set to "2.16.90".
16437 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16439 * NEWS: Update copyright. Remove last-updated date.
16440 Mention math library bug fixes and timezone data changes.
16441 * README: Mention GNU/Hurd, x32, and HPPA support status.
16443 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16445 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16447 2012-06-27 Andreas Jaeger <aj@suse.de>
16449 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16451 2012-06-25 Andreas Jaeger <aj@suse.de>
16453 * sysdeps/s390/fpu/libm-test-ulps: Update.
16455 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16456 Thomas Schwinge <thomas@codesourcery.com>
16458 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16459 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16460 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16463 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16465 * sysdeps/mach/start.c: Remove file.
16466 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16467 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16468 * sysdeps/sh/init-first.c: Likewise.
16470 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16471 registers for frame unwinding purposes, add CFI directives.
16472 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16474 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16477 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16478 __fortify_fail returning.
16479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16481 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16482 sysdeps/sh/____longjmp_chk.S.
16483 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16484 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16485 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16486 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16488 * sysdeps/sh/abort-instr.h: New file.
16489 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16490 process in case exit returns.
16492 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16493 initialize the GOT register before use.
16495 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16496 calculation of ARGC > 4.
16498 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16499 meaningful names to some local labels.
16501 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16502 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16504 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16505 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16506 (__arch_compare_and_exchange_val_16_acq): Likewise.
16507 (__arch_compare_and_exchange_val_32_acq): Likewise.
16508 (atomic_exchange_and_add): Fix gUSA sequence.
16509 (atomic_add): Likewise.
16510 (atomic_add_negative): Likewise.
16511 (atomic_add_zero): Likewise.
16512 (atomic_bit_test_set): Likewise.
16514 2012-06-22 Andreas Schwab <schwab@redhat.com>
16517 * include/link.h (struct link_map): Add l_free_initfini.
16518 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16520 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16521 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16522 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16525 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16527 * configure.in: Use AC_LANG_SOURCE.
16528 * configure: Regenerate.
16530 2012-06-22 Roland McGrath <roland@hack.frob.com>
16532 * configure.in (libc_cv_localstatedir): New substituted variable.
16533 * configure: Regenerated.
16534 * config.make.in (localstatedir): New variable, substituted from
16535 libc_cv_localstatedir.
16536 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16537 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16538 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16539 * sysdeps/gnu/configure: Regenerated.
16541 2012-06-21 Jeff Law <law@redhat.com>
16544 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16545 free. Simplify list management for _LIBC case.
16547 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16550 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16551 Clear sign bit of 64-bit integer value before comparing against
16554 * sysdeps/mach/configure: Regenerated.
16556 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16559 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16561 2012-06-21 Jeff Law <law@redhat.com>
16564 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16565 uint16_t for elements in the "seen" array to avoid char overflows.
16566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16567 * elf/dl-open.c (dl_open_worker): Likewise.
16569 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16571 * scripts/list-sources.sh: Scan PORTS for translations.
16572 * po/libc.pot: Regenerated.
16574 2012-06-21 Andreas Jaeger <aj@suse.de>
16577 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16579 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16580 * bits/byteswap-16.h (__bswap_16): Likewise.
16581 * bits/byteswap.h (__bswap_constant_16): Likewise.
16583 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16586 * sysdeps/i386/fpu_control.h: Removed.
16587 * sysdeps/x86_64/fpu_control.h: Moved to ...
16588 * sysdeps/x86/fpu_control.h: Here.
16590 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16591 (_FPU_SETCW): Likewise.
16593 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16596 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16597 * sysdeps/x86/fpu/bits/mathinline.h: This.
16598 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16602 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16603 functions if __x86_64__ is defined.
16605 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16607 * string/endian.h: Add !__ASSEMBLER__ condition for including
16608 conversion interfaces.
16610 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16614 of ABS(x) in calculating zero to negative powers other than odd
16616 * math/libm-test.inc (pow_test): Add more tests.
16618 2012-06-15 Andreas Jaeger <aj@suse.de>
16620 * manual/contrib.texi (Contributors): Update entry of Liubov
16621 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16624 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16626 * string/string.h: Add __wur to GNU version of strerror_r.
16628 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16631 * string/Makefile (tests): Add tst-strtok_r.
16632 * string/tst-strtok_r.c: New file.
16633 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16634 RAX_LP/RDX_LP on SAVE_PTR.
16636 2012-06-14 Roland McGrath <roland@hack.frob.com>
16638 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16640 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16642 * libm_test.inc (csqrt_test): Allow more spurious underflow
16644 (j0_test): Likewise.
16645 (j1_test): Likewise.
16646 (y0_test): Likewise.
16647 (y1_test): Likewise.
16649 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16651 * po/Makefile (libc.pot): Use UTF-8 charset.
16653 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16656 Suppress sign-conversion warning from FD_SET.
16657 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16658 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16659 not unsigned long int.
16660 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16662 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16666 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16667 __extern_always_inline instead of __extern_inline.
16668 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16669 (__signbit): Likewise.
16670 (__signbitl): Support C++ namespace.
16671 (lrintf): New inline function.
16673 (llrintf): Likewise.
16674 (llrint): Likewise.
16684 (floorf): Likewise.
16685 (nearbyint): Likewise.
16686 (nearbyintf): Likewise.
16688 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16690 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16691 non-default versions.
16693 2012-06-11 Roland McGrath <roland@hack.frob.com>
16696 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16698 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16700 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16701 (FE_UPWARD, FE_DOWNWARD): Don't define.
16702 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16703 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16707 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16708 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16710 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16712 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16715 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16717 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16720 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16721 * sysdeps/i386/fpu/Implies: New file.
16722 * sysdeps/x86_64/fpu/Implies: Likewise.
16723 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16724 * sysdeps/x86/fpu/bits/fenv.h: This.
16726 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16729 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16732 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16733 character 0xffff that matches the last element of the
16736 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16741 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16744 values higher than 25.6283.
16746 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16749 subnormal exponent extraction and add some __builtin_expect.
16750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16751 Fix for subnormal mantissa calculation.
16753 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16755 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16756 cpu2 is -1 and errno is not ENOSYS.
16758 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16761 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16762 * sysdeps/x86/bits/string.h: This.
16763 * sysdeps/x86_64/bits/string.h: Removed.
16765 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16766 if not compiling for x86-64, but compiling for >= i486.
16768 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16769 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16771 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16772 New macro from Linux kernel 3.4.0.
16773 (FP_XSTATE_MAGIC2): Likewise.
16774 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16775 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16776 (struct _fpx_sw_bytes): New struct.
16777 (struct _xsave_hdr): Likewise.
16778 (struct _ymmh_state): Likewise.
16779 (struct _xstate): Likewise.
16781 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16782 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16784 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16786 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16788 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16789 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16790 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16791 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16792 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16793 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16795 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16798 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16799 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16800 (sysdep_headers): Include sys/platform/ppc.h.
16801 * sysdeps/powerpc/test-gettimebase.c: Test for
16802 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16803 * manual/Makefile (appendices): Include platform.texi.
16804 * manual/contrib.texi (Contributors): Update @node pointers.
16805 * manual/maint.texi (Maintenance): Likewise.
16806 (Platform): New node.
16807 * manual/platform.texi: New file. Document the new features.
16809 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16810 Jakub Jelinek <jakub@redhat.com>
16813 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16814 where __builtin_expect is unavailable.
16816 2012-06-03 David S. Miller <davem@davemloft.net>
16818 * stdlib/longlong.h: Updated from GCC.
16820 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16823 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16824 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16827 (GLIBC_2.16): Likewise.
16829 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16831 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16833 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16836 (default-abi): New variable.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16838 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16840 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16842 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16844 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16847 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16848 definition. Document in comment.
16850 2012-06-01 David S. Miller <davem@davemloft.net>
16852 * stdlib/longlong.h: Updated from GCC.
16854 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16857 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16858 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16859 sys/debugreg.h sys/io.h here.
16860 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16861 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16863 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16864 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16865 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16866 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16867 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16868 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16871 Define only if __x86_64__ is defined.
16873 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16876 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16877 Use int64_t for variable i.
16878 * math/libm-test.inc (fmod_test): Add more tests.
16880 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16881 z computation is not scheduled after fetestexcept.
16882 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16883 Use math_force_eval instead of asm to ensure calculation scheduled
16884 before exception test.
16885 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16886 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16888 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16891 computation is not scheduled after fetestexcept.
16893 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16897 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16899 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16902 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16904 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16907 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16909 (__WCHAR_MIN): Support __WORDSIZE == 64.
16910 (__WCHAR_MAX): Likewise.
16912 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16917 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16920 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16921 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16923 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16924 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16926 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16927 Defined to 1 if __x86_64__ isn't defined.
16928 (_STAT_VER_LINUX_OLD): New.
16929 (st_atime): Remove duplicate.
16930 (st_mtime): Likewise.
16931 (st_ctime): Likewise.
16933 2012-05-31 David S. Miller <davem@davemloft.net>
16935 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16938 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16940 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16944 * elf/dl-reloc.c: Include <_itoa.h>.
16945 (_dl_reloc_bad_type): Remove use of INTUSE.
16946 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16947 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16948 * stdio-common/psiginfo.c (psiginfo): Likewise.
16949 * stdio-common/psignal.c (psignal): Likewise.
16950 * string/strsignal.c (strsignal): Likewise.
16951 * include/signal.h (_sys_siglist): Declare hidden proto.
16952 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16953 INTVARDEF with libc_hidden_data_def.
16954 * stdio-common/itoa-udigits.c: Likewise.
16955 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16956 (_itoa_lower_digits_internal): Remove declaration.
16957 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16958 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16959 (_sys_sigabbrev_internal): Remove aliases.
16960 (_sys_siglist): Define hidden alias.
16962 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16967 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16970 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16971 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16973 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16974 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16975 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16976 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16977 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16978 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16980 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16981 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16982 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16992 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16996 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16997 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16999 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17000 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17001 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17003 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17004 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17006 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17007 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17009 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17011 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17013 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17014 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17016 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17018 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17019 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17020 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17022 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17024 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17026 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17028 * math/math.h (M_El): Use two more decimal places.
17029 (M_LOG2El): Likewise.
17030 (M_LOG10El): Likewise.
17031 (M_LN2l): Likewise.
17032 (M_LN10l): Likewise.
17034 (M_PI_2l): Likewise.
17035 (M_PI_4l): Likewise.
17036 (M_1_PIl): Likewise.
17037 (M_2_PIl): Likewise.
17038 (M_2_SQRTPIl): Likewise.
17039 (M_SQRT2l): Likewise.
17040 (M_SQRT1_2l): Likewise.
17042 2012-05-31 David S. Miller <davem@davemloft.net>
17044 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17045 values between float registers.
17046 * sysdeps/sparc/sparc64/memset.S: Likewise.
17047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17049 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17051 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17052 -D_FORTIFY_SOURCE=1.
17053 (CPPFLAGS-tst-longjmp_chk.c): Define.
17054 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17055 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17056 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17057 CFLAGS-tst-wchar-h.c.
17059 2012-05-31 Marek Polacek <polacek@redhat.com>
17062 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17063 __endmntent_internal): Remove declaration.
17064 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17065 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17066 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17068 2012-05-30 David S. Miller <davem@davemloft.net>
17070 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17071 (___Q_simulate_exceptions): Use real FP ops rather than writing
17073 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17076 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17079 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17080 * sysdeps/x86/bits/xtitypes.h: This.
17082 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17083 * sysdeps/x86/bits/wordsize.h: This.
17085 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17086 * sysdeps/x86/bits/huge_vall.h: This.
17088 * sysdeps/i386/bits/select.h: Removed.
17089 * sysdeps/x86_64/bits/select.h: Renamed to ...
17090 * sysdeps/x86/bits/select.h: This.
17092 * sysdeps/i386/bits/setjmp.h: Removed.
17093 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17094 * sysdeps/x86/bits/setjmp.h: This.
17096 * sysdeps/i386/bits/mathdef.h: Removed.
17097 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17098 * sysdeps/x86/bits/mathdef.h: This.
17100 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17103 * include/sys/socket.h (__connect_internal)
17104 (__libc_sa_len_internal): Remove declaration.
17105 (__connect, __libc_sa_len): Declare hidden_proto.
17106 (SA_LEN): Remove use of INTUSE.
17107 * socket/connect.c: Add libc_hidden_def.
17108 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17109 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17110 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17112 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17114 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17115 of adding _internal alias.
17117 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17120 * sysdeps/i386/bits/link.h: Removed.
17121 * sysdeps/i386/bits/linkmap.h: Likewise.
17122 * sysdeps/x86_64/bits/link.h: Renamed to ...
17123 * sysdeps/x86/bits/link.h: This.
17124 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17125 * sysdeps/x86/bits/linkmap.h: This.
17127 * sysdeps/i386/bits/endian.h: Removed.
17128 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17129 * sysdeps/x86/bits/endian.h: This.
17131 * sysdeps/i386/bits/byteswap.h: Removed.
17132 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17133 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17134 * sysdeps/x86/bits/byteswap.h: This.
17135 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17136 * sysdeps/x86/bits/byteswap-16.h: This.
17137 * sysdeps/i386/Implies: Add x86.
17138 * sysdeps/x86_64/Implies: Likewise.
17140 2012-05-30 David S. Miller <davem@davemloft.net>
17142 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17143 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17144 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17145 (FP_TRAPPING_EXCEPTIONS): Define.
17146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17147 (FP_TRAPPING_EXCEPTIONS): Define.
17148 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17149 subnormals only when inexact has been signalled or underflow
17150 exceptions are enabled.
17151 (_FP_PACK_CANONICAL): Likewise.
17153 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17156 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17157 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17159 2012-05-30 Richard Henderson <rth@twiddle.net>
17161 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17162 with #ifndef NOT_IN_libc.
17164 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17165 marked to avoid plt entry.
17167 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17170 * Makeconfig (default-abi): New macro.
17171 (abi-includes): Likewise.
17172 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17173 $(abi-$(default-abi)-lib-soname) for soname if defined.
17174 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17176 * Makefile (installed-stubs): Likewise.
17177 * include/stubs-biarch.h: Removed.
17178 * scripts/lib-names.awk: Only handle one library at a time.
17179 * scripts/soversions.awk: Remove WORDSIZE support.
17180 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17182 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17184 (syscall-list-default-condition): Likewise.
17185 (syscall-list-default-condition): Likewise.
17186 (syscall-list-includes): Likewise.
17187 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17188 syscall-list-* with abi-*. Handle undefined abi-variants.
17189 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17190 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17191 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17192 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17193 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17194 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17196 (syscall-list-32-options): Likewise.
17197 (syscall-list-32-condition): Likewise.
17198 (syscall-list-64-options): Likewise.
17199 (syscall-list-64-condition): Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17202 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17205 (abi-64-ld-soname): New macro.
17206 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17207 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17210 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17211 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17213 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17215 * sysdeps/unix/sysv/linux/kernel-features.h
17216 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17217 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17218 include <kernel-features.h>.
17219 [!__NR_ftruncate64]: Remove conditional code.
17220 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17221 [__NR_ftruncate64]: Make code unconditional.
17222 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17223 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17224 include <kernel-features.h>.
17225 [!__NR_ftruncate64]: Remove conditional code.
17226 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17227 [__NR_ftruncate64]: Make code unconditional.
17228 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17230 include <kernel-features.h>.
17231 [!__NR_ftruncate64]: Remove conditional code.
17232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17233 [__NR_ftruncate64]: Make code unconditional.
17234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17236 include <kernel-features.h>.
17237 [!__NR_ftruncate64]: Remove conditional code.
17238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17239 [__NR_ftruncate64]: Make code unconditional.
17240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17242 * configure.in (libc_cv_fpie): Weaken to a compile test using
17243 LIBC_TRY_CC_OPTION.
17244 * configure: Regenerated.
17246 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17261 2012-05-27 David S. Miller <davem@davemloft.net>
17263 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17265 (__Q_simulate_exceptions): Return void. Change to simulate
17266 exceptions by writing into the %fsr.
17267 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17268 (__Qp_handle_exceptions): Likewise.
17270 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17271 __Qp_handle_exceptions.
17272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17273 __Qp_handle_exceptions.
17274 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17275 as unused and give dummy FP_RND_NEAREST initializer.
17276 (FP_INHIBIT_RESULTS): Define.
17277 (___Q_simulate_exceptions): Update declaration.
17278 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17280 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17281 as unused and give dummy FP_RND_NEAREST initializer.
17282 (__Qp_handle_exceptions): Update declaration.
17283 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17286 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17288 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17289 the temporary FPU control word.
17290 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17291 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17292 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17293 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17294 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17295 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17296 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17297 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17298 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17299 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17300 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17302 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17304 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17307 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17309 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17310 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17311 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17312 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17314 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17315 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17318 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17320 * po/h.po: Update from translation team.
17322 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17324 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17327 handling of denormals.
17328 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17329 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17330 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17337 2012-05-26 Marek Polacek <polacek@redhat.com>
17340 * math/libm-test.inc (fma_test): Don't always expect underflow
17343 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17346 * elf/tst-execstack.c: Include stackinfo.h.
17347 (do_test): Adjust test case to ensure that pthread_getattr_np
17348 behaviour remains the same after marking stack executable.
17350 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17352 * sysdeps/unix/sysv/linux/kernel-features.h
17353 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17354 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17356 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17357 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17358 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17360 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17361 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17363 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17365 * configure.in: Define the default includes to being none.
17366 * configure: Regenerated.
17368 2012-05-25 Roland McGrath <roland@hack.frob.com>
17370 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17371 * sysdeps/x86_64/setjmp.S: Likewise.
17372 * sysdeps/i386/bsd-setjmp.S: Likewise.
17373 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17374 * sysdeps/i386/setjmp.S: Likewise.
17375 * sysdeps/i386/__longjmp.S: Likewise.
17376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17377 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17379 * include/stap-probe.h: New file.
17380 * configure.in: Handle --enable-systemtap.
17381 * configure: Regenerated.
17382 * config.h.in (USE_STAP_PROBE): New #undef.
17383 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17384 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17385 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17387 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17391 to 2.4.0 where earlier.
17392 * sysdeps/unix/sysv/linux/configure: Regenerated.
17393 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17394 <kernel-features.h>.
17395 [__ASSUME_32BITUIDS]: Make code unconditional.
17396 [!__ASSUME_32BITUIDS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17398 <kernel-features.h>.
17399 [__ASSUME_32BITUIDS]: Make code unconditional.
17400 [!__ASSUME_32BITUIDS]: Remove conditional code.
17401 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17402 [__ASSUME_32BITUIDS]: Make code unconditional.
17403 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17404 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17405 <kernel-features.h>.
17406 [__ASSUME_32BITUIDS]: Make code unconditional.
17407 [!__ASSUME_32BITUIDS]: Remove conditional code.
17408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17409 <kernel-features.h>.
17410 [__ASSUME_32BITUIDS]: Make code unconditional.
17411 [!__ASSUME_32BITUIDS]: Remove conditional code.
17412 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17413 <kernel-features.h>.
17414 [__ASSUME_32BITUIDS]: Make code unconditional.
17415 [!__ASSUME_32BITUIDS]: Remove conditional code.
17416 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17417 <kernel-features.h>.
17418 [__ASSUME_32BITUIDS]: Make code unconditional.
17419 [!__ASSUME_32BITUIDS]: Remove conditional code.
17420 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17421 <kernel-features.h>.
17422 [__ASSUME_32BITUIDS]: Make code unconditional.
17423 [!__ASSUME_32BITUIDS]: Remove conditional code.
17424 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17425 <kernel-features.h>.
17426 [__ASSUME_32BITUIDS]: Make code unconditional.
17427 [!__ASSUME_32BITUIDS]: Remove conditional code.
17428 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17429 <kernel-features.h>.
17430 [__ASSUME_32BITUIDS]: Make code unconditional.
17431 [!__ASSUME_32BITUIDS]: Remove conditional code.
17432 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17433 <kernel-features.h>.
17434 [__ASSUME_32BITUIDS]: Make code unconditional.
17435 [!__ASSUME_32BITUIDS]: Remove conditional code.
17436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17437 <kernel-features.h>.
17438 [__ASSUME_32BITUIDS]: Make code unconditional.
17439 [!__ASSUME_32BITUIDS]: Remove conditional code.
17440 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17441 <kernel-features.h>.
17442 [__ASSUME_32BITUIDS]: Make code unconditional.
17443 [!__ASSUME_32BITUIDS]: Remove conditional code.
17444 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17445 <kernel-features.h>.
17446 [__NR_setresgid] (__setresgid): Do not declare.
17447 [__ASSUME_32BITUIDS]: Make code unconditional.
17448 [!__ASSUME_32BITUIDS]: Remove conditional code.
17449 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17450 <kernel-features.h>.
17451 [__NR_setresuid] (__setresuid): Do not declare.
17452 [__ASSUME_32BITUIDS]: Make code unconditional.
17453 [!__ASSUME_32BITUIDS]: Remove conditional code.
17454 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17455 <kernel-features.h>.
17456 [__ASSUME_32BITUIDS]: Make code unconditional.
17457 [!__ASSUME_32BITUIDS]: Remove conditional code.
17458 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17459 <kernel-features.h>.
17460 [__ASSUME_32BITUIDS]: Make code unconditional.
17461 [!__ASSUME_32BITUIDS]: Remove conditional code.
17462 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17463 <kernel-features.h>.
17464 [__ASSUME_32BITUIDS]: Make code unconditional.
17465 [!__ASSUME_32BITUIDS]: Remove conditional code.
17466 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17467 <kernel-features.h>.
17468 [__ASSUME_32BITUIDS]: Make code unconditional.
17469 [!__ASSUME_32BITUIDS]: Remove conditional code.
17470 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17471 <kernel-features.h>.
17472 [__ASSUME_32BITUIDS]: Make code unconditional.
17473 [!__ASSUME_32BITUIDS]: Remove conditional code.
17474 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17475 <kernel-features.h>.
17476 [__ASSUME_32BITUIDS]: Make code unconditional.
17477 [!__ASSUME_32BITUIDS]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17479 <kernel-features.h>.
17480 [__ASSUME_32BITUIDS]: Make code unconditional.
17481 [!__ASSUME_32BITUIDS]: Remove conditional code.
17482 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17483 <kernel-features.h>.
17484 [__ASSUME_32BITUIDS]: Make code unconditional.
17485 [!__ASSUME_32BITUIDS]: Remove conditional code.
17486 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17487 <kernel-features.h>.
17488 [__ASSUME_32BITUIDS]: Make code unconditional.
17489 [!__ASSUME_32BITUIDS]: Remove conditional code.
17490 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17491 <kernel-features.h>.
17492 [__ASSUME_32BITUIDS]: Make code unconditional.
17493 [!__ASSUME_32BITUIDS]: Remove conditional code.
17494 * sysdeps/unix/sysv/linux/kernel-features.h
17495 (__ASSUME_SETRESUID_SYSCALL): Remove.
17496 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17497 (__ASSUME_32BITUIDS): Likewise.
17498 (__ASSUME_LDT_WORKS): Likewise.
17499 (__ASSUME_O_DIRECTORY): Likewise.
17500 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17501 architecture but not kernel version.
17502 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17503 (__ASSUME_MMAP2_SYSCALL): Likewise.
17504 (__ASSUME_STAT64_SYSCALL): Likewise.
17505 (__ASSUME_IPC64): Likewise.
17506 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17507 <kernel-features.h>.
17508 [__ASSUME_32BITUIDS]: Make code unconditional.
17509 [!__ASSUME_32BITUIDS]: Remove conditional code.
17510 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17511 <kernel-features.h>.
17512 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17513 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17514 132096]: Remove conditional code.
17515 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17516 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17517 <kernel-features.h>.
17518 [__ASSUME_32BITUIDS]: Make code unconditional.
17519 [!__ASSUME_32BITUIDS]: Remove conditional code.
17520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17521 <kernel-features.h>.
17522 [__ASSUME_32BITUIDS]: Make code unconditional.
17523 [!__ASSUME_32BITUIDS]: Remove conditional code.
17524 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17525 <kernel-features.h>.
17526 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17528 (__setresgid): Do not declare.
17529 [__ASSUME_32BITUIDS]: Make code unconditional.
17530 [!__ASSUME_32BITUIDS]: Remove conditional code.
17531 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17532 <kernel-features.h>.
17533 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17535 (__setresuid): Do not declare.
17536 [__ASSUME_32BITUIDS]: Make code unconditional.
17537 [!__ASSUME_32BITUIDS]: Remove conditional code.
17538 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17539 <kernel-features.h>.
17540 [__ASSUME_32BITUIDS]: Make code unconditional.
17541 [!__ASSUME_32BITUIDS]: Remove conditional code.
17542 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17543 <kernel-features.h>.
17544 [__ASSUME_32BITUIDS]: Make code unconditional.
17545 [!__ASSUME_32BITUIDS]: Remove conditional code.
17547 2012-05-25 Richard Henderson <rth@twiddle.net>
17549 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17550 dl_hwcap to ifunc resolver.
17551 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17553 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17554 dl_hwcap to ifunc resolver.
17555 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17557 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17560 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17561 for |x| <= 2**-26, not 2**-57.
17562 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17565 2012-05-24 Jeff Law <law@redhat.com>
17567 * stdio-common/Makefile (tests): Add bug25.
17568 * stdio-common/bug25.c: New test.
17570 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17573 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17574 multiple of MALLOC_ALIGNMENT in size.
17575 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17577 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17579 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17581 (FILENAME_MAX): Use macro-int-constant.
17582 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17583 (_IOFBF): Use macro-int-constant.
17584 (_IOLBF): Likewise.
17585 (_IONBF): Likewise.
17586 (SEEK_CUR): Likewise.
17587 (SEEK_END): Likewise.
17588 (SEEK_SET): Likewise.
17589 (TMP_MAX): Likewise.
17590 (EOF): Use macro-int-constant. Require < 0.
17591 (NULL): Use macro-constant. Require == 0.
17592 (stdin): Require type to be FILE *.
17593 (stdout): Likewise.
17594 (stderr): Likewise.
17595 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17596 macro-int-constant.
17597 (EXIT_SUCCESS): Likewise.
17598 (NULL): Use macro-constant. Require == 0.
17599 (RAND_MAX): Use macro-int-constant.
17600 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17601 [C99-based standards] (strtof): Require function.
17602 [C99-based standards] (strtold): Likewise.
17603 [C99-based standards] (strtoll): Likewise.
17604 [C99-based standards] (strtoull): Likewise.
17605 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17606 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17607 [ISO || ISO99 || ISO11] (math.h): Likewise.
17608 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17609 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17612 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17615 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17616 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17617 * intl/dgettext.c (DCGETTEXT): Likewise.
17618 * intl/gettext.c (DCGETTEXT): Likewise.
17619 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17620 * posix/regex_internal.h (gettext): Likewise.
17621 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17622 Remove declaration.
17623 * include/argz.h (__argz_count_internal)
17624 (__argz_stringify_internal): Remove declaration.
17625 (__argz_count, __argz_stringify): Declare hidden proto.
17626 * intl/dcgettext.c: Remove use of INTDEF.
17627 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17628 * string/argz-stringify.c: Likewise.
17629 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17630 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17631 Declare hidden proto.
17632 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17633 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17634 Declare hidden proto.
17635 * include/stdio.h (__asprintf_internal): Don't declare.
17636 (__asprintf): Don't define as macro. Declare hidden proto.
17637 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17638 (__fsetlocking): Declare hidden proto.
17639 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17640 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17642 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17643 (_IO_setlinebuf): Remove use of INTUSE.
17644 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17645 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17646 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17647 Remove declaration.
17648 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17649 (_IO_do_flush): Remove use of INTUSE.
17650 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17651 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17652 (_IO_adjust_column, _IO_least_wmarker)
17653 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17654 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17655 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17656 (_IO_default_doallocate, _IO_wdefault_doallocate)
17657 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17658 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17659 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17660 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17661 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17662 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17663 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17664 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17665 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17666 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17667 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17668 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17669 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17671 (_IO_flush_all_internal, _IO_adjust_column_internal)
17672 (_IO_default_uflow_internal, _IO_default_finish_internal)
17673 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17674 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17675 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17676 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17677 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17678 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17679 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17680 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17681 (_IO_file_close_internal, _IO_file_close_it_internal)
17682 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17683 (_IO_file_init_internal, _IO_file_attach_internal)
17684 (_IO_file_fopen_internal, _IO_file_read_internal)
17685 (_IO_file_sync_internal, _IO_file_seek_internal)
17686 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17687 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17688 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17689 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17690 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17691 (_IO_list_all_internal, _IO_link_in_internal)
17692 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17693 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17694 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17695 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17696 (_IO_do_write_internal, _IO_padn_internal)
17697 (_IO_getline_info_internal, _IO_getline_internal)
17698 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17699 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17700 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17701 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17702 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17703 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17704 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17705 with libc_hidden_ver, remove use of INTUSE.
17706 * libio/genops.c: Likewise.
17707 * libio/freopen.c: Likewise.
17708 * libio/freopen64.c: Likewise.
17709 * libio/iofclose.c: Likewise.
17710 * libio/iofdopen.c: Likewise.
17711 * libio/iofflush.c: Likewise.
17712 * libio/iofflush_u.c: Likewise.
17713 * libio/iofgets.c: Likewise.
17714 * libio/iofgets_u.c: Likewise.
17715 * libio/iofopen.c: Likewise.
17716 * libio/iofopncook.c: Likewise.
17717 * libio/iofread.c: Likewise.
17718 * libio/iofread_u.c: Likewise.
17719 * libio/ioftell.c: Likewise.
17720 * libio/iofwrite.c: Likewise.
17721 * libio/iogetline.c: Likewise.
17722 * libio/iogets.c: Likewise.
17723 * libio/iogetwline.c: Likewise.
17724 * libio/iopadn.c: Likewise.
17725 * libio/iopopen.c: Likewise.
17726 * libio/ioseekoff.c: Likewise.
17727 * libio/ioseekpos.c: Likewise.
17728 * libio/iosetbuffer.c: Likewise.
17729 * libio/iosetvbuf.c: Likewise.
17730 * libio/ioungetc.c: Likewise.
17731 * libio/ioungetwc.c: Likewise.
17732 * libio/iovdprintf.c: Likewise.
17733 * libio/iovsprintf.c: Likewise.
17734 * libio/iovsscanf.c: Likewise.
17735 * libio/memstream.c: Likewise.
17736 * libio/obprintf.c: Likewise.
17737 * libio/oldfileops.c: Likewise.
17738 * libio/oldiofclose.c: Likewise.
17739 * libio/oldiofdopen.c: Likewise.
17740 * libio/oldiofopen.c: Likewise.
17741 * libio/oldiopopen.c: Likewise.
17742 * libio/oldstdfiles.c: Likewise.
17743 * libio/putc.c: Likewise.
17744 * libio/setbuf.c: Likewise.
17745 * libio/setlinebuf.c: Likewise.
17746 * libio/stdfiles.c: Likewise.
17747 * libio/strops.c: Likewise.
17748 * libio/vasprintf.c: Likewise.
17749 * libio/vscanf.c: Likewise.
17750 * libio/vsnprintf.c: Likewise.
17751 * libio/vswprintf.c: Likewise.
17752 * libio/wfiledoalloc.c: Likewise.
17753 * libio/wfileops.c: Likewise.
17754 * libio/wgenops.c: Likewise.
17755 * libio/wmemstream.c: Likewise.
17756 * libio/wstrops.c: Likewise.
17757 * libio/__fpurge.c: Likewise.
17758 * libio/__fsetlocking.c: Likewise.
17759 * assert/assert.c: Likewise.
17760 * debug/fgets_chk.c: Likewise.
17761 * debug/fgets_u_chk.c: Likewise.
17762 * debug/fread_chk.c: Likewise.
17763 * debug/fread_u_chk.c: Likewise.
17764 * debug/gets_chk.c: Likewise.
17765 * debug/obprintf_chk.c: Likewise.
17766 * debug/vasprintf_chk.c: Likewise.
17767 * debug/vdprintf_chk.c: Likewise.
17768 * debug/vsnprintf_chk.c: Likewise.
17769 * debug/vsprintf_chk.c: Likewise.
17770 * malloc/mtrace.c: Likewise.
17771 * misc/error.c: Likewise.
17772 * misc/syslog.c: Likewise.
17773 * stdio-common/asprintf.c: Likewise.
17774 * stdio-common/fxprintf.c: Likewise.
17775 * stdio-common/getw.c: Likewise.
17776 * stdio-common/isoc99_fscanf.c: Likewise.
17777 * stdio-common/isoc99_scanf.c: Likewise.
17778 * stdio-common/isoc99_vfscanf.c: Likewise.
17779 * stdio-common/isoc99_vscanf.c: Likewise.
17780 * stdio-common/isoc99_vsscanf.c: Likewise.
17781 * stdio-common/printf-prs.c: Likewise.
17782 * stdio-common/printf_fp.c: Likewise.
17783 * stdio-common/printf_fphex.c: Likewise.
17784 * stdio-common/printf_size.c: Likewise.
17785 * stdio-common/putw.c: Likewise.
17786 * stdio-common/scanf.c: Likewise.
17787 * stdio-common/sprintf.c: Likewise.
17788 * stdio-common/tmpfile.c: Likewise.
17789 * stdio-common/vfprintf.c: Likewise.
17790 * stdio-common/vfscanf.c: Likewise.
17791 * stdlib/strfmon_l.c: Likewise.
17792 * sunrpc/openchild.c: Likewise.
17793 * sunrpc/xdr_stdio.c: Likewise.
17794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17795 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17797 2012-05-24 Roland McGrath <roland@hack.frob.com>
17799 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17801 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17802 in the third column, to generate for the shared library an IFUNC
17803 that uses _dl_vdso_vsym.
17804 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17805 * Makeconfig (object-suffixes-noshared): New variable.
17807 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17808 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17809 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17810 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17813 * include/sys/time.h (__gettimeofday): Remove macro.
17814 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17815 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17817 (__gettimeofday): Add libc_hidden_def.
17818 (gettimeofday): Add libc_hidden_weak.
17819 * sysdeps/mach/gettimeofday.c: Likewise.
17820 * sysdeps/posix/gettimeofday.c: Likewise.
17821 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17822 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17824 (__gettimeofday_internal): Remove strong_alias.
17825 (__gettimeofday): Add libc_hidden_def.
17826 (gettimeofday): Add libc_hidden_weak.
17827 * sysdeps/unix/syscalls.list (gettimeofday):
17828 Remove __gettimeofday_internal alias.
17830 2012-05-24 Daniel Jacobowitz <drow@false.org>
17831 H.J. Lu <hongjiu.lu@intel.com>
17834 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17835 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17836 (largebin_index_32_big): New.
17837 (largebin_index): Use it for 16-byte alignment.
17838 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17839 correction with front_misalign.
17841 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17869 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17870 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17872 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17876 * math/libm-test.inc (exp_test): Add test from bug 14036.
17877 (pow_test): Add test from bug 10846.
17879 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17881 (special_function): Do not include flags in test name.
17882 (parse_args): Likewise.
17883 * sysdeps/i386/fpu/libm-test-ulps: Update.
17884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17886 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17889 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17891 * math/libm-test.inc ("Philosophy"): Update comment about
17893 (UNDERFLOW_EXCEPTION): New macro.
17894 (UNDERFLOW_EXCEPTION_OK): Likewise.
17895 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17896 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17897 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17898 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17899 (INVALID_EXCEPTION_OK): Update value.
17900 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17901 (OVERFLOW_EXCEPTION_OK): Likewise.
17902 (IGNORE_ZERO_INF_SIGN): Likewise.
17903 (test_exceptions): Handle underflow exceptions.
17904 (acos_test): Update for underflow exception expectations.
17905 (cexp_test): Likewise.
17906 (clog_test): Likewise.
17907 (clog10_test): Likewise.
17908 (csqrt_test): Likewise.
17909 (ctan_test): Likewise.
17910 (ctanh_test): Likewise.
17911 (exp_test): Likewise.
17912 (exp10_test): Likewise.
17913 (exp2_test): Likewise.
17914 (expm1_test): Likewise.
17915 (fma_test): Likewise.
17916 (j0_test): Likewise.
17917 (jn_test): Likewise.
17918 (nexttoward_test): Likewise.
17919 (pow_test): Likewise.
17920 (scalbn_test): Likewise.
17921 (scalbln_test): Likewise.
17922 (tan_test): Likewise.
17923 (y1_test): Likewise.
17924 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927 2012-05-23 David S. Miller <davem@davemloft.net>
17929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17930 (__libc_sigaction): Remove unused local variables.
17932 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17934 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17936 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17938 mktime: avoid signed integer overflow
17939 * time/mktime.c (__mktime_internal): Do not mishandle the case
17940 where diff == INT_MIN.
17942 mktime: simplify computation of average
17943 * time/mktime.c (ranged_convert): Use new time_t_avg function
17944 instead of rolling our own (probably-slower) code.
17946 mktime: do not assume signed right shift propagates sign bit
17947 * time/mktime.c (isdst_differ): New static function.
17948 (__mktime_internal): No need to normalize tm_isdst now.
17949 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17952 mktime: merge another wrapv change from gnulib
17953 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17954 from some compilers.
17956 mktime: remove incorrect attempt at unusual arithmetics
17957 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17958 The code didn't really work on such machines anyway.
17959 (TYPE_MINIMUM): Assume two's complement.
17960 (twos_complement_arithmetic): Verify that long_int and time_t
17961 are two's complement (or unsigned, in the latter case).
17963 mktime: check signed shifts on long_int and time_t, too
17964 * time/mktime.c (SHR): Check that shifts work as desired
17965 on the types long_int and time_t too, as SHR is used on
17968 mktime: do not assume 'long' is wide enough
17969 * time/mktime.c (verify): Move decl up.
17970 (long_int): New type.
17971 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17972 to remove assumption in the code that 'long' is wide enough to
17973 store year values. This assumption is not true on x32 and on
17974 some non-glibc platforms.
17976 mktime: merge wrapv change from gnulib
17977 * time/mktime.c (WRAPV): New macro.
17978 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17979 (guess_time_tm, __mktime_internal): Do not assume that signed
17980 integer overflow wraps around; modern compilers generate code
17981 where this assumption is no longer valid.
17983 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17986 Replace "jmp L(pseudo_end)" with "ret".
17987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17990 2012-05-23 Andreas Jaeger <aj@suse.de>
17992 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17993 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17995 2012-05-23 Andreas Jaeger <aj@suse.de>
17996 Maximilian Attems <max@stro.at>
17998 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18001 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18004 code so that pseudo_end is just ret and the stack pointer is
18005 correct also for static library in error case.
18007 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18009 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18010 move to syscalls.list.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18016 * manual/install.texi (Running make install): Do not mention Linux
18017 kernel version for which pt_chown is not needed.
18018 (Linux): Do not mention problems with nscd with 2.0 kernels.
18019 * INSTALL: Regenerated.
18021 2012-05-23 Andreas Jaeger <aj@suse.de>
18023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18024 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18026 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18028 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18030 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18036 * sysdeps/unix/sysv/linux/bits/in.h
18037 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18039 2012-05-22 Roland McGrath <roland@hack.frob.com>
18041 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18042 (PREPARE_VERSION): Just use assert instead, it will be elided
18043 under [NDEBUG] anyway.
18045 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18047 * sysdeps/unix/sysv/linux/Makefile: Include
18048 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18049 (sysdep_routines): Remove sysctl.
18050 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18051 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18052 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18053 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18054 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18056 2012-05-22 Andreas Jaeger <aj@suse.de>
18058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18059 that pseudo_end is just ret and the stack pointer is correct also
18060 for static library in error case.
18062 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18065 * nss/nsswitch.c (defconfig_entries): New variable.
18066 (__nss_database_lookup): Don't leak defconfig entries.
18067 (nss_parse_service_list): Don't leak on error paths.
18068 (free_database_entries): New function.
18069 (free_defconfig): New function.
18070 (free_mem): Move common code to free_database_entries.
18072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18076 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18078 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18079 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18082 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18083 (INTERNAL_SYSCALL_TYPES): Likewise.
18084 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18085 (LOAD_REGS_TYPES_[1-6]): Likewise.
18086 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18087 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18089 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18092 copysignl for GLIBC_2_0.
18093 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18094 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18096 logbl for GLIBC_2_0.
18097 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18098 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18100 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18105 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18108 * time/mktime.c: Update copyright years.
18110 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18112 mktime: merge comment-quoting-style change from gnulib
18113 * time/mktime.c: Quote 'like this' in comments.
18114 The GNU coding standards suggest that we no longer quote `like this',
18115 as "`" and "'" are typically rendered asymmetrically nowadays.
18116 The typical gnulib style is to quote 'like this' when quoting
18117 code, and "like this" when quoting English.
18119 * time/mktime.c (compile-command): Add "-I.".
18121 mktime: merge mktime-internal.h change from gnulib
18122 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18124 mktime: merge time_r change from gnulib
18125 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18127 mktime: merge DEBUG change from gnulib
18128 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18129 case system <time.h> has a #define.
18131 mktime: merge <sys/types.h> change from gnulib
18132 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18133 since <time.t> is now guaranteed to define time_t.
18135 mktime: merge HAVE_CONFIG_H change from gnulib
18136 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18138 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18143 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18145 (struct rusage): Use anonymous union to pad each field to
18148 2012-05-21 David S. Miller <davem@davemloft.net>
18150 * Makefules (o-iterator): Remove .s cases.
18151 (compile-command.s): Delete.
18152 (COMPILE.s): Delete.
18153 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18155 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18157 * configure.in (libc_cv_predef_stack_protector): Only consider
18158 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18159 * configure: Regenerated.
18161 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18164 New macro. Use R*LP on int and pointer.
18165 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18166 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18167 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18170 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18171 [__WORDSIZE_TIME64_COMPAT32] instead of
18172 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18173 (struct utmp): Likewise.
18174 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18175 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18177 (__WORDSIZE_TIME64_COMPAT32): This.
18178 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18179 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18180 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18181 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18182 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18183 (__WORDSIZE_TIME64_COMPAT32): New macro.
18185 2012-05-21 Andreas Jaeger <aj@suse.de>
18187 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18188 only if [SHARED]. Add prototype for __wcschr_ia32.
18190 2012-05-21 Roland McGrath <roland@hack.frob.com>
18192 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18193 of %rbp unmolested in the jmp_buf while mangling the low bits.
18194 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18195 unmolested high bits of %rbp while demangling the low bits.
18196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18198 2012-05-21 Andreas Jaeger <aj@suse.de>
18200 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18201 * sunrpc/svc_simple.c: Use it for registerrpc.
18202 * sunrpc/xcrypt.c: Use it for passwd2des.
18204 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18206 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18209 Don't define if [__SYSCALL_WORDSIZE != 32].
18210 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18213 2012-05-21 Bruno Haible <bruno@clisp.org>
18214 Andreas Jaeger <aj@suse.de>
18216 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18217 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18218 inptr and inend for must_buffer_ch.
18219 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18220 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18221 * stdio-common/Makefile (tests): Remove bug15.
18222 (bug15-ENV): Remove macro.
18223 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18226 2012-05-19 Andreas Jaeger <aj@suse.de>
18227 Roland McGrath <roland@hack.frob.com>
18229 * manual/contrib.texi: Completely rewritten. It contains now an
18230 alphabetical list of contributors and their contributions.
18232 2012-05-21 Richard Henderson <rth@twiddle.net>
18234 * misc/getauxval.c (__getauxval): Use unsigned long int.
18235 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18236 (getauxval): Use unsigned long int.
18238 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18242 2012-05-21 Roland McGrath <roland@hack.frob.com>
18244 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18245 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18246 __alignof__ (long double).
18248 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18252 2012-05-20 Richard Henderson <rth@twiddle.net>
18254 * misc/getauxval.c: New file.
18255 * misc/sys/auxv.h: New file.
18256 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18257 (routines): Add getauxval.
18258 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18260 * elf/dl-sysdep.c (_dl_auxv): Remove.
18261 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18262 * elf/dl-support.c (_dl_auxv): New variable.
18263 (_dl_aux_init): Initialize it.
18264 * manual/startup.texi (Auxiliary Vector): New node.
18265 * sysdeps/generic/bits/hwcap.h: New file.
18266 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18267 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18268 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18269 * sysdeps/sparc/sysdep.h: ... here. Include it.
18270 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18271 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18283 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18287 2012-05-19 David S. Miller <davem@davemloft.net>
18289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18291 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18294 * math/s_ccosh.c: Include <float.h>
18295 (__ccosh): Avoid internal overflow calculating sinh and cosh
18296 values before multiplying by sin and cos values.
18297 * math/s_ccoshf.c: Likewise.
18298 * math/s_ccoshl.c: Likewise.
18299 * math/s_csin.c: Likewise.
18300 * math/s_csinf.c: Likewise.
18301 * math/s_csinl.c: Likewise.
18302 * math/s_csinh.c: Likewise.
18303 * math/s_csinhf.c: Likewise.
18304 * math/s_csinhl.c: Likewise.
18305 * math/libm-test.inc (ccos_test): Add more tests.
18306 (ccosh_test): Likewise.
18307 (csin_test): Likewise.
18308 (csinh_test): Likewise.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18314 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18315 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18317 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18319 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18321 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18322 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18323 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18324 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18325 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18326 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18327 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18328 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18329 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18330 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18331 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18332 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18333 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18334 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18335 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18336 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18337 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18338 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18339 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18340 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18341 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18342 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18343 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18344 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18345 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18346 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18347 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18348 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18349 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18350 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18351 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18353 2012-05-18 Andreas Jaeger <aj@suse.de>
18355 * csu/.gitignore: Delete.
18357 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18359 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18360 (timex): Use __syscall_slong_t.
18362 2012-05-18 Andreas Jaeger <aj@suse.de>
18363 Carlos O'Donell <carlos_odonell@mentor.com>
18365 * manual/install.texi (Configuring and compiling): Update
18366 description about files modified in the source directory.
18367 * INSTALL: Regenerated.
18369 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18371 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18372 value. Use "or" to set return value to -1.
18373 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18374 negate return value.
18376 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18378 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18379 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18380 failure if the compiler has Graphite support disabled.
18381 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18383 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18384 CFLAGS-memmove.c): Likewise.
18385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18388 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18390 * sysdeps/x86_64/x32/_itoa.h: New file.
18392 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18393 getdents system call only if kernel and user dirents have the
18394 same d_ino and d_off.
18396 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18397 LLONG_MAX != LONG_MAX.
18398 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18399 (_fitoa_word): Likewise.
18401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18403 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18407 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18408 include <bits/wordsize.h>. Check __x86_64__ instead of
18410 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18411 if __x86_64__ is defined. Use anonymous union on fpstate.
18413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18416 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18418 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18419 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18420 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18421 Refer to _rtld_local_ro instead of _rtld_global_ro.
18422 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18424 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18426 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18428 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18429 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18430 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18432 * sysdeps/powerpc/powerpc32/dl-machine.c
18433 (__elf_machine_runtime_setup) [PROF]: Don't reference
18436 2012-05-18 Andreas Jaeger <aj@suse.de>
18438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18439 function only available for GCCs before 3.4 since GCC 3.4
18440 introduced a builtin.
18442 (llrintf): Likewise.
18443 (llrint): Likewise.
18450 (nearbyint): Likewise.
18451 (nearbyintf): Likewise.
18455 (floorf): Likewise.
18457 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18459 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18460 on both fields and cast pointer to __syscall_ulong_t.
18462 * bits/types.h (__fsword_t): New type.
18463 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18464 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18465 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18466 (__FSWORD_T_TYPE): Likewise.
18467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18468 (__FSWORD_T_TYPE): Likewise.
18469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18470 (__FSWORD_T_TYPE): Likewise.
18471 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18472 (__FSWORD_T_TYPE): Likewise.
18473 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18474 __SWORD_TYPE with __fsword_t.
18475 (statfs64): Likewise.
18477 2012-05-17 David S. Miller <davem@davemloft.net>
18479 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18481 2012-05-17 Andreas Jaeger <aj@suse.de>
18483 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18486 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18490 2012-05-17 Andreas Jaeger <aj@suse.de>
18492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18495 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18497 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18499 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18501 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18502 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18504 2012-05-17 Andreas Jaeger <aj@suse.de>
18505 Carlos O'Donell <carlos_odonell@mentor.com>
18508 * sysdeps/x86_64/multiarch/init-arch.h
18509 (bit_YMM_Usable): Rename to...
18510 (bit_AVX_Usable): ... this.
18511 (bit_FMA4_Usable): New macro.
18512 (bit_XMM_state): New macro.
18513 (bit_YMM_state): New macro.
18514 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18515 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18516 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18517 (CPUID_OSXSAVE): New macro.
18518 (CPUID_AVX): New macro.
18519 (CPUID_FMA4): New macro.
18520 (index_YMM_Usable): Rename to...
18521 (index_AVX_Usable): ... this.
18522 (HAS_AVX): Use HAS_ARCH_FEATURE.
18523 (HAS_FMA4): Likewise.
18524 (HAS_YMM_USABLE): Remove.
18525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18526 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18528 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18529 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18530 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18531 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18532 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18534 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18536 * math/libm-test.c: Support platforms without multiple rounding modes.
18537 * math/bug-nextafter.c: Support platforms without FP exceptions.
18538 * math/bug-nexttoward.c: Likewise.
18539 * math/test-fenv.c: Likewise.
18540 * math/test-misc.c: Likewise.
18541 * stdlib/bug-getcontext.c: Likewise.
18543 2012-05-17 Andreas Jaeger <aj@suse.de>
18545 * manual/examples/search.c (critter_cmp): Change signature to
18547 * manual/string.texi (Collation Functions): Likewise.
18549 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18551 * bits/types.h: Fold copyright years.
18552 * bits/typesizes.h: Likewise.
18553 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18554 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18557 * time/time.h: Likewise.
18559 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18562 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18563 in instead of returning them. Return void.
18564 (__libc_mallinfo): Accumulate over all arenas.
18565 (__malloc_stats): Adjust for change in int_mallinfo interface.
18567 2012-05-16 Roland McGrath <roland@hack.frob.com>
18570 * configure.in (NM): Add AC_CHECK_TOOL for it.
18571 (libc_extra_cflags): New substituted variable.
18572 Check for -fstack-protector being used implicitly.
18573 * configure: Regenerated.
18574 * config.make.in (config-extra-cflags): New variable,
18575 gets @libc_extra_cflags@.
18576 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18579 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18580 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18581 * configure: Regenerated.
18582 * config.make.in (CPPUNDEFS): New substituted variable.
18583 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18584 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18585 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18587 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18589 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18590 (mq_attr): Use __syscall_slong_t.
18592 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18594 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18595 Check __x86_64__ instead of __WORDSIZE.
18596 (_STAT_VER_LINUX): Likewise.
18597 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18598 __syscall_ulong_t and __syscall_slong_t.
18599 (stat64): Likewise.
18601 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18603 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18605 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18607 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18611 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18614 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18615 include <bits/wordsize.h>. Check __x86_64__ instead of
18617 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18619 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18622 include <bits/wordsize.h>. Check __x86_64__ instead of
18624 (user_regs_struct): Use "__extension__ unsigned long long"
18625 instead of "unsigned long" if __x86_64__ is defined.
18626 (user): Likewise. Pad after pointer field if __ILP32__ is
18629 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18631 * configure.in (makeinfo): Require version 4.5 or later. Allow
18633 * configure: Regenerated.
18634 * manual/install.texi (texinfo): Increase version requirement to
18636 * INSTALL: Regenerated.
18638 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18642 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18644 * sysdeps/x86_64/x32/ffs.c: New file.
18646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18648 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18649 defined. Use __syscall_ulong_t.
18650 (shminfo): Use __syscall_ulong_t.
18651 (shm_info): Likewise.
18653 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18656 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18658 (msgqnum_t): Use __syscall_ulong_t.
18659 (msglen_t): Likewise.
18660 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18663 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18664 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18666 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18668 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18669 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18671 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18674 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18675 include <bits/wordsize.h>. Check __x86_64__ instead of
18678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18679 "unsigned long long int" if __x86_64__ is defined.
18680 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18683 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18684 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18686 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18688 (GET_PC): Cast to uintptr_t first.
18689 (GET_FRAME): Likewise.
18690 (GET_STACK): Likewise.
18692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18699 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18700 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18703 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18704 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18706 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18709 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18710 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18711 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18713 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18714 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18716 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18717 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18722 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18724 * Makerules (+depfiles): Also collect depfiles from .oS in
18726 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18727 .oS, $(libnldbl-routines)).
18729 * Makerules (native-compile-mkdep-flags): Define.
18730 * sunrpc/Makefile (extra-objs): Add $(addprefix
18731 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18732 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18733 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18734 calling $(make-target-directory).
18736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18738 * bits/types.h (__snseconds_t): Removed.
18739 * time/time.h (struct timespec): Replace __snseconds_t with
18741 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18742 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18745 (__SNSECONDS_T_TYPE): Likewise.
18746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18747 (__SNSECONDS_T_TYPE): Likewise.
18748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18749 (__SNSECONDS_T_TYPE): Likewise.
18751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18753 * sysdeps/mach/hurd/bits/typesizes.h
18754 (__SYSCALL_SLONG_TYPE): New macro.
18755 (__SYSCALL_ULONG_TYPE): Likewise.
18757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18759 * bits/types.h (__syscall_slong_t): New type.
18760 (__syscall_ulong_t): Likewise.
18762 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18763 (__SYSCALL_ULONG_TYPE): Likewise.
18764 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18765 (__SYSCALL_SLONG_TYPE): Likewise.
18766 (__SYSCALL_ULONG_TYPE): Likewise.
18767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18768 (__SYSCALL_SLONG_TYPE): Likewise.
18769 (__SYSCALL_ULONG_TYPE): Likewise.
18770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18771 (__SYSCALL_SLONG_TYPE): Likewise.
18772 (__SYSCALL_ULONG_TYPE): Likewise.
18774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18776 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18777 Add sigaltstack-offsets.sym.
18778 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18779 <sigaltstack-offsets.h>.
18780 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18781 longjmp_msg pointer.
18782 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18783 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18785 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18787 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18789 * elf/stackguard-macros.h: Remove file.
18790 * sysdeps/generic/stackguard-macros.h: New file.
18791 * sysdeps/i386/stackguard-macros.h: Likewise.
18792 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18793 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18794 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18795 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18796 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18797 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18798 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18799 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18800 <elf/stackguard-macros.h>.
18803 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18804 __aligned__ in attribute.
18805 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18806 (gregset_t): Likewise.
18808 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18810 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18811 * sysdeps/x86_64/64/Implies-after: Here. New file.
18812 * sysdeps/x86_64/x32/Implies-after: New file.
18814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18816 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18817 and access return value for _dl_profile_fixup. Use R10_LP to
18820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18822 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18826 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18827 * sysdeps/x86_64/x32/sysdep.h: New file.
18829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18831 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18832 * sysdeps/x86_64/setjmp.S: Likewise.
18834 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18836 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18838 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18840 remove unused global constant.
18842 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18844 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18845 include of <not-cancel.h>.
18847 2012-05-15 Roland McGrath <roland@hack.frob.com>
18849 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18851 2012-05-15 Jeff Law <law@redhat.com>
18852 Andreas Jaeger <aj@suse.de>
18855 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18857 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18858 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18859 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18860 code changing __hst_map_handle.map.
18862 2012-05-15 Roland McGrath <roland@hack.frob.com>
18864 * configure.in (sysnames): Look for Implies-before and Implies-after
18866 * configure: Regenerated.
18868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18871 8-byte data alignment with LP_SIZE alignment.
18873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18880 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18885 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18892 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18893 (stackinfo_sub_sp): Likewise.
18895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18902 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18907 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18912 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18916 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18917 into R11_LP and load __x86_64_shared_cache_size_half into
18920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18922 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18925 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18931 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18934 powerpc32/power7/fpu/s_logb.c via #include.
18935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18936 powerpc32/power7/fpu/s_logbf.c via #include.
18937 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18938 powerpc32/power7/fpu/s_logbl.c via #include.
18940 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18942 * README.libm: Remove file.
18944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18946 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18947 count for x32. Use R*_LP and omit operand-size suffix.
18949 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18951 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18952 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18953 * sysdeps/x86_64/x32/shlib-versions: New file.
18955 2012-05-14 Roland McGrath <roland@hack.frob.com>
18957 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18958 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18959 Use _dl_fatal_printf instead.
18961 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18963 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18964 set if not set by the user. Do not allow for being unset.
18965 * sysdeps/unix/sysv/linux/configure: Regenerated.
18967 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18969 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18970 the `q' suffix from lea and replace .quad with ASM_ADDR.
18972 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18975 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18977 (PTR_DEMANGLE): Likewise.
18979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18981 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18983 (ASM_ADDR): Likewise.
18984 (RAX_LP): Likewise.
18985 (RBP_LP): Likewise.
18986 (RBX_LP): Likewise.
18987 (RCX_LP): Likewise.
18988 (RDI_LP): Likewise.
18989 (RSI_LP): Likewise.
18990 (RSP_LP): Likewise.
18993 (R10_LP): Likewise.
18994 (R10_LP): Likewise.
18995 (R11_LP): Likewise.
18996 (R12_LP): Likewise.
18997 (R13_LP): Likewise.
18998 (R14_LP): Likewise.
18999 (R15_LP): Likewise.
19001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19003 * sysdeps/x86_64/x32/dl-machine.h: New file.
19005 2012-05-14 Andreas Jaeger <aj@suse.de>
19007 * manual/Makefile (subdir): Remove export of subdir.
19008 (all): Remove target.
19009 (.PHONY): Remove all from list.
19010 (mkinstalldirs): Remove.
19011 (.PHONY): Remove installdirs from list.
19012 ($(inst_infodir)/libc.info): Use make-target-directory.
19013 (installdirs): Remove.
19014 (subdir_%): Remove.
19015 (glibc-targets): Remove.
19018 ($(objpfx)stubs ../po/manual.pot): Remove.
19019 ($(objpfx)stamp%): Remove.
19020 (make-target-directory): Remove.
19021 (subdir_install): Remove.
19022 (routines): Remove.
19029 * manual/.gitignore: Remove, it's not needed anymore.
19030 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19032 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19034 (texis): Renamed to $(objpfx)texis.
19035 (texis-path): New, contains path to generated files.
19036 (chapters.%): Use texis-path for complete path, add extra argument
19038 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19039 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19040 (summary,texi, stamp-summary): Use complete path of
19041 files. Generate files in build dir.
19042 (dir-add.texi): Build in build dir.
19043 (libm-err.texi,stamp-libm-err): Likewise.
19044 (version.texi, stamp-version): Likewise.
19045 (.%c.texi): Likewise.
19046 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19047 (mostlyclean): Remove target.
19048 (realclean): Remove target.
19049 (generated): Add new variable with contents from mostlyclean and
19050 realclean, remove entries duplicated in common-mostlyclean, add
19051 stamp-libm-err and stamp-version.
19052 (generated-dirs): Add libc directory.
19053 ($(inst_infodir)/libc.info): Install files from build dir.
19055 * manual/install.texi (Configuring and compiling): Adjust since
19056 the info files are not part of the tar ball anymore.
19058 2012-05-14 Andreas Jaeger <aj@suse.de>
19060 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19063 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19066 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19067 to 2.2.0 where earlier.
19068 * sysdeps/unix/sysv/linux/configure: Regenerated.
19069 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19070 Remove conditional code.
19071 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19072 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19073 Remove conditional code.
19074 [!__NR_lchown]: Likewise.
19075 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19076 [__NR_lchown]: Likewise.
19077 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19078 comment referencing __ASSUME_LCHOWN_SYSCALL.
19079 * sysdeps/unix/sysv/linux/i386/sigaction.c
19080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19083 Remove conditional code.
19084 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19085 (__protocol_available): Remove #if 0 code.
19086 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19088 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19089 * sysdeps/unix/sysv/linux/kernel-features.h
19090 (__ASSUME_GETCWD_SYSCALL): Don't define.
19091 (__ASSUME_REALTIME_SIGNALS): Likewise.
19092 (__ASSUME_PREAD_SYSCALL): Likewise.
19093 (__ASSUME_PWRITE_SYSCALL): Likewise.
19094 (__ASSUME_POLL_SYSCALL): Likewise.
19095 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19096 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19098 (__ASSUME_SIOCGIFNAME): Don't define.
19099 (__ASSUME_MSG_NOSIGNAL): Likewise.
19100 (__ASSUME_SENDFILE): Define unconditionally.
19101 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19102 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19104 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19105 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19106 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19107 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19108 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19109 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19110 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19112 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19115 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19116 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19121 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19122 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19135 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19136 Remove conditional code.
19137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19138 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19139 Remove conditional code.
19140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19141 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19142 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19143 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19144 Remove conditional code.
19145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19146 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19147 Remove conditional code.
19148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19149 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19150 Remove conditional code.
19151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19152 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19153 Remove conditional code.
19154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19155 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19156 Remove conditional code.
19157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19158 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19161 * sysdeps/unix/sysv/linux/sigaction.c
19162 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19163 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19164 * sysdeps/unix/sysv/linux/sigpending.c
19165 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19166 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19167 * sysdeps/unix/sysv/linux/sigprocmask.c
19168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19170 * sysdeps/unix/sysv/linux/sigsuspend.c
19171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19173 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19174 (__libc_missing_rt_sigs): Remove.
19175 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19176 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19177 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19178 Remove conditional code.
19179 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19180 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19182 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19184 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19185 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19187 2012-05-14 Andreas Jaeger <aj@suse.de>
19189 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19190 it's not used in glibc.
19191 (__coshm1): Likewise.
19192 (__acosh1p): Likewise.
19195 * manual/string.texi (Copying and Concatenation): Add missing
19196 variable in concat example.
19197 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19203 __builtin_clzl with __builtin_clzll.
19205 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19208 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19211 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19213 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19214 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19215 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19216 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19218 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19220 * NEWS: Update ia64 info.
19222 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19224 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19227 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19229 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19230 * sysdeps/unix/syscalls.list (dup3): Likewise.
19231 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19232 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19234 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19236 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19237 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19239 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19241 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19243 (TLS_IE): Use mov/add instead of movq/addq to load thread
19245 (TLS_GD_PREFIX): New.
19248 2012-05-11 David S. Miller <davem@davemloft.net>
19250 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19251 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19252 (_FPU_SETCW): Likewise.
19254 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19256 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19257 is 32-byte aligned.
19259 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19262 * iconvdata/gb18030.c: Update tables.
19263 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19264 characters specially.
19265 (BODY for TO_LOOP): Add encoding of missing ranges.
19267 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19270 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19271 * sysdeps/mach/hurd/dup3.c: Likewise.
19272 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19273 * sysdeps/powerpc/memmove.c:: Likewise.
19275 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19278 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19280 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19282 * elf/elf.h (R_X86_64_RELATIVE64): New.
19283 (R_X86_64_NUM): Updated.
19284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19285 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19286 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19287 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19288 tst-quad1pie tst-quad2pie
19289 (modules-names): Add tst-quadmod1 tst-quadmod2.
19290 ($(objpfx)tst-quad1): New dependency.
19291 ($(objpfx)tst-quad2): Likewise.
19292 ($(objpfx)tst-quad1pie): Likewise.
19293 ($(objpfx)tst-quad2pie): Likewise.
19294 * sysdeps/x86_64/tst-quad1.c: New file.
19295 * sysdeps/x86_64/tst-quad1pie.c: New file.
19296 * sysdeps/x86_64/tst-quad2.c: Likewise.
19297 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19298 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19299 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19300 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19301 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19305 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19306 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19307 * streams/stropts.h (t_scalar_t): Define type.
19309 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19310 (_PATH_PRESERVE): Set to "/var/lib".
19311 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19313 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19316 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19317 if __dir_mkfile succeeded.
19319 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19320 checking for _hurd_dtablesize. Unlock it right after having
19321 finished _hurd_dtable allocation.
19323 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19325 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19326 * sysdeps/mach/hurd/configure: Regenerated.
19327 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19328 special-casing to...
19329 * sysdeps/gnu/configure.in: ... this new file.
19330 * sysdeps/unix/sysv/linux/configure: Regenerated.
19331 * sysdeps/gnu/configure: New generated file.
19333 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19334 for Linux: use nsec instead of usec, as well as:
19335 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19336 members of type struct timespec.
19337 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19339 (struct stat64): Likewise.
19340 (_STATBUF_ST_NSEC): New macro.
19341 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19343 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19344 __strtoul_internal rather than strtoul.
19346 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19348 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19353 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19354 which preserves existing values.
19355 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19357 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19359 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19360 TIMEOUT values. Return EINVAL for NFDS values either negative or
19361 greater than FD_SETSIZE.
19363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19365 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19366 allocated, call __vm_protect to finish enabling the existing space, and
19367 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19368 allocate the remainder.
19370 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19372 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19373 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19375 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19377 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19378 sysdeps/mach/hurd/readlink.c.
19380 * posix/tst-sysconf.c (posix_options): Only use
19381 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19382 _POSIX_SYNCHRONIZED_IO when they are defined
19383 * sysdeps/mach/hurd/bits/posix_opt.h:
19384 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19385 (_XOPEN_REALTIME): Undefine macro.
19386 (_XOPEN_REALTIME_THREADS): Undefine macro.
19387 (_XOPEN_SHM): Undefine macro.
19388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19390 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19392 (_POSIX_ASYNC_IO): Undefine macro.
19393 (_POSIX_PRIORITIZED_IO): Undefine macro.
19394 (_POSIX_SPIN_LOCKS): Define macro to -1.
19396 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19397 SA_NODEFER, SA_RESETHAND.
19398 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19399 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19404 * elf/Makefile (pldd-modules): Define unconditionally.
19406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19408 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19410 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19412 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19413 Return ENOENT when name is empty.
19414 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19418 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19420 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19424 Fix mlock in all cases except non-readable pages.
19425 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19426 instead of VM_PROT_ALL as parameter to __vm_wire function.
19428 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19429 (__mkdir): When path is `/', just fail with EEXIST.
19430 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19434 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19435 <sys/uio.h> (for writev).
19436 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19437 and <sys/param.h> (for MIN).
19439 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19441 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19442 REQUESTED_TIME. Properly set the remaining time and return EINTR
19445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19447 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19448 Depend on against $(link-rpcuserlibs).
19450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19452 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19453 (__libc_stack_end): Do not use attribute_relro.
19454 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19455 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19456 to libthread-provided value.
19457 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19463 * bits/libc-lock.h (__libc_once_get): New macro.
19464 * sysdeps/mach/bits/libc-lock.h: Likewise.
19465 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19467 instead of using implementation details.
19469 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19470 * libio/freopen.c: Likewise.
19471 * libio/freopen64.c: Likewise.
19472 * misc/syslog.c: Likewise.
19473 * nscd/connections.c: Likewise.
19474 * nscd/netgroupcache.c: Likewise.
19475 * sysdeps/posix/getcwd.c: Likewise.
19477 2012-05-10 Roland McGrath <roland@hack.frob.com>
19479 * math/w_ilogbf.c: Add #include <limits.h>.
19481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19483 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19484 path instead of returning without unlocking.
19486 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19487 immediate-write ioctls.
19488 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19492 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19493 __builtin_frame_address instead of making assumptions about the
19494 location of the return address relative to DATA. Force early load of
19495 the return address.
19496 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19497 __builtin_frame_address.
19500 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19501 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19502 implement dup3 and do some further code clean-ups.
19503 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19504 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19508 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19510 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19511 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19512 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19513 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19514 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19517 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19518 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19519 when handler == SIG_ERR, not when handler != SIG_ERR.
19521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19523 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19524 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19527 accept4 for GNU Hurd.
19528 * include/sys/socket.h (__libc_accept4): New prototype.
19529 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19530 to implement __libc_accept4.
19531 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19535 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19536 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19537 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19538 signal-defines.sym.
19540 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19542 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19544 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19546 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19547 assertion on O_CLOEXEC flag.
19548 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19549 * hurd/intern-fd.c: Likewise.
19550 * hurd/port2fd.c: Likewise.
19552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19555 * bits/in.h (IPV6_PKTINFO): Define new macro.
19556 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19558 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19563 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19565 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19568 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19569 * math/libm-test.inc (logb_test) : Additional logb tests.
19571 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19572 Andreas Jaeger <aj@suse.de>
19574 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19575 * configure: Regenerated.
19576 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19577 * config.make.in (link-obsolete-rpc): New substituted variable.
19578 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19579 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19580 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19581 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19582 so that libc.a contains the symbols.
19583 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19584 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19585 * sunrpc/auth_none.c: Likewise.
19586 * sunrpc/auth_unix.c: Likewise.
19587 * sunrpc/authdes_prot.c: Likewise.
19588 * sunrpc/authuxprot.c: Likewise.
19589 * sunrpc/clnt_gen.c: Likewise.
19590 * sunrpc/clnt_perr.c: Likewise.
19591 * sunrpc/clnt_raw.c: Likewise.
19592 * sunrpc/clnt_simp.c: Likewise.
19593 * sunrpc/clnt_tcp.c: Likewise.
19594 * sunrpc/clnt_udp.c: Likewise.
19595 * sunrpc/clnt_unix.c: Likewise.
19596 * sunrpc/des_crypt.c: Likewise.
19597 * sunrpc/des_soft.c: Likewise.
19598 * sunrpc/get_myaddr.c: Likewise.
19599 * sunrpc/key_call.c: Likewise.
19600 * sunrpc/key_prot.c: Likewise.
19601 * sunrpc/netname.c: Likewise.
19602 * sunrpc/pm_getmaps.c: Likewise.
19603 * sunrpc/pm_getport.c: Likewise.
19604 * sunrpc/pmap_clnt.c: Likewise.
19605 * sunrpc/pmap_prot.c: Likewise.
19606 * sunrpc/pmap_prot2.c: Likewise.
19607 * sunrpc/pmap_rmt.c: Likewise.
19608 * sunrpc/publickey.c: Likewise.
19609 * sunrpc/rpc_cmsg.c: Likewise.
19610 * sunrpc/rpc_common.c: Likewise.
19611 * sunrpc/rpc_dtable.c: Likewise.
19612 * sunrpc/rpc_prot.c: Likewise.
19613 * sunrpc/rpc_thread.c: Likewise.
19614 * sunrpc/rtime.c: Likewise.
19615 * sunrpc/svc.c: Likewise.
19616 * sunrpc/svc_auth.c: Likewise.
19617 * sunrpc/svc_raw.c: Likewise.
19618 * sunrpc/svc_run.c: Likewise.
19619 * sunrpc/svc_tcp.c: Likewise.
19620 * sunrpc/svc_udp.c: Likewise.
19621 * sunrpc/svc_unix.c: Likewise.
19622 * sunrpc/svcauth_des.c: Likewise.
19623 * sunrpc/xcrypt.c: Likewise.
19624 * sunrpc/xdr.c: Likewise.
19625 * sunrpc/xdr_array.c: Likewise.
19626 * sunrpc/xdr_float.c: Likewise.
19627 * sunrpc/xdr_intXX_t.c: Likewise.
19628 * sunrpc/xdr_mem.c: Likewise.
19629 * sunrpc/xdr_rec.c: Likewise.
19630 * sunrpc/xdr_ref.c: Likewise.
19631 * sunrpc/xdr_sizeof.c: Likewise.
19632 * sunrpc/xdr_stdio.c: Likewise.
19634 2012-05-10 Roland McGrath <roland@hack.frob.com>
19636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19637 change. Update copyright years.
19639 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19641 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19643 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19644 Joseph Myers <joseph@codesourcery.com>
19645 Paul Pluzhnikov <ppluzhnikov@google.com>
19648 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19650 [cross-compiling] (extra-libs): Likewise.
19651 [cross-compiling] (extra-libs-others): Likewise.
19652 [cross-compiling] (librpcsvc-routines): Likewise.
19653 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19654 [cross-compiling] (omit-deps): Likewise.
19655 (sunrpc-CPPFLAGS): New variable.
19656 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19657 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19658 (cross-rpcgen-objs): New variable.
19659 (extra-objs): Append $(cross-rpcgen-objs).
19660 ($(cross-rpcgen-objs)): New rule.
19661 ($(objpfx)cross-rpcgen): Likewise.
19662 (rpcgen-cmd): Define to use $(built-program-file). Expand
19664 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19665 ($(objpfx)x%.stmp): Likewise.
19666 * sunrpc/proto.h [IS_IN_build] (_): Define.
19667 [IS_IN_build] (_libc_intl_domainname): Likewise.
19669 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19672 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19673 and R_X86_64_TPOFF64.
19675 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19677 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19678 sysdeps/unix/sysv/syscalls.list.
19681 * sysdeps/unix/sysv/syscalls.list: Remove file.
19683 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19686 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19687 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19688 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19689 (__LC_IDENTIFICATION): Make these macros useful in #if
19690 expressions, as required by C99.
19692 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19694 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19695 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19698 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19700 * stdlib/longlong.h: Updated from GCC.
19702 2012-05-09 Andreas Jaeger <aj@suse.de>
19704 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19705 default is first entry.
19706 (run_mode): Set type.
19707 (main): Remove informal message about syslog.
19708 (options): Fix typo.
19711 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19714 (llrintf): Likewise.
19715 (llrint): Likewise.
19718 (nearbyint): Likewise.
19719 (nearbyintf): Likewise.
19721 2012-05-09 Andreas Jaeger <aj@suse.de>
19722 Pedro Alves <palves@redhat.com>
19724 * nscd/nscd.c (run_mode): Use enum.
19725 (main): Cleanup coding style issue.
19727 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19728 Andreas Jaeger <aj@suse.de>
19730 * nscd/nscd.c (go_background): Replaced with...
19731 (run_mode): ... this.
19732 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19733 (options): Add -F --foreground.
19734 (main): Implement it.
19735 (parse_opt): Parse it.
19737 2012-05-09 Andreas Jaeger <aj@suse.de>
19740 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19741 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19742 -Wconversion warning.
19743 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19746 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19748 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19750 (LC_ALL): Use macro-int-constant.
19751 (LC_COLLATE): Likewise.
19752 (LC_CTYPE): Likewise.
19753 (LC_MESSAGES): Likewise.
19754 (LC_MONETARY): Likewise.
19755 (LC_NUMERIC): Likewise.
19756 (LC_TIME): Likewise.
19757 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19758 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19760 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19762 [C99-based standards] (float_t): Expect type.
19763 [C99-based standards] (double_t): Expect type.
19764 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19766 [C99-based standards] (HUGE_VALL): Likewise.
19767 [C99-based standards] (INFINITY): Likewise.
19768 [C99-based standards] (NAN): Likewise.
19769 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19770 [C99-based standards] (FP_NAN): Likewise.
19771 [C99-based standards] (FP_NORMAL): Likewise.
19772 [C99-based standards] (FP_SUBNORMAL): Likewise.
19773 [C99-based standards] (FP_ZERO): Likewise.
19774 [C99-based standards] (FP_FAST_FMA): Use
19775 optional-macro-int-constant. Specify type. Require == 1.
19776 [C99-based standards] (FP_FAST_FMAF): Likewise.
19777 [C99-based standards] (FP_FAST_FMAL): Likewise.
19778 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19779 [C99-based standards] (FP_ILOGBNAN): Likewise.
19780 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19782 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19783 [C99-based standards] (math_errhandling): Specify type.
19784 [ISO99 || ISO11] (signgam): Do not allow.
19785 [non-C99-based standards] (copysignf): Do not allow.
19786 [non-C99-based standards] (exp2f): Likewise.
19787 [non-C99-based standards] (log2f): Likewise.
19788 [non-C99-based standards] (modff): Allow.
19789 [non-C99-based standards] (erff): Do not allow.
19790 [non-C99-based standards] (erfcf): Likewise.
19791 [non-C99-based standards] (gammaf): Likewise.
19792 [non-C99-based standards] (hypotf): Likewise.
19793 [non-C99-based standards] (j0f): Likewise.
19794 [non-C99-based standards] (j1f): Likewise.
19795 [non-C99-based standards] (jnf): Likewise.
19796 [non-C99-based standards] (lgammaf): Likewise.
19797 [non-C99-based standards] (tgammaf): Likewise.
19798 [non-C99-based standards] (y0f): Likewise.
19799 [non-C99-based standards] (y1f): Likewise.
19800 [non-C99-based standards] (ynf): Likewise.
19801 [non-C99-based standards] (isnanf): Likewise.
19802 [non-C99-based standards] (acoshf): Likewise.
19803 [non-C99-based standards] (asinhf): Likewise.
19804 [non-C99-based standards] (atanhf): Likewise.
19805 [non-C99-based standards] (cbrtf): Likewise.
19806 [non-C99-based standards] (expm1f): Likewise.
19807 [non-C99-based standards] (ilogbf): Likewise.
19808 [non-C99-based standards] (log1pf): Likewise.
19809 [non-C99-based standards] (logbf): Likewise.
19810 [non-C99-based standards] (nextafterf): Likewise.
19811 [non-C99-based standards] (remainderf): Likewise.
19812 [non-C99-based standards] (rintf): Likewise.
19813 [non-C99-based standards] (scalbf): Likewise.
19814 [non-C99-based standards] (copysignl): Likewise.
19815 [non-C99-based standards] (exp2l): Likewise.
19816 [non-C99-based standards] (log2l): Likewise.
19817 [non-C99-based standards] (modfl): Allow.
19818 [non-C99-based standards] (erfl): Do not allow.
19819 [non-C99-based standards] (erfcl): Likewise.
19820 [non-C99-based standards] (gammal): Likewise.
19821 [non-C99-based standards] (hypotl): Likewise.
19822 [non-C99-based standards] (j0l): Likewise.
19823 [non-C99-based standards] (j1l): Likewise.
19824 [non-C99-based standards] (jnl): Likewise.
19825 [non-C99-based standards] (lgammal): Likewise.
19826 [non-C99-based standards] (tgammal): Likewise.
19827 [non-C99-based standards] (y0l): Likewise.
19828 [non-C99-based standards] (y1l): Likewise.
19829 [non-C99-based standards] (ynl): Likewise.
19830 [non-C99-based standards] (isnanl): Likewise.
19831 [non-C99-based standards] (acoshl): Likewise.
19832 [non-C99-based standards] (asinhl): Likewise.
19833 [non-C99-based standards] (atanhl): Likewise.
19834 [non-C99-based standards] (cbrtl): Likewise.
19835 [non-C99-based standards] (expm1l): Likewise.
19836 [non-C99-based standards] (ilogbl): Likewise.
19837 [non-C99-based standards] (log1pl): Likewise.
19838 [non-C99-based standards] (logbl): Likewise.
19839 [non-C99-based standards] (nextafterl): Likewise.
19840 [non-C99-based standards] (remainderl): Likewise.
19841 [non-C99-based standards] (rintl): Likewise.
19842 [non-C99-based standards] (scalbl): Likewise.
19843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19844 [non-C99-based standards] (FP_*): Do not allow.
19845 [C99-based standards] (FP_*): Change to
19846 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19847 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19849 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19850 (SIG_ERR): Likewise.
19851 [X/Open-based standards] (SIG_HOLD): Likewise.
19852 (SIG_IGN): Likewise.
19853 (SIGABRT): Use macro-int-constant. Specify type. Require
19855 (SIGFPE): Likewise.
19856 (SIGILL): Likewise.
19857 (SIGINT): Likewise.
19858 (SIGSEGV): Likewise.
19859 (SIGTER): Likewise.
19860 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19861 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19862 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19863 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19864 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19865 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19866 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19867 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19868 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19869 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19870 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19871 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19872 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19873 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19874 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19875 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19876 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19877 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19878 [X/Open-based standards] (SIGTRAP): Likewise.
19879 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19880 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19881 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19882 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19883 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19886 2012-05-08 Ian Wienand <ianw@vmware.com>
19889 * time/tzset.c (__tzset_parse_tz): Update default rules for
19890 daylight time changes in the Energy Policy Act of 2005.
19892 2012-05-09 Andreas Jaeger <aj@suse.de>
19895 * elf/ldconfig.c (parse_conf): Change string to make clear that
19896 ldconfig only issued a warning if ld.so.conf does not exist.
19898 2012-05-08 David S. Miller <davem@davemloft.net>
19900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19901 movxtod instead of popping the value on the stack.
19903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19905 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19907 * config.h.in: Add HAVE_ARM_PCS_VFP.
19909 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19912 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19913 checking but the checks are disabled for any reason.
19915 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19917 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19918 and ELF64_R_TYPE with ELFW(R_TYPE).
19920 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19922 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19923 (ulimit): Likewise.
19925 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19926 (settimeofday): Likewise.
19928 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19930 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19931 a struct th_u2 inside the union, and move tu_block/tu_code into
19932 a new th_u3 union of tu_block/tu_code inside of that. Move
19933 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19934 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19935 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19936 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19937 (th_stuff): Change to th_u1.tu_stuff.
19939 (th_msg): Change to th_u1.th_u2.tu_data.
19941 2012-05-07 David S. Miller <davem@davemloft.net>
19943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19946 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19947 (SETUP_PIC_REG): Use it.
19948 (SETUP_PIC_REG_LEAF): Use it.
19950 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19954 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19956 (EXPL_FINITE): Likewise.
19957 (FLDLOG): Likewise.
19958 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19959 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19961 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19963 (EXPL_FINITE): Likewise.
19964 (FLDLOG): Likewise.
19965 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19966 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19968 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19969 test of -max_value argument for long double.
19970 * sysdeps/i386/fpu/libm-test-ulps: Update.
19971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19973 2012-05-06 David S. Miller <davem@davemloft.net>
19975 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19976 quad soft-float symbols whose references which are compiler
19978 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19980 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19986 (EXPL_FINITE): Likewise.
19987 (FLDLOG): Likewise.
19990 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19991 Adjust comments for base varying.
19992 (__expl_finite): Change alias to EXPL_FINITE.
19993 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19995 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19996 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19998 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20001 (EXPL_FINITE): Likewise.
20002 (FLDLOG): Likewise.
20005 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20006 Adjust comments for base varying.
20007 (__expl_finite): Change alias to EXPL_FINITE.
20008 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20013 * math/libm-test.inc (check_float_internal): Correct ulp
20014 calculation for subnormal expected results.
20016 2012-05-06 Andreas Jaeger <aj@suse.de>
20018 * Makeconfig (+math-flags): New, set to -frounding-math.
20019 (+cflags): Add +math-flags so that all of glibc gets compiled with
20022 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20024 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20026 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20032 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20033 (__ieee754_expl): Allow for and saturate large arguments.
20034 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20035 (u_threshold): Likewise.
20036 (__exp): Call __ieee754_exp before checking for overflow and
20038 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20039 (u_threshold): Likewise.
20040 (__expf): Call __ieee754_expf before checking for overflow and
20042 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20043 (u_threshold): Likewise.
20044 (__expl): Call __ieee754_expl before checking for overflow and
20046 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20047 (__ieee754_expl): Allow for and saturate large arguments.
20048 * math/libm-test.inc (exp_test): Add another test. Do not allow
20049 missing overflow exception on overflow.
20050 (expm1_test): Do not allow missing overflow exception on overflow.
20052 * sysdeps/i386/fpu/e_expl.c: Move to ...
20053 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20054 rather than using inline asm.
20055 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20056 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20057 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20059 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20062 (signal): Likewise.
20066 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20068 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20069 sysdeps/unix/common/syscalls.list.
20070 (fchmod): Likewise.
20071 (fchown): Likewise.
20072 (ftruncate): Likewise.
20073 (getrusage): Likewise.
20074 (gettimeofday): Likewise.
20075 (setpgid): Likewise.
20076 (setregid): Likewise.
20077 (setreuid): Likewise.
20078 (sigaction): Likewise.
20079 (truncate): Likewise.
20080 (vhangup): Likewise.
20081 * sysdeps/unix/common/syscalls.list: Remove file.
20082 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20083 * sysdeps/unix/sysv/linux/Implies: Likewise.
20085 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20087 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20089 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20093 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20096 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20099 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20102 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20105 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20111 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20115 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20122 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20126 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20130 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20132 * sysdeps/unix/common/bits/dirent.h: Remove file.
20133 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20135 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20136 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20137 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20138 * sysdeps/unix/bsd/isatty.c: Likewise.
20139 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20140 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20141 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20143 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20147 long double comparison inaccuracies.
20148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20151 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20153 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20156 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20159 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20160 nonzero digits before rounding a hex value.
20161 * stdlib/tst-strtod.c (tests): Add another test.
20163 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20165 * sysdeps/s390/fpu/libm-test-ulps: Update.
20167 2012-05-03 Andreas Jaeger <aj@suse.de>
20169 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20170 does not get optimized out.
20171 (malloc_opt_barrier): New.
20173 2012-05-03 Andreas Jaeger <aj@suse.de>
20174 Roland McGrath <roland@hack.frob.com>
20176 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20177 intermediate file deletion.
20178 (generated): Add .symlist files.
20180 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20183 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20184 Redirect under this condition.
20185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20186 [__USE_GNU] (__dprintf_chk): Not under this condition.
20187 [__USE_GNU] (__vdprintf_chk): Likewise.
20188 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20189 under this condition.
20190 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20191 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20192 [__USE_XOPEN2K8] (vdprintf): Likewise.
20193 [__USE_GNU] (__dprintf_chk): Not under this condition.
20194 [__USE_GNU] (__vdprintf_chk): Likewise.
20195 [__USE_GNU] (dprintf): Likewise.
20196 [__USE_GNU] (vdprintf): Likewise.
20198 2012-05-03 Roland McGrath <roland@hack.frob.com>
20200 * elf/Makefile (common-generated): Set this instead of generated for
20201 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20202 $(all-built-dso)-derived lists.
20204 2012-05-03 Andreas Jaeger <aj@suse.de>
20206 * sysdeps/i386/fpu/libm-test-ulps: Update.
20209 * FAQ.in: Likewise.
20210 * scripts/gen-FAQ.pl: Likewise.
20211 * manual/install.texi (Installation): Point to online location of
20213 * Makefile (files-for-dist): Remove FAQ.
20216 2012-05-02 Allan McRae <allan@archlinux.org>
20218 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20219 (LDFLAGS-reldepmod5.so): Likewise.
20220 (LDFLAGS-reldep6mod1.so): Likewise.
20221 (LDFLAGS-reldep6mod4.so): Likewise.
20222 (LDFLAGS-reldep8mod3.so): Likewise.
20223 (LDFLAGS-unload4mod1.so): Likewise.
20224 (LDFLAGS-unload4mod2.so): Likewise.
20225 (LDFLAGS-tst-initorder): Likewise.
20226 (LDFLAGS-tst-initordera2.so): Likewise.
20227 (LDFLAGS-tst-initordera3.so): Likewise.
20228 (LDFLAGS-tst-initordera4.so): Likewise.
20229 (LDFLAGS-tst-initorderb2.so): Likewise.
20230 (LDFLAGS-noload): Likewise.
20231 (LDFLAGS-next): Likewise.
20232 (LDFLAGS-order2mod1.so): Likewise.
20233 (LDFLAGS-order2mod2.so): Likewise.
20234 (LDFLAGS-tst-initorder2): Likewise.
20235 (LDFLAGS-tst-initorder2a.so): Likewise.
20236 (LDFLAGS-tst-initorder2b.so): Likewise.
20237 (LDFLAGS-tst-initorder2c.so): Likewise.
20238 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20240 2012-05-02 David S. Miller <davem@davemloft.net>
20242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20244 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20247 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20249 2012-05-02 Andreas Jaeger <aj@suse.de>
20251 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20252 since we manipulate rounding mode.
20253 (CPPFLAGS-test-idouble.c): Likewise.
20254 (CPPFLAGS-test-ifloat.c): Likewise.
20255 (CFLAGS-test-ldouble.c): Likewise.
20256 (CFLAGS-test-double.c): Likewise.
20257 (CFLAGS-test-float.c): Likewise.
20258 (CFLAGS-test-misc.c): Likewise.
20259 (CFLAGS-test-test-fenv.c): Likewise.
20261 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20265 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20266 comparisons to determine direction to adjust input.
20268 2012-05-01 Roland McGrath <roland@hack.frob.com>
20270 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20271 output to the target.
20273 * scripts/localplt.awk: New file.
20274 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20275 (check-localplt-CFLAGS): Variable removed.
20276 ($(all-built-dso:=.jmprel)): New static pattern rule.
20277 (generated): Add those targets.
20278 (localplt-built-dso): New variable.
20279 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20281 * elf/check-localplt.c: File removed.
20283 * scripts/check-execstack.awk: New file.
20284 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20285 (check-execstack-CFLAGS): Variable removed.
20286 ($(objpfx)check-execstack.h): Target removed.
20287 ($(objpfx)execstack-default): New target.
20288 (generated): Add that instead of check-execstack.h.
20289 ($(all-built-dso:=.phdr)): New static pattern rule.
20290 (generated): Add those targets.
20291 * elf/check-execstack.c: File removed.
20293 * scripts/check-textrel.awk: New file.
20294 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20295 (check-textrel-CFLAGS): Variable removed.
20296 (all-built-dso): Use := to define.o
20297 ($(all-built-dso:=.dyn)): New static pattern rule.
20298 (generated): Add those targets.
20299 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20300 * config.make.in (READELF): New substituted variable.
20301 * elf/check-textrel.c: File removed.
20303 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20305 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20307 * conform/data/ctype.h-data [C99-based standards] (isblank):
20309 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20310 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20311 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20312 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20313 Specify type. Require positive value.
20314 (EILSEQ): Likewise.
20315 (ERANGE): Likewise.
20316 [ISO || POSIX] (EILSEQ): Do not expect.
20317 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20318 Specify type. Require positive value.
20319 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20333 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20335 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20337 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20339 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20368 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20369 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20370 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20371 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20372 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20373 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20374 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20375 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20376 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20377 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20378 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20379 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20380 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20381 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20382 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20383 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20384 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20385 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20386 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20387 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20388 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20389 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20390 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20393 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20394 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20395 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20397 (FLT_ROUNDS): Expect as macro, not constant.
20398 (FLT_MANT_DIG): Use macro-int-constant.
20399 (DBL_MANT_DIG): Likewise.
20400 (LDBL_MANT_DIG): Likewise.
20401 (FLT_DIG): Likewise.
20402 (DBL_DIG): Likewise.
20403 (LDBL_DIG): Likewise.
20404 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20405 (DBL_MIN_EXP): Likewise.
20406 (LDBL_MIN_EXP): Likewise.
20407 (FLT_MAX_EXP): Use macro-int-constant.
20408 (DBL_MAX_EXP): Likewise.
20409 (LDBL_MAX_EXP): Likewise.
20410 (FLT_MAX_10_EXP): Likewise.
20411 (DBL_MAX_10_EXP): Likewise.
20412 (LDBL_MAX_10_EXP): Likewise.
20413 (FLT_MAX): Use macro-constant.
20414 (DBL_MAX): Likewise.
20415 (LDBL_MAX): Likewise.
20416 (FLT_EPSILON): Use macro-constant. Give upper bound.
20417 (DBL_EPSILON): Likewise.
20418 (LDBL_EPSILON): Likewise.
20419 (FLT_MIN): Likewise.
20420 (DBL_MIN): Likewise.
20421 (LDBL_MIN): Likewise.
20422 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20423 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20424 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20425 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20426 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20427 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20428 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20429 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20430 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20431 [ISO11] (FLT_TRUE_MIN): Likewise.
20432 [ISO11] (LDBL_TRUE_MIN): Likewise.
20433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20434 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20435 (SCHAR_MIN): Use macro-int-constant. Specify type.
20436 (SCHAR_MAX): Likewise.
20437 (UCHAR_MAX): Likewise.
20438 (CHAR_MIN): Likewise.
20439 (CHAR_MAX): Likewise.
20440 (MB_LEN_MAX): Use macro-int-constant.
20441 (SHRT_MIN): Use macro-int-constant. Specify type.
20442 (SHRT_MAX): Likewise.
20443 (USHRT_MAX): Likewise.
20444 (INT_MAX): Likewise.
20445 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20447 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20449 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20451 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20452 bound negative. Suffix upper bound with "L".
20453 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20455 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20457 [C99-based standards] (LLONG_MAX): Likewise.
20458 [C99-based standards] (ULLONG_MAX): Likewise.
20459 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20461 [ISO11] (max_align_t): Require type.
20462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20464 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20465 from $CFLAGS, without defining away __attribute__ calls.
20466 (checknamespace): Use $CFLAGS_namespace.
20468 * conform/conformtest.pl (@keywords): Only include C99 keywords
20469 for standards based on C99 or C11.
20471 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20473 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20476 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20477 usability of symbols in #if.
20479 * conform/conformtest.pl: If macro or constant types start
20480 "promoted:", expect the symbol to be of the following type
20481 promoted by the integer promotions.
20483 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20484 in one place. Also handle "macro-constant".
20486 * conform/conformtest.pl: Only accept expected macro values with
20487 "==". Parse all "macro" lines in one place.
20488 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20490 * conform/conformtest.pl: Handle braced types on "constant" lines
20491 instead of handling "typed-constant".
20492 * conform/data/signal.h-data: Use "constant" instead of
20495 * conform/conformtest.pl: Handle "optional-" at start of lines in
20496 one place rather than duplicating several cases. Handle each
20497 format of "macro" line with initial "optional-".
20499 * conform/conformtest.pl: Only accept expected constant or
20500 optional-constant values with "==". Parse all "constant" lines in
20501 one place. Parse all "optional-constant" lines in one place.
20502 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20503 * conform/data/fmtmsg.h-data: Likewise.
20504 * conform/data/netinet/in.h-data: Likewise.
20505 * conform/data/tar.h-data: Likewise.
20506 * conform/data/limits.h-data: Use "==" form on "constant" and
20507 "optional-constant" lines.
20509 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20510 Use -std=c99 for XOPEN2K.
20511 (@knownproblems): Remove.
20512 (newtoken): Don't check %isknown.
20514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20515 Do not expect macro.
20516 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20528 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20529 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20546 [XPG3] (acosh): Likewise.
20547 [XPG3] (asinh): Likewise.
20548 [XPG3] (atanh): Likewise.
20549 [XPG3] (cbrt): Likewise.
20550 [XPG3] (expm1): Likewise.
20551 [XPG3] (ilogb): Likewise.
20552 [XPG3] (log1p): Likewise.
20553 [XPG3] (logb): Likewise.
20554 [XPG3] (nextafter): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20557 [XPG3] (remainder): Likewise.
20558 [XPG3] (rint): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20566 [UNIX98 || XOPEN2K] (scalb): Expect.
20567 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20568 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20679 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20680 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20681 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20682 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20683 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20684 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20685 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20686 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20687 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20688 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20689 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20690 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20691 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20692 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20693 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20694 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20695 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20696 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20697 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20698 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20699 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20700 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20701 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20702 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20703 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20705 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20706 _XOPEN_SOURCE_EXTENDED for XPG4.
20708 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20710 * Makeconfig (localtime): Remove variable.
20711 (inst_localtime-file): Likewise.
20713 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20734 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20738 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20739 comparisons to determine direction to adjust input.
20740 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20741 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20744 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20746 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20751 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20753 * math/libm-test.inc (nexttoward_test): Add more tests.
20755 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20759 in version GLIBC_2.1, not GLIBC_2.0.
20760 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20763 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20766 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20769 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20770 * math/libm-test.inc (acos_test): Add more tests.
20771 (asin_test): Likewise.
20772 * sysdeps/i386/fpu/libm-test-ulps: Update.
20773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20776 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20778 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20779 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20780 * math/libm-test.inc (acos_test_tonearest): New function.
20781 (acos_test_towardzero): Likewise.
20782 (acos_test_downward): Likewise.
20783 (acos_test_upward): Likewise.
20784 (asin_test_tonearest): Likewise.
20785 (asin_test_towardzero): Likewise.
20786 (asin_test_downward): Likewise.
20787 (asin_test_upward): Likewise.
20788 (main): Call the new functions.
20789 * sysdeps/i386/fpu/libm-test-ulps: Update.
20790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20794 * math/e_exp10.c: Include <float.h>.
20795 (__ieee754_exp10): Handle underflow here rather than multiplying
20796 large negative argument by M_LN10.
20797 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20799 * math/e_exp10l.c: Include <float.h>.
20800 (__ieee754_exp10l): Handle underflow here rather than multiplying
20801 large negative argument by M_LN10l.
20802 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20803 spurious overflow exception on underflow.
20805 2012-04-29 Marek Polacek <polacek@redhat.com>
20807 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20808 (__fortify_function): New macro.
20809 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20810 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20811 __extern_always_inline.
20812 * libio/bits/stdio2.h: Likewise.
20813 * libio/bits/stdio.h: Likewise.
20814 * string/string.h: Likewise.
20815 * string/bits/string3.h: Likewise.
20816 * include/stdio.h: Likewise.
20817 * stdlib/bits/stdlib.h: Likewise.
20818 * stdlib/stdlib.h: Likewise.
20819 * rt/bits/mqueue2.h: Likewise.
20820 * rt/mqueue.h: Likewise.
20821 * posix/bits/unistd.h: Likewise.
20822 * posix/unistd.h: Likewise.
20823 * io/bits/poll2.h: Likewise.
20824 * io/bits/fcntl2.h: Likewise.
20825 * io/fcntl.h: Likewise.
20826 * io/sys/poll.h: Likewise.
20827 * misc/bits/syslog.h: Likewise.
20828 * misc/bits/syslog-ldbl.h: Likewise.
20829 * misc/sys/syslog.h: Likewise.
20830 * socket/bits/socket2.h: Likewise.
20831 * socket/sys/socket.h: Likewise.
20832 * debug/tst-chk1.c: Likewise.
20833 * wcsmbs/bits/wchar2.h: Likewise.
20834 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20835 * wcsmbs/wchar.h: Likewise.
20837 2012-04-29 Andreas Jaeger <aj@suse.de>
20839 * Makerules (tests): Remove enable-check-abi protection.
20840 (check-abi-warn): Remove.
20841 (check-abi-%): Remove check-abi-warn usage.
20843 * configure.in: Remove check-abi configure option.
20844 * configure: Regenerated.
20845 * config.make.in (enable-check-abi): Remove.
20847 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20850 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20851 double functions to double *_finite functions.
20854 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20855 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20857 * stdio-common/Makefile (tests): Add tst-sprintf3.
20858 * stdio-common/tst-sprintf3.c: New file.
20860 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20861 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20863 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20865 * conform/conformtest.pl: Remove duplicate typed-constant
20868 2012-04-28 David S. Miller <davem@davemloft.net>
20870 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20871 (check-abi-%): Remove AWK script prerequisite and explicit
20873 (check-abi): Rewrite to just diff the symlist with the abilist.
20874 (config-tls, config-abi-config): Delete, no longer used.
20875 (update-abi-%): Remove AWK script and explicit abilist directory.
20876 (update-abi): Rewrite to simply compare and conditionally copy the
20877 symlist and the sysdep abilist file. Remove update-abi-config
20879 * abilist/ld.abilist: Remove.
20880 * abilist/libBrokenLocale.abilist: Remove.
20881 * abilist/libanl.abilist: Remove.
20882 * abilist/libcrypt.abilist: Remove.
20883 * abilist/libdl.abilist: Remove.
20884 * abilist/librt.abilist: Remove.
20885 * abilist/libthread_db.abilist: Remove.
20886 * abilist/libutil.abilist: Remove.
20887 * scripts/extract-abilist.awk: Remove.
20888 * scripts/merge-abilist.awk: Remove.
20889 * sysdeps/generic/libcidn.abilist: New file.
20890 * sysdeps/generic/libnss_compat.abilist: New file.
20891 * sysdeps/generic/libnss_db.abilist: New file.
20892 * sysdeps/generic/libnss_dns.abilist: New file.
20893 * sysdeps/generic/libnss_files.abilist: New file.
20894 * sysdeps/generic/libnss_hesiod.abilist: New file.
20895 * sysdeps/generic/libnss_nis.abilist: New file.
20896 * sysdeps/generic/libnss_nisplus.abilist: New file.
20897 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20898 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20899 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20902 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20903 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20904 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20905 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20906 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20907 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20908 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20909 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20911 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20912 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20913 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20914 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20916 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20917 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20918 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20919 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20920 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20921 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20923 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20924 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20925 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21030 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21031 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21032 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21035 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21036 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21037 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21038 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21039 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21040 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21041 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21042 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21043 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21095 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21097 * conform/conformtest.pl: Fix typo in handling typed-constant from
21100 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21102 * README: Cut down references to pre-2.6 Linux kernels and
21103 Linuxthreads. Update lists of configurations in libc and ports
21104 and sort alphabetically. Say "or newer" with Linux kernel version
21107 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21109 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21112 * math/libm-test.inc (logb_test_downward): New test to expose
21113 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21116 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21119 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21121 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21122 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21124 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21126 * sysdeps/unix/i386/brk.S: Remove file.
21127 * sysdeps/unix/i386/dl-brk.S: Likewise.
21128 * sysdeps/unix/i386/pipe.S: Likewise.
21129 * sysdeps/unix/i386/sigreturn.S: Likewise.
21130 * sysdeps/unix/i386/syscall.S: Likewise.
21131 * sysdeps/unix/i386/vfork.S: Likewise.
21132 * sysdeps/unix/i386/wait.S: Likewise.
21134 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21135 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21137 * configure.in (arm*-none*): Do not allow without
21138 --enable-hacker-mode.
21139 (netbsd*): Remove case setting base_os.
21140 (386bsd*): Likewise.
21141 (freebsd*): Likewise.
21144 (sunos*): Likewise.
21145 (ultrix*): Likewise.
21146 (newsos*): Likewise.
21147 (dynix*): Likewise.
21153 (minix*): Likewise.
21154 (irix4*): Likewise.
21155 (irix6*): Likewise.
21156 (solaris[2-9]*): Likewise.
21158 * configure: Regenerated.
21160 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21163 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21164 overflow or cancellation in calculating denominator.
21165 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21167 down expression to avoid unexpected rounding in newer GCCs.
21168 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21170 2012-04-26 David S. Miller <davem@davemloft.net>
21172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21173 long-double compat symbols.
21174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21188 2012-04-25 David S. Miller <davem@davemloft.net>
21190 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21191 HWCAP_* values only after the memory barriers have been defined.
21192 (atomic_full_barrier): Define.
21193 (atomic_read_barrier): Define.
21194 (atomic_write_barrier): Define.
21196 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21198 * shlib-versions: Add libgcc_s version information.
21199 * sysdeps/generic/libgcc_s.h: Remove.
21200 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21202 * sysdeps/gnu/unwind-resume.c: Likewise.
21203 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21205 2012-04-25 David S. Miller <davem@davemloft.net>
21207 * sysdeps/unix/sparc/brk.S: Delete.
21208 * sysdeps/unix/sparc/dl-brk.S: Delete.
21209 * sysdeps/unix/sparc/pipe.S: Delete.
21210 * sysdeps/unix/sparc/sysdep.S: Delete.
21211 * sysdeps/unix/sparc/sysdep.h: Delete.
21212 * sysdeps/unix/sparc/vfork.S: Delete.
21213 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21214 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21216 ret_ERRVAL, r0, r1, MOVE): Define.
21217 (JUMPTARGET): Remove.
21218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21219 sysdeps/unix/sparc/sysdep.h
21220 (ENTRY, END): Remove.
21221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21223 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21225 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21226 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21229 * timezone/README: Update upstream location and email address for
21231 * timezone/zdump.c: Update from tzcode 2012b.
21232 * timezone/zic.c: Likewise.
21234 * configure.in (libc_cv_as_needed): Remove test.
21235 * configure: Regenerated.
21236 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21237 conditional definition.
21238 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21239 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21240 * config.make.in (have-as-needed): Remove variable.
21242 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21243 Paul Pluzhnikov <ppluzhnikov@google.com>
21245 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21248 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21250 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21251 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21252 * sysdeps/sh/strlen.S: Likewise.
21254 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21256 * sysdeps/unix/fork.S: Remove file.
21257 * sysdeps/unix/i386/fork.S: Likewise.
21258 * sysdeps/unix/sparc/fork.S: Likewise.
21260 * sysdeps/unix/system.c: Remove file.
21261 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21263 * sysdeps/unix/getegid.S: Remove file.
21264 * sysdeps/unix/geteuid.S: Likewise.
21266 2012-04-24 Roland McGrath <roland@hack.frob.com>
21268 * scripts/check-localplt.awk: New file.
21269 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21271 * scripts/data/localplt-generic.data: Add a comment.
21273 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21274 NODE when __dir_mkfile failed.
21275 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21276 Reported by Ludovic Courtès <ludo@gnu.org>.
21278 2012-04-24 Andreas Jaeger <aj@suse.de>
21280 * Makerules (common-clean): Also remove gen-as-const-headers
21283 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21285 * Makerules (native-compile): Do not change working directory for
21286 build. Use $(OUTPUT_OPTION) in command.
21287 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21289 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21292 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21293 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21294 * math/libm-test.inc (floor_test): Add more tests.
21295 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21297 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21299 * sysdeps/unix/getdents.c: Remove file.
21300 * sysdeps/unix/sysv/getdents.c: Likewise.
21301 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21303 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21304 sysdeps/unix/mman/syscalls.list.
21306 (mprotect): Likewise.
21308 (munmap): Likewise.
21309 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21310 * sysdeps/unix/mman/syscalls.list: Remove.
21311 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21313 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21314 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21315 * configure: Regenerated.
21316 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21317 $(libgcc_s_suffix).
21318 * config.make.in (libgcc_s_suffix): Remove variable.
21320 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21322 * sysdeps/unix/sysv/gethostname.c: Move to ...
21323 * sysdeps/posix/gethostname.c: ... here.
21325 * sysdeps/unix/execve.S: Remove file.
21327 * sysdeps/unix/_exit.S: Remove file.
21329 2012-04-23 Andreas Jaeger <aj@suse.de>
21332 * manual/Makefile: Remove make dist support, there's no
21333 need for a stand-alone documentation tar ball.
21334 (TEXI2DVI): Define always, it's not in Makeconfig.
21337 (edition): Removed.
21338 (glibc-doc-$(edition).tar): Removed
21342 (ETAGS): Remove, it's in Makeconfig.
21343 (move-if-change): Remove, it's in Makeconfig.
21345 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21348 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21349 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21350 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21351 (strtod_l, strtof_l, strtold_l): Remove __wur.
21352 It is not necessarily an error to ignore strtol's return value.
21353 One can reliably look at the stored endptr to decide whether
21354 the number had valid syntax.
21356 2012-04-21 Andreas Jaeger <aj@suse.de>
21359 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21361 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21363 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21364 * sysdeps/unix/sysv/Versions: Remove file.
21366 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21371 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21375 version from __vm86.
21377 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21379 * sysdeps/unix/common/lxstat.c: Remove file.
21380 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21382 * sysdeps/unix/sysv/Makefile: Remove file.
21384 * sysdeps/unix/sysv/direct.h: Remove file.
21386 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21387 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21388 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21389 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21390 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21391 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21392 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21394 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21396 * sysdeps/unix/xmknod.c: Remove file.
21397 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21399 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21401 * sysdeps/unix/sysv/i386/time.S: Remove file.
21403 * sysdeps/unix/fxstat.c: Remove file.
21404 * sysdeps/unix/xstat.c: Likewise.
21405 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21407 * sysdeps/unix/sysv/sigaction.c: Remove file.
21409 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21410 (sysdep_headers): Remove variable.
21411 [termio.h not in sysdep_headers] (generated): Likewise.
21412 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21413 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21414 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21415 * sysdeps/unix/sysv/tcflow.c: Likewise.
21416 * sysdeps/unix/sysv/tcflush.c: Likewise.
21417 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21418 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21419 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21420 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21421 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21423 * sysdeps/unix/siglist.c: Remove file.
21425 * sysdeps/unix/getppid.S: Remove file.
21427 * sysdeps/unix/mkdir.c: Remove file.
21428 * sysdeps/unix/rmdir.c: Likewise.
21430 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21432 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21434 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21435 errlist-compat value.
21437 2012-04-18 David S. Miller <davem@davemloft.net>
21439 * sysdeps/generic/memcopy.h (reg_char): Delete.
21440 * debug/strcat_chk.c: Use char, not reg_char.
21441 * debug/strcpy_chk.c: Likewise.
21442 * debug/strncat_chk.c: Likewise.
21443 * debug/strncpy_chk.c: Likewise.
21444 * string/memchr.c: Likewise.
21445 * string/memrchr.c: Likewise.
21446 * string/rawmemchr.c: Likewise.
21447 * string/strcat.c: Likewise.
21448 * string/strchr.c: Likewise.
21449 * string/strchrnul.c: Likewise.
21450 * string/strcmp.c: Likewise.
21451 * string/strcpy.c: Likewise.
21452 * string/strncat.c: Likewise.
21453 * string/strncmp.c: Likewise.
21454 * string/strncpy.c: Likewise.
21456 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21458 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21459 __builtin_memcopy is called when src and dest ranges are known to not
21462 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21464 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21465 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21466 fwd_align_merge macro call.
21467 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21468 bwd_align_merge macro call.
21469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21471 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21474 bwd_align_merge macros.
21475 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21476 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21477 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21479 2012-04-18 David S. Miller <davem@davemloft.net>
21481 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21483 2012-04-18 Andreas Jaeger <aj@suse.de>
21486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21487 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21488 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21490 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21491 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21492 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21494 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21495 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21496 Adjust for changed ldbl-128 files.
21498 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21499 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21502 2012-04-17 David S. Miller <davem@davemloft.net>
21504 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21506 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21508 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21509 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21510 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21511 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21512 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21513 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21515 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21518 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21519 * math/libm-test.inc: Add ilogb errno and exception tests.
21520 * math/w_ilogb.c: New file: ilogb wrapper.
21521 * math/w_ilogbf.c: New file: ilogbf wrapper.
21522 * math/w_ilogbl.c: New file: ilogbl wrapper.
21523 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21524 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21525 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21526 exception being thrown with 0.0 as argument.
21527 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21528 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21529 exception being thrown with 0.0 as argument.
21530 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21531 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21532 exception being thrown with 0.0 as argument.
21533 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21534 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21535 exception being thrown with 0.0 as argument.
21536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21537 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21538 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21539 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21540 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21541 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21542 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21543 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21544 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21546 2012-04-17 Petr Baudis <pasky@ucw.cz>
21548 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21551 2012-04-16 Marek Polacek <polacek@redhat.com>
21553 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21555 2012-04-16 Marek Polacek <polacek@redhat.com>
21557 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21558 operands of fdivp instruction.
21560 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21562 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21563 * elf/tst-auditmod3b.c: Likewise.
21564 * elf/tst-auditmod4b.c: Likewise.
21565 * elf/tst-auditmod5b.c: Likewise.
21566 * elf/tst-auditmod6b.c: Likewise.
21567 * elf/tst-auditmod6c.c: Likewise.
21568 * elf/tst-auditmod7b.c: Likewise.
21569 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21570 * sysdeps/x86_64/preconfigure.in: Likewise.
21571 * sysdeps/x86_64/preconfigure: Regenerated.
21573 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21575 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21578 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21581 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21583 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21586 * locale/iso-639.def: Fix gl language name. Spotted by
21589 2012-04-12 Roland McGrath <roland@hack.frob.com>
21592 * libio/libio.h (__io_write_fn): Update comment.
21594 2012-04-12 Petr Baudis <pasky@ucw.cz>
21597 * stdio.texi (Hook Functions): The user provided writer function
21598 is not allowed to return -1.
21600 2012-04-11 David S. Miller <davem@davemloft.net>
21602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21604 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21606 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21607 Add a leading slash to rtkaio.
21609 2012-04-11 Jim Meyering <meyering@redhat.com>
21612 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21613 It is not necessarily an error to ignore fwrite's return
21614 value. One can reliably use ferror to test for errors after
21617 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21619 * bits/types.h (__snseconds_t): New type.
21620 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21622 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21624 (__SNSECONDS_T_TYPE): Likewise.
21625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21626 (__SNSECONDS_T_TYPE): Likewise.
21627 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21628 (__SNSECONDS_T_TYPE): Likewise.
21630 2012-04-10 Andreas Jaeger <aj@suse.de>
21633 * manual/time.texi (Processor Time): Return type of times is
21634 elapsed real time since an arbitrary point in the past.
21635 (CPU Time): Move CLK_TCK from here...
21636 (Processor Time): ...to here. Correct description.
21637 * manual/conf.texi (Constants for Sysconf): Correct description of
21640 2012-04-10 David S. Miller <davem@davemloft.net>
21643 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21644 where the is a gap between DT_REL(A) and DT_JMPREL.
21646 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21648 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21649 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21650 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21652 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21654 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21655 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21656 (dl_main): Handle --inhibit-cache.
21657 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21659 * elf/dl-load.c (_dl_map_object): Use it.
21660 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21662 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21665 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21666 (__ieee754_powl): Saturate large exponents rather than testing for
21667 overflow of y*log2(x).
21668 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21669 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21673 * math/s_ctan.c: Include <float.h>.
21674 (__ctan): Avoid internal overflow or cancellation in calculating
21676 * math/s_ctanf.c: Likewise.
21677 * math/s_ctanl.c: Likewise.
21678 * math/s_ctanh.c: Likewise.
21679 * math/s_ctanhf.c: Likewise.
21680 * math/s_ctanhl.c: Likewise.
21681 * math/libm-test.inc (ctan_test): Add more tests.
21682 (ctanh_test): Likewise.
21683 * sysdeps/i386/fpu/libm-test-ulps: Update.
21684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21686 2012-04-09 Andreas Jaeger <aj@suse.de>
21689 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21690 is an optional BSD extension.
21693 * manual/stdio.texi (Opening Streams): Document additional fopen
21696 2012-04-09 Roland McGrath <roland@hack.frob.com>
21698 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21699 %eax without telling the compiler.
21701 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21704 * manual/install.texi: Use sourceware.org.
21706 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21709 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21710 (__ieee754_pow): Generate overflow and underflow using huge*huge
21711 and tiny*tiny rather than just returning constant infinity or zero
21712 for large exponents.
21713 * math/libm-test.inc (pow_test): Require overflow exceptions for
21714 applicable cases of large exponents.
21717 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21718 (__ieee754_pow): Use iterative multiplication algorithm only for
21719 integer exponents with absolute value below 1024. Check for odd
21720 integer exponents when using algorithm for real exponents.
21721 * math/libm-test.inc (pow_test): Add more tests.
21722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21724 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21727 * math/libm-test.inc (exp_test): Do not allow overflow exception
21730 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21733 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21734 instead of __kernel_standard_f.
21736 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21738 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21739 * sysdeps/x86_64/memset_chk.S: Likewise.
21741 2012-04-08 Andreas Jaeger <aj@suse.de>
21744 * manual/startup.texi (Environment Access): Describe return value
21745 for putenv and setenv.
21748 * manual/filesys.texi (Directory Entries): Add description for
21752 * manual/filesys.texi (Directory Entries): Clarify that it's file
21753 system not operating system in the description of DT_UNKNOWN.
21756 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21758 2012-04-08 Stephen Compall <s11@member.fsf.org>
21761 * manual/llio.texi (Opening and Closing Files): Add cross
21762 reference to explain mode argument.
21764 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21766 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21767 * sysdeps/x86_64/memset_chk.S: Likewise.
21769 2012-04-07 David S. Miller <davem@davemloft.net>
21771 * elf/elf.h (R_SPARC_WDISP10): Define.
21772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21775 R_SPARC_SIZE64 and R_SPARC_H34.
21777 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21780 conditions and remove no longer applicable assertion.
21782 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21784 * bits/byteswap.h: Include <features.h>.
21785 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21786 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21788 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21790 * bits/byteswap.h (__bswap_16): Removed.
21791 Include <bits/byteswap-16.h> to get __bswap_16.
21792 * sysdeps/i386/bits/byteswap.h: Likewise.
21793 * sysdeps/s390/bits/byteswap.h: Likewise.
21794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21795 * bits/byteswap-16.h: New file.
21796 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21797 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21798 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21799 * string/Makefile (headers): Add bits/byteswap-16.h.
21801 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21804 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21806 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21807 * nss/tst-nss-static.c: New.
21809 2012-04-06 Robert Millan <rmh@gnu.org>
21812 * manual/llio.texi (File Position Primitive): lseek
21813 refers to WHENCE when it really means OFFSET.
21815 2012-04-06 Andreas Jaeger <aj@suse.de>
21817 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21818 strncmp declarations.
21820 * abilist/libc.abilist: Add __poll and __ppoll.
21822 2012-04-05 David S. Miller <davem@davemloft.net>
21824 * scripts/check-local-headers.sh: Accept a host triplet in the
21825 path matched by the exclude regexp.
21827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21829 * sysdeps/powerpc/powerpc32/dl-machine.h
21830 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21831 * sysdeps/s390/s390-32/dl-machine.h
21832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21833 * sysdeps/sparc/sparc32/dl-machine.h
21834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21835 * sysdeps/sparc/sparc64/dl-machine.h
21836 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21838 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21840 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21841 undefined symbol errors.
21843 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21846 2012-04-05 Michael Matz <matz@suse.de>
21849 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21851 2012-04-05 Andreas Jaeger <aj@suse.de>
21854 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21857 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21860 which ROUND is no valid rounding mode.
21862 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21866 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21868 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21871 an exception using FPU order intentionally.
21873 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21875 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21876 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21877 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21878 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21880 2012-04-05 Simon Josefsson <simon@josefsson.org>
21883 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21884 EINVAL when BUFLEN is too smal.
21886 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21889 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21890 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21892 2012-04-03 Andreas Jaeger <aj@suse.de>
21895 * manual/setjmp.texi (System V contexts): Fix sentence.
21898 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21899 New macro for this case.
21900 [!__GNUC__] (__bswap_64): New inline function for this case.
21901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21902 * bits/byteswap.h: Likewise.
21903 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21904 ull, guard with __GLIBC_HAVE_LONG_LONG.
21906 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21907 __GLIBC_HAVE_LONG_LONG.
21909 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21910 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21912 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21915 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21916 inptr and inend, rather than using last_ch.
21918 2012-04-02 David S. Miller <davem@davemloft.net>
21920 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21921 * stdio-common/printf-parse.h (read_int): Change return type to
21922 'int', return -1 on INT_MAX overflow.
21923 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21924 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21925 overflows INT_MAX. Check for overflow of in-format-string precision
21926 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21927 SIZE_MAX not INT_MAX for integer overflow test.
21928 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21929 skip the construct in the format string but do not record anything.
21930 * stdio-common/bug22.c: Adjust to test both width/prevision
21931 INT_MAX overflow as well as total length INT_MAX overflow. Check
21932 explicitly for proper errno values.
21934 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21936 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21938 * string/test-strcmp.c [! WIDE]: Likewise.
21939 * time/tst-mktime2.c: Likewise for INT_MAX.
21940 * string/test-string.h: #include <sys/param.h> for MIN.
21942 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21943 * sysdeps/i386/init-first.c (init): Likewise.
21944 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21945 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21946 * sysdeps/sh/init-first.c (init): Likewise.
21948 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21950 * po/ru.po: Update from translation team.
21951 * po/vi.po: Likewise.
21953 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21955 * resolv/nss_dns/dns-host.c: Merge copyright years.
21957 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21959 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21960 Optimize memcpy with prefetch if
21961 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21962 src, dst pointers have unequal 16 byte alignments.
21964 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21967 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21968 from a CNAME entry and return the minimum ttl for the query.
21969 (gaih_getanswer_slice): Likewise.
21971 2012-03-30 Jeff Law <law@redhat.com>
21973 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21975 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21976 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21978 * resolv/nss_dns/dns-host.c: Update copyright year.
21980 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21982 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21983 requests to save a system call. Fix check that all bytes are sent.
21985 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21986 comments for sendmmsg.
21988 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21992 with only 1 character between 0x0041 and 0x01b0.
21993 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21994 * wcsmbs/tst-mbsnrtowcs.c: New file.
21996 2012-03-29 David S. Miller <davem@davemloft.net>
21998 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21999 small copies by hand.
22001 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22004 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22005 _nss_compat_initgroups_dyn): Fall back to malloc/free
22006 for large group memberships.
22008 2012-03-28 David S. Miller <davem@davemloft.net>
22010 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22011 that branches into memcpy.
22012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22015 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22018 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22019 implementation too.
22020 * sysdeps/sparc/mempcpy.S: New file.
22022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22023 the IFUNC routine in the libc case.
22024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22026 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22027 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22028 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22029 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22030 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22031 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22032 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22033 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22035 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22036 loop to 256 bytes instead of 64 bytes and fix test signedness.
22038 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22039 * sysdeps/sparc/sparc32/Makefile: rather than here...
22040 * sysdeps/sparc/sparc64/Makefile: and here.
22042 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22044 * malloc/mallocbug.c: Avoid warnings about unused variables.
22046 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22049 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22050 in the right place. Discard and retry query if response is
22051 larger than input buffer size.
22053 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22059 x for large integer exponent.
22060 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22061 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22062 sign of result as needed afterwards.
22063 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22064 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22065 result for underflowing pow the same as for overflow.
22066 (__kernel_standard_l): Handle powl overflow and underflow here
22067 rather than calling __kernel_standard.
22068 * math/libm-test.inc (pow_test): Add more tests.
22083 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22084 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22085 (__kernel_standard_l): New function.
22086 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22088 * math/w_acosl.c (__acosl): Likewise.
22089 * math/w_asinl.c (__asinl): Likewise.
22090 * math/w_atan2l.c (__atan2l): Likewise.
22091 * math/w_atanhl.c (__atanhl): Likewise.
22092 * math/w_coshl.c (__coshl): Likewise.
22093 * math/w_exp10l.c (__exp10l): Likewise.
22094 * math/w_exp2l.c (__exp2l): Likewise.
22095 * math/w_fmodl.c (__fmodl): Likewise.
22096 * math/w_hypotl.c (__hypotl): Likewise.
22097 * math/w_j0l.c (__j0l, __y0l): Likewise.
22098 * math/w_j1l.c (__j1l, __y1l): Likewise.
22099 * math/w_jnl.c (__jnl, __ynl): Likewise.
22100 * math/w_lgammal.c (__lgammal): Likewise.
22101 * math/w_log10l.c (__log10l): Likewise.
22102 * math/w_log2l.c (__log2l): Likewise.
22103 * math/w_logl.c (__logl): Likewise.
22104 * math/w_powl.c (__powl): Likewise.
22105 * math/w_remainderl.c (__remainderl): Likewise.
22106 * math/w_scalbl.c (sysv_scalbl): Likewise.
22107 * math/w_sinhl.c (__sinhl): Likewise.
22108 * math/w_sqrtl.c (__sqrtl): Likewise.
22109 * math/w_tgammal.c (__tgammal): Likewise.
22110 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22111 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22112 * math/libm-test.inc (acos_test): Add more tests.
22113 (acosh_test): Likewise.
22114 (asin_test): Likewise.
22115 (atanh_test): Likewise.
22116 (exp_test): Likewise.
22117 (exp10_test): Likewise.
22118 (exp2_test): Likewise.
22119 (expm1_test): Likewise.
22120 (lgamma_test): Likewise.
22121 (log_test): Likewise.
22122 (log10_test): Likewise.
22123 (log1p_test): Likewise.
22124 (log2_test): Likewise.
22125 (pow_test): Do not allow some spurious overflow exceptions.
22126 (sqrt_test): Add more tests.
22127 (tgamma_test): Likewise.
22128 (y0_test): Likewise.
22129 (y1_test): Likewise.
22130 (yn_test): Likewise.
22132 2012-03-27 Anton Blanchard <anton@samba.org>
22134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22140 2012-03-27 David S. Miller <davem@davemloft.net>
22142 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22145 have-as-vis3 check.
22147 2012-03-27 Andreas Jaeger <aj@suse.de>
22149 * sysdeps/x86_64/elf/configure.in: Moved to ...
22150 * sysdeps/x86_64/configure.in: ... here.
22151 * sysdeps/x86_64/elf/start.S: Moved to ...
22152 * sysdeps/x86_64/start.S: ... here.
22153 * sysdeps/x86_64/elf/configure: Delete.
22155 * sysdeps/x86_64/configure.in: Merge contents from
22156 sysdeps/i386/configure.in (without i686 check).
22158 * sysdeps/i386/elf/Versions: Merge into ...
22159 * sysdeps/i386/Versions: ... this.
22160 * sysdeps/i386/elf/Versions: Delete file.
22161 * sysdeps/i386/elf/start.S: Moved to ...
22162 * sysdeps/i386/start.S: ...here.
22163 * sysdeps/i386/elf/configure.in: Merge into...
22164 * sysdeps/i386/configure.in: ...here.
22165 * sysdeps/i386/elf/configure.in: Delete file.
22166 * sysdeps/i386/elf/configure: Delete file.
22168 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22169 * debug/backtracesyms.c: ... here.
22170 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22171 * debug/backtracesymsfd.c: ... here.
22172 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22173 * sysdeps/generic/ifunc-sel.h: ... here.
22175 * sysdeps/unix/i386/start.c: Delete file.
22176 * sysdeps/unix/sparc/start.c: Delete file.
22177 * sysdeps/unix/start.c: Delete file.
22179 * sysdeps/sh/elf/configure.in: Moved to ...
22180 * sysdeps/sh/configure.in: ... here.
22181 * sysdeps/sh/elf/start.S: Moved to ...
22182 * sysdeps/sh/start.S: ... here.
22183 * sysdeps/sh/elf/configure: Delete file.
22185 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22186 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22187 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22188 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22189 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22190 * sysdeps/powerpc/powerpc64/start.S: here.
22191 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22192 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22193 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22194 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22195 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22197 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22198 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22199 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22200 * sysdeps/powerpc/powerpc32/start.S: ... here.
22201 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22202 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22203 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22205 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22206 * sysdeps/powerpc/ifunc-sel.h: ... here.
22207 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22208 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22210 * sysdeps/sparc/elf/configure.in: Moved to ...
22211 * sysdeps/sparc/configure.in: ... here.
22212 * sysdeps/sparc/elf/configure: Delete file.
22213 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22214 * sysdeps/sparc/sparc32/start.S: ... here.
22215 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22216 * sysdeps/sparc/sparc64/start.S: ... here.
22217 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22218 * sysdeps/sparc/sparc32/Makefile: ... this.
22219 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22220 * sysdeps/sparc/sparc64/Makefile: ... this.
22222 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22223 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22224 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22225 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22226 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22227 * sysdeps/s390/s390-32/setjmp.S: ... here.
22228 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22229 * sysdeps/s390/s390-32/configure.in: ... here.
22230 * sysdeps/s390/s390-32/elf/configure: Delete file.
22231 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22232 * sysdeps/s390/s390-32/start.S: ... here.
22234 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22235 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22236 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22237 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22238 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22239 * sysdeps/s390/s390-64/setjmp.S: ... here.
22240 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22241 * sysdeps/s390/s390-64/configure.in: ... here
22242 * sysdeps/s390/s390-64/elf/configure: Delete file.
22243 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22244 * sysdeps/s390/s390-64/start.S: ... here.
22245 * sysdeps/s390/s390-64/elf/configure: Delete.
22247 * configure.in: Remove support for elf directories in sysdeps.
22249 * configure: Regenerated.
22250 * sysdeps/i386/configure: Regenerated.
22251 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22252 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22253 * sysdeps/s390/s390-32/configure: Regenerated.
22254 * sysdeps/s390/s390-64/configure: Regenerated.
22255 * sysdeps/sh/configure: Regenerated.
22256 * sysdeps/sparc/configure: Regenerated.
22257 * sysdeps/x86_64/configure: Regenerated.
22259 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22264 denormal result into account.
22266 2012-03-25 Roland McGrath <roland@hack.frob.com>
22268 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22269 Reported by Allan McRae <allan@archlinux.org>.
22271 2012-03-23 Jeff Law <law@redhat.com>
22273 * nss/getnssent.c (__nss_getent): Fix typo.
22275 2012-03-23 David S. Miller <davem@davemloft.net>
22277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22279 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22281 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22282 to pad to uint64_t for each field.
22283 (dl_tls_index): Replace unsigned long with uint64_t.
22285 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22286 Paul Pluzhnikov <ppluzhnikov@google.com>
22289 * grp/Makefile (otherlibs): Don't set it.
22290 * inet/Makefile (otherlibs): Likewise.
22291 * login/Makefile (otherlibs): Likewise.
22292 * nscd/Makefile (otherlibs): Likewise.
22293 * posix/Makefile (otherlibs): Likewise.
22294 * pwd/Makefile (otherlibs): Likewise.
22295 * rt/Makefile (otherlibs): Likewise.
22296 * sunrpc/Makefile (otherlibs): Likewise.
22297 * nss/Makefile (otherlibs): Likewise.
22298 Add libnss_files to routines and static-only-routines.
22299 ($(objpfx)getent): Remove rule.
22300 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22301 static-only-routines.
22303 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22306 * math/s_cexp.c: Include <float.h>.
22307 (__cexp): Handle exp result overflowing not necessarily
22308 overflowing both real and imaginary parts of result.
22309 * math/s_cexpf.c: Likewise.
22310 * math/s_cexpl.c: Likewise.
22311 * math/libm-test.inc (cexp_test): Add more tests.
22312 * sysdeps/i386/fpu/libm-test-ulps: Update.
22313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22317 * include/link.h (ELFW): New macro.
22318 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22319 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22321 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22323 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22326 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22328 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22330 (struct La_x32_retval): Likewise.
22332 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22334 * sysdeps/x86_64/preconfigure.in: New file.
22335 * sysdeps/x86_64/preconfigure: New generated file.
22337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22340 * math/e_exp2l.c: Include <float.h>.
22341 (__ieee754_exp2l): Handle overflow and underflow cases
22342 separately. Only pass fractional part of argument to
22344 * math/libm-test.inc (exp2_test): Add more tests.
22346 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22347 negating x to take absolute value.
22348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22354 computing low part if x was negated.
22355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22357 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22359 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22360 la_x32_gnu_pltexit.
22361 (pltexit): Cast int_retval to ptrdiff_t.
22362 * elf/tst-auditmod3b.c: Likewise.
22363 * elf/tst-auditmod4b.c: Likewise.
22364 * elf/tst-auditmod5b.c: Likewise.
22365 * elf/tst-auditmod6b.c: Likewise.
22366 * elf/tst-auditmod6c.c: Likewise.
22367 * elf/tst-auditmod7b.c: Likewise.
22369 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22370 and x32_gnu_pltexit.
22372 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22373 __ELF_NATIVE_CLASS.
22374 (La_x32_regs): New macro.
22375 (La_x32_retval): Likewise.
22376 (la_x32_gnu_pltenter): New function prototype.
22377 (la_x32_gnu_pltexit): Likewise.
22379 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22386 * configure.in (libc_cv_cc_nofma): Check for option to disable
22387 generation of FMA instructions.
22388 * configure: Regenerate.
22389 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22390 * sysdeps/ieee754/dbl-64/Makefile: New file.
22391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22392 Remove brandred-fma4.
22393 (CFLAGS-brandred-fma4.c): Remove.
22394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22400 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22402 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22403 LLONG_MAX != LONG_MAX.
22404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22405 (_fitoa_word): Likewise.
22406 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22407 LLONG_MAX != LONG_MAX.
22408 * stdio-common/_itowa.h: Include <_itoa.h>.
22409 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22410 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22411 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22412 only if not defined.
22413 (_ITOA_WORD_TYPE): Likewise.
22414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22415 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22417 2012-03-21 David S. Miller <davem@davemloft.net>
22419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22421 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22423 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22424 of x86_64 when setting libc_cv_slibdir, libdir and
22426 * sysdeps/unix/sysv/linux/configure: Regenerated.
22428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22430 * manual/lang.texi (Old Varargs): Remove section.
22431 (How Variadic): Update menu.
22432 (va_start): Do not mention varargs.h.
22434 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22435 Joseph Myers <joseph@codesourcery.com>
22437 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22439 * configure: Regenerated.
22441 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22443 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22444 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22447 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22450 * Makefile (files-for-dist): Remove NOTES.
22451 (NOTES): Remove rule.
22452 * README: Don't refer to NOTES.
22453 * manual/creature.texi: Don't include macros.texi.
22454 * manual/intro.texi (creature.texi): Remove comment referring to
22457 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22458 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22459 * configure: Regenerated.
22460 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22461 LIBC_TRY_CC_OPTION.
22462 (libc_cv_as_i686): Likewise.
22463 (libc_cv_cc_avx): Likewise.
22464 (libc_cv_cc_sse2avx): Likewise.
22465 (libc_cv_cc_fma4): Likewise.
22466 (libc_cv_cc_novzeroupper): Likewise.
22467 * sysdeps/i386/configure: Regenerated.
22470 * sysdeps/i386/fpu/s_cexp.S: Remove.
22471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22472 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22473 * math/libm-test.inc (cexp_test): Add more tests.
22474 * sysdeps/i386/fpu/libm-test-ulps: Update.
22475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22477 2012-03-21 Allan McRae <allan@archlinux.org>
22479 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22484 * math/w_exp2.c: Do not include <float.h>.
22485 (o_threshold, u_threshold): Remove.
22486 (__exp2): Calculate result before checking finiteness and calling
22488 * math/w_exp2f.c: Likewise.
22489 * math/w_exp2l.c: Likewise.
22490 * math/libm-test.inc (exp2_test): Require overflow exception for
22494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22495 range of signed 64-bit integers before using fistpll. Remove
22496 checks for whether integers fit in mantissa bits.
22497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22498 the range of signed 32-bit integers before using fistpl. Remove
22499 checks for whether integers fit in mantissa bits.
22500 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22501 (__ieee754_powl): Test for y outside the range of signed 64-bit
22502 integers before using fistpll. Reduce 64-bit values to 63-bit
22504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22505 divide-by-zero is raised for zero to large negative powers.
22506 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22507 (__ieee754_powl): Test for y outside the range of signed 64-bit
22508 integers before using fistpll. Reduce 64-bit values to 63-bit
22510 * math/libm-test.inc (pow_test): Add more tests.
22512 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22514 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22515 <stdio-common/_itoa.h>.
22516 * debug/segfault.c: Likewise.
22517 * elf/dl-cache.c: Likewise.
22518 * elf/dl-minimal.c: Likewise.
22519 * elf/dl-misc.c: Likewise.
22520 * elf/dl-sysdep.c: Likewise.
22521 * elf/dl-version.c: Likewise.
22522 * elf/rtld.c: Likewise.
22523 * hurd/hurdsock.c: Likewise.
22524 * hurd/lookup-retry.c: Likewise.
22525 * malloc/malloc.c: Likewise.
22526 * malloc/mtrace.c: Likewise.
22527 * nscd/nscd_getgr_r.c: Likewise.
22528 * nscd/nscd_getpw_r.c: Likewise.
22529 * nscd/nscd_getserv_r.c: Likewise.
22530 * posix/getopt_init.c: Likewise.
22531 * posix/wordexp.c: Likewise.
22532 * stdio-common/_itoa.c: Likewise.
22533 * stdio-common/printf_fphex.c: Likewise.
22534 * stdio-common/vfprintf.c: Likewise.
22535 * string/_strerror.c: Likewise.
22536 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22537 * sysdeps/i386/i686/hp-timing.h: Likewise.
22538 * sysdeps/mach/_strerror.c: Likewise.
22539 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22540 * sysdeps/mach/hurd/sethostid.c: Likewise.
22541 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22542 * sysdeps/mach/xpg-strerror.c: Likewise.
22543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22545 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22546 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22548 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22552 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22553 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22554 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22555 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22561 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22562 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22563 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22565 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22567 * stdio-common/_itoa.h: Moved to ...
22568 * sysdeps/generic/_itoa.h: Here.
22570 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22572 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22573 instead of "_itoa.h" and "_itowa.h".
22574 * stdio-common/vfprintf.: Likewise.
22576 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22580 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22581 (__signbit): Likwise.
22582 (llrintf): Likwise.
22585 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22587 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22590 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22592 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22593 OVERFLOW_EXCEPTION_OK.
22594 * math/libm-test.inc ("Philosophy"): Update comment about
22596 (OVERFLOW_EXCEPTION): Define.
22597 (OVERFLOW_EXCEPTION_OK): Likewise.
22598 (INVALID_EXCEPTION_OK): Renumber.
22599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22600 (IGNORE_ZERO_INF_SIGN): Likewise.
22601 (test_exceptions): Handle FE_OVERFLOW.
22602 (exp10_test): Expect overflow exceptions.
22603 (exp2_test): Likewise.
22604 (expm1_test): Likewise.
22605 (nextafter_test): Likewise.
22606 (pow_test): Likewise.
22607 (scalbn_test): Likewise.
22608 (scalbln_test): Likewise.
22610 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22612 * sysdeps/x86_64/bits/atomic.h
22613 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22615 (atomic_exchange_acq): Likewise.
22616 (__arch_exchange_and_add_body): Likewise.
22617 (__arch_add_body): Likewise.
22618 (atomic_add_negative): Likewise.
22619 (atomic_add_zero): Likewise.
22621 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22623 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22624 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22626 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22628 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22629 Check __x86_64__ instead of __WORDSIZE.
22631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22633 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22635 2012-03-19 David S. Miller <davem@davemloft.net>
22637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22639 * sysdeps/sparc/fpu/fenv_private.h: New file.
22640 * sysdeps/sparc/fpu/math_private.h: Use it.
22641 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22644 (libc_feholdexcept_setroundl): Remove.
22645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22652 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22653 int64_t instead of long int.
22654 (INSERT_WORDS64): Likwise.
22656 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22658 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22659 _Unwind_GetCFA return to _Unwind_Ptr first.
22661 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22664 * math/s_clog.c: Include <float.h>.
22665 (__clog): Scale large or subnormal inputs.
22666 * math/s_clogf.c: Likewise.
22667 * math/s_clogl.c: Likewise.
22668 * math/s_clog10.c: Include <float.h>.
22669 (M_LOG10_2): Define.
22670 (__clog10): Scale large or subnormal inputs.
22671 * math/s_clog10f.c: Likewise.
22672 * math/s_clog10l.c: Likewise.
22673 * math/libm-test.inc (clog_test): Add more tests.
22674 (clog10_test): Likewise.
22675 * sysdeps/i386/fpu/libm-test-ulps: Update.
22676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22681 * math/libm-test.inc (atan2_test): Add another test.
22683 * Makerules (common-objdir-compile): Remove.
22684 * sysdeps/unix/Makefile (config-generated): Do not add
22685 $(unix-generated) to variable.
22686 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22687 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22689 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22691 [generic bits/local_lim.h] (before-compile): Do not append to
22693 [generic bits/local_lim.h] (common-generated): Likewise.
22694 [generic sys/param.h] (before-compile): Do not append to variable.
22695 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22696 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22700 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22701 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22702 [generic sys/param.h] ($(addprefix
22703 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22704 [generic sys/param.h] (common-generated): Do not append to
22706 [generic sys/param.h] (sysdep_headers): Likewise.
22707 [generic bits/errno.h] (before-compile): Do not append to
22709 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22711 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22712 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22713 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22714 [generic bits/errno.h] (common-generated): Do not append to
22716 [generic bits/ioctls.h] (before-compile): Do not append to
22718 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22720 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22721 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22725 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22726 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22727 [generic bits/ioctls.h] (common-generated): Do not append to
22729 [generic sys/syscall.h] (syscall.h): Remove variable.
22730 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22732 [generic sys/syscall.h] (before-compile): Do not append to
22734 [generic sys/syscall.h] (common-generated): Likewise.
22735 * sysdeps/unix/errnos-tmpl.c: Remove file.
22736 * sysdeps/unix/errnos.awk: Likewise.
22737 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22738 * sysdeps/unix/ioctls.awk: Likewise.
22739 * sysdeps/unix/mk-local_lim.c: Likewise.
22740 * sysdeps/unix/snarf-ioctls: Likewise.
22742 2012-03-19 Richard Henderson <rth@twiddle.net>
22744 * sysdeps/i386/fpu/fenv_private.h: New file.
22745 * sysdeps/i386/fpu/math_private.h: Use it.
22746 (math_opt_barrier, math_force_eval): Remove.
22747 (libc_feholdexcept_setround_53bit): Remove.
22748 (libc_feupdateenv_53bit): Remove.
22749 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22750 (math_opt_barrier, math_force_eval): Remove.
22751 (libc_feholdexcept): Remove.
22752 (libc_feholdexcept_setround): Remove.
22753 (libc_fetestexcept, libc_fesetenv): Remove.
22754 (libc_feupdateenv_test): Remove.
22755 (libc_feupdateenv, libc_feholdsetround): Remove.
22756 (libc_feresetround): Remove.
22758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22759 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22761 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22762 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22763 (libc_feupdateenv_testl): New.
22764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22765 (libc_feupdateenv_testf): New.
22766 (libc_feupdateenv): Use libc_feupdateenv_test.
22767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22768 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22770 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22771 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22772 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22773 (libc_feresetround_noex): New.
22774 (libc_feresetround_noexf): New.
22775 (libc_feresetround_noexl): New.
22776 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22777 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22778 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22779 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22784 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22786 SET_RESTORE_ROUND_NOEX.
22787 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22788 SET_RESTORE_ROUND_NOEXF.
22789 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22790 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22791 (libc_feholdsetroundf): New.
22792 (libc_feresetround, libc_feresetroundf): New.
22794 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22795 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22796 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22798 * sysdeps/generic/math_private.h: Include <fenv.h>.
22799 (default_libc_feholdexcept): New.
22800 (default_libc_feholdexcept_setround): New.
22801 (default_libc_fesetenv, default_libc_feupdateenv): New.
22802 (libc_feholdexcept): Only define if undefined.
22803 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22805 (libc_feholdexcept_setroundl): Likewise.
22806 (libc_feholdexcept_setround_53bit): Likewise.
22807 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22810 (libc_feupdateenv_53bit): Likewise.
22811 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22812 (libc_feholdexcept): Convert from macro to inline function.
22813 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22814 (libc_fesetenv, libc_feupdateenv): Likewise.
22816 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22817 not previously defined.
22818 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22819 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22820 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22821 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22822 * sysdeps/ieee754/flt-32/math_private.h: New file.
22823 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22824 math_private.h below SET_FLOAT_WORD.
22825 (__isnan, __isinf_ns, __finite): Remove.
22826 (__isnanf, __isinf_nsf, __finitef): Remove.
22828 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22832 2012-03-17 David S. Miller <davem@davemloft.net>
22835 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22838 2012-03-16 David S. Miller <davem@davemloft.net>
22840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22846 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22847 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22848 sysdep_routines when subdir is sysvipc.
22849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22850 __getshmlba helper.
22852 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22856 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22863 (__lround): Renamed to ...
22864 (__llround): This. Replace long int with long long int.
22865 Define lround functions as aliases of llround functions.
22866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22871 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22872 adresses to uintptr_t. Replace "long int" and "unsigned long
22873 int" with "greg_t" on va_arg.
22875 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22877 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22878 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22880 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22881 Move e_machine check before EI_CLASS check. Handle x32
22882 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22883 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22884 SKIP_EM_IA_64 and include
22885 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22887 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22888 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22889 (add_system_dir): New macro.
22891 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22892 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22894 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22905 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22907 * math/w_j0f.c (j0f): Likewise.
22909 * math/w_j0l.c (__j0l): Likewise.
22911 * math/w_j1.c (j1): Likewise.
22913 * math/w_j1f.c (j1f): Likewise.
22915 * math/w_j1l.c (__j1l): Likewise.
22917 * math/w_jn.c (jn): Likewise.
22919 * math/w_jnf.c (jnf): Likewise.
22921 * math/w_jnl.c (__jnl): Likewise.
22923 * math/libm-test.inc (j0_test): Add more tests.
22924 (j1_test): Likewise.
22925 (jn_test): Likewise. Add trailing semicolon to existing test.
22926 (y0_test): Likewise.
22927 (y1_test): Likewise.
22928 * sysdeps/i386/fpu/libm-test-ulps: Update.
22929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22934 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22935 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22937 (__tanl): Set errno for infinite argument.
22938 * sysdeps/i386/fpu/mptan.c: Remove.
22939 * sysdeps/i386/fpu/s_tan.S: Likewise.
22940 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22941 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22942 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22943 * math/libm-test.inc (tan_test): Add more tests and enable more
22944 tests for double and long double.
22945 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22950 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22951 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22953 2012-03-16 Roland McGrath <roland@hack.frob.com>
22955 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22956 * configure.in: Use it for both main tree and add-ons.
22957 * configure: Regenerated.
22959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22961 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22963 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22969 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22970 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22971 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22972 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22973 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22975 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22977 != 0 for prec == 2.
22978 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22979 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22980 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22981 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22982 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22983 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22984 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22985 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22986 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22987 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22988 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22989 * math/libm-test.inc (cos_test): Add more tests and enable more
22990 tests for long double.
22991 (sin_test): Likewise.
22992 (sincos_test): Likewise.
22993 * sysdeps/i386/fpu/libm-test-ulps: Update.
22994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22996 2012-03-16 David S. Miller <davem@davemloft.net>
22998 * sysdeps/sparc/fpu/math_private.h: New file.
23000 2012-03-15 David S. Miller <davem@davemloft.net>
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23016 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23017 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23019 * sysdeps/sparc/sparc-ifunc.h: New file.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23065 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23067 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23071 2012-03-15 Andreas Jaeger <aj@suse.de>
23074 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23075 ieee754/flt-32 implementation for sin, cos and sincos.
23076 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23077 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23078 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23079 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23080 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23081 ieee754/flt-32 implementation for tan.
23083 * math/libm-test.inc (cos_test): Enable some large input tests for
23085 (sin_test): Likewise.
23086 (sincos_test): Likewise.
23087 (tan_test): Add tests for large input.
23089 * sysdeps/i386/fpu/libm-test-ulps: Update.
23091 2012-03-15 Andreas Jaeger <aj@suse.de>
23094 * math/libm-test.inc (cos_test): Add more test cases.
23095 (sin_test): Likewise.
23096 (sincos_test): Likewise.
23098 2012-03-15 Andreas Jaeger <aj@suse.de>
23101 * math/libm-test.inc (cos_test): Add a test case for large input
23103 (sin_test): Likewise.
23104 (sincos_test): Likewise.
23106 2012-03-15 Andreas Jaeger <aj@suse.de>,
23107 Joseph Myers <joseph@codesourcery.com>
23110 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23111 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23112 * sysdeps/i386/fpu/branred.c: Likewise.
23113 * sysdeps/i386/fpu/dosincos.c: Likewise.
23114 * sysdeps/i386/fpu/mpa.c: Likewise.
23115 * sysdeps/i386/fpu/s_cos.S: Likewise.
23116 * sysdeps/i386/fpu/s_sin.S: Likewise.
23117 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23118 * sysdeps/i386/fpu/sincos32.c: Likewise.
23120 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23122 (libc_feupdateenv_53bit): Define.
23123 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23125 (libc_feupdateenv_53bit): Define.
23127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23128 53 bit (without extend i386 double precision).
23130 * math/libm-test.inc (sincos_test): Add tests for large input.
23134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23136 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23140 2012-03-15 David S. Miller <davem@davemloft.net>
23142 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23143 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23144 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23145 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23170 fmin/fmax sysdep routines.
23171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23173 2012-03-14 David S. Miller <davem@davemloft.net>
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23252 * sysdeps/sparc/configure.in: New file.
23253 * sysdeps/sparc/configure: Generate.
23254 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23255 * configure: Regenerate.
23256 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23257 * config.make.in (have-as-vis3): New.
23258 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23259 available use -Av9d instead of -Av9a.
23260 * sysdeps/sparc/sparc64/Makefile: Likewise.
23261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23276 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23277 fzeros/fnegs to load 0x80000000 into a float register instead of
23279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23281 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23285 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23286 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23287 ($(inst_includedir)/bits/syscall.h): Remove rule.
23288 ($(objpfx)bits/syscall.d): Include instead of
23289 $(objpfx)syscall-list.d.
23290 (generated): Change syscall-list.h and syscall-list.d to
23291 bits/syscall.h and bits/syscall.d.
23293 2012-03-14 Roland McGrath <roland@hack.frob.com>
23296 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23298 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23301 * math/s_csqrt.c: Include <float.h>.
23302 (__csqrt): Scale large or subnormal inputs.
23303 * math/s_csqrtf.c: Likewise.
23304 * math/s_csqrtl.c: Likewise.
23305 * math/libm-test.inc (csqrt_test): Add more tests.
23306 * sysdeps/i386/fpu/libm-test-ulps: Update.
23307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23310 * math/libm-test.inc (hypot_test): Add more tests.
23312 2012-03-13 David S. Miller <davem@davemloft.net>
23315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23316 double-precision for the calculation instead of scaling.
23318 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23321 manipulate bits before adding and subtracting TWO52[sx].
23322 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23327 2012-03-13 David S. Miller <davem@davemloft.net>
23329 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23330 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23332 rtld-global-offsets.h
23333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23338 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23341 'err' in the ifdef scope in which it is actually used.
23343 * nss/nss_db/db-init.c: Include string.h
23345 2012-03-12 David S. Miller <davem@davemloft.net>
23347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23348 masking out of the most significant byte of random value used.
23349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23350 Fix coding style in previous change.
23352 * sysdeps/unix/sysv/linux/kernel-features.h
23353 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23354 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23356 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23359 2012-03-11 David S. Miller <davem@davemloft.net>
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23362 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23364 for 'resultvar' otherwise things get truncated on 64-bit.
23366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23367 Fix masking out of the most significant byte of random value used.
23369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23371 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23375 2012-03-09 David S. Miller <davem@davemloft.net>
23377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23378 variables with appropriate CPP guards.
23379 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23380 frame pointer, not the stack pointer. Correct layout comments. Fix test
23381 on resulting framesize and the management of the outregs buffer for pltexit.
23382 Preserve floating point return values across _dl_call_pltexit call.
23383 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23384 framesize and the management of the outregs buffer for pltexit.
23385 Preserve floating point return values across _dl_call_pltexit
23387 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23388 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23389 (print_exit): Fix format string for return register value.
23391 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23393 * sunrpc/Makefile (others): Add rpcgen.
23394 ($(objpfx)rpcgen): Remove special build rule and dependency on
23396 * sunrpc/rpcgen.c: New file.
23398 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23401 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23402 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23403 * sysdeps/i386/crti.S: Likewise.
23404 * sysdeps/i386/crtn.S: Likewise.
23405 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23406 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23408 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23409 * sysdeps/sh/crti.S: Likewise.
23410 * sysdeps/sh/crtn.S: Likewise.
23411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23414 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23416 * locale/programs/locfile-kw.gperf: Likewise.
23417 * locale/programs/charmap-kw.h: Regenerated.
23418 * locale/programs/locfile-kw.h: Likewise.
23421 * intl/plural.y: Replace FSF snail mail address with URL.
23422 * intl/plural.c: Regenerated.
23424 2012-03-09 Richard Henderson <rth@twiddle.net>
23426 * include/math_private.h: Remove file.
23427 * math/math_private.h: Move file ...
23428 * sysdeps/generic/math_private.h: ... here.
23430 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23431 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23432 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23434 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23435 and <math_private.h>.
23436 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23437 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23438 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23439 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23440 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23490 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23517 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23518 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23523 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23524 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23526 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23527 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23529 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23530 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23531 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23533 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23534 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23536 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23537 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23538 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23539 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23541 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23543 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23550 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23552 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23553 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23554 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23556 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23557 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23559 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23560 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23561 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23562 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23563 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23564 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23565 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23566 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23567 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23569 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23570 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23571 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23573 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23574 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23575 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23577 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23581 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23582 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23583 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23584 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23585 * sysdeps/ieee754/k_standard.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23677 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23679 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23690 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23701 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23708 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23709 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23711 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23718 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23722 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23723 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23724 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23725 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23726 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23728 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23729 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23730 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23731 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23732 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23735 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23737 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23738 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23739 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23740 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23741 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23743 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23744 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23745 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23746 * sysdeps/ieee754/s_lib_version.c: Likewise.
23747 * sysdeps/ieee754/s_matherr.c: Likewise.
23748 * sysdeps/ieee754/s_signgam.c: Likewise.
23749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23752 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23753 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23754 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23755 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23756 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23757 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23758 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23759 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23760 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23761 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23762 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23763 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23771 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23773 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23774 * sunrpc/rpc_main.c: Likewise.
23775 * sunrpc/rpc_svcout.c: Likewise.
23777 2012-03-09 David S. Miller <davem@davemloft.net>
23779 * include/math_private.h: New file.
23781 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23783 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23784 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23785 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23786 from <bits/socket_type.h>.
23787 (enum __socket_type): Don't define here.
23788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23790 bits/socket_type.h.
23793 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23794 checking __USE_GNU.
23796 * Makerules ($(inst_includedir)/%.h): New rule.
23797 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23798 (install-others): Remove variable setting.
23799 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23801 2012-03-08 Richard Henderson <rth@twiddle.net>
23803 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23804 from macro to inline function; merge with the
23805 !__LIBC_INTERNAL_MATH_INLINES version.
23806 (__ieee754_sqrtf): Likewise.
23808 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23809 to inline function.
23810 (__rintf, __floor, __floorf): Likewise.
23812 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23813 macro to inline function.
23814 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23817 not <math/math_private.h>.
23819 2012-03-08 David S. Miller <davem@davemloft.net>
23821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23823 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23825 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23827 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23829 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23830 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23832 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23834 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23835 be defined individually, they must be defined as a block. Define
23836 S for printing a string instead of hidint the different by using a
23837 macro for adding the 'l'.
23838 * stdio-common/tst-fphex-wide.c: Adjust.
23840 2012-03-07 Marek Polacek <polacek@redhat.com>
23842 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23844 2012-03-08 Marek Polacek <polacek@redhat.com>
23847 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23848 * stdio-common/tst-fphex.c: Define a few macros to make the
23849 test reusable. Use them.
23850 * stdio-common/tst-fphex-wide.c: New file.
23852 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23855 * manual/macros.texi (gnusystems): New macro.
23856 (nongnusystems): Likewise.
23857 (gnulinuxhurdsystems): Likewise.
23858 (gnuhurdsystems): Likewise..
23859 (gnulinuxsystems): Likewise.
23860 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23861 variants of the GNU system, not "GNU system".
23862 * manual/conf.texi: Likewise.
23863 * manual/errno.texi: Likewise. Update example of errno macro
23865 * manual/filesys.texi: Likewise.
23866 (getumask): Document as specific to GNU/Hurd.
23867 * manual/install.texi: Likewise. Reword some references to
23869 * manual/intro.texi: Likewise.
23870 * manual/io.texi: Likewise.
23871 (File Name Portability): Detail which constraints are inapplicable
23872 to all GNU systems and which are only inapplicable to GNU/Hurd.
23873 * manual/job.texi: Likewise.
23874 * manual/llio.texi: Likewise.
23875 (O_NOCTTY): Document as present on GNU/Linux.
23876 * manual/maint.texi: Likewise.
23877 * manual/memory.texi: Likewise.
23878 * manual/pattern.texi: Likewise.
23879 * manual/pipe.texi: Likewise.
23880 * manual/process.texi: Likewise.
23881 * manual/resource.texi: Likewise.
23882 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23884 * manual/setjmp.texi: Likewise.
23885 * manual/signal.texi: Likewise.
23886 * manual/startup.texi: Likewise.
23887 * manual/stdio.texi: Likewise.
23888 * manual/terminal.texi: Likewise.
23889 (ONLCR): Document as POSIX.
23890 (OXTABS): Document availability on GNU/Linux as XTABS.
23891 (ONOEOT): Document availability separately from other bits.
23892 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23893 * manual/time.texi: Likewise.
23894 * manual/users.texi: Likewise.
23895 * INSTALL: Regenerated.
23896 * sysdeps/gnu/errlist.c: Regenerated.
23898 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23899 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23900 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23902 * configure: Regenerated.
23904 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23906 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23907 default includes instead of AC_HEADER_CHECK.
23908 * sysdeps/i386/configure: Regenerated.
23911 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23912 * math/s_cacoshf.c (__cacoshf): Likewise.
23913 * math/s_cacoshl.c (__cacoshl): Likewise.
23914 * math/s_casinh.c (__casinh): Set signs of result from argument.
23915 * math/s_casinhf.c (__casinhf): Likewise.
23916 * math/s_casinhl.c (__casinhl): Likewise.
23917 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23918 (casinh_test): Add more tests.
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23922 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23924 * po/zh_TW.po: Update from translation team.
23926 * login/Makefile (distribute): Remove variable.
23927 * catgets/Makefile: Likewise.
23928 * mach/Makefile: Likewise.
23929 * malloc/Makefile: Likewise.
23930 * misc/Makefile: Likewise.
23931 * iconv/Makefile: Likewise.
23932 * nscd/Makefile: Likewise.
23933 * hurd/Makefile: Likewise.
23934 * manual/Makefile: Likewise.
23935 * locale/Makefile: Likewise.
23936 * intl/Makefile: Likewise.
23937 * conform/Makefile: Likewise.
23938 * nss/Makefile: Likewise.
23939 * time/Makefile: Likewise.
23940 * soft-fp/Makefile: Likewise.
23941 * dirent/Makefile: Likewise.
23942 * gmon/Makefile: Likewise.
23943 * po/Makefile: Likewise.
23944 * rt/Makefile: Likewise.
23945 * socket/Makefile: Likewise.
23946 * math/Makefile: Likewise.
23947 * signal/Makefile: Likewise.
23948 * debug/Makefile: Likewise.
23949 * elf/Makefile: Likewise.
23950 * timezone/Makefile: Likewise.
23951 * stdlib/Makefile: Likewise.
23952 * iconvdata/Makefile: Likewise.
23953 * sunrpc/Makefile: Likewise.
23954 * io/Makefile: Likewise.
23955 * argp/Makefile: Likewise.
23956 * inet/Makefile: Likewise.
23957 * hesiod/Makefile: Likewise.
23958 * grp/Makefile: Likewise.
23959 * csu/Makefile: Likewise.
23960 * wctype/Makefile: Likewise.
23961 * crypt/Makefile: Likewise.
23962 * libio/Makefile: Likewise.
23963 * string/Makefile: Likewise.
23964 * nis/Makefile: Likewise.
23965 * resolv/Makefile: Likewise.
23966 * stdio-common/Makefile: Likewise.
23967 * wcsmbs/Makefile: Likewise.
23968 * dlfcn/Makefile: Likewise.
23969 * posix/Makefile: Likewise.
23972 * timezone/Makefile: Don't install timezone files, just the programs
23975 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23977 * nss/databases.def: Add missing gshadow entry.
23979 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23981 2012-03-06 Marek Polacek <polacek@redhat.com>
23984 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23985 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23986 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23987 * stdio-common/tst-long-dbl-fphex.c: New file.
23989 2012-03-06 David S. Miller <davem@davemloft.net>
23991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23992 (set_obp_int): New function.
23993 (get_obp_int): New function.
23994 (__get_clockfreq_via_dev_openprom): Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23996 Avoid unused variable warnings on 'val' and use builtin_expect.
23997 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23999 (INLINE_CLONE_SYSCALL): Likewise.
24001 2012-03-05 David S. Miller <davem@davemloft.net>
24003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24005 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24010 only for |x| >= 40.
24011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24013 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24016 Replace gettimeofday with __vdso_gettimeofday.
24018 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24019 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24020 __vdso_clock_gettime and __vdso_getcpu.
24022 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24023 time with __vdso_time.
24025 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24027 * manual/lang.texi (size_t): Note types to which size_t may be
24028 equivalent with the GNU C Library, but do not describe when
24029 differences between them are significant.
24031 2012-03-05 Andreas Jaeger <aj@suse.de>
24033 * sysdeps/i386/fpu/libm-test-ulps: Update.
24035 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24038 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24039 (__ieee754_pow): Save and restore rounding mode and use
24040 round-to-nearest for main computations.
24041 * math/libm-test.inc (pow_test_tonearest): New function.
24042 (pow_test_towardzero): Likewise.
24043 (pow_test_downward): Likewise.
24044 (pow_test_upward): Likewise.
24045 (main): Call the new functions.
24046 * sysdeps/i386/fpu/libm-test-ulps: Update.
24047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24050 * math/libm-test.inc (cosh_test_tonearest): New function.
24051 (cosh_test_towardzero): Likewise.
24052 (cosh_test_downward): Likewise.
24053 (cosh_test_upward): Likewise.
24054 (sinh_test_tonearest): Likewise.
24055 (sinh_test_towardzero): Likewise.
24056 (sinh_test_downward): Likewise.
24057 (sinh_test_upward): Likewise.
24058 (main): Call the new functions.
24059 * sysdeps/i386/fpu/libm-test-ulps: Update.
24060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24062 2012-03-05 Tom de Vries <tom@codesourcery.com>
24064 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24065 default stack guard is set in last bytes.
24066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24068 2012-03-05 Kees Cook <keescook@chromium.org>
24070 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24073 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24074 possibly allocate from heap instead of stack.
24075 * stdio-common/bug-vfprintf-nargs.c: New file.
24076 * stdio-common/Makefile (tests): Add nargs overflow test.
24078 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24082 2012-03-03 Marek Polacek <polacek@redhat.com>
24084 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24085 * math/math_private.h: Likewise.
24086 * stdlib/tst-strtod.c: Likewise.
24087 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24088 * sysdeps/x86_64/bits/atomic.h: Likewise.
24090 2012-03-02 David S. Miller <davem@davemloft.net>
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24097 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24098 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24099 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24101 2012-03-02 Roland McGrath <roland@hack.frob.com>
24104 * manual/examples/README: New file, says the example source files
24105 can be used under GPL>=2.
24106 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24107 line containing just "*/".
24108 * manual/examples/add.c: Add copyright header (GPL>=2).
24109 * manual/examples/argp-ex1.c: Likewise.
24110 * manual/examples/argp-ex2.c: Likewise.
24111 * manual/examples/argp-ex3.c: Likewise.
24112 * manual/examples/argp-ex4.c: Likewise.
24113 * manual/examples/atexit.c: Likewise.
24114 * manual/examples/db.c: Likewise.
24115 * manual/examples/dir.c: Likewise.
24116 * manual/examples/dir2.c: Likewise.
24117 * manual/examples/execinfo.c: Likewise.
24118 * manual/examples/filecli.c: Likewise.
24119 * manual/examples/filesrv.c: Likewise.
24120 * manual/examples/fmtmsgexpl.c: Likewise.
24121 * manual/examples/genpass.c: Likewise.
24122 * manual/examples/inetcli.c: Likewise.
24123 * manual/examples/inetsrv.c: Likewise.
24124 * manual/examples/isockad.c: Likewise.
24125 * manual/examples/longopt.c: Likewise.
24126 * manual/examples/memopen.c: Likewise.
24127 * manual/examples/memstrm.c: Likewise.
24128 * manual/examples/mkfsock.c: Likewise.
24129 * manual/examples/mkisock.c: Likewise.
24130 * manual/examples/mygetpass.c: Likewise.
24131 * manual/examples/pipe.c: Likewise.
24132 * manual/examples/popen.c: Likewise.
24133 * manual/examples/rprintf.c: Likewise.
24134 * manual/examples/search.c: Likewise.
24135 * manual/examples/select.c: Likewise.
24136 * manual/examples/setjmp.c: Likewise.
24137 * manual/examples/sigh1.c: Likewise.
24138 * manual/examples/sigusr.c: Likewise.
24139 * manual/examples/stpcpy.c: Likewise.
24140 * manual/examples/strdupa.c: Likewise.
24141 * manual/examples/strftim.c: Likewise.
24142 * manual/examples/strncat.c: Likewise.
24143 * manual/examples/subopt.c: Likewise.
24144 * manual/examples/swapcontext.c: Likewise.
24145 * manual/examples/termios.c: Likewise.
24146 * manual/examples/testopt.c: Likewise.
24147 * manual/examples/testpass.c: Likewise.
24148 * manual/examples/timeval_subtract.c: Likewise.
24151 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24153 * manual/timeval_subtract.c.texi: ... here, new file.
24155 2012-03-02 David S. Miller <davem@davemloft.net>
24157 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24159 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24162 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24163 (__sin): Save and restore rounding mode and use round-to-nearest
24164 for all computations.
24165 (__cos): Save and restore rounding mode and use round-to-nearest
24166 for all computations.
24167 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24169 (tan): Save and restore rounding mode and use round-to-nearest for
24171 * math/libm-test.inc (cos_test_tonearest): New function.
24172 (cos_test_towardzero): Likewise.
24173 (cos_test_downward): Likewise.
24174 (cos_test_upward): Likewise.
24175 (sin_test_tonearest): Likewise.
24176 (sin_test_towardzero): Likewise.
24177 (sin_test_downward): Likewise.
24178 (sin_test_upward): Likewise.
24179 (tan_test_tonearest): Likewise.
24180 (tan_test_towardzero): Likewise.
24181 (tan_test_downward): Likewise.
24182 (tan_test_upward): Likewise.
24183 (main): Call the new functions.
24184 * sysdeps/i386/fpu/libm-test-ulps: Update.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24188 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24189 small n, then large n, before computing and testing k+n.
24190 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24195 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24196 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24201 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24202 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24203 * math/libm-test.inc (scalbn_test): Add more tests.
24204 (scalbln_test): Likewise.
24206 * manual/filesys.texi (mode_t): Describe constraints on size and
24207 signedness, not exact equivalence to a particular type.
24209 (ino64_t): Likewise.
24211 (nlink_t): Likewise.
24212 (blkcnt_t): Likewise.
24213 (blkcnt64_t): Likewise.
24214 * manual/llio.texi (off_t): Likewise.
24217 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24218 (__ieee754_exp): Save and restore rounding mode and use
24219 round-to-nearest for all computations.
24220 * math/libm-test.inc (exp_test_tonearest): New function.
24221 (exp_test_towardzero): Likewise.
24222 (exp_test_downward): Likewise.
24223 (exp_test_upward): Likewise.
24224 (main): Call the new functions.
24225 * sysdeps/i386/fpu/libm-test-ulps: Update.
24226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24228 2012-03-01 Chris Demetriou <cgd@google.com>
24230 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24231 have predictable order.
24233 2012-03-01 David S. Miller <davem@davemloft.net>
24235 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24237 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24238 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24239 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24240 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24242 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24243 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24244 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24246 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24247 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24248 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24249 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24250 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24254 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24255 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24256 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24258 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24259 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24260 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24261 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24262 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24265 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24266 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24267 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24268 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24269 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24271 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24272 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24274 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24275 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24276 * sysdeps/sparc/elf/configure: Regenerated.
24278 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24280 * configure.in (AS, LD): Require binutils 2.20 or later.
24281 * configure: Regenerated.
24282 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24283 as required minimum version.
24284 * INSTALL: Regenerated.
24288 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24289 before squaring exponent.
24290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24291 bottom long double and 27 bits of top long double before squaring
24293 * math/libm-test.inc (erfc_test): Add more tests.
24294 * sysdeps/i386/fpu/libm-test-ulps: Update.
24295 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24298 2012-03-01 Kai Tietz <ktietz@redhat.com>
24300 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24301 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24302 containing bit-fields.
24303 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24304 * soft-fp/single.h (_FP_UNION_S): Likewise.
24305 * soft-fp/double.h (_FP_UNION_D): Likewise.
24307 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24310 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24311 not include ../strcmp.S.
24312 [USE_AS_STRNCASECMP_L]: Likewise.
24313 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24314 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24315 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24316 (__strncasecmp_l_ia32): Define as alias to
24317 __strncasecmp_l_nonascii.
24320 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24321 * sysdeps/i386/fpu/libm-test-ulps: Update.
24322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24324 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24327 2012-02-29 Jeff Law <law@redhat.com>
24329 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24330 out of bounds read.
24332 2012-02-29 Marek Polacek <polacek@redhat.com>
24335 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24336 * elf/Makefile: Add rules to run tst-unused-dep.out.
24338 2012-02-28 David S. Miller <davem@davemloft.net>
24340 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24341 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24344 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24345 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24347 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24349 * math/libm-test.inc (llround_test): Move one test from
24350 lround_test. Use TEST_f_L in moved test.
24351 (lround_test): Move misplaced test to llround_test. Add testcase
24354 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24356 * sysdeps/x86_64/fpu/e_expf.S: New file.
24357 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24359 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24362 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24363 of remain_len that may cause incomplete multi-byte character and
24365 * posix/bug-regex33.c: New file.
24366 * posix/Makefile (tests): Add bug-regex33.
24368 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24370 * manual/macros.texi: New file.
24371 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24372 * manual/libc.texinfo: Include macros.texi.
24373 * manual/creatute.texi: Likewise.
24374 * manual/install.texi: Likewise.
24375 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24376 @glibcadj{} in references to the GNU C Library.
24377 * manual/charset.texi: Likewise.
24378 * manual/conf.texi: Likewise.
24379 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24380 when not using those macros.
24381 * manual/creature.texi: Likewise.
24382 * manual/crypt.texi: Likewise.
24383 * manual/errno.texi: Likewise.
24384 * manual/filesys.texi: Likewise.
24385 * manual/header.texi: Likewise.
24386 * manual/install.texi: Likewise.
24387 * manual/intro.texi: Likewise.
24388 * manual/io.texi: Likewise.
24389 * manual/job.texi: Likewise.
24390 * manual/lang.texi: Likewise.
24391 * manual/libc.texiinfo: Likewise.
24392 * manual/llio.texi: Likewise.
24393 * manual/locale.texi: Likewise.
24394 * manual/maint.texi: Likewise.
24395 * manual/math.texi: Likewise.
24396 * manual/memory.texi: Likewise.
24397 * manual/message.texi: Likewise.
24398 * manual/nss.texi: Likewise.
24399 * manual/pattern.texi: Likewise.
24400 * manual/process.texi: Likewise.
24401 * manual/resource.texi: Likewise.
24402 * manual/search.texi: Likewise.
24403 * manual/setjmp.texi: Likewise.
24404 * manual/signal.texi: Likewise.
24405 * manual/socket.texi: Likewise.
24406 * manual/startup.texi: Likewise.
24407 * manual/stdio.texi: Likewise.
24408 * manual/string.texi: Likewise.
24409 * manual/sysinfo.texi: Likewise.
24410 * manual/syslog.texi: Likewise.
24411 * manual/terminal.texi: Likewise.
24412 * manual/time.texi: Likewise.
24413 * manual/users.texi: Likewise.
24414 * INSTALL: Regenerated.
24415 * NOTES: Regenerated.
24416 * sysdeps/gnu/errlist.c: Regenerated.
24418 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24420 * include/dirent.h: Include <dirstream.h> before
24423 2012-02-28 David S. Miller <davem@davemloft.net>
24425 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24426 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24427 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24430 2012-02-27 David S. Miller <davem@davemloft.net>
24432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24434 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24435 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24438 frame pointer instead of stack pointer relative arg slot.
24439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24440 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24441 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24443 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24446 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24448 2012-02-27 David S. Miller <davem@davemloft.net>
24450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24454 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24455 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24456 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24457 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24459 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24461 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24462 later. Allow versions 5-9.
24463 * configure: Regenerated.
24464 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24465 required minimum version and 4.6 as recommended version. Do not
24466 mention bugs in GCC 2.7 and 2.8.
24467 * INSTALL: Regenerated.
24469 2012-02-27 David S. Miller <davem@davemloft.net>
24471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24475 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24476 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24477 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24481 manipulate bits before adding and subtracting TWO112[sx].
24482 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24484 2012-02-27 Roland McGrath <roland@hack.frob.com>
24487 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24488 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24489 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24490 being in POSIX, because they are in 1003.1-2008.
24492 * rt/tst-aio.c: Include <fcntl.h>.
24493 * rt/tst-aio7.c: Likewise.
24494 * rt/tst-aio64.c: Likewise.
24496 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24498 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24500 * manual/install.texi (--with-headers): Describe headers as
24501 interface headers, not private headers.
24502 (Specific advice for GNU/Linux systems): Describe use of headers
24503 from "make headers_install", not private headers from older
24505 * INSTALL: Regenerated.
24506 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24508 * sysdeps/unix/sysv/linux/configure: Regenerated.
24510 * manual/llio.texi (fclean): Remove documentation.
24512 * manual/Makefile (libc-texi-generated): New variable. Include
24514 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24515 $(libc-texi-generated), not duplicated list of files.
24516 (version.texi, stamp-version): New rules.
24517 (realclean): Remove $(libc-texi-generated), not individual files
24518 from that list. Do not remove dir-add.texinfo.
24519 * manual/libc.texinfo: Comment out uses of edition numbers and
24520 references to printed manual. Remove last-updated dates.
24521 (EDITION): Comment out.
24523 (VERSION, UPDATED): Remove.
24524 (version.texi): Include.
24526 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24528 * sysdeps/posix/spawni.c: Include <signal.h>.
24529 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24530 * sysdeps/pthread/aio_fsync.c: Likewise.
24532 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24534 * conform/Makefile (tests): Run only when not cross-compiling and
24535 when fast-check is not defined.
24537 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24538 * conform/data/limits.h-data: Fixes for POSIX2008.
24539 * conform/run-conformtest.sh: Run all tests.
24540 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24542 * include/bits/dlfcn.h: Likewise.
24543 * include/langinfo.h: Likewise.
24544 * include/monetary.h: Likewise.
24545 * include/sys/poll.h: Likewise.
24547 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24549 * posix/spawn.h: Define __need_sigset_t.
24550 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24551 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24552 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24553 to get sigevent_t only.
24554 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24555 only for __USE_GNU.
24556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24557 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24558 process_vm_writev only for __USE_GNU.
24559 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24561 * conform/Makefile: For now ignore errors from run-conformtest.
24562 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24563 POSIX to avoid namespace pollution. Don't prepend headers.
24564 * conform/data/aio.h-data: Fixes for POSIX testing.
24565 * conform/data/fcntl.h-data: Likewise.
24566 * conform/data/glob.h-data: Likewise.
24567 * conform/data/grp.h-data: Likewise.
24568 * conform/data/pthread.h-data: Likewise.
24569 * conform/data/pwd.h-data: Likewise.
24570 * conform/data/signal.h-data: Likewise.
24571 * conform/data/spawn.h-data: Likewise.
24572 * conform/data/stdio.h-data: Likewise.
24573 * conform/data/stdlib.h-data: Likewise.
24574 * conform/data/stropts.h-data: Likewise.
24575 * conform/data/sys/mman.h-data: Likewise.
24576 * conform/data/sys/stat.h-data: Likewise.
24577 * conform/data/sys/types.h-data: Likewise.
24578 * conform/data/sys/wait.h-data: Likewise.
24579 * conform/data/time.h-data: Likewise.
24580 * conform/data/unistd.h-data: Likewise.
24581 * conform/data/utime.h-data: Likewise.
24583 * io/sys/stat.h: fchmod was always in POSIX.
24584 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24585 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24586 * rt/aio.h: Define __need_timespec before including <time.h>.
24587 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24588 struct. Add forward declaration of pthread_attr_t and use it in
24590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24592 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24593 always remove CLK_TCK definition.
24595 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24597 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24599 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24601 * conform/run-conformtest.sh: New file.
24602 * conform/Makefile: Run run-conformtest for tests.
24603 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24606 * conform/data/uchar.h-data: New file.
24607 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24608 * conform/data/arpa/inet.h-data: Likewise.
24609 * conform/data/assert.h-data: Likewise.
24610 * conform/data/complex.h-data: Likewise.
24611 * conform/data/cpio.h-data: Likewise.
24612 * conform/data/ctype.h-data: Likewise.
24613 * conform/data/dirent.h-data: Likewise.
24614 * conform/data/dlfcn.h-data: Likewise.
24615 * conform/data/errno.h-data: Likewise.
24616 * conform/data/fcntl.h-data: Likewise.
24617 * conform/data/float.h-data: Likewise.
24618 * conform/data/fmtmsg.h-data: Likewise.
24619 * conform/data/fnmatch.h-data: Likewise.
24620 * conform/data/ftw.h-data: Likewise.
24621 * conform/data/glob.h-data: Likewise.
24622 * conform/data/grp.h-data: Likewise.
24623 * conform/data/iconv.h-data: Likewise.
24624 * conform/data/inttypes.h-data: Likewise.
24625 * conform/data/langinfo.h-data: Likewise.
24626 * conform/data/libgen.h-data: Likewise.
24627 * conform/data/limits.h-data: Likewise.
24628 * conform/data/locale.h-data: Likewise.
24629 * conform/data/math.h-data: Likewise.
24630 * conform/data/monetary.h-data: Likewise.
24631 * conform/data/mqueue.h-data: Likewise.
24632 * conform/data/ndbm.h-data: Likewise.
24633 * conform/data/net/if.h-data: Likewise.
24634 * conform/data/netdb.h-data: Likewise.
24635 * conform/data/netinet/in.h-data: Likewise.
24636 * conform/data/nl_types.h-data: Likewise.
24637 * conform/data/poll.h-data: Likewise.
24638 * conform/data/pthread.h-data: Likewise.
24639 * conform/data/pwd.h-data: Likewise.
24640 * conform/data/regex.h-data: Likewise.
24641 * conform/data/sched.h-data: Likewise.
24642 * conform/data/search.h-data: Likewise.
24643 * conform/data/semaphore.h-data: Likewise.
24644 * conform/data/setjmp.h-data: Likewise.
24645 * conform/data/signal.h-data: Likewise.
24646 * conform/data/spawn.h-data: Likewise.
24647 * conform/data/stdarg.h-data: Likewise.
24648 * conform/data/stdio.h-data: Likewise.
24649 * conform/data/stdlib.h-data: Likewise.
24650 * conform/data/string.h-data: Likewise.
24651 * conform/data/strings.h-data: Likewise.
24652 * conform/data/stropts.h-data: Likewise.
24653 * conform/data/sys/ipc.h-data: Likewise.
24654 * conform/data/sys/mman.h-data: Likewise.
24655 * conform/data/sys/msg.h-data: Likewise.
24656 * conform/data/sys/resource.h-data: Likewise.
24657 * conform/data/sys/select.h-data: Likewise.
24658 * conform/data/sys/sem.h-data: Likewise.
24659 * conform/data/sys/shm.h-data: Likewise.
24660 * conform/data/sys/socket.h-data: Likewise.
24661 * conform/data/sys/stat.h-data: Likewise.
24662 * conform/data/sys/statvfs.h-data: Likewise.
24663 * conform/data/sys/time.h-data: Likewise.
24664 * conform/data/sys/timeb.h-data: Likewise.
24665 * conform/data/sys/times.h-data: Likewise.
24666 * conform/data/sys/types.h-data: Likewise.
24667 * conform/data/sys/uio.h-data: Likewise.
24668 * conform/data/sys/un.h-data: Likewise.
24669 * conform/data/sys/utsname.h-data: Likewise.
24670 * conform/data/sys/wait.h-data: Likewise.
24671 * conform/data/syslog.h-data: Likewise.
24672 * conform/data/tar.h-data: Likewise.
24673 * conform/data/termios.h-data: Likewise.
24674 * conform/data/utime.h-data: Likewise.
24675 * conform/data/utmpx.h-data: Likewise.
24676 * conform/data/varargs.h-data: Likewise.
24677 * conform/data/wchar.h-data: Likewise.
24678 * conform/data/wctype.h-data: Likewise.
24679 * conform/data/wordexp.h-data: Likewise.
24681 * include/stropts.h: New file.
24682 * include/uchar.h: New file.
24683 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24684 * include/assert.h: Likewise.
24685 * include/ctype.h: Likewise.
24686 * include/dirent.h: Likewise.
24687 * include/dlfcn.h: Likewise.
24688 * include/fcntl.h: Likewise.
24689 * include/fnmatch.h: Likewise.
24690 * include/glob.h: Likewise.
24691 * include/grp.h: Likewise.
24692 * include/libio.h: Likewise.
24693 * include/locale.h: Likewise.
24694 * include/math.h: Likewise.
24695 * include/net/if.h: Likewise.
24696 * include/netdb.h: Likewise.
24697 * include/netinet/in.h: Likewise.
24698 * include/pthread.h: Likewise.
24699 * include/pwd.h: Likewise.
24700 * include/regex.h: Likewise.
24701 * include/sched.h: Likewise.
24702 * include/search.h: Likewise.
24703 * include/setjmp.h: Likewise.
24704 * include/signal.h: Likewise.
24705 * include/stdio.h: Likewise.
24706 * include/stdlib.h: Likewise.
24707 * include/string.h: Likewise.
24708 * include/sys/cdefs.h: Likewise.
24709 * include/sys/mman.h: Likewise.
24710 * include/sys/msg.h: Likewise.
24711 * include/sys/resource.h: Likewise.
24712 * include/sys/select.h: Likewise.
24713 * include/sys/socket.h: Likewise.
24714 * include/sys/stat.h: Likewise.
24715 * include/sys/statvfs.h: Likewise.
24716 * include/sys/time.h: Likewise.
24717 * include/sys/times.h: Likewise.
24718 * include/sys/uio.h: Likewise.
24719 * include/sys/utsname.h: Likewise.
24720 * include/sys/wait.h: Likewise.
24721 * include/termios.h: Likewise.
24722 * include/time.h: Likewise.
24723 * include/ulimit.h: Likewise.
24724 * include/unistd.h: Likewise.
24725 * include/utime.h: Likewise.
24726 * include/wchar.h: Likewise.
24727 * include/wctype.h: Likewise.
24728 * include/wordexp.h: Likewise.
24730 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24732 * time/time.h: TIME_UTC must be a macro.
24733 Make timespec_get available for ISO C11 only as well.
24735 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24737 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24738 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24740 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24742 * configure.in: Use -o not -a in test for unsupported multi-arch.
24744 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24746 * manual/texinfo.tex: Update to version 2012-01-19.16.
24748 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24750 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24752 2012-02-24 Roland McGrath <roland@hack.frob.com>
24755 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24756 * manual/fdl-1.3.texi: New file.
24757 * manual/fdl-1.1.texi: File removed.
24760 * manual/libc.texinfo (FDL_VERSION): New @set.
24761 Use it for mention of FDL in cover text.
24762 (Documentation License): Use it in @include file name.
24764 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24765 Roland McGrath <roland@hack.frob.com>
24768 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24769 not LONG_LONG_MAX and LONG_LONG_MIN.
24770 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24771 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24773 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24775 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24779 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24780 manipulate bits before adding and subtracting TWO23[sx].
24781 * math/libm-test.inc (nearbyint_test): Add more tests.
24783 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24786 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24787 bits before adding and subtracting TWO23[sx].
24788 * math/libm-test.inc (rint_test): Add more tests.
24789 (rint_test_tonearest): Likewise.
24790 (rint_test_towardzero): Likewise.
24791 (rint_test_downward): Likewise.
24792 (rint_test_upward: Likewise.
24794 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24797 * include/stdc-predef.h: New file. Extracted from features.h.
24798 * include/features.h: Include stdc-predef.h.
24799 * Makefile (headers): Add stdc-predef.h.
24800 * CONFORMANCE (Compiler limitations): Update.
24802 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24804 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24806 2012-02-21 David S. Miller <davem@davemloft.net>
24808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24809 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24811 2012-02-20 David S. Miller <davem@davemloft.net>
24813 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24814 using a normal save/restore sequence, rather than allocating a
24815 dummy stack frame just to store a frame pointer and restore.
24816 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24818 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24820 * manual/install.texi: Fix stray word in line-wrapped comment.
24822 2012-02-20 David S. Miller <davem@davemloft.net>
24824 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24825 both binutils and gcc support GOTDATA.
24827 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24828 "rd %pc" in the PIC register setup sequences.
24830 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24831 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24832 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24833 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24834 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24836 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24839 (SYSCALL_ERROR_HANDLER): Likewise.
24840 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24843 (SYSCALL_ERROR_HANDLER): Likewise.
24845 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24846 (HAVE_GCC_GOTDATA): New.
24847 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24848 relocation support in both binutils and gcc.
24849 * sysdeps/sparc/elf/configure: Regenerate.
24851 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24852 * sysdeps/sparc/sparc32/elf/configure: Delete.
24853 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24854 * sysdeps/sparc/sparc64/elf/configure: Delete.
24855 * sysdeps/sparc/elf/configure.in: New file.
24856 * sysdeps/sparc/elf/configure: Generate.
24858 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24859 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24860 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24861 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24862 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24864 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24866 * manual/install.texi: Do not mention specific glibc version
24868 * manual/libc.texinfo (VERSION, UPDATED): Update.
24869 (@copying): Use @copyright{} and range of years.
24871 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24874 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24875 [crti.S not in sysdirs] (generated): Do not append.
24876 [crti.S not in sysdirs] (omit-deps): Likewise.
24877 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24878 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24879 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24880 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24881 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24883 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24884 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24885 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24886 * csu/defs.awk: Remove file.
24887 * sysdeps/generic/initfini.c: Likewise.
24888 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24890 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24893 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24895 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24896 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24897 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24900 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24902 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24903 (__EPOLL_PACKED): Define to empty if not defined by
24905 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24909 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24911 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24912 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24913 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24914 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24916 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24920 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24922 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24925 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24929 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24932 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24934 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24936 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24937 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24939 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24941 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24944 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24946 * math/w_acos.c: Use non-signaling floating-point comparisons.
24947 * math/w_acosf.c: Likewise.
24948 * math/w_acosh.c: Likewise.
24949 * math/w_acoshf.c: Likewise.
24950 * math/w_acoshl.c: Likewise.
24951 * math/w_acosl.c: Likewise.
24952 * math/w_asin.c: Likewise.
24953 * math/w_asinf.c: Likewise.
24954 * math/w_asinl.c: Likewise.
24955 * math/w_atanh.c: Likewise.
24956 * math/w_atanhf.c: Likewise.
24957 * math/w_atanhl.c: Likewise.
24958 * math/w_exp2.c: Likewise.
24959 * math/w_exp2f.c: Likewise.
24960 * math/w_exp2l.c: Likewise.
24961 * math/w_j0.c: Likewise.
24962 * math/w_j0f.c: Likewise.
24963 * math/w_j0l.c: Likewise.
24964 * math/w_j1.c: Likewise.
24965 * math/w_j1f.c: Likewise.
24966 * math/w_j1l.c: Likewise.
24967 * math/w_jn.c: Likewise.
24968 * math/w_jnf.c: Likewise.
24969 * math/w_log.c: Likewise.
24970 * math/w_log10.c: Likewise.
24971 * math/w_log10f.c: Likewise.
24972 * math/w_log10l.c: Likewise.
24973 * math/w_log2.c: Likewise.
24974 * math/w_log2f.c: Likewise.
24975 * math/w_log2l.c: Likewise.
24976 * math/w_logf.c: Likewise.
24977 * math/w_logl.c: Likewise.
24978 * math/w_sqrt.c: Likewise.
24979 * math/w_sqrtf.c: Likewise.
24980 * math/w_sqrtl.c: Likewise.
24981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24982 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24984 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24985 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24987 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24990 * manual/string.texi (strnlen): Use correct parameter name in
24991 equivalent expression.
24993 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24996 * manual/users.texi (seteuid): Consistently use neweuid for
24999 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25002 * manual/nss.texi (Services in the NSS configuration): Correct
25003 list of services in example configuration file.
25005 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25008 * manual/arith.texi: Remove statements about negative zero
25009 behaving identically to zero.
25011 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25014 * manual/install.texi: Do not document upgrading from libc5.
25016 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25019 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25021 2012-02-18 David S. Miller <davem@davemloft.net>
25023 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25024 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25025 %o7 across the call.
25026 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25029 SETUP_PIC_REG_LEAF.
25030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25031 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25032 * sysdeps/sparc/crtn.S: Likewise.
25034 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25036 * aout/Makefile: Remove.
25038 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25041 * manual/examples/argp-ex1.c (main): Format definition in GNU
25043 * manual/examples/argp-ex2.c (main): Likewise.
25044 * manual/examples/argp-ex3.c (main): Likewise.
25045 * manual/examples/argp-ex4.c (main): Likewise.
25046 * manual/examples/longopt.c (main): Use new-style prototype
25048 * manual/examples/strncat.c (main): Specify return type and use
25049 (void) for arguments.
25050 * manual/examples/subopt.c (main): Use char **argv argument.
25052 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25055 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25058 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25061 * manual/string.texi (strchr): Change when strchrnul is
25064 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25067 * manual/locale.texi (setlocale): Document LOCPATH.
25069 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25072 * manual/process.texi (execle): Move @dots{} before last argument.
25074 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25077 * manual/charset.texi (Generic Charset Conversion): Fix typo
25078 (LC_TYPE -> LC_CTYPE).
25080 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25083 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25084 (scalbnf): Likewise.
25085 (scalbnl): Likewise.
25086 (scalbln): Likewise.
25087 (scalblnf): Likewise.
25088 (scalblnl): Likewise.
25089 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25090 (vwarnx): Likewise.
25093 * manual/filesys.texi (telldir): Use braces around return type.
25094 * manual/llio.texi (mmap): Add space after comma.
25095 (mmap64): Likewise.
25096 * manual/math.texi (jn): Use @var{} on parameter names.
25102 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25104 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25106 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25107 (sched_get_priority_max): Likewise.
25108 * manual/signal.texi (sigvec): Add space after comma.
25109 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25111 (if_indextoname): Likewise.
25112 (if_freenameindex): Likewise.
25113 (sendto): Use ',' instead of '.' in prototype.
25114 * manual/startup.texi (syscall): Use @dots{} instead of literal
25116 * manual/stdio.texi (__fpending): Separate initial words of
25117 paragraph from @deftypefun line.
25118 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25120 (vsyslog): Use @var{} on parameter names.
25121 * manual/terminal.texi (stty): Use @var{} on parameter names.
25122 * manual/users.texi (getutmp): Use @var{} on parameter names.
25123 (getutmpx): Likewise.
25125 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25128 * manual/stdio.texi (fopen): Fix typos in description of
25131 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25134 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25135 get clock_id definition.
25137 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25140 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25141 (madvise): Cast every argument to void on its own.
25143 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25146 * manual/startup.texi (Exit Status): Fix typo.
25148 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25151 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25152 * manual/examples/argp-ex2.c: Likewise.
25153 * manual/examples/argp-ex3.c: Likewise.
25155 2012-02-16 Richard Henderson <rth@redhat.com>
25157 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25158 * sysdeps/s390/s390-32/initfini.c: Remove.
25159 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25160 * sysdeps/s390/s390-64/initfini.c: Remove.
25162 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25164 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25165 compiler output for sysdeps/generic/initfini.c.
25166 * sysdeps/sh/elf/initfini.c: Remove file.
25168 2012-02-16 David S. Miller <davem@davemloft.net>
25171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25173 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25174 * sysdeps/sparc/crti.S: New file.
25175 * sysdeps/sparc/crtn.S: New file.
25176 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25177 * sysdeps/sparc/sparc64/Makefile: Likewise.
25179 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25182 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25184 2012-02-15 Roland McGrath <roland@hack.frob.com>
25187 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25189 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25190 (write, read, close): Likewise.
25191 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25193 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25196 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25198 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25200 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25204 2012-02-14 Marek Polacek <polacek@redhat.com>
25206 * sysdeps/x86_64/crti.S: New file.
25207 * sysdeps/x86_64/crtn.S: New file.
25208 * sysdeps/x86_64/elf/initfini.c: Remove file.
25210 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25212 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25213 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25214 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25215 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25217 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25221 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25223 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25224 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25225 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25226 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25228 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25232 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25234 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25235 __feraiseexcept instead of feraiseexcept.
25237 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25238 nanosleep invocations.
25239 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25240 strings, and add error checking for a nanosleep invocations.
25242 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25244 Replace FSF snail mail address with URLs, as per GNU coding standards.
25245 Most of the snail mail addresses were wrong anyway, and omitting
25246 them makes the source code easier to maintain. Almost all of the
25247 changes are to license notices and to locale LC_IDENTIFICATION
25248 addresses, except for this one:
25249 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25250 not its snail mail address.
25252 2012-02-09 Richard Henderson <rth@twiddle.net>
25254 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25255 of kernel-features.h.
25257 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25259 2012-02-08 Marek Polacek <polacek@redhat.com>
25261 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25262 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25263 * sysdeps/gnu/_G_config.h: Likewise.
25264 * sysdeps/generic/_G_config.h: Likewise.
25266 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25268 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25272 * sysdeps/powerpc/powerpc32/crti.S: New file.
25273 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25274 * sysdeps/powerpc/powerpc64/crti.S: New file.
25275 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25277 * Makeconfig (have-initfini): Don't set.
25278 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25279 * configure.in (nopic_initfini): Don't substitute.
25280 * config.h.in (HAVE_INITFINI): Don't #undef.
25281 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25282 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25284 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25286 Support crti.S and crtn.S provided directly by architectures.
25287 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25288 [crti.S in sysdirs] (omit-deps): Likewise.
25289 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25290 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25291 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25292 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25293 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25294 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25295 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25296 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25297 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25298 compiler output for sysdeps/generic/initfini.c.
25299 * sysdeps/i386/elf/Makefile: Remove file.
25300 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25302 2012-02-07 Marek Polacek <polacek@redhat.com>
25304 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25305 * sysdeps/gnu/_G_config.h: Likewise.
25306 * sysdeps/mach/hurd/_G_config.h: Likewise.
25308 2012-02-07 Marek Polacek <polacek@redhat.com>
25310 * math/Makefile (tests): Add tst-CMPLX2.
25311 * math/tst-CMPLX2.c: New file.
25313 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25315 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25317 * math/libm-test.inc (jn_test): Add missing L suffix.
25319 2012-02-06 Marek Polacek <polacek@redhat.com>
25321 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25322 * sysdeps/i386/fpu/e_powf.S: Likewise.
25323 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25324 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25325 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25326 * sysdeps/i386/fpu/e_pow.S: Likewise.
25327 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25328 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25329 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25330 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25331 * sysdeps/i386/fpu/e_log2.S: Likewise.
25332 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25333 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25334 * sysdeps/i386/fpu/e_powl.S: Likewise.
25335 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25337 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25338 * sysdeps/i386/fpu/e_logl.S: Likewise.
25339 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25340 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25341 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25342 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25343 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25344 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25345 * sysdeps/i386/fpu/e_log.S: Likewise.
25346 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25347 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25348 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25349 * sysdeps/i386/fpu/e_logf.S: Likewise.
25350 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25352 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25353 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25354 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25355 * sysdeps/i386/fpu/e_log10.S: Likewise.
25356 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25357 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25358 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25359 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25360 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25361 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25362 * sysdeps/i386/asm-syntax.h: Likewise.
25363 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25365 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25366 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25367 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25369 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25370 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25372 * sysdeps/powerpc/sysdep.h: Likewise.
25373 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25374 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25376 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25379 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25381 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25383 * sysdeps/i386/sysdep.h: Include <features.h>.
25384 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25387 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25389 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25391 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25394 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25396 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25397 (SETUP_PIC_REG): Use GET_PC_THUNK.
25398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25401 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25404 for non-PIC compilation.
25405 (SETUP_PIC_REG): Add .p2align directive.
25406 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25407 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25422 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25423 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25429 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25435 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25436 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25438 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25439 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25440 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25441 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25442 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25444 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25445 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25446 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25448 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25450 * math/tst-CMPLX.c: Include <stdio.h>.
25452 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25454 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25456 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25457 * sysdeps/sparc/bits/mathdef.h: Likewise.
25459 2012-01-31 Marek Polacek <polacek@redhat.com>
25461 * libio/libio.h: Don't define _PARAMS.
25462 * locale/programs/config.h: Don't define PARAMS.
25463 * stdlib/strtol_l.c: Likewise.
25464 (__strtol_l): Remove PARAMS from the prototype.
25466 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25468 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25469 names. Just use the correct names. Remove unnecessary wrapper
25471 * malloc/arena.c: Likewise.
25472 * malloc/hooks.c: Likewise.
25474 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25475 ARENA_TEST says not to. Simplify test for creation of a new arena.
25476 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25478 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25480 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25482 (update_get_addr): New function.
25483 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25484 GET_ADDR_MODULE parameter.
25486 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25488 * crypt/cert.c: Remove __STDC__ conditionals.
25489 * crypt/crypt-entry.c: Likewise.
25490 * crypt/crypt_util.c: Likewise.
25491 * libio/filedoalloc.c: Likewise.
25492 * libio/fileops.c: Likewise.
25493 * libio/genops.c: Likewise.
25494 * libio/iofclose.c: Likewise.
25495 * libio/iofdopen.c: Likewise.
25496 * libio/iofopen.c: Likewise.
25497 * libio/iofopen64.c: Likewise.
25498 * libio/iogetdelim.c: Likewise.
25499 * libio/iopopen.c: Likewise.
25500 * libio/obprintf.c: Likewise.
25501 * libio/oldfileops.c: Likewise.
25502 * libio/oldiofclose.c: Likewise.
25503 * libio/oldiofdopen.c: Likewise.
25504 * libio/oldiofopen.c: Likewise.
25505 * libio/oldiopopen.c: Likewise.
25506 * libio/wfiledoalloc.c: Likewise.
25507 * libio/wgenops.c: Likewise.
25508 * locale/programs/xmalloc.c: Likewise.
25509 * misc/syslog.c: Likewise.
25510 * stdio-common/xbug.c: Likewise.
25511 * string/memchr.c: Likewise.
25512 * string/memcmp.c: Likewise.
25513 * string/memrchr.c: Likewise.
25514 * string/rawmemchr.c: Likewise.
25515 * sysdeps/posix/getcwd.c: Likewise.
25516 * time/strftime_l.c: Likewise.
25518 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25520 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25521 * config.make.in (config-cflags-sse2avx): Define.
25522 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25525 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25527 * scripts/config.guess: Update from upstream config git repository.
25528 * scripts/config.sub: Likewise.
25530 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25532 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25534 (R_TILEPRO_*, R_TILEGX_*): New macros.
25536 * scripts/firstversions.awk: Fix bug in version range handling.
25538 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25540 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25542 * include/sys/epoll.h: New file.
25543 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25546 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25548 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25549 Avoid unnecessary __WORDSIZE == 64 test.
25550 (fmaxf): Use VEX format if possible.
25555 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25556 * math/math_private.h: Remove libc_fegetround* and
25558 * sysdeps/i386/configure.in: Check for -msse2avx.
25559 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25560 also if SSE2AVX is defined.
25561 Remove libc_fegetround* and libc_fesetround*.
25562 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25563 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25567 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25568 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25569 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25572 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25574 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25576 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25578 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25580 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25583 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25585 * Makeconfig (libm): Define.
25586 * elf/Makefile: Add rules to build and run tst-relsort1.
25587 * elf/tst-relsort1.c: New file.
25588 * elf/tst-relsort1mod1.c: New file.
25589 * elf/tst-relsort1mod2.c: New file.
25591 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25593 * math/s_ldexp.c: Remove __STDC__ conditionals.
25594 * math/s_ldexpf.c: Likewise.
25595 * math/s_ldexpl.c: Likewise.
25596 * math/s_nextafter.c: Likewise.
25597 * math/s_nexttowardf.c: Likewise.
25598 * math/s_significand.c: Likewise.
25599 * math/s_significandf.c: Likewise.
25600 * math/s_significandl.c: Likewise.
25601 * math/w_jnl.c: Likewise.
25602 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25603 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25604 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25605 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25606 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25608 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25612 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25613 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25614 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25615 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25616 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25617 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25619 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25624 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25626 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25627 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25628 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25630 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25631 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25634 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25636 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25637 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25638 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25642 * sysdeps/ieee754/k_standard.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25704 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25722 * sysdeps/ieee754/s_matherr.c: Likewise.
25723 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25724 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25728 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25730 * crypt/md5.h: Remove __STDC__ conditionals.
25731 * libio/libioP.h: Likewise.
25732 * locale/programs/config.h: Likewise.
25733 * sysdeps/generic/sysdep.h: Likewise.
25734 * sysdeps/i386/asm-syntax.h: Likewise.
25735 * sysdeps/s390/asm-syntax.h: Likewise.
25736 * sysdeps/unix/sysdep.h: Likewise.
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25740 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25742 * libio/libio.h: Remove __STDC__ conditionals.
25743 * malloc/obstack.h: Likewise.
25744 * math/complex.h: Likewise.
25745 * math/math.h: Likewise.
25746 * sysdeps/generic/_G_config.h: Likewise.
25747 * sysdeps/gnu/_G_config.h: Likewise.
25748 * sysdeps/mach/hurd/_G_config.h: Likewise.
25749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25750 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25751 * sysdeps/sparc/bits/mathdef.h: Likewise.
25753 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25756 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25757 Clean up HAS_* macros.
25758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25759 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25769 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25771 * elf/tst-unique3.cc (gets): Remove declaration.
25772 * elf/tst-unique3lib.cc (gets): Likewise.
25773 * elf/tst-unique3lib2.cc (gets): Likewise.
25774 * elf/tst-unique4.cc (gets): Likewise.
25776 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25778 * include/stdio.h: Add C++ protection. Add gets declarations and
25780 * debug/tst-chk1.c: Don't declare gets here.
25781 * stdio-common/tst-gets.c: Likewise.
25783 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25785 * posix/glob: Remove directory.
25787 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25789 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25791 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25793 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25794 of the non-standard EPFNOSUPPORT.
25796 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25798 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25799 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25800 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25802 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25804 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25806 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25808 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25810 * nscd/grpcache.c (cache_addgr): Likewise.
25811 * nscd/hstcache.c (cache_addhst): Likewise.
25812 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25813 * nscd/pwdcache.c (cache_addpw): Likewise.
25814 * nscd/servicescache.c (cache_addserv): Likewise.
25816 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25818 * malloc/malloc.c: Various cleanups.
25819 * malloc/hooks.c: Likewise.
25821 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25822 * stdlib/bug-fmtmsg1.c: New file.
25824 * stdlib/fmtmsg.c (init): Add missing unlock.
25825 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25827 2012-01-12 Marek Polacek <polacek@redhat.com>
25829 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25832 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25834 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25835 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25836 macro to ensure uniqueness of label name.
25837 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25838 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25840 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25842 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25844 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25845 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25846 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25849 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25851 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25853 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25854 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25855 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25857 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25859 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25860 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25861 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25864 * math/bits/math-finite.h: Add ldexp support.
25866 2012-01-10 Marek Polacek <polacek@redhat.com>
25868 * locale/programs/localedef.h (show_archive_content): Add noreturn
25871 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25873 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25875 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25877 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25879 * io/Makefile (headers): Add bits/poll2.h.
25881 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25884 typo #include statement.
25886 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25888 * include/sys/cdefs.h: Define __attribute_alloc_size.
25889 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25890 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25891 * elf/pldd.c: Likewise.
25892 * iconv/iconv_charmap.c: Likewise.
25893 * iconv/iconvconfig.c: Likewise.
25894 * iconv/strtab.c: Likewise.
25895 * locale/programs/locale.c: Likewise.
25896 * locale/programs/localedef.h: Likewise.
25897 * locale/programs/simple-hash.c: Likewise.
25898 * nscd/nscd.h: Likewise.
25899 * nss/makedb.c: Likewise.
25900 * sysdeps/generic/ldconfig.h: Likewise.
25901 * locale/programs/localedef.c: Remove xmalloc prototype.
25902 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25904 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25906 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25909 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25911 * math/Makefile (tests): Add tst-CMPLX.
25912 * math/tst-CMPLX.c: New file.
25914 * math/complex.h (CMPLXL): Fix typo.
25916 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25917 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25919 * debug/tst-chk1.c: Add poll and ppoll tests.
25920 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25921 * include/sys/poll.h: Add hidden proto for ppoll.
25922 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25923 * sysdeps/mach/hurd/ppoll.c: Likewise.
25924 * io/ppoll.c: Likewise.
25925 * debug/poll_chk.c: New file.
25926 * debug/ppoll_chk.c: New file.
25927 * include/bits/poll2.h: New file.
25928 * io/bits/poll2.h: New file.
25931 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25933 * configure.in: static is always set to yes. Remove.
25934 * config.make.in: Don't set build-static.
25935 * Makeconfig: Remove use of build-static.
25936 * dlfcn/Makefile: Likewise.
25937 * elf/Makefile: Likewise.
25938 * math/Makefile: Likewise.
25939 * misc/Makefile: Likewise.
25940 * nptl/Makefile: Likewise.
25941 * sysdeps/mach/hurd/Makefile: Likewise.
25943 * configure.in: PWD_P is not used anymore.
25944 * config.make.in: Remove PWD_P entry.
25946 * configure.in: Remove last remnants of RANLIB.
25947 No need to check for signed size_t anymore.
25948 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25950 Remove __builtin_expect test because we require at least gcc 3.4.
25951 * aclocal.m4: Likewise.
25953 * wcsmbs/mbrtoc16.c: Implement using towc function.
25954 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25955 * wcsmbs/wcsmbsload.c: Likewise.
25956 * iconv/gconv_simple.c: Likewise.
25957 * iconv/gconv_int.h: Likewise.
25958 * iconv/gconv_builtin.h: Likewise.
25959 * iconv/iconv_prog.c: Remove CHAR16 handling.
25961 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25963 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25965 * configure.in: Remove --with-elf and --enable-bounded options.
25966 Dont set base_machine for ia64. More non-ELF conditions removed.
25967 Remove testing and setting of leading underscore information.
25968 * config.make.in (build-bounded): Set to no.
25969 * config.h.in: Remove NO_UNDERSCORES entry.
25970 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25972 * csu/start.c: Remove !NO_UNDERSCORE code.
25973 * locale/localeinfo.h: Likewise.
25974 * sysdeps/generic/machine-gmon.h: Likewise.
25975 * sysdeps/generic/sysdep.h: Likewise.
25976 * sysdeps/i386/sysdep.h: Likewise.
25977 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25978 * sysdeps/mach/sysdep.h: Likewise.
25979 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25981 * sysdeps/sh/sysdep.h: Likewise.
25982 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25983 * sysdeps/unix/i386/sysdep.S: Likewise.
25984 * sysdeps/unix/sparc/start.c: Likewise.
25985 * sysdeps/unix/sparc/sysdep.S: Likewise.
25986 * sysdeps/unix/sparc/sysdep.h: Likewise.
25987 * sysdeps/unix/start.c: Likewise.
25988 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25989 * sysdeps/x86_64/sysdep.h: Likewise.
25991 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25994 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25996 * argp/argp-fmtstream.h: Use const instead __const.
25997 * argp/argp.h: Likewise.
25998 * assert/assert.h: Likewise.
25999 * bits/fenv.h: Likewise.
26000 * bits/sched.h: Likewise.
26001 * bits/sigset.h: Likewise.
26002 * bits/sigthread.h: Likewise.
26003 * catgets/nl_types.h: Likewise.
26004 * conform/data/pthread.h-data: Likewise.
26005 * crypt/crypt-private.h: Likewise.
26006 * crypt/crypt.h: Likewise.
26007 * crypt/crypt_util.c: Likewise.
26008 * ctype/ctype.h: Likewise.
26009 * debug/execinfo.h: Likewise.
26010 * debug/mbsnrtowcs_chk.c: Likewise.
26011 * debug/mbsrtowcs_chk.c: Likewise.
26012 * debug/wcsnrtombs_chk.c: Likewise.
26013 * debug/wcsrtombs_chk.c: Likewise.
26014 * debug/wcstombs_chk.c: Likewise.
26015 * dirent/dirent.h: Likewise.
26016 * dlfcn/dlfcn.h: Likewise.
26017 * elf/neededtest4.c: Likewise.
26018 * grp/grp.h: Likewise.
26019 * gshadow/gshadow.h: Likewise.
26020 * iconv/gconv.h: Likewise.
26021 * iconv/gconv_int.h: Likewise.
26022 * iconv/gconv_simple.c: Likewise.
26023 * iconv/iconv.h: Likewise.
26024 * iconv/loop.c: Likewise.
26025 * iconv/skeleton.c: Likewise.
26026 * include/aio.h: Likewise.
26027 * include/aliases.h: Likewise.
26028 * include/argz.h: Likewise.
26029 * include/arpa/inet.h: Likewise.
26030 * include/assert.h: Likewise.
26031 * include/dirent.h: Likewise.
26032 * include/dlfcn.h: Likewise.
26033 * include/execinfo.h: Likewise.
26034 * include/fcntl.h: Likewise.
26035 * include/fenv.h: Likewise.
26036 * include/glob.h: Likewise.
26037 * include/grp.h: Likewise.
26038 * include/libintl.h: Likewise.
26039 * include/mntent.h: Likewise.
26040 * include/netdb.h: Likewise.
26041 * include/pwd.h: Likewise.
26042 * include/rpc/netdb.h: Likewise.
26043 * include/sched.h: Likewise.
26044 * include/search.h: Likewise.
26045 * include/shadow.h: Likewise.
26046 * include/signal.h: Likewise.
26047 * include/stdio.h: Likewise.
26048 * include/stdlib.h: Likewise.
26049 * include/string.h: Likewise.
26050 * include/sys/socket.h: Likewise.
26051 * include/sys/stat.h: Likewise.
26052 * include/sys/statfs.h: Likewise.
26053 * include/sys/statvfs.h: Likewise.
26054 * include/sys/syslog.h: Likewise.
26055 * include/sys/time.h: Likewise.
26056 * include/sys/uio.h: Likewise.
26057 * include/time.h: Likewise.
26058 * include/unistd.h: Likewise.
26059 * include/utmp.h: Likewise.
26060 * include/wchar.h: Likewise.
26061 * include/wctype.h: Likewise.
26062 * inet/aliases.h: Likewise.
26063 * inet/arpa/inet.h: Likewise.
26064 * inet/netinet/ether.h: Likewise.
26065 * inet/netinet/in.h: Likewise.
26066 * intl/libintl.h: Likewise.
26067 * io/bits/fcntl2.h: Likewise.
26068 * io/fcntl.h: Likewise.
26069 * io/ftw.h: Likewise.
26070 * io/sys/poll.h: Likewise.
26071 * io/sys/stat.h: Likewise.
26072 * io/sys/statfs.h: Likewise.
26073 * io/sys/statvfs.h: Likewise.
26074 * io/utime.h: Likewise.
26075 * libio/bits/stdio.h: Likewise.
26076 * libio/bits/stdio2.h: Likewise.
26077 * libio/libio.h: Likewise.
26078 * libio/libioP.h: Likewise.
26079 * libio/stdio.h: Likewise.
26080 * locale/lc-ctype.c: Likewise.
26081 * locale/locale.h: Likewise.
26082 * login/utmp.h: Likewise.
26083 * malloc/arena.c: Likewise.
26084 * malloc/malloc.c: Likewise.
26085 * malloc/malloc.h: Likewise.
26086 * malloc/mcheck.c: Likewise.
26087 * malloc/mtrace.c: Likewise.
26088 * math/bits/mathcalls.h: Likewise.
26089 * math/fenv.h: Likewise.
26090 * math/math_private.h: Likewise.
26091 * misc/bits/error.h: Likewise.
26092 * misc/bits/syslog.h: Likewise.
26093 * misc/err.h: Likewise.
26094 * misc/error.h: Likewise.
26095 * misc/fstab.h: Likewise.
26096 * misc/mntent.h: Likewise.
26097 * misc/regexp.h: Likewise.
26098 * misc/search.h: Likewise.
26099 * misc/sgtty.h: Likewise.
26100 * misc/sys/mman.h: Likewise.
26101 * misc/sys/syslog.h: Likewise.
26102 * misc/sys/uio.h: Likewise.
26103 * misc/sys/xattr.h: Likewise.
26104 * misc/ttyent.h: Likewise.
26105 * nis/rpcsvc/ypclnt.h: Likewise.
26106 * nss/nss.h: Likewise.
26107 * posix/bits/unistd.h: Likewise.
26108 * posix/fnmatch.h: Likewise.
26109 * posix/glob.h: Likewise.
26110 * posix/sched.h: Likewise.
26111 * posix/spawn.h: Likewise.
26112 * posix/sys/wait.h: Likewise.
26113 * posix/unistd.h: Likewise.
26114 * posix/wordexp.h: Likewise.
26115 * pwd/pwd.h: Likewise.
26116 * resolv/netdb.h: Likewise.
26117 * resource/sys/resource.h: Likewise.
26118 * rt/aio.h: Likewise.
26119 * rt/bits/mqueue2.h: Likewise.
26120 * rt/mqueue.h: Likewise.
26121 * shadow/shadow.h: Likewise.
26122 * signal/signal.h: Likewise.
26123 * socket/send.c: Likewise.
26124 * socket/sendto.c: Likewise.
26125 * socket/sys/socket.h: Likewise.
26126 * stdio-common/printf.h: Likewise.
26127 * stdlib/bits/stdlib.h: Likewise.
26128 * stdlib/fmtmsg.h: Likewise.
26129 * stdlib/monetary.h: Likewise.
26130 * stdlib/stdlib.h: Likewise.
26131 * stdlib/ucontext.h: Likewise.
26132 * streams/stropts.h: Likewise.
26133 * string/argz.h: Likewise.
26134 * string/bits/string2.h: Likewise.
26135 * string/string.h: Likewise.
26136 * string/strings.h: Likewise.
26137 * sunrpc/rpc/auth.h: Likewise.
26138 * sunrpc/rpc/auth_des.h: Likewise.
26139 * sunrpc/rpc/clnt.h: Likewise.
26140 * sunrpc/rpc/netdb.h: Likewise.
26141 * sunrpc/rpc/pmap_clnt.h: Likewise.
26142 * sunrpc/rpc/xdr.h: Likewise.
26143 * sysdeps/generic/inttypes.h: Likewise.
26144 * sysdeps/generic/net/if.h: Likewise.
26145 * sysdeps/generic/sys/swap.h: Likewise.
26146 * sysdeps/gnu/net/if.h: Likewise.
26147 * sysdeps/gnu/utmpx.h: Likewise.
26148 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26149 * sysdeps/i386/i486/bits/string.h: Likewise.
26150 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26151 * sysdeps/s390/bits/string.h: Likewise.
26152 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26153 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26154 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26155 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26156 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26157 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26158 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26159 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26160 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26161 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26162 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26163 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26164 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26165 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26166 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26167 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26168 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26170 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26173 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26174 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26175 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26176 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26177 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26178 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26179 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26180 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26181 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26182 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26183 * sysvipc/sys/ipc.h: Likewise.
26184 * sysvipc/sys/msg.h: Likewise.
26185 * sysvipc/sys/sem.h: Likewise.
26186 * sysvipc/sys/shm.h: Likewise.
26187 * termios/termios.h: Likewise.
26188 * time/sys/time.h: Likewise.
26189 * time/time.h: Likewise.
26190 * wcsmbs/bits/wchar2.h: Likewise.
26191 * wcsmbs/uchar.h: Likewise.
26192 * wcsmbs/wchar.h: Likewise.
26193 * wctype/wctype.h: Likewise.
26196 * Makeconfig: Remove all but ELF support including AIX support.
26197 * Makerules: Likewise.
26198 * config.h.in: Likewise.
26199 * config.make.in: Likewise.
26200 * configure: Likewise.
26201 * configure.in: Likewise.
26202 * csu/Makefile: Likewise.
26203 * csu/version.c: Likewise.
26204 * debug/Makefile: Likewise.
26205 * dlfcn/Makefile: Likewise.
26206 * elf/Makefile: Likewise.
26207 * extra-lib.mk: Likewise.
26208 * iconv/Makefile: Likewise.
26209 * include/libc-symbols.h: Likewise.
26210 * include/shlib-compat.h: Likewise.
26211 * resolv/Makefile: Likewise.
26212 * resolv/res_libc.c: Likewise.
26213 * rt/Makefile: Likewise.
26214 * sysdeps/i386/asm-syntax.h: Likewise.
26215 * sysdeps/i386/sysdep.h: Likewise.
26216 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26217 * sysdeps/mach/sysdep.h: Likewise.
26218 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26219 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26220 * sysdeps/s390/asm-syntax.h: Likewise.
26221 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26222 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26223 * sysdeps/sh/sysdep.h: Likewise.
26224 * sysdeps/unix/sparc/sysdep.h: Likewise.
26225 * sysdeps/wordsize-32/divdi3.c: Likewise.
26226 * sysdeps/x86_64/sysdep.h: Likewise.
26228 * argp/Versions: Remove _argp_unlock_xxx.
26231 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26232 * abilist/libBrokenLocale.abilist: Likewise.
26233 * abilist/libanl.abilist: Likewise.
26234 * abilist/libc.abilist: Likewise.
26235 * abilist/libcrypt.abilist: Likewise.
26236 * abilist/libdl.abilist: Likewise.
26237 * abilist/libm.abilist: Likewise.
26238 * abilist/libnsl.abilist: Likewise.
26239 * abilist/libpthread.abilist: Likewise.
26240 * abilist/libresolv.abilist: Likewise.
26241 * abilist/librt.abilist: Likewise.
26242 * abilist/libthread_db.abilist: Likewise.
26243 * abilist/libutil.abilist: Likewise.
26244 * abilist/libnss_db.abilist: New file.
26246 * scripts/abilist.awk: Add support for indirect functions.
26248 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26250 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26252 * shlib-versions: Remove entries for ports architectures.
26254 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26256 * elf/stackguard-macros.h: Remove support for IA-64.
26257 * elf/tst-auditmod1.c: Likewise.
26258 * sysdeps/generic/ldsodefs.h: Likewise.
26260 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26261 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26265 * configure.in: Remove --enable-omitfp support.
26267 * config.make.in: Likewise.
26268 * Makeconfig: Likewise.
26269 * manual/install.texi: Likewise.
26271 In case anyone cares, the IA-64 architecture could move to ports.
26272 * sysdeps/ia64/*: Removed.
26273 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26274 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26277 * configure.in: Remove entries for unsupported architectures.
26280 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26281 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26283 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26284 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26285 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26286 fall back to using wcrtomb.
26287 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26288 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26290 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26291 * wcsmbs/tst-c16c32-1.c: New file.
26293 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26296 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26298 * elf/tst-unique3.cc: Add explicit declaration of gets.
26299 * elf/tst-unique3lib.cc: Likewise.
26300 * elf/tst-unique3lib2.cc: Likewise.
26301 * elf/tst-unique4.cc: Likewise.
26303 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26305 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26308 * assert/assert.h (static_assert): Don't define for C++.
26309 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26310 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26312 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26314 * iconv/loop.c (single loop): Fix assertion in storing of
26317 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26319 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26321 * posix/getconf.c: Update copyright year.
26322 * nss/getent.c: Likewise.
26323 * nss/makedb.c: Likewise.
26324 * iconv/iconvconfig.c: Likewise.
26325 * iconv/iconv_prog.c: Likewise.
26326 * elf/ldconfig.c: Likewise.
26327 * elf/pldd.c: Likewise.
26328 * elf/sotruss.ksh: Likewise.
26329 * catgets/gencat.c: Likewise.
26330 * csu/version.c: Likewise.
26331 * elf/ldd.bash.in: Likewise.
26332 * elf/sprof.c (print_version): Likewise.
26333 * locale/programs/locale.c: Likewise.
26334 * locale/programs/localedef.c: Likewise.
26335 * login/programs/pt_chown.c: Likewise.
26336 * nscd/nscd.c (print_version): Likewise.
26337 * debug/xtrace.sh: Likewise.
26338 * malloc/memusage.sh: Likewise.
26339 * malloc/mtrace.pl: Likewise.
26340 * debug/catchsegv.sh: Likewise.
26342 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26344 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26347 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26350 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26351 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26353 * iconv/gconv_int.h: Likewise.
26354 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26355 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26356 from libc for GLIBC_2.16.
26357 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26358 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26359 * wcsmbs/uchar.h: Really define mbstate_t.
26360 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26361 * wcsmbs/c16rtomb.c: New file.
26362 * wcsmbs/mbrtoc16.c: New file.
26363 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26364 for C/POSIX locale.
26365 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26366 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26368 * wcsmbs/wchar.h: Add missing __restrict.
26370 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26373 * time/Makefile (routines): Add timespec_get.
26374 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26375 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26376 timespec for ISO C11.
26377 * time/timespec_get.c: New file.
26378 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26379 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26382 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26383 * stdlib/stdlib.h: Declare aligned_alloc.
26384 * Versions.def: Add GLIBC_2.16 for libc.
26385 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26388 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26391 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26395 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26398 * assert/assert.h (static_assert): Define.
26400 * version.h: Update for 2.16 development version.
26403 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26406 * version.h (RELEASE): Bump for 2.15 release.
26407 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26409 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26410 Patch by Marek Polacek <mpolacek@redhat.com>.
26412 * bits/byteswap.h: Protect long long constants with __extension__.
26413 * sysdeps/i386/bits/byteswap.h: Likewise.
26414 * sysdeps/ia64/bits/byteswap.h: Likewise.
26415 * sysdeps/s390/bits/byteswap.h: Likewise.
26416 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26418 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26421 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26422 destination buffer.
26423 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26425 2011-12-23 Marek Polacek <polacek@redhat.com>
26427 * elf/dl-addr.c (determine_info): Add inline keyword.
26428 * elf/tst-auditmod4b.c (check_avx): Likewise.
26429 * elf/tst-auditmod6b.c (check_avx): Likewise.
26430 * elf/tst-auditmod6c.c (check_avx): Likewise.
26431 * elf/tst-auditmod7b.c (check_avx): Likewise.
26433 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26435 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26438 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26441 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26442 processing for last bytes.
26444 2011-08-06 Bruno Haible <bruno@clisp.org>
26447 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26448 U+0385, not to U+1FEE.
26451 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26452 entry for U+00A5 U+0301.
26454 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26457 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26458 buffer for the output is too small.
26460 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26464 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26465 SSE flags if possible.
26467 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26470 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26471 processing for last bytes.
26473 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26475 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26476 (syscall-list-default-options, syscall-list-default-condition)
26477 (syscall-list-includes): Define.
26478 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26479 list of ABIs and options and #if conditions for each ABI. Do not
26480 handle common syscalls between ABIs specially.
26481 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26483 (syscall-list-variants, syscall-list-32bit-options)
26484 (syscall-list-32bit-condition, syscall-list-64bit-options)
26485 (syscall-list-64bit-condition): Define.
26486 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26487 (syscall-list-variants, syscall-list-32bit-options)
26488 (syscall-list-32bit-condition, syscall-list-64bit-options)
26489 (syscall-list-64bit-condition): Define.
26490 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26492 (syscall-list-variants, syscall-list-32bit-options)
26493 (syscall-list-32bit-condition, syscall-list-64bit-options)
26494 (syscall-list-64bit-condition): Define.
26495 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26497 (syscall-list-variants, syscall-list-32bit-options)
26498 (syscall-list-32bit-condition, syscall-list-64bit-options)
26499 (syscall-list-64bit-condition): Define.
26501 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26503 * locale/iso-639.def: Add brx entry.
26506 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26507 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26509 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26510 __feraiseexcept_renamed.
26512 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26515 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26516 EPOLLET with unsigned values.
26517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26518 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26520 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26521 to large cancellation.
26522 * math/s_cacoshf.c: Likewise.
26523 * math/s_cacoshl.c: Likewise.
26525 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26529 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26530 * math/s_cacoshf.c: Likewise.
26531 * math/s_cacoshl.c: Likewise.
26533 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26536 * iconv/gconv.h: Define __GCONV_SWAP.
26537 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26538 * iconvdata/utf-16.c: Likewise.
26539 * iconvdata/utf-32.c: Likewise.
26541 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26545 numerator after shifting it by one limb.
26547 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26549 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26550 under [__USE_EXTERN_INLINES].
26552 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26555 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26557 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26559 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26560 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26562 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26563 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26564 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26565 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26566 for strncasecmp/strncasecmp_l compilation.
26567 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26568 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26570 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26573 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26576 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26579 * time/tzfile.c (__tzfile_read): Check values from file header.
26581 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26583 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26584 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26585 * powerpc/powerpc32/dl-start.S: Likewise.
26586 * powerpc/powerpc32/elf/start.S: Likewise.
26587 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26588 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26589 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26590 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26591 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26592 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26593 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26594 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26595 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26596 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26597 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26598 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26599 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26600 * powerpc/powerpc32/memset.S: Likewise.
26601 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26602 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26603 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26604 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26605 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26606 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26607 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26608 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26609 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26610 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26611 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26612 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26613 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26615 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26617 * math/libm-test.inc: Added more nearbyint tests.
26618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26623 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26625 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26628 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26630 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26631 Add wcscpy-ssse3 wcscpy-c.
26632 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26633 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26634 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26635 * sysdeps/x86_64/wcschr.S: New file.
26636 * sysdeps/x86_64/wcsrchr.S: New file.
26637 * string/test-strcmp.c: Remove checking of wcscmp function for
26639 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26640 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26641 wcsrchr-sse2 wcsrchr-c.
26642 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26643 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26644 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26645 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26646 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26647 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26648 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26649 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26650 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26651 * wcsmbc/wcschr.c (WCSCHR): New macro.
26653 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26655 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26656 * wcsmbs/test-wcsrchr.c: New file.
26657 * string/test-strrchr.c: Add wcsrchr support.
26659 * wcsmbs/test-wcscpy.c: New file.
26660 * string/test-strcpy.c: Add wcscpy support.
26663 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26668 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26671 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26673 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26675 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26676 Minor optimizations.
26678 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26679 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26680 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26682 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26684 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26685 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26686 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26687 for gcc to avoid warnings.
26688 * inet/Makefile (tests): Add tst-checks.
26689 * inet/tst-checks.c: New file.
26691 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26694 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26697 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26698 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26700 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26702 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26704 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26707 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26709 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26711 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26712 conditional on GCC version.
26713 (__arch_compare_and_exchange_val_8_acq)
26714 (__arch_compare_and_exchange_val_16_acq)
26715 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26716 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26717 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26719 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/sh/backtrace.c: New file.
26723 2011-12-02 Andreas Schwab <schwab@redhat.com>
26725 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26728 2011-12-01 Andreas Schwab <schwab@redhat.com>
26730 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26731 falling back to utime.
26733 2011-11-30 Andreas Schwab <schwab@redhat.com>
26735 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26736 expectations for float.
26738 2011-11-29 Andreas Schwab <schwab@redhat.com>
26740 * locale/weight.h (findidx): Add parameter len.
26741 * locale/weightwc.h (findidx): Likewise.
26742 * posix/fnmatch_loop.c (FCT): Adjust caller.
26743 * posix/regcomp.c (build_equiv_class): Likewise.
26744 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26745 * posix/regexec.c (check_node_accept_bytes): Likewise.
26746 * string/strcoll_l.c (STRCOLL): Likewise.
26747 * string/strxfrm_l.c (STRXFRM): Likewise.
26749 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26751 * Makefile.in: Remove CVSOPT handling.
26752 * configure.in: Remove use of AC_REVISION.
26753 * iconvdata/Makefile (distribute): No need to filter out CVS.
26754 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26757 2011-11-16 Andreas Schwab <schwab@redhat.com>
26759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26760 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26761 [USE_AS_STRNCASECMP_L]: Likewise.
26762 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26763 NO_TLS_DIRECT_SEG_REFS.
26764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26765 Fix argument offsets for non-PIC.
26766 [USE_AS_STRNCASECMP_L]: Likewise.
26767 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26768 NO_TLS_DIRECT_SEG_REFS.
26770 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26772 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26774 * locale/loadlocale.c (_nl_load_locale): Likewise.
26776 2011-11-15 Andreas Schwab <schwab@redhat.com>
26778 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26779 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26780 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26781 (SYSCALL_GETTIME): Set errno on error.
26783 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26784 count references to noai6ai_cached.
26786 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26788 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26790 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26791 FD_CLOEXEC for /proc/self/maps.
26793 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26794 FD_CLOEXEC for /proc/meminfo.
26796 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26799 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26800 FD_CLOEXEC for given file.
26802 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26804 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26805 FD_CLOEXEC for /etc/hosts.
26806 (_gethtent): Likewise.
26808 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26810 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26811 cancellation and set FD_CLOEXEC for /etc/netgroup.
26813 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26814 reading /etc/publickey.
26816 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26817 allow cancellation when reading /etc/group.
26819 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26821 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26823 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26824 when using data file.
26826 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26828 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26829 (write_nis_obj): Use "c" and "e" in fopen.
26831 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26833 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26835 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26837 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26839 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26842 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26844 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26846 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26848 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26849 file parsing and set FD_CLOEXEC.
26851 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26853 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26855 2011-11-14 Andreas Schwab <schwab@redhat.com>
26857 * malloc/arena.c (arena_get2): Don't call reused_arena when
26858 _int_new_arena failed.
26860 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26862 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26863 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26865 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26866 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26868 to compile strcasecmp and strncasecmp.
26869 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26870 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26874 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26876 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26877 locale-defines.sym to gen-as-const-headers.
26878 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26879 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26881 to compile strcasecmp and strncasecmp.
26882 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26883 strcasecmp_l and strncasecmp_l.
26884 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26885 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26886 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26887 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26888 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26889 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26890 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26891 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26892 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26893 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26894 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26896 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26898 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26899 result of SYSDEP_GETTIME_CPU to retval.
26900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26901 parameter list to macro. Remove trailing semicolon. Adjust users.
26903 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26906 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26908 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26910 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26911 from unused variable.
26913 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26915 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26918 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26921 * sunrpc/rpc_prot.c (rejected): Fix case value.
26923 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26924 unsigned long long int to avoid warnings in shift.
26926 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26928 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26931 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26932 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26933 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26935 * nis/nis_table.c (nis_list): Use variable of correct type for
26936 result of __follow_path call.
26938 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26940 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26941 of math functions ceil, trunc, floor, round, and sqrt, when
26942 avaliable on the platform.
26943 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26945 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26946 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26947 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26949 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26951 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26954 2011-11-11 Roland McGrath <roland@hack.frob.com>
26956 * include/unistd.h: Fix __readlink return type.
26957 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26959 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26961 * stdlib/ucontext.h: Undo last change for makecontext.
26963 2011-11-11 Andreas Schwab <schwab@redhat.com>
26965 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26967 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26968 * setjmp/setjmp.h: Mark functions as non-leaf.
26969 * setjmp/bits/setjmp2.h: Likewise.
26970 * stdlib/ucontext.h: Likewise.
26972 2011-11-10 Andreas Schwab <schwab@redhat.com>
26974 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26975 (reused_arena): Don't check arena limit.
26976 (arena_get2): Atomically check arena limit.
26978 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26980 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26981 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26986 2011-11-07 Andreas Schwab <schwab@redhat.com>
26988 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26989 handler when locking.
26991 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26992 Fix size of allocated buffer.
26994 2011-11-04 Andreas Schwab <schwab@redhat.com>
26997 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26998 declarations for long double functions.
26999 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27001 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27003 2011-11-03 Andreas Schwab <schwab@redhat.com>
27005 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27008 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27011 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27013 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27015 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27017 * include/alloca.h (stackinfo_alloca_round): Define.
27018 (extend_alloca): Use it.
27019 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27020 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27023 * scripts/check-local-headers.sh: Ignore libaudit.h.
27025 * nscd/Makefile (extra-objs): Make recursively expanded.
27027 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27029 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27032 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27033 * posix/tst-rfc3484-2.c: Likewise.
27034 * posix/tst-rfc3484-3.c: Likewise.
27036 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27038 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27040 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27041 process_vm_writev from libc using GLIBC_2.15 version.
27043 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27045 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27047 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27050 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27053 * nss/getent.c (initgroups_keys): Show error message in case no group
27056 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27057 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27058 __bump_nl_timestamp.
27059 * nscd/connections (nscd_init): When host database is served open
27060 netlink socket and request notification about configuration changes.
27061 (main_loop_poll): Track netlink file descriptor and bump timestamp
27062 in case data becomes available.
27063 (main_loop_epoll): Likewise.
27064 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27065 (database_pers_head): Add extra_data fileds.
27066 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27067 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27068 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27071 in6ai data, call __free_in6ai.
27072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27073 Add -DHAVE_NETLINK.
27074 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27075 interface information. Reuse previous data if netlink timestamp
27077 (__bump_nl_timestamp): New function.
27078 (__free_in6ai): New function.
27080 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27082 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27083 close_not_cancel_no_status here.
27084 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27086 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27089 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27092 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27093 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27094 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27096 2011-07-03 Andreas Jaeger <aj@suse.de>
27099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27100 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27101 * math/libm-test.inc (sin_test): Add test case.
27103 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27106 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27107 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27109 * elf/chroot_canon.c (chroot_canon): Cleanups.
27111 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27114 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27115 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27117 * string/test-strchr.c: Make usable for strchrnul testing.
27118 * string/test-strchrnul.c: New file.
27119 * string/Makefile (strop-tests): Add strchrnul.
27121 * po/it.po: Update from translation team.
27122 * po/es.po: Likewise.
27124 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27126 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27127 the three constants needed as parameters. Drop the others.
27128 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27129 __m128i_strloadu_tolower.
27130 Create and initialize variable zero and use it in all the places
27131 where _mm_setzero_si128 was used.
27133 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27134 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27135 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27136 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27138 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27139 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27140 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27141 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27142 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27143 __mpranred, __mptan.
27144 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27145 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27146 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27147 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27148 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27149 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27150 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27151 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27152 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27154 2011-10-28 Andreas Schwab <schwab@redhat.com>
27156 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27157 redefine if SHARED.
27158 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27161 wide char related routines to wcsmbs subdir.
27163 2011-10-27 Andreas Schwab <schwab@redhat.com>
27166 * misc/sys/cdefs.h (__THROWNL): Define.
27167 * posix/unistd.h: Use __THREADNL instead of __THREAD
27168 for memory synchronization functions.
27170 2011-10-26 Roland McGrath <roland@hack.frob.com>
27173 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27175 * manual/stdio.texi (Obstack Streams): Node removed.
27177 2011-10-26 Andreas Schwab <schwab@redhat.com>
27179 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27180 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27181 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27183 * math/math_private.h (math_force_eval): Allow non-addressable
27185 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27187 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27189 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27190 file is not needed.
27192 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27194 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27195 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27196 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27197 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27198 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27199 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27201 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27202 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27203 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27204 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27205 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27206 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27208 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27209 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27210 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27211 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27212 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27214 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27217 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27218 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27219 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27221 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27222 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27224 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27225 place. Use VEX encoding when compiling for AVX.
27227 2011-10-25 Andreas Schwab <schwab@redhat.com>
27229 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27230 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27232 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27234 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27236 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27237 useless if() expression.
27238 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27239 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27244 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27248 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27250 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27251 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27252 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27253 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27256 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27258 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27260 2011-10-25 Andreas Schwab <schwab@redhat.com>
27262 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27264 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27266 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27268 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27269 .text section. Avoid duplicate constants.
27270 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27278 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27279 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27280 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27281 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27282 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27283 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27284 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27285 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27287 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27289 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27290 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27291 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27294 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27295 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27296 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27297 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27299 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27300 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27301 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27302 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27303 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27304 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27305 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27306 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27307 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27308 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27309 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27310 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27311 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27312 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27313 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27314 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27316 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27318 * sysdeps/x86_64/dla.h: Move to ...
27319 * sysdeps/x86_64/fpu/dla.h: ...here.
27320 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27321 situations. Use __builtin_fma only for gcc 4.6 and up.
27323 * config.make.in: Add have-mfma4 entry.
27324 * configure.in: Substitute libc_cv_cc_fma4.
27325 * math/Makefile (dbl-only-routines): Add sincostab.
27326 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27327 Use __sincostab not sincos.
27328 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27333 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27335 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27336 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27337 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27338 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27340 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27341 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27343 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27344 define aliases when function name is a macro.
27345 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27346 sysdeps/ieee754/dbl-64/sincos.tbl.
27347 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27348 fma4-enabled routines.
27349 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27350 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27351 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27352 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27353 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27354 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27355 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27357 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27358 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27359 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27360 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27361 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27362 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27364 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27365 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27366 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27367 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27368 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27369 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27370 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27371 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27372 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27373 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27374 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27375 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27376 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27377 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27378 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27380 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27391 2011-10-24 Andreas Schwab <schwab@redhat.com>
27393 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27395 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27399 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27403 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27404 Remove unused variable magic_bits.
27405 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27407 * string/strnlen.c: Define and use STRNLEN macro.
27408 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27409 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27410 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27411 * wcsmbs/wcslen.c: Define and use WCSLEN.
27412 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27413 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27414 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27415 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27416 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27417 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27418 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27420 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27422 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27423 strnlen-sse2-no-bsf.
27424 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27425 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27426 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27427 Add strnlen support.
27428 (USE_AS_STRNLEN): New macro.
27429 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27430 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27431 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27432 * sysdeps/x86_64/wcslen.S: New file.
27434 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27437 XMM-moves are used for copying on small sizes.
27439 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27441 * wcsmbs/Makefile (strop-tests): Add wcschr.
27442 * wcsmbs/test-wcschr.c: New file.
27443 * string/test-strchr.c: Update.
27444 Add wcschr support.
27447 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27449 * wcsmbs/Makefile (strop-tests): Add wcslen.
27450 * wcsmbs/test-wcslen.c: New file.
27451 * string/test-strlen.c: Update.
27452 Add wcslen support.
27455 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27457 * po/it.po: Update from translation team.
27459 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27461 * sysdeps/x86_64/wcscmp.S: Update.
27462 Fix wrong comparison semantics.
27463 wcscmp shall use signed comparison not unsigned.
27464 Don't use substraction to avoid overflow bug.
27465 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27466 * wcsmbc/wcscmp.c: Likewise.
27467 * string/test-strcmp.c: Likewise.
27468 Add new tests to check cases with negative values.
27470 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27472 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27473 * sysdeps/x86_64/dla.h: ...here. New file.
27474 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27484 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27487 __ynl_finite aliases.
27489 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27493 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27495 [DLA_FMA] (EMULV): Use DLA_FMA.
27496 [DLA_FMA] (MUL12): Use EMULV.
27497 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27498 that are not needed.
27499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27502 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27504 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27507 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27509 * math/s_nan.c: Undef __nan.
27510 * math/s_nanf.c: Undef __nanf.
27511 * math/s_nanl.c: Undef __nanl.
27512 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27515 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27517 * math/s_catan.c: Add branch predictions.
27518 * math/s_catanf.c: Likewise.
27519 * math/s_catanh.c: Likewise.
27520 * math/s_catanhf.c: Likewise.
27521 * math/s_catanhl.c: Likewise.
27522 * math/s_catanl.c: Likewise.
27523 * math/s_cexp.c: Likewise.
27524 * math/s_cexpf.c: Likewise.
27525 * math/s_cexpl.c: Likewise.
27526 * math/s_clog.c: Likewise.
27527 * math/s_clog10.c: Likewise.
27528 * math/s_clog10f.c: Likewise.
27529 * math/s_clog10l.c: Likewise.
27530 * math/s_clogf.c: Likewise.
27531 * math/s_clogl.c: Likewise.
27532 * math/s_csqrt.c: Likewise.
27533 * math/s_csqrtf.c: Likewise.
27534 * math/s_csqrtl.c: Likewise.
27535 * math/s_ctanf.c: Likewise.
27536 * math/s_ctanh.c: Likewise.
27537 * math/s_ctanhf.c: Likewise.
27538 * math/s_ctanhl.c: Likewise.
27539 * math/s_ctanl.c: Likewise.
27541 * math/math_private.h: Define __nan, __nanf, __nanl.
27542 * math/s_cacosh.c: Include <math_private.h>.
27543 * math/s_cacoshl.c: Likewise.
27544 * math/s_casinh.c: Likewise.
27545 * math/s_casinhf.c: Likewise.
27546 * math/s_casinhl.c: Likewise.
27547 * math/s_ccos.c: Rely entire on ccosh.
27548 * math/s_ccosf.c: Rely entire on ccoshf.
27549 * math/s_ccosl.c: Rely entirely on ccoshl.
27550 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27551 Remove tests for FE_INVALID.
27552 * math/s_ccoshf.c: Likewise.
27553 * math/s_ccoshl.c: Likewise.
27554 * math/s_csin.c: Likewise.
27555 * math/s_csinf.c: Likewise.
27556 * math/s_csinh.c Likewise.
27557 * math/s_csinhf.c: Likewise.
27558 * math/s_csinhl.c: Likewise.
27559 * math/s_csinl.c: Likewise.
27560 * math/s_ctan.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27562 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27563 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27565 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27568 compilation problems.
27570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27573 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27575 * sysdeps/i386/configure.in: Test for -mfma4 option.
27576 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27577 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27578 COMMON_CPUID_INDEX_80000001.
27579 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27580 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27581 use it if FMA3 is not supported.
27582 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27584 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27585 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27587 2011-10-20 Andreas Schwab <schwab@redhat.com>
27590 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27591 it would create a cycle with a link time dependency.
27593 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27595 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27597 * string/Makefile (strop-tests): Add rawmemchr.
27598 * string/test-rawmemchr.c: New file.
27600 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27601 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27602 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27603 when compiling str{,n}casecmp and when AVX is available. Hook up
27604 new optimized code in initializers.
27606 2011-10-19 Andreas Schwab <schwab@redhat.com>
27608 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27609 __feraiseexcept instead of feraiseexcept.
27611 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27613 * math/math_private.h: Define defaults for libc_fetestexcept and
27615 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27616 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27618 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27619 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27620 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27621 libc_fetestexcept and libc_feupdateenv.
27623 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27624 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27625 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27626 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27627 libc_feholdexcept_setround.
27629 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27630 Add s_nearbyint-c and s_nearbyintf-c.
27631 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27632 nearbyintf inlines.
27633 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27634 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27635 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27636 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27638 * math/math_private.h: Define defaults for libc_fegetround,
27639 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27640 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27641 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27642 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27643 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27644 standard functions.
27645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27646 Remove comments and hacks for old compiler versions.
27647 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27648 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27649 libc_feholdexceptl.
27651 2011-10-18 Andreas Schwab <schwab@redhat.com>
27653 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27654 (__feraiseexcept_renamed): Add __NTH.
27655 (feraiseexcept): Add __NTH. Rename local variables to fix
27656 namespace violations.
27658 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27660 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27662 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27664 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27665 recently added interfaces.
27666 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27668 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27669 about macro parameter expansion.
27671 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27672 __NO_MATH_INLINES is defined. Cleanups.
27674 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27675 and __floorf is target has SSE4.1.
27676 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27677 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27678 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27679 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27681 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27683 (floorf): Likewise.
27685 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27687 2011-10-17 Andreas Schwab <schwab@redhat.com>
27689 * misc/sys/cdefs.h: Fix last change.
27691 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27694 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27696 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27698 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27705 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27707 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27708 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27709 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27710 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27711 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27712 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27713 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27714 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27715 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27716 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27717 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27719 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27721 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27722 ceil, ceilf, floor, floorf.
27724 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27725 Perform IRELATIVE relocations last.
27727 * elf/do-rel.h: Add another parameter nrelative, replacing the
27728 local variable with the same name. Change name of the function
27729 to end in Rel or Rela (uppercase).
27730 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27731 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27732 elf_dynamic_do_##reloc function.
27734 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27736 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27737 is sufficient, at least on modern CPUs.
27739 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27741 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27744 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27746 * math/bits/math-finite.h: Add entries for exp.
27747 * math/e_expl.c: Add __*_finite alias.
27748 * sysdeps/i386/fpu/e_exp.S: Likewise.
27749 * sysdeps/i386/fpu/e_expf.S: Likewise.
27750 * sysdeps/i386/fpu/e_expl.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27752 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27756 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27757 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27759 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27760 is sufficient, at least on modern CPUs.
27762 * ctype/ctype-info.c (__ctype_init): Define.
27763 * include/ctype.h (__ctype_init): Declare.
27764 (__ctype_b_loc): The variable is always initialized.
27765 (__ctype_toupper_loc): Likewise.
27766 (__ctype_tolower_loc): Likewise.
27767 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27768 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27770 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27772 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27774 * configure.in: Also look in $cxxmachine/include for C++ system
27777 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27779 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27780 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27781 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27782 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27784 (USE_AS_WMEMCMP): New macro.
27786 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27787 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27788 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27789 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27791 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27792 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27793 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27794 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27795 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27797 (USE_AS_WMEMCMP): New macro.
27798 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27799 * sysdeps/string/test-memcmp.c: Update.
27800 Fix simple_wmemcmp.
27802 * wcsmbs/wmemcmp.c: Update.
27803 (WMEMCMP): New macro.
27806 2011-10-12 Andreas Jaeger <aj@suse.de>
27809 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27811 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27813 * libio/iofwide.c (do_length): Avoid warning.
27815 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27817 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27819 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27821 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27822 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27823 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27824 * sysdeps/i386/i686/fpu/e_log.S: New file.
27825 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27826 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27828 * ctype/ctype.h: Add support for inlined isXXX functions when
27829 compiling C++ code.
27831 2011-10-14 Andreas Schwab <schwab@redhat.com>
27833 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27835 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27837 2011-10-13 Roland McGrath <roland@hack.frob.com>
27840 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27842 2011-10-13 Andreas Schwab <schwab@redhat.com>
27844 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27845 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27848 * sysdeps/x86_64/memrchr.S: Check for zero size.
27850 * string/stratcliff.c: Add memrchr tests.
27852 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27855 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27856 rawmemchr-sse2 rawmemchr-sse2-bsf.
27857 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27858 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27859 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27860 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27861 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27862 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27863 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27864 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27865 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27866 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27867 * string/memrchr.c (MEMRCHR): New macro.
27869 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27871 Add integration with gcc's -ffinite-math-only and optimize wrapper
27873 * Versions.def: Define GLIBC_2.15 version for libm.
27874 * math/Makefile (headers): Add bits/math-finite.h.
27875 * math/bits/math-finite.h: New file.
27876 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27877 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27878 * math/e_acoshl.c: Add __*_finite alias.
27879 * math/e_acosl.c: Likewise.
27880 * math/e_asinl.c: Likewise.
27881 * math/e_atan2l.c: Likewise.
27882 * math/e_atanhl.c: Likewise.
27883 * math/e_coshl.c: Likewise.
27884 * math/e_exp10.c: Likewise.
27885 * math/e_exp10f.c: Likewise.
27886 * math/e_exp10l.c: Likewise.
27887 * math/e_exp2l.c: Likewise.
27888 * math/e_fmodl.c: Likewise.
27889 * math/e_gammal_r.c: Likewise.
27890 * math/e_hypotl.c: Likewise.
27891 * math/e_j0l.c: Likewise.
27892 * math/e_j1l.c: Likewise.
27893 * math/e_jnl.c: Likewise.
27894 * math/e_lgammal_r.c: Likewise.
27895 * math/e_log10l.c: Likewise.
27896 * math/e_log2l.c: Likewise.
27897 * math/e_logl.c: Likewise.
27898 * math/e_powl.c: Likewise.
27899 * math/e_sinhl.c: Likewise.
27900 * math/e_sqrtl.c: Likewise.
27901 * math/e_scalb.c: Completely rewritten and optimized.
27902 * math/e_scalbf.c: Likewise.
27903 * math/e_scalbl.c: Likewise.
27904 * math/w_acos.c: Likewise.
27905 * math/w_acosf.c: Likewise.
27906 * math/w_acosl.c: Likewise.
27907 * math/w_acosh.c: Likewise.
27908 * math/w_acoshf.c: Likewise.
27909 * math/w_acoshl.c: Likewise.
27910 * math/w_asin.c: Likewise.
27911 * math/w_asinf.c: Likewise.
27912 * math/w_asinl.c: Likewise.
27913 * math/w_atan2.c: Likewise.
27914 * math/w_atan2f.c: Likewise.
27915 * math/w_atan2l.c: Likewise.
27916 * math/w_atanh.c: Likewise.
27917 * math/w_atanhf.c: Likewise.
27918 * math/w_atanhl.c: Likewise.
27919 * math/w_exp10.c: Likewise.
27920 * math/w_exp10f.c: Likewise.
27921 * math/w_exp10l.c: Likewise.
27922 * math/w_fmod.c: Likewise.
27923 * math/w_fmodf.c: Likewise.
27924 * math/w_fmodl.c: Likewise.
27925 * math/w_j0.c: Likewise.
27926 * math/w_j0f.c: Likewise.
27927 * math/w_j0l.c: Likewise.
27928 * math/w_j1.c: Likewise.
27929 * math/w_j1f.c: Likewise.
27930 * math/w_j1l.c: Likewise.
27931 * math/w_jn.c: Likewise.
27932 * math/w_jnf.c: Likewise.
27933 * math/w_log.c: Likewise.
27934 * math/w_logf.c: Likewise.
27935 * math/w_logl.c: Likewise.
27936 * math/w_log10.c: Likewise.
27937 * math/w_log10f.c: Likewise.
27938 * math/w_log10l.c: Likewise.
27939 * math/w_log2.c: Likewise.
27940 * math/w_log2f.c: Likewise.
27941 * math/w_log2l.c: Likewise.
27942 * math/w_pow.c: Likewise.
27943 * math/w_powf.c: Likewise.
27944 * math/w_powl.c: Likewise.
27945 * math/w_remainder.c: Likewise.
27946 * math/w_remainderf.c: Likewise.
27947 * math/w_remainderl.c: Likewise.
27948 * math/w_scalb.c: Likewise.
27949 * math/w_scalbf.c: Likewise.
27950 * math/w_scalbl.c: Likewise.
27951 * math/w_sqrt.c: Likewise.
27952 * math/w_sqrtf.c: Likewise.
27953 * math/w_sqrtl.c: Likewise.
27954 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27955 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27957 * math/math_private.h: Declare __kernel_standard_f.
27958 * math/w_cosh.c: Remove cruft and optimize a bit.
27959 * math/w_coshf.c: Likewise.
27960 * math/w_coshl.c: Likewise.
27961 * math/w_exp2.c: Likewise.
27962 * math/w_exp2f.c: Likewise.
27963 * math/w_exp2l.c: Likewise.
27964 * math/w_hypot.c: Likewise.
27965 * math/w_hypotf.c: Likewise.
27966 * math/w_hypotl.c: Likewise.
27967 * math/w_lgamma.c: Likewise.
27968 * math/w_lgamma_r.c: Likewise.
27969 * math/w_lgammaf.c: Likewise.
27970 * math/w_lgammaf_r.c: Likewise.
27971 * math/w_lgammal.c: Likewise.
27972 * math/w_lgammal_r.c: Likewise.
27973 * math/w_sinh.c: Likewise.
27974 * math/w_sinhf.c: Likewise.
27975 * math/w_sinhl.c: Likewise.
27976 * math/w_tgamma.c: Likewise.
27977 * math/w_tgammaf.c: Likewise.
27978 * math/w_tgammal.c: Likewise.
27979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27981 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27982 Minor optimizations. Pretty printing. Remove cruft.
27983 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27984 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27985 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27987 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27988 * sysdeps/i386/fpu/e_asin.S: Likewise.
27989 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27990 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27991 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27992 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27993 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27995 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27996 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27997 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27998 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27999 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28000 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28001 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28002 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28003 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28004 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28005 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28006 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28007 * sysdeps/i386/fpu/e_log.S: Likewise.
28008 * sysdeps/i386/fpu/e_log10.S: Likewise.
28009 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28010 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28011 * sysdeps/i386/fpu/e_log2.S: Likewise.
28012 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28013 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28014 * sysdeps/i386/fpu/e_logf.S: Likewise.
28015 * sysdeps/i386/fpu/e_logl.S: Likewise.
28016 * sysdeps/i386/fpu/e_pow.S: Likewise.
28017 * sysdeps/i386/fpu/e_powf.S: Likewise.
28018 * sysdeps/i386/fpu/e_powl.S: Likewise.
28019 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28020 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28021 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28022 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28023 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28024 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28025 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28026 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28027 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28028 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28029 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28031 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28033 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28037 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28038 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28041 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28042 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28044 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28045 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28048 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28049 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28050 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28051 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28052 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28053 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28054 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28055 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28056 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28057 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28058 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28059 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28060 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28061 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28062 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28063 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28064 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28065 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28066 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28067 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28069 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28107 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28108 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28111 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28113 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28114 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28119 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28120 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28121 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28122 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28123 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28124 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28125 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28126 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28127 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28128 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28129 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28130 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28131 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28132 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28133 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28134 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28136 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28137 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28138 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28139 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28140 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28141 (__isnanf): Likewise.
28142 (__isinf_ns): Likewise.
28143 (__isinf_nsf): Likewise.
28144 (__finite): Likewise.
28145 (__finitef): Likewise.
28146 (__ieee754_sqrt): Define as macro.
28147 (__ieee754_sqrtf): Define as macro.
28148 (__ieee754_sqrtl): Define as macro.
28149 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28151 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28152 __FINITE_MATH_ONLY__ consistent.
28153 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28155 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28157 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28160 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28162 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28164 * po/ja.po: Update from translation team.
28166 2011-10-08 Roland McGrath <roland@hack.frob.com>
28168 * locale/programs/locarchive.c (prepare_address_space): New function.
28169 (create_archive, enlarge_archive, open_archive): Use it.
28171 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28172 inside [SHARED], where it is used.
28174 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28176 * nss/getent.c (netgroup_keys): Remove unused variable.
28177 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28179 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28181 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28184 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28185 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28186 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28187 * math/Makefile (libm-calls): Add s_isinf_ns.
28188 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28189 * math/multc3.c: Likewise.
28190 * math/s_casin.c: Likewise.
28191 * math/s_casinf.c: Likewise.
28192 * math/s_casinl.c: Likewise.
28193 * math/s_ccos.c: Likewise.
28194 * math/s_ccosf.c: Likewise.
28195 * math/s_ccosl.c: Likewise.
28196 * math/s_ctan.c: Likewise.
28197 * math/s_ctanf.c: Likewise.
28198 * math/s_ctanh.c: Likewise.
28199 * math/s_ctanhf.c: Likewise.
28200 * math/s_ctanhl.c: Likewise.
28201 * math/s_ctanl.c: Likewise.
28202 * math/w_fmod.c: Likewise.
28203 * math/w_fmodf.c: Likewise.
28204 * math/w_fmodl.c: Likewise.
28205 * math/w_remainder.c: Likewise.
28206 * math/w_remainderf.c: Likewise.
28207 * math/w_remainderl.c: Likewise.
28208 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28209 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28212 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28213 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28214 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28215 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28217 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28219 * stdio-common/printf_fphex.c: Likewise.
28220 * stdio-common/printf_size.c: Likewise.
28222 * math/e_exp10.c: Include math_private.h using <...> not "...".
28223 * math/e_exp10f.c: Likewise.
28224 * math/e_exp10l.c: Likewise.
28225 * math/e_exp2l.c: Likewise.
28226 * math/e_j0l.c: Likewise.
28227 * math/e_j1l.c: Likewise.
28228 * math/e_jnl.c: Likewise.
28229 * math/e_lgammal_r.c: Likewise.
28230 * math/e_rem_pio2l.c: Likewise.
28231 * math/e_scalb.c: Likewise.
28232 * math/e_scalbf.c: Likewise.
28233 * math/e_scalbl.c: Likewise.
28234 * math/k_cosl.c: Likewise.
28235 * math/k_sinl.c: Likewise.
28236 * math/k_tanl.c: Likewise.
28237 * math/s_cacoshf.c: Likewise.
28238 * math/s_catan.c: Likewise.
28239 * math/s_catanf.c: Likewise.
28240 * math/s_catanh.c: Likewise.
28241 * math/s_catanhf.c: Likewise.
28242 * math/s_catanhl.c: Likewise.
28243 * math/s_catanl.c: Likewise.
28244 * math/s_ccosh.c: Likewise.
28245 * math/s_ccoshf.c: Likewise.
28246 * math/s_ccoshl.c: Likewise.
28247 * math/s_cexp.c: Likewise.
28248 * math/s_cexpf.c: Likewise.
28249 * math/s_cexpl.c: Likewise.
28250 * math/s_clog.c: Likewise.
28251 * math/s_clog10.c: Likewise.
28252 * math/s_clog10f.c: Likewise.
28253 * math/s_clog10l.c: Likewise.
28254 * math/s_clogf.c: Likewise.
28255 * math/s_clogl.c: Likewise.
28256 * math/s_csin.c: Likewise.
28257 * math/s_csinf.c: Likewise.
28258 * math/s_csinh.c: Likewise.
28259 * math/s_csinhf.c: Likewise.
28260 * math/s_csinhl.c: Likewise.
28261 * math/s_csinl.c: Likewise.
28262 * math/s_csqrt.c: Likewise.
28263 * math/s_csqrtf.c: Likewise.
28264 * math/s_csqrtl.c: Likewise.
28265 * math/s_ctan.c: Likewise.
28266 * math/s_ctanf.c: Likewise.
28267 * math/s_ctanh.c: Likewise.
28268 * math/s_ctanhf.c: Likewise.
28269 * math/s_ctanhl.c: Likewise.
28270 * math/s_ctanl.c: Likewise.
28271 * math/s_ldexp.c: Likewise.
28272 * math/s_ldexpf.c: Likewise.
28273 * math/s_ldexpl.c: Likewise.
28274 * math/s_significand.c: Likewise.
28275 * math/s_significandf.c: Likewise.
28276 * math/s_significandl.c: Likewise.
28277 * math/w_acos.c: Likewise.
28278 * math/w_acosf.c: Likewise.
28279 * math/w_acosh.c: Likewise.
28280 * math/w_acoshf.c: Likewise.
28281 * math/w_acoshl.c: Likewise.
28282 * math/w_acosl.c: Likewise.
28283 * math/w_asin.c: Likewise.
28284 * math/w_asinf.c: Likewise.
28285 * math/w_asinl.c: Likewise.
28286 * math/w_atan2.c: Likewise.
28287 * math/w_atan2f.c: Likewise.
28288 * math/w_atan2l.c: Likewise.
28289 * math/w_atanh.c: Likewise.
28290 * math/w_atanhf.c: Likewise.
28291 * math/w_atanhl.c: Likewise.
28292 * math/w_cosh.c: Likewise.
28293 * math/w_coshf.c: Likewise.
28294 * math/w_coshl.c: Likewise.
28295 * math/w_dremf.c: Likewise.
28296 * math/w_exp10.c: Likewise.
28297 * math/w_exp10f.c: Likewise.
28298 * math/w_exp10l.c: Likewise.
28299 * math/w_exp2.c: Likewise.
28300 * math/w_exp2f.c: Likewise.
28301 * math/w_fmod.c: Likewise.
28302 * math/w_fmodf.c: Likewise.
28303 * math/w_fmodl.c: Likewise.
28304 * math/w_hypot.c: Likewise.
28305 * math/w_hypotf.c: Likewise.
28306 * math/w_hypotl.c: Likewise.
28307 * math/w_j0.c: Likewise.
28308 * math/w_j0f.c: Likewise.
28309 * math/w_j0l.c: Likewise.
28310 * math/w_j1.c: Likewise.
28311 * math/w_j1f.c: Likewise.
28312 * math/w_j1l.c: Likewise.
28313 * math/w_jn.c: Likewise.
28314 * math/w_jnf.c: Likewise.
28315 * math/w_jnl.c: Likewise.
28316 * math/w_lgamma.c: Likewise.
28317 * math/w_lgamma_r.c: Likewise.
28318 * math/w_lgammaf.c: Likewise.
28319 * math/w_lgammaf_r.c: Likewise.
28320 * math/w_lgammal.c: Likewise.
28321 * math/w_lgammal_r.c: Likewise.
28322 * math/w_log.c: Likewise.
28323 * math/w_log10.c: Likewise.
28324 * math/w_log10f.c: Likewise.
28325 * math/w_log10l.c: Likewise.
28326 * math/w_log2.c: Likewise.
28327 * math/w_log2f.c: Likewise.
28328 * math/w_log2l.c: Likewise.
28329 * math/w_logf.c: Likewise.
28330 * math/w_logl.c: Likewise.
28331 * math/w_pow.c: Likewise.
28332 * math/w_powf.c: Likewise.
28333 * math/w_powl.c: Likewise.
28334 * math/w_remainder.c: Likewise.
28335 * math/w_remainderf.c: Likewise.
28336 * math/w_remainderl.c: Likewise.
28337 * math/w_scalb.c: Likewise.
28338 * math/w_scalbf.c: Likewise.
28339 * math/w_scalbl.c: Likewise.
28340 * math/w_sinh.c: Likewise.
28341 * math/w_sinhf.c: Likewise.
28342 * math/w_sinhl.c: Likewise.
28343 * math/w_sqrt.c: Likewise.
28344 * math/w_sqrtf.c: Likewise.
28345 * math/w_sqrtl.c: Likewise.
28346 * math/w_tgamma.c: Likewise.
28347 * math/w_tgammaf.c: Likewise.
28348 * math/w_tgammal.c: Likewise.
28350 * po/ja.po: Update from translation team.
28352 2011-09-29 Andreas Jaeger <aj@suse.de>
28355 * sunrpc/netname.c (netname2host): Fix logic.
28359 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28361 * math/w_remainder.c (__remainder): Likewise.
28362 * math/w_remainderf.c (__remainderf): Likewise.
28363 * math/libm-test.inc (remainder_test): Add test cases.
28365 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28367 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28370 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28372 * string/test-memcmp.c: Avoid unncessary #defines.
28373 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28375 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28377 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28378 Use new sse2 version for core i3 - i7 as it's faster
28379 than sse42 version.
28380 (bit_Prefer_PMINUB_for_stringop): New.
28381 * sysdeps/x86_64/rawmemchr.S: Update.
28382 Replace with faster SSE2 version.
28383 * sysdeps/x86_64/memrchr.S: New file.
28384 * sysdeps/x86_64/memchr.S: Update.
28385 Replace with faster SSE2 version.
28387 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28389 * elf/dl-load.c (lose): Add cast to avoid warning.
28391 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28393 * po/ca.po: Update from translation team.
28395 * inet/getnetgrent_r.c: Hook up nscd.
28396 * nscd/Makefile (routines): Add nscd_netgroup.
28397 (nscd-modules): Add netgroupcache.
28398 (CFLAGS-netgroupcache.c): Define.
28399 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28400 (cache_search): Add const to second parameter.
28401 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28403 (dbs): Add netgrdb entry.
28404 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28405 (verify_persistent_db): Handle netgrdb.
28406 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28407 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28409 (netgroup_response_header): Define.
28410 (innetgroup_response_header): Define.
28411 (datahead): Add netgroup_response_header and innetgroup_response_header
28413 * nscd/nscd.conf: Add entries for netgroup cache.
28414 * nscd/nscd.h (dbtype): Add netgrdb.
28415 (_PATH_NSCD_NETGROUP_DB): Define.
28416 (netgroup_iov_disabled): Declare.
28417 (xmalloc, xcalloc, xrealloc): Move declarations here.
28418 (cache_search): Adjust prototype.
28419 Add netgroup-related prototypes.
28420 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28421 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28422 (__nscd_innetgr): Declare.
28423 * nscd/selinux.c (perms): Use access_vector_t as element type and
28424 add netgroup-related initializers.
28425 * nscd/netgroupcache.c: New file.
28426 * nscd/nscd_netgroup.c: New file.
28427 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28428 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28429 For four parameters use innetgr.
28430 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28431 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28432 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28433 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28435 * nscd/connections.c (register_traced_file): Don't register file
28436 for disabled databases.
28438 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28440 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28442 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28443 from tree and freeing node.
28445 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28447 * nss/nsswitch.c (__nss_database_lookup): Handle
28448 nss_parse_service_list out of memory case.
28450 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28452 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28453 out of memory case.
28455 2011-10-04 Andreas Schwab <schwab@redhat.com>
28457 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28458 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28460 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28461 elf_machine_rela, elf_machine_lazy_rel.
28462 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28463 (ELF_DYNAMIC_DO_REL): Likewise.
28464 (ELF_DYNAMIC_DO_RELA): Likewise.
28465 (ELF_DYNAMIC_RELOCATE): Likewise.
28466 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28467 to ELF_DYNAMIC_DO_REL.
28468 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28469 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28470 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28473 skip_ifunc, don't call ifunc function if non-zero.
28474 (elf_machine_rela): Likewise.
28475 (elf_machine_lazy_rel): Likewise.
28476 (elf_machine_lazy_rela): Likewise.
28477 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28478 (elf_machine_lazy_rel): Likewise.
28479 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28481 (elf_machine_lazy_rel): Likewise.
28482 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28484 (elf_machine_lazy_rel): Likewise.
28485 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28486 (elf_machine_lazy_rel): Likewise.
28487 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28488 (elf_machine_lazy_rel): Likewise.
28489 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28490 (elf_machine_lazy_rel): Likewise.
28491 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28492 (elf_machine_lazy_rel): Likewise.
28493 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28494 (elf_machine_lazy_rel): Likewise.
28495 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28496 (elf_machine_lazy_rel): Likewise.
28498 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28500 * nss/nss_files/files-init.c (_nss_files_init): Use static
28501 initialization for all the *_traced_file variables.
28503 2011-09-28 Andreas Schwab <schwab@redhat.com>
28505 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28507 2011-09-27 Roland McGrath <roland@hack.frob.com>
28510 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28512 2011-09-27 Andreas Schwab <schwab@redhat.com>
28514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28515 Reread the line before reparsing it.
28517 2011-09-26 Andreas Schwab <schwab@redhat.com>
28519 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28521 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28522 Maxim Kuvyrkov <maxim@codesourcery.com>
28523 Joseph Myers <joseph@codesourcery.com>
28525 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28526 if needed for __stack_chk_guard.
28528 2011-09-19 Roland McGrath <roland@hack.frob.com>
28530 * sysdeps/posix/spawni.c (script_execute): Always define it.
28531 It will be optimized away if unused.
28532 (maybe_script_execute): New function.
28533 (__spawni): Call it.
28535 * Makerules: Don't include tls.make.
28536 (config-tls): Always set to thread.
28537 * tls.make.c: File removed.
28539 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28541 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28542 * config.make.in (CPPFLAGS-config): New substituted variable.
28544 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28546 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28549 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28550 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28552 2011-09-15 Roland McGrath <roland@hack.frob.com>
28554 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28555 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28557 (CALL_FAIL): Likewise.
28558 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28559 (CALL_FAIL): Macro removed.
28560 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28562 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28564 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28565 for __FINITE_MATH_ONLY__ == 1.
28567 2011-09-15 Andreas Schwab <schwab@redhat.com>
28569 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28570 __ieee754_sqrt instead of sqrt.
28571 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28572 __ieee754_sqrtf instead of sqrtf.
28573 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28574 __floorf instead of floorf.
28575 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28576 __floorf, __truncf instead of floorf, truncf.
28578 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28580 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28582 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28583 __extern_always_inline.
28584 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28587 2011-09-14 Andreas Schwab <schwab@redhat.com>
28589 * elf/rtld.c (dl_main): Also relocate in dependency order when
28590 doing symbol dependency testing.
28592 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28595 Always define `refsym'.
28597 2011-09-13 Andreas Schwab <schwab@redhat.com>
28599 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28600 (__FD_ELT): Renamed from __FDELT.
28601 * misc/bits/select2.h (__FD_ELT): Likewise.
28602 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28603 __FD_MASK instead of __FDELT, __FDMASK.
28604 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28606 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28609 * elf/Makefile (gen-ldd): Fix pattern.
28611 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28612 (init_tls): Likewise.
28614 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28618 2011-09-12 Andreas Schwab <schwab@redhat.com>
28620 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28621 `struct cmsghdr *' instead of `void *'.
28622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28625 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28627 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28629 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28630 ldd_rewrite_script.
28632 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28634 * configure.in: Remove --with-tls option.
28635 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28636 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28637 out in case it is missing.
28638 * sysdeps/ia64/elf/configure.in: Likewise.
28639 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28640 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28641 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28642 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28643 * sysdeps/sh/elf/configure.in: Likewise.
28644 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28645 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28646 * sysdeps/x86_64/elf/configure.in: Likewise.
28647 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28648 * sysdeps/mach/hurd/tls.h: Likewise.
28651 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28654 * configure.in: Fix use of AC_INIT.
28656 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28658 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28660 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28662 * malloc/hooks.c: Likewise.
28665 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28666 variables statically.
28667 (narenas): Initialize.
28668 (list_lock): Initialize.
28669 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28670 initializtion of main_arena and list_lock. Small cleanups.
28671 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28672 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28673 Add initializers to main_arena and mp_.
28674 (malloc_state): Remove pagesize member. Change all users to use
28677 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28678 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28679 is always initialized.
28681 * malloc/malloc.c: Removed unused configurations and dead code.
28682 * malloc/arena.c: Likewise.
28683 * malloc/hooks.c: Likewise.
28684 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28686 * include/tls.h: Removed. USE___THREAD must always be defined.
28687 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28688 * elf/dl-libc.c: Likewise.
28689 * elf/dl-tsd.c: Likewise.
28690 * include/errno.h: Likewise.
28691 * include/netdb.h: Likewise.
28692 * include/resolv.h: Likewise.
28693 * inet/herrno-loc.c: Likewise.
28694 * inet/herrno.c: Likewise.
28695 * malloc/arena.c: Likewise.
28696 * malloc/hooks.c: Likewise.
28697 * malloc/malloc.c: Likewise.
28698 * resolv/res-state.c: Likewise.
28699 * resolv/res_libc.c: Likewise.
28700 * sysdeps/i386/dl-machine.h: Likewise.
28701 * sysdeps/ia64/dl-machine.h: Likewise.
28702 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28703 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28704 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28705 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28706 * sysdeps/sh/dl-machine.h: Likewise.
28707 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28708 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28709 * sysdeps/unix/i386/sysdep.S: Likewise.
28710 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28711 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28715 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28716 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28719 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28720 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28721 * sysdeps/x86_64/dl-machine.h: Likewise.
28722 * tls.make.c: Likewise.
28724 * configure.in: Remove --with-__thread option. Make tests for
28725 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28726 tls_model attribute fail if no support is available. Remove
28728 * Makeconfig: Adjust for dropped configure option. All features are
28730 * Makerules: Likewise.
28731 * Versions.def: Likewise.
28732 * argp/argp-fmtstream.c: Likewise.
28733 * argp/argp-fmtstream.h: Likewise.
28734 * argp/argp-help.c: Likewise.
28735 * assert/assert.c: Likewise.
28736 * config.h.in: Likewise.
28737 * config.make.in: Likewise.
28738 * configure: Likewise.
28739 * configure.in: Likewise.
28740 * csu/Versions: Likewise.
28741 * csu/init.c: Likewise.
28742 * elf/tst-audit2.c: Likewise.
28743 * elf/tst-tls10.c: Likewise.
28744 * elf/tst-tls10.h: Likewise.
28745 * elf/tst-tls11.c: Likewise.
28746 * elf/tst-tls12.c: Likewise.
28747 * elf/tst-tls14.c: Likewise.
28748 * elf/tst-tlsmod11.c: Likewise.
28749 * elf/tst-tlsmod12.c: Likewise.
28750 * elf/tst-tlsmod13.c: Likewise.
28751 * elf/tst-tlsmod13a.c: Likewise.
28752 * elf/tst-tlsmod14a.c: Likewise.
28753 * elf/tst-tlsmod15b.c: Likewise.
28754 * elf/tst-tlsmod16a.c: Likewise.
28755 * elf/tst-tlsmod16b.c: Likewise.
28756 * elf/tst-tlsmod7.c: Likewise.
28757 * elf/tst-tlsmod8.c: Likewise.
28758 * elf/tst-tlsmod9.c: Likewise.
28759 * gmon/gmon.c: Likewise.
28760 * grp/fgetgrent_r.c: Likewise.
28761 * grp/putgrent.c: Likewise.
28762 * hurd/fopenport.c: Likewise.
28763 * include/libc-symbols.h: Likewise.
28764 * include/tls.h: Likewise.
28765 * intl/gettextP.h: Likewise.
28766 * intl/loadinfo.h: Likewise.
28767 * locale/global-locale.c: Likewise.
28768 * locale/localeinfo.h: Likewise.
28769 * mach/devstream.c: Likewise.
28770 * malloc/arena.c: Likewise.
28771 * malloc/set-freeres.c: Likewise.
28772 * misc/err.c: Likewise.
28773 * misc/getttyent.c: Likewise.
28774 * misc/mntent_r.c: Likewise.
28775 * posix/getopt.c: Likewise.
28776 * posix/wordexp.c: Likewise.
28777 * pwd/fgetpwent_r.c: Likewise.
28778 * resolv/Versions: Likewise.
28779 * resolv/res_hconf.c: Likewise.
28780 * shadow/fgetspent_r.c: Likewise.
28781 * shadow/putspent.c: Likewise.
28782 * stdio-common/printf_fphex.c: Likewise.
28783 * stdio-common/tmpfile.c: Likewise.
28784 * stdlib/abort.c: Likewise.
28785 * stdlib/fmtmsg.c: Likewise.
28786 * sunrpc/auth_unix.c: Likewise.
28787 * sunrpc/clnt_perr.c: Likewise.
28788 * sunrpc/clnt_tcp.c: Likewise.
28789 * sunrpc/clnt_udp.c: Likewise.
28790 * sunrpc/clnt_unix.c: Likewise.
28791 * sunrpc/openchild.c: Likewise.
28792 * sunrpc/svc_simple.c: Likewise.
28793 * sunrpc/svc_tcp.c: Likewise.
28794 * sunrpc/svc_udp.c: Likewise.
28795 * sunrpc/svc_unix.c: Likewise.
28796 * sunrpc/xdr.c: Likewise.
28797 * sunrpc/xdr_array.c: Likewise.
28798 * sunrpc/xdr_rec.c: Likewise.
28799 * sunrpc/xdr_ref.c: Likewise.
28800 * sunrpc/xdr_stdio.c: Likewise.
28802 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28804 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28806 2011-07-03 Andreas Jaeger <aj@suse.de>
28808 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28809 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28810 regenerate with gen-libm-tests.pl.
28812 2010-05-12 Petr Baudis <pasky@suse.cz>
28815 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28816 around j0() zero points by switching to j1().
28817 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28822 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28824 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28826 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28828 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28829 Patch in part by Pavel Roskin <proski@gnu.org>.
28832 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28834 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28835 Free memory block if necessary.
28838 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28839 be NULL. Don't lock in this case.
28841 2011-09-09 Roland McGrath <roland@hack.frob.com>
28843 * elf/elf.h (ELFOSABI_GNU): New macro.
28844 (ELFOSABI_LINUX): Define to that.
28846 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28848 * string/strncat.c (strncat): Undef the symbol in case it has been
28849 defined in bits/string.h.
28851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28853 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28855 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28858 2011-08-17 Andreas Jaeger <aj@suse.de>
28860 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28862 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28863 Ian Lance Taylor <iant@google.com>
28865 * math/libm-test.inc (lround_test): New testcase.
28866 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28868 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28870 * Makefile: Remove support for automatic cvs check-ins.
28871 * Makerules: Likewise.
28872 * config.make.in: Likewise.
28873 * configure.in: Likewise.
28874 * intl/Makefile: Likewise.
28875 * locale/Makefile: Likewise.
28876 * po/Makefile: Likewise.
28877 * posix/Makefile: Likewise.
28878 * sysdeps/gnu/Makefile: Likewise.
28879 * sysdeps/mach/hurd/Makefile: Likewise.
28880 * sysdeps/sparc/sparc32/Makefile: Likewise.
28883 * posix/Makefile (bug-regex32-ENV): Define.
28884 Patch by John Stanley <jpsinthemix@verizon.net>.
28886 * misc/Makefile (headers): Add bits/select2.h.
28887 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28888 * misc/bits/select2.h: New file.
28889 * include/bits/select2.h: New file.
28890 * debug/Makefile (routines): Add fdelt_chk.
28891 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28892 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28894 * debug/fdelt_chk.c: New file.
28896 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28897 * wcsmbs/test-wmemcmp.c: Likewise.
28898 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28899 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28901 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28903 * string/Makefile (strop-tests): Add memcmp.
28904 * string/test-wmemcmp.c: New file.
28905 * string/test-memcmp.c: Add wmemcmp support.
28907 2011-09-08 Roland McGrath <roland@hack.frob.com>
28910 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28913 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28914 garbage value in a __mach_port_mod_refs call in the cases of the
28915 task-self and thread-self ports.
28917 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28919 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28921 2011-09-08 Andreas Schwab <schwab@redhat.com>
28923 * elf/dl-load.c (lose): Check for non-null L.
28925 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28927 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28929 * elf/dl-libc.c (dlerror_run): Pass back error code from
28933 * elf/dl-load.c (lose): Free l_origin if it is valid.
28935 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28937 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28940 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28941 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28942 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28944 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28946 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28947 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28948 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28949 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28950 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28951 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28952 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28953 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28954 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28955 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28957 2011-08-15 Alan Modra <amodra@gmail.com>
28960 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28961 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28962 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28963 ppc_mcount to static-only-routines.
28964 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28966 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28967 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28969 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28971 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28972 for finite and infinity parameters.
28974 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28977 and add nop instructions for throughput optimization.
28978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28980 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28982 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28983 aligned copy for power7 with vector-scalar instructions.
28984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28986 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28991 2011-09-07 Andreas Schwab <schwab@redhat.com>
28994 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28997 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28999 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29000 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29001 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29002 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29005 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29007 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29008 Forgot to demangle the pointer.
29010 * sysdeps/i386/sysdep.h: Define atom_text_section.
29011 * sysdeps/x86_64/sysdep.h: Likewise.
29012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29013 section with atom_text_section.
29014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29015 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29016 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29017 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29018 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29020 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29021 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29022 already be defined. Change to take two parameters and don't assign
29023 result to variable. Adjust all users.
29024 Define INTERNAL_GETTIME if not already defined.
29025 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29028 HAVE_CLOCK_GETTIME_VSYSCALL.
29029 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29031 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29032 gettimeofday vsyscall, just use time.
29034 2011-09-06 Andreas Schwab <schwab@redhat.com>
29036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29039 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29041 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29045 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29047 syscall if possible.
29049 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29051 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29052 e_ident. Don't pass to find_mapsXX.
29053 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29055 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29058 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29059 * sysdeps/x86_64/multiarch/strchr.S: Update.
29060 Check bit_slow_BSF bit.
29061 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29062 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29063 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29065 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29068 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29070 (tryshell): Define.
29071 (__spawni): Change last parameter to be flag. Test
29072 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29073 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29074 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29075 * posix/spawni.c: Likewise.
29076 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29077 * posix/spawnp.c: Likewise. Change normal version to use
29078 SPAWN_XFLAGS_USE_PATH.
29079 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29080 SPAWN_XFLAGS_TRY_SHELL.
29083 * posix/glob.h: Remove gcc 1.x support.
29086 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29088 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29091 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29093 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29094 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29095 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29096 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29097 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29098 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29100 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29102 * sysdeps/x86_64/wcscmp.S: New file.
29104 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29105 wcscmp-c wcscmp-sse2
29106 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29107 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29108 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29109 * wcsmbs/wcscmp.c: Allow renaming.
29111 2011-09-05 David S. Miller <davem@davemloft.net>
29113 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29114 stack slot, rather than the struct return pointer slot.
29115 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29116 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29118 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29120 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29122 * po/ja.po: Update from translation team.
29125 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29126 kernel in 64-bit binaries.
29128 2011-09-01 David S. Miller <davem@davemloft.net>
29130 * elf/elf.h (HWCAP_SPARC_*): Move to..
29131 * sysdeps/sparc/sysdep.h: this new file and add new values.
29132 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29133 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29134 _DL_HWCAP_COUNT to 24.
29135 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29137 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29138 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29139 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29141 instead of magic constants.
29142 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29144 2011-08-31 David S. Miller <davem@davemloft.net>
29146 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29148 Reimplement to do errno handling inline.
29149 (SYSCALL_ERROR_HANDLER): New macro.
29150 (__SYSCALL_STRING): Do not do errno handling in asm.
29151 (__CLONE_SYSCALL_STRING): Delete.
29152 (__INTERNAL_SYSCALL_STRING): Delete.
29153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29154 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29155 (PSEUDO): Reimplement to do errno handling inline.
29156 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29157 (SYSCALL_ERROR_HANDLER): New macro.
29158 (__SYSCALL_STRING): Do not do errno handling in asm.
29159 (__CLONE_SYSCALL_STRING): Delete.
29160 (__INTERNAL_SYSCALL_STRING): Delete.
29161 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29162 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29164 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29165 (inline_syscall*): Add 'err' argument.
29166 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29167 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29168 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29169 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29171 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29172 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29174 2011-08-30 Andreas Schwab <schwab@redhat.com>
29176 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29178 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29180 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29183 2011-08-24 David S. Miller <davem@davemloft.net>
29185 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29187 2011-08-24 Andreas Schwab <schwab@redhat.com>
29189 * elf/Makefile: Add rules to build and run unload8 test.
29190 * elf/unload8.c: New file.
29191 * elf/unload8mod1.c: New file.
29192 * elf/unload8mod1x.c: New file.
29193 * elf/unload8mod2.c: New file.
29194 * elf/unload8mod3.c: New file.
29196 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29199 2011-08-23 David S. Miller <davem@davemloft.net>
29201 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29202 subtract stack bias.
29203 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29204 %sp not %fp in calculations.
29205 (_JMPBUF_UNWINDS_ADJ): Likewise.
29207 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29208 (aio_suspend): Call it to force an exception region around the
29209 AIO_MISC_WAIT() invocation.
29211 2011-08-23 Andreas Schwab <schwab@redhat.com>
29213 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29216 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29218 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29220 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29221 and <dl-machine.h>.
29222 (Elf64_FuncDesc): Remove.
29224 2011-08-22 David S. Miller <davem@davemloft.net>
29226 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29227 sigaltstack check, add missing cfi directives.
29228 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29229 missing cfi directives, and sigaltstack handling.
29231 2011-08-16 Andreas Schwab <schwab@redhat.com>
29234 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29235 object is seen twice.
29236 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29238 * elf/Makefile (distribute): Add tst-initorder2.c.
29239 (tests): Add tst-initorder2.
29240 (modules-names): Add tst-initorder2a tst-initorder2b
29241 tst-initorder2c tst-initorder2d. Add rules to build them.
29242 ($(objpfx)tst-initorder2.out): New rule.
29243 * elf/tst-initorder2.c: New file.
29244 * elf/tst-initorder2.exp: New file.
29246 2011-08-22 Andreas Schwab <schwab@redhat.com>
29248 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29250 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29251 dependencies back to end of function.
29253 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29254 $(elfobjdir)/ld.so.
29256 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29259 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29261 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29262 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29263 of __vdso_gettimeofday.
29264 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29265 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29267 (_libc_vdso_platform_setup): Remove initialization of
29268 __vdso_gettimeofday and __vdso_time.
29270 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29272 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29273 and fgetc_unlocked.
29274 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29277 * elf/dl-open.c (add_to_global): Report additions to the global scope
29278 for LD_DEBUG=scopes.
29279 (dl_open_worker): Also print scope of newly loaded dependencies.
29280 (_dl_show_scope): Indicate if there is no scope.
29283 * stdio-common/Makefile (tests): Add bug24.
29284 * stdio-common/bug24.c: New file.
29286 2011-08-19 Andreas Jaeger <aj@suse.de>
29289 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29290 non-existant file when using close-on-exec mode.
29292 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29295 the very first instruction.
29297 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29298 the CFI state in the end.
29299 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29300 inclusion of dl-trampoline.h.
29301 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29303 2011-08-19 Andreas Schwab <schwab@redhat.com>
29305 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29306 expectations for long double.
29308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29309 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29311 2011-08-14 David S. Miller <davem@davemloft.net>
29313 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29314 artificual limit depends upon the system page size.
29316 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29318 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29319 * resolv/Makefile: Define CFLAGS-libresolv.
29321 2011-08-17 Andreas Schwab <schwab@redhat.com>
29323 * nss/makedb.c (compute_tables): Make variables used in nested
29326 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29328 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29329 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29330 if buffer was too small.
29332 * elf/pldd.c (main): Attach to all threads in the process.
29333 Rewrite /proc handling to use *at functions.
29335 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29337 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29338 specifies first scope to show.
29339 (dl_open_worker): Update callers. Move printing scope of new
29340 object to before the relocation.
29341 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29342 * sysdeps/generic/ldsodefs.h: Update declaration.
29344 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29345 string for the scope number.
29347 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29349 * nscd/servicescache.c (cache_addserv): Make sure written is always
29352 2011-08-14 Roland McGrath <roland@hack.frob.com>
29354 * sysdeps/i386/i486/bits/atomic.h
29355 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29356 statement expression, so as to suppress "set but not used" warning.
29357 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29359 * string/strncat.c (STRNCAT): Use prototype definition.
29361 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29362 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29364 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29365 (localedef-modules): Add localedef.
29366 (locale-modules): Add locale.
29368 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29369 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29370 to avoid a warning.
29372 2011-08-14 David S. Miller <davem@davemloft.net>
29374 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29375 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29377 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29379 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29380 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29381 * elf/rtld.c (dl_main): Set l_name of vDSO.
29382 Call _dl_show_scope when DL_DEBUG_SCOPES.
29383 (process_dl_debug): Recognize scopes flag and also set it for all.
29384 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29385 Declare _dl_show_scope.
29387 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29388 (do_dlopen): Pass caller_dlopen to dl_open.
29389 (__libc_dlopen_mode): Initialize caller_dlopen.
29391 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29392 of libc. Make tolower call locale-independent. Optimize a bit by
29393 using isdigit instead of isalnum.
29394 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29396 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29398 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29399 was a dependency or dynamically loaded.
29401 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29403 * intl/l10nflist.c: Allow architecture-specific pop function.
29404 * sysdeps/x86_64/l10nflist.c: New file.
29406 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29409 2011-08-10 Andreas Schwab <schwab@redhat.com>
29411 * include/dirent.h: Add libc_hidden_proto for scandirat and
29412 scandirat64. Don't declare __scandirat64.
29413 * dirent/scandirat.c: Add libc_hidden_def.
29414 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29415 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29417 2011-08-10 David S. Miller <davem@davemloft.net>
29419 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29423 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29425 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29427 * Versions.def [libc]: Add GLIBC_2.15.
29428 * dirent/Makefile (routines): Add scandirat and scandirat64.
29429 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29431 * dirent/dirent.h: Declare scandirat and scandirat64.
29432 * dirent/scandirat.c: New file.
29433 * dirent/scandirat64.c: New file.
29434 * sysdeps/wordsize-64/scandirat.c: New file.
29435 * sysdeps/wordsize-64/scandirat64.c: New file.
29436 * dirent/opendir.c: Define opendirat.
29437 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29439 * dirent/scandir64.c: Adjust for scandir.c change.
29440 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29441 __scandirat64, and __scandir_cancel_handler.
29442 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29443 additional parameter and use openat instead of open (outside of ld.so).
29444 Add new __opendir as wrapper around __opendirat.
29445 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29446 here without requiring old scandirat implementation.
29448 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29450 * dirent/scandir.c (cancel_handler): Renamed to
29451 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29452 defined. Adjust users.
29453 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29454 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29456 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29458 * string/test-string.h (IMPL): Use __STRING to expand name and then
29461 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29464 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29466 * string/Makefile: Update.
29467 (strop-tests): Append strncat.
29468 * string/test-wcscmp.c: New file.
29469 New comprehensive test for wcscmp.
29470 * string/test-strcmp.c: Update.
29471 (WIDE): New define.
29473 2011-07-22 Andreas Schwab <schwab@redhat.com>
29475 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29478 2011-07-26 Andreas Schwab <schwab@redhat.com>
29480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29481 encoding to ACE if AI_IDN.
29483 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29486 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29488 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29491 Fix overflow bug in strncat.
29492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29494 * string/test-strncat.c: Update.
29495 Add new tests for checking overflow bugs.
29497 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29499 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29500 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29501 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29502 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29504 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29505 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29506 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29507 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29510 (USE_AS_STRCAT): Define.
29511 Add strcat and strncat support.
29512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29514 2011-07-25 Andreas Schwab <schwab@redhat.com>
29516 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29517 __n bigger than INT_MAX+1.
29518 (__strncmp_g): Likewise.
29520 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29522 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29523 * libio/stido.h: Likewise.
29525 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29530 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29533 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29537 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29542 (_dl_x86_64_save_sse): Likewise.
29544 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29548 (_dl_x86_64_save_sse): Likewise.
29550 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29552 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29554 2011-07-21 Andreas Schwab <schwab@redhat.com>
29556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29558 (_dl_x86_64_save_sse): Use correct AVX check.
29560 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29563 bug in strncpy/strncat.
29564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29566 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29568 * string/tester.c (test_strcat): Add tests for different alignments
29569 of source and destination.
29570 (test_strncat): Likewise.
29572 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29575 * posix/glob.c (glob): Check passed in values before using them in
29576 expressions to avoid some overflows.
29577 (glob_in_dir): Likewise.
29580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29581 check for AVX enablement so that we don't crash with old kernels and
29583 * elf/tst-audit4.c: Add same checks here.
29584 * elf/tst-audit6.c: Likewise.
29586 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29588 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29590 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29592 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29594 * po/cs.po: Update from translation team.
29595 * po/bg.po: Likewise.
29597 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29599 * misc/sys/cdefs.h: Add support for const attribute.
29600 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29601 to gnu_dev_{major,minor,makedev} functions.
29603 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29605 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29607 2011-07-20 Andreas Schwab <schwab@redhat.com>
29609 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29612 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29615 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29616 register in order to avoid conflicts with the soft frame pointer
29617 being held in r11 when necessary.
29618 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29619 (INTERNAL_VSYSCALL_NCS): Likewise.
29621 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29623 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29624 * elf/dl-fini.c (_dl_fini): Adjust caller.
29625 * elf/dl-close.c (_dl_close_worker): Likewise.
29626 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29628 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29630 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29631 "aux_cache->nlibs < 0".
29633 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29634 in the reload-count case.
29636 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29639 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29640 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29641 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29642 * sysdeps/x86_64/multiarch/strcat.S: New file.
29643 * sysdeps/x86_64/multiarch/strncat.S: New file.
29644 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29645 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29646 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29647 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29649 (USE_AS_STRCAT): Define.
29650 Add strcat and strncat support.
29651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29653 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29654 * string/strncat.c: Update.
29655 (USE_AS_STRNCAT): Define.
29656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29657 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29659 * sysdeps/x86_64/multiarch/init-arch.h
29660 (bit_Prefer_PMINUB_for_stringop): New.
29661 (index_Prefer_PMINUB_for_stringop): Likewise.
29662 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29663 bit_Prefer_PMINUB_for_stringop.
29665 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29667 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29669 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29670 of casting of buffer.
29671 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29672 buffer32 and buffer64.
29673 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29674 writes instead of casting of buffer.
29675 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29677 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29680 2011-07-19 Andreas Schwab <schwab@redhat.com>
29682 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29684 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29686 * nscd/nscd.c (termination_handler): Don't do anything for a database
29687 if it has not yet been initialized.
29689 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29691 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29693 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29695 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29697 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29699 * po/nl.po: Update from translation team.
29700 * po/sv.po: Likewise.
29702 2011-07-16 Roland McGrath <roland@hack.frob.com>
29704 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29705 now disallowed by GCC.
29707 * configure.in (use-default-link): Default to yes if a test -shared
29708 link meets our qualifications.
29709 * configure: Regenerated.
29711 * config.make.in (output-format): New variable.
29712 * configure.in: Check for ld --print-output-format support.
29713 * configure: Regenerated.
29714 * Makerules ($(common-objpfx)format.lds)
29715 [$(output-format) != unknown]: Just use $(output-format),
29716 instead of the linker-script munging.
29718 2011-07-14 Roland McGrath <roland@hack.frob.com>
29720 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29721 of $(common-objpfx)shlib.lds.
29722 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29724 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29725 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29727 * configure.in (-z relro check): Adjust test code to add a large
29728 writable data section after it.
29729 * configure: Regenerated.
29731 2011-07-11 Roland McGrath <roland@hack.frob.com>
29733 * configure.in (-z relro check): Fix test code to make the variable
29735 * configure: Regenerated.
29737 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29739 * nscd/nscd.h (struct traced_file): Define.
29740 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29741 elements. Add traced_files.
29742 (inotify_fd): Declare.
29743 (register_traced_file): Declare.
29744 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29745 (inotify_fd): Export.
29746 (resolv_conf_descr): Remove.
29747 (nscd_init): Move inotify descriptor creation to main.
29748 Don't register files for notification here.
29749 (register_traced_file): New function.
29750 (invalidate_cache): Don't use reset_res to determine whether to call
29751 res_init, go through the list of registered files.
29752 (main_loop_poll): The inotify descriptors are now stored in the
29753 structures for the traced files.
29754 (main_loop_epoll): Likewise
29755 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29756 to __nss_disable_nscd.
29757 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29758 for a database anymore. Check the records for all the registered
29760 * nss/Makefile (libnss_files-routines): Add files-init.
29761 (libnss_db-routines): Add db-init.
29762 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29763 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29764 * nss/nss_db/db-init.c: New file.
29765 * nss/nss_files/files-init.c: New file.
29766 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29767 __nss_lookup_function.
29768 (__nss_lookup_function): Call nss_load_library.
29769 (nss_load_all_libraries): New function.
29770 (__nss_disable_nscd): Take parameter with callback function for files
29771 to register. Set is_nscd. Load all the DSOs for the NSS modules
29772 used for the cached services.
29773 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29774 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29775 options for features to all the files in nscd.
29777 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29779 2011-07-10 Roland McGrath <roland@hack.frob.com>
29781 * csu/elf-init.c (__libc_csu_init): Comment typo.
29783 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29785 * po/pl.po: Update from translation team.
29786 * po/ja.po: Likewise.
29787 * po/ru.po: Likewise.
29788 * po/ko.po: Likewise.
29789 * po/fr.po: Likewise.
29791 2011-07-09 Roland McGrath <roland@hack.frob.com>
29793 * configure.in (.ctors/.dtors header and trailer check):
29794 Use an empirical test on a built program.
29795 * configure: Regenerated.
29797 * configure.in (-z relro check): Use an empirical test on a built DSO.
29798 Detect, but do not require, on ia64.
29799 * configure: Regenerated.
29801 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29802 Update tests that use readelf to use $READELF instead.
29803 * configure: Regenerated.
29805 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29807 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29808 if the result is not used.
29810 2011-07-05 Andreas Jaeger <aj@suse.de>
29813 * stdlib/tst-strtod.c: Add testcase.
29815 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29817 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29818 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29819 The latter has a higher limit. Take additional parameter to pass to
29821 (__pathconf): Pass file to __statfs_link_max.
29822 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29824 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29828 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29829 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29831 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29832 (__statfs_filesize_max): Likewise.
29833 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29835 2011-07-05 Andreas Jaeger <aj@suse.de>
29837 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29839 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29841 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29843 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29846 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29848 * Makefile (strop-tests): Add strncat.
29849 * string/test-strncat.c: New file.
29851 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29853 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29855 2011-06-21 Andreas Jaeger <aj@suse.de>
29857 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29858 Copy rule from iconvdata/Makefile.
29860 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29863 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29864 but no long options are defined, just return 'W'.
29866 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29869 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29871 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29873 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29875 (innetgr): Likewise.
29877 2011-07-05 Roland McGrath <roland@hack.frob.com>
29879 * config.make.in (install_root): Default to $(DESTDIR).
29881 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29885 2011-07-02 Roland McGrath <roland@hack.frob.com>
29887 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29889 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29890 containing directory rather than embedding absolute directory names.
29892 * scripts/check-local-headers.sh: Rewritten using awk.
29893 Match by word, not by line. Print error messages for matches.
29894 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29896 * Makerules [shlib-lds-flags empty]:
29897 ($(common-objpfx)libc_pic.opts): New target.
29898 ($(common-objpfx)libc_pic.os.clean): New target.
29899 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29901 * config.make.in (OBJCOPY): New variable.
29902 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29903 * configure: Regenerated.
29905 * config.make.in (use-default-link): New variable.
29906 * configure.in (use_default_link): Grok --with-default-link to set it.
29907 * configure: Regenerated.
29908 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29909 (shlib-lds, shlib-lds-flags): Define to empty.
29911 * Makerules (shlib-lds): New variable.
29912 (shlib-lds-flags): New variable.
29913 (build-shlib, build-moduile, build-module-asneeded): Use it.
29914 ($(common-objpfx)libc.so): Use $(shlib-lds).
29915 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29916 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29918 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29919 DT_FLAGS/DT_FLAGS_1 with zero flags.
29921 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29922 linker script munging.
29924 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29926 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29928 * crypt/sha512.c (sha512_process_block): Perform total addition using
29929 128-bit if possible.
29930 (__sha512_finish_ctx): Likewise.
29931 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29933 * crypt/sha256.c (SWAP64): Define.
29934 (sha256_process_block): Perform total addition using 64-bit if
29936 (__sha256_finish_ctx): Likewise.
29938 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29940 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29942 * nscd/hstcache.c (cache_addhst): Likewise.
29943 * nscd/grpcache.c (cache_addgr): Likewise.
29944 * nscd/aicache.c (addhstaiX): Likewise
29945 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29947 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29949 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29951 * nscd/hstcache.c (cache_addhst): Likewise.
29952 * nscd/grpcache.c (cache_addgr): Likewise.
29953 * nscd/aicache.c (addhstaiX): Likewise
29955 2011-07-01 Andreas Schwab <schwab@redhat.com>
29957 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29958 domain only when needed.
29960 2011-06-30 Andreas Schwab <schwab@redhat.com>
29962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29963 is always restored.
29965 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29967 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29968 are re-adding the entry.
29969 * nscd/servicescache.c (cache_addserv): Likewise.
29971 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29973 * sysdeps/generic/dl-irel.h: fix protection against multiple
29975 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29977 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29980 * malloc/memusage.sh: Fix quoting in message.
29981 * debug/xtrace.sh: Likewise.
29983 * configure.in: Remove support for --experimental-malloc option, make
29985 * config.make.in: Likewise.
29986 * malloc/Makefile: Likewise.
29988 2011-06-27 Andreas Schwab <schwab@redhat.com>
29990 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29991 two-byte characters.
29993 2011-06-27 Roland McGrath <roland@hack.frob.com>
29995 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29996 AC_CACHE_CHECK invocation.
29997 * configure: Regenerated.
29999 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30001 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30004 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30005 bit from old_res_options.
30007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30009 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30010 value type for setfct.
30012 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30014 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30015 __gettimeofday instead of gettimeofday.
30017 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30019 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30021 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30023 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30028 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30031 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30032 strcpy-sse2-unaligned strncpy-sse2-unaligned
30033 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30034 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30035 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30036 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30037 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30040 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30041 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30042 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30043 (STRCPY): Support SSE2 and SSSE3 versions.
30045 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30048 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30049 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30050 kernels which artificially limit size of requests.
30052 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30055 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30056 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30057 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30058 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30059 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30060 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30061 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30063 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30064 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30065 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30066 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30067 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30068 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30070 Enable unaligned load optimization for Intel Core i3, i5 and i7
30072 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30074 (index_Fast_Unaligned_Load): Define.
30075 (HAS_FAST_UNALIGNED_LOAD): Define.
30077 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30079 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30081 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30085 until it is clear that the information is realy needed.
30086 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30088 2011-06-22 Andreas Schwab <schwab@redhat.com>
30090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30092 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30095 /sys/devices/system/cpu/online if it is usable.
30097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30098 reading the information from the /proc filesystem to once a second.
30100 2011-06-21 Andreas Jaeger <aj@suse.de>
30102 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30103 NULL after inclusion of kernel headers.
30105 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30107 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30108 calls to internal_setent.
30111 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30112 addresses using gethostbyname4_r ignore IPv4 addresses.
30114 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30115 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30117 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30119 2011-06-20 David S. Miller <davem@davemloft.net>
30121 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30123 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30125 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30126 (elf_irel): Use it.
30127 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30128 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30129 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30130 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30131 * sysdeps/x86_64/dl-irel.h: Likewise.
30133 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30134 * elf/dl-sym.c: Likewise.
30136 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30138 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30139 need to dereference resplen2.
30141 2011-06-14 Andreas Schwab <schwab@redhat.com>
30143 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30145 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30147 * Makeconfig: Define vardbdir and inst_vardbdir.
30148 * nss/Makefile: Add rules to install db-Makefile.
30150 * nss/nss_db/db-XXX.c: Cleanup.
30152 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30153 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30155 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30156 * nss/makedb.c: Implement -g option to specify that value strings
30157 are generated and should not be added to table iterated over for
30159 * nss/nss_db/db-initgroups.c: New file.
30161 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30164 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30165 (internal_getgrouplist): Adjust to name change.
30166 Update use_initgroups_entry if this is not the first call.
30167 * nss/databases.def: Add initgroups entry.
30169 * nss/makedb.c (compute_tables): Check result of multiple hash table
30170 sizes to minimize maximum chain length.
30172 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30174 * Versions.def: Add entry for libnss_db.
30175 * shlib-versions: Likewise.
30176 * nss/Makefile: Add rules to build libnss_db.
30177 * nss/Versions: Add libnss_db information. Organize libnss_files
30179 * nss/db-Makefile: Add gshadow support. Change rules for the new
30180 makedb progra. Some minor improvements to generate smaller files.
30181 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30183 * nss/makedb.c: ...here.
30184 Improve database format to be smaller and require less memory at
30186 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30188 * nss/nss_db/db-netgrp.c: Likewise.
30189 * nss/nss_db/db-open.c: Likewise.
30190 * nss/nss_files/flies-XXX.x: Adjust comments.
30191 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30192 * nss/nss_files/files-grp.c: Likewise.
30193 * nss/nss_files/files-hosts.c: Likewise.
30194 * nss/nss_files/files-network.c: Likewise.
30195 * nss/nss_files/files-proto.c: Likewise.
30196 * nss/nss_files/files-pwd.c: Likewise.
30197 * nss/nss_files/files-rpc.c: Likewise.
30198 * nss/nss_files/files-service.c: Likewise.
30199 * nss/nss_files/files-sgrp.c: Likewise.
30200 * nss/nss_files/files-spwd.c: Likewise.
30201 * nss/nss_db/db-alias.c: Removed.
30202 * nss/nss_db/dummy-db.h: Removed.
30204 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30206 * nss/makedb.c: Rewritten to not use database library.
30207 * nss/Makefile: Update to build new makedb program.
30209 2011-06-14 Andreas Jaeger <aj@suse.de>
30211 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30212 memset declaration.
30214 2011-06-10 Andreas Schwab <schwab@redhat.com>
30216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30219 2011-06-10 Roland McGrath <roland@hack.frob.com>
30221 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30222 * elf/Makefile ($(objpfx)ld.so): Likewise.
30224 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30225 Don't list ld.so twice in dependencies.
30227 * posix/bug-regex31.c: Include <stdlib.h>.
30229 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30231 * nis/nss_compat/compat-spwd.c
30232 (getspent_next_nss_netgr): Remove unused variable.
30233 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30235 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30236 nonmembers" output to use the right array.
30238 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30240 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30242 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30243 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30244 * catgets/gencat.c (read_input_file): Likewise.
30245 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30247 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30248 variable definition inside #if's controlling its use.
30250 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30252 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30254 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30256 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30259 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30261 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30262 * configure: Regenerated.
30264 * Makerules: Revert last change.
30265 * elf/Makefile: Likewise.
30267 2011-06-09 Roland McGrath <roland@hack.frob.com>
30269 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30270 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30271 (reloc-link): Likewise.
30273 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30275 * elf/Makefile: Add rules to build pldd.
30276 * elf/pldd.c: New file.
30277 * elf/pldd-xx.c: New file.
30279 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30281 * version.h: Update for 2.15 development version.
30283 2011-06-07 David S. Miller <davem@davemloft.net>
30285 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30288 elf_machine_lazy_rel): Likewise.
30289 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30290 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30291 elf_machine_lazy_rel): Likewise.
30292 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30293 dl_hwcap via passed in argument.
30294 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30297 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30299 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30301 2011-06-06 Roland McGrath <roland@hack.frob.com>
30304 * manual/fdl-1.1.texi: New file, verbatim from:
30305 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30306 * manual/lgpl-2.1.texi: New file, verbatim from:
30307 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30308 * manual/Makefile (licenses): New variable, list those new file names.
30310 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30312 * manual/fdl.texi: File removed.
30313 * manual/lesser.texi: File removed.
30314 * manual/libc.texinfo (Copying, Documentation License):
30315 Use new @include file names, put @appendix directive before @include.
30317 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30320 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30321 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30322 (mq_open): Add __NTH.
30324 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30327 Assume Intel Core i3/i5/i7 processor if AVX is available.
30329 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30331 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30334 2011-05-31 Andreas Schwab <schwab@redhat.com>
30336 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30337 memory. Use alloca_account. Fix memory leak when retrying.
30339 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30341 * version.h (RELEASE): Bump for 2.14 release.
30342 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30344 * config.make.in (RANLIB): Remove entry.
30346 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30348 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30349 (libc.pot): Work around missing support for .ksh extension in xgettext.
30352 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30353 if both request failed.
30354 (send_dg): In case of server errors clear resplen or *resplen2.
30357 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30358 when there are multiple maps.
30359 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30360 (_dl_fini): Remove test here.
30362 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30364 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30367 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30368 bit from old_res_options.
30369 (gaih_inet): Likewise.
30372 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30375 * resolv/res_init.c (res_setoptions): Make the code more compact.
30378 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30382 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30384 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30387 * malloc/malloc.h: Declare malloc hook variables as volatile.
30389 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30393 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30394 raise in the comment.
30395 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30397 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30399 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30402 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30403 grow the buffers more if it already has to be sufficient.
30404 (build_wcs_upper_buffer): Likewise.
30405 * posix/regexec.c (check_matching): Likewise.
30406 (clean_state_log_if_needed): Likewise.
30407 (extend_buffers): Don't enlarge buffers beyond size of the input
30409 Patches mostly by Emil Wojak <emil@wojak.eu>.
30410 * posix/bug-regex32.c: New file.
30411 * posix/Makefile (tests): Add bug-regex32.
30413 * locale/findlocale.c (_nl_find_locale): Return right away if
30414 _nl_explode_name failed.
30415 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30417 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30419 * debug/xtrace.sh: Unify messages.
30420 * malloc/memusage.sh: Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30424 time symbol from vDSO. Substitute with vsyscall if not available.
30425 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30428 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30429 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30430 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30431 Add sendmmsg and internal_sendmmsg.
30432 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30434 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30436 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30437 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30438 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30440 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30443 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30444 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30450 * iconvdata/Makefile (tests): Add bug-iconv9.
30451 * iconvdata/bug-iconv9.c: New file.
30453 2011-05-27 Andreas Schwab <schwab@redhat.com>
30456 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30458 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30461 (struct user_regs_struct): Change intcs field back to cs.
30463 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30465 * po/ja.po: Update from translation team.
30467 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30470 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30473 2011-05-20 Andreas Schwab <schwab@redhat.com>
30475 * stdlib/longlong.h: Update from GCC.
30477 2011-05-23 Andreas Schwab <schwab@redhat.com>
30479 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30481 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30482 Add parameter name.
30483 (__sysconf): Pass it down.
30485 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30488 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30490 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30491 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30492 add in in __libc_use_alloca calls. Adjust callers.
30493 (glob): Use malloc in some situations.
30495 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30496 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30499 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30501 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30502 and CLOCK_BOOTTIME_ALARM.
30505 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30508 * string/_strerror.c (__strerror_r): Print negative errors as signed
30512 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30513 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30514 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30516 * configure.in: Fix typo in redirection and correct removal of test
30517 files in two cases.
30520 * locale/setlocale.c (new_composite_name): Fix test to check for
30521 identical name of all categories.
30524 * libio/filedoalloc.c (local_isatty): New function.
30525 (_IO_file_doallocate): Use local_isatty.
30526 * stdio-common/perror.c (perror): In case a new stream is used
30527 forward the stream error.
30528 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30531 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30536 * include/alloca.h (extend_alloca_account): Define.
30539 * posix/regex.h: Fix comments with documentation of user-accessible
30540 fields after compilation and describe correct free'ing of pattern
30541 after re_compile_pattern.
30542 Patch by Reuben Thomas <rrt@sc3d.org>.
30544 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30546 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30547 and -mno-altivec to prevent the compiler from using Altivec and/or
30548 VSX instructions when the corresponding registers are not available.
30550 2011-05-19 Andreas Schwab <schwab@redhat.com>
30552 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30554 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30556 * libio/freopen.c (freopen): Use __dup2, not dup2.
30557 * libio/freopen64.c (freopen64): Likewise.
30559 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30562 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30563 * math/Makefile (tests): Add test-powl.
30564 (CFLAGS-test-powl.c): Define.
30565 * math/test-powl.c: New file.
30567 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30569 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30571 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30574 * iconvdata/gb18030.c: Update to GB18020-2005.
30576 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30578 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30579 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30580 Patch by Aharon Robbins <arnold@skeeve.com>.
30583 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30587 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30588 through underflows.
30591 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30592 point to strings before performing equality test for error_one_per_line
30596 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30599 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30600 (struct user_fpregs_struct): Avoid __uint*_t types.
30603 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30604 symbol info. Use it instead of calling _dl_addr locally.
30605 (lock_and_info): New function.
30606 (tr_freehook): Call lock_and_info and pass symbol info as additional
30607 parameter to tr_where.
30608 (tr_mallochook): Likewise.
30609 (tr_reallochook): Likewise.
30610 (tr_memalignhook): Likewise.
30612 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30613 used and couldn't be at all thread-safe.
30615 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30617 * libio/freopen.c (freopen): Don't close old file descriptor
30618 before the new one is opened. Instead dup the new file descriptor
30619 to the old one after the new stream is created.
30620 * libio/freopen64.c (freopen64): Likewise.
30621 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30622 * libio/fileops.c (_IO_new_file_close_it): Handle new
30623 _IO_FLAGS2_NOCLOSE flag.
30624 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30625 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30626 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30627 _IO_FLAGS2_NOCLOSE flag.
30628 * include/unistd.h: Add hidden_proto for dup3.
30629 Define __have_dup3.
30630 * io/dup3.c: Define hidden symbol.
30631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30634 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30635 when an incomplete long option is used.
30636 * posix/tst-getopt_long1.c: New file.
30637 * posix/Makefile (tests): Add tst-getopt_long1.
30640 * scripts/config.guess: Update from autoconf-2.68.
30641 * scripts/config.sub: Likewise.
30644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30646 (has_cpuclock): ...this. New function.
30647 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30648 macro here based on has_cpuclock code.
30651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30652 First byte (not low byte) is now always NUL.
30653 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30655 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30656 Use non-cancelable interfaces.
30659 * locale/iso-639.def: Add entry for Sorani.
30662 * include/stdlib.h: Move include protection to the right place.
30663 Define abort_msg_s. Declare __abort_msg with it.
30664 * stdlib/abort.c (__abort_msg): Adjust type.
30665 * assert/assert.c (__assert_fail_base): New function. Majority
30666 of code from __assert_fail. Allocate memory for __abort_msg with
30668 (__assert_fail): Now call __assert_fail_base.
30669 * assert/assert-perr.c: Remove bulk of implementation. Use
30670 __assert_fail_base.
30671 * include/assert.hL Declare __assert_fail_base.
30672 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30674 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30676 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30680 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30681 until all modules are registered in the DTV.
30682 * elf/Makefile: Add rules to build and run tst-tls19.
30683 * elf/tst-tls19.c: New file.
30684 * elf/tst-tls19mod1.c: New file.
30685 * elf/tst-tls19mod2.c: New file.
30686 * elf/tst-tls19mod3.c: New file.
30687 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30690 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30694 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30695 two-byte sequence errors.
30696 * iconvdata/Makefile (tests): Add bug-iconv8.
30697 * iconvdata/bug-iconv8.c: New file.
30700 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30703 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30706 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30707 (dummy_getcfa): New function.
30708 (init): Get _Unwind_GetCFA address, use dummy if not found.
30709 (backtrace_helper): In recursion check, also check whether CFA changes.
30710 (__backtrace): Completely initialize arg.
30712 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30713 storing incomplete byte sequence in state object. Avoid testing for
30714 guaranteed too small input if we know there is enough data available.
30716 2011-05-11 Andreas Schwab <schwab@redhat.com>
30718 * Makeconfig (+link-pie): Indent.
30719 * Rules (binaries-pie): Define if $(have-fpie) and
30721 (binaries-shared): Also filter out $(binaries-pie).
30722 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30723 * nscd/Makefile (others-pie): Add nscd.
30724 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30725 ($(objpfx)nscd): Remove command override.
30726 * login/Makefile (others-pie): Add pt_chown.
30727 ($(objpfx)pt_chown): Remove command override.
30728 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30729 remove command overrides.
30731 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30733 * libio/tst_putwc.c: Fix error messages.
30736 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30737 currently writing and seek to current position when not.
30738 * libio/Makefile (tests): Add bug-fclose1.
30739 * libio/bug-fclose1.c: New file.
30741 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30744 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30745 don't set DF_1_NODELETE here.
30746 (do_lookup_x): When entering new entry test for copy relocation
30747 and if necessary set DF_1_NODELETE flag.
30748 * elf/tst-unique4.cc: New file.
30749 * elf/tst-unique4.h: New file.
30750 * elf/tst-unique4lib.cc: New file.
30751 * elf/Makefile: Add rules to build and run tst-unique4.
30752 Patch by Piotr Bury <pbury@goahead.com>.
30754 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30757 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30760 * misc/mntent_r.c (addmntent): Flush the stream after the output
30763 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30764 (is_trusted_path_normalize): Skip initial colon. Append slash
30765 to empty buffer. Duplicate is_trusted_path code but allow
30766 constructed patch to be prefix.
30767 (is_dst): Allow $ORIGIN followed by /.
30768 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30769 Correct testing of result of is_trusted_path_normalize
30770 (decompose_rpath): Fix warning.
30772 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30775 * grp/initgroups.c (internal_getgrouplist): When we found the service
30776 list through the initgroups entry in nsswitch.conf do not always
30777 continue on a successful lookup. Don't always use the
30778 __nss_group_database value if it is set.
30779 * nss/nsswitch.conf (initgroups): Change action for successful db
30780 lookup to continue for compatibility.
30782 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30785 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30787 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30789 * iconvdata/tst-tables.sh: Likewise.
30790 * iconvdata/cp770.c: New file.
30791 * iconvdata/cp771.c: New file.
30792 * iconvdata/cp772.c: New file.
30793 * iconvdata/cp773.c: New file.
30794 * iconvdata/cp774.c: New file.
30795 * iconvdata/testdata/CP770: New file.
30796 * iconvdata/testdata/CP770..UTF8: New file.
30797 * iconvdata/testdata/CP771: New file.
30798 * iconvdata/testdata/CP771..UTF8: New file.
30799 * iconvdata/testdata/CP772: New file.
30800 * iconvdata/testdata/CP772..UTF8: New file.
30801 * iconvdata/testdata/CP773: New file.
30802 * iconvdata/testdata/CP773..UTF8: New file.
30803 * iconvdata/testdata/CP774: New file.
30804 * iconvdata/testdata/CP774..UTF8: New file.
30806 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30808 * iconvdata/gen-8bit-gap.sh: Likewise.
30809 * iconvdata/gen-8bit.sh: Likewise.
30811 * locale/iso-639.def: Add ary entry.
30814 * locale/C-translit.h.in: Add U20A1 transliteration.
30817 * locale/iso-639.def: Add wae entry.
30818 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30821 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30825 * locale/C-translit.h.in: Add entry for U20B9.
30826 Patch by pravin.d.s@gmail.com.
30828 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30831 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30832 ENAMETOOLONG use generic getcwd.
30833 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30834 in rtld. Use *stat64.
30835 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30836 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30837 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30838 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30839 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30840 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30841 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30842 __fstatat64 macros.
30843 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30844 * dirent/rewinddir.c: Add libc_hidden_def.
30845 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30846 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30848 * include/dirent.h (__alloc_dir): Add flags parameter.
30849 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30850 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30852 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30853 from fdopendir if O_CLOEXEC is already set.
30855 2011-03-15 Alan Modra <amodra@gmail.com>
30857 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30858 l_tls_firstbyte_offset non-zero. Save padding offset in
30859 l_tls_firstbyte_offset for later use.
30860 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30861 freeing static tls block.
30863 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30865 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30866 where #ifdef was intended. The intent is to prevent ARG_MAX from
30867 being defined by the kernel headers.
30869 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30872 * resolv/resolv.h: Define RES_NOTLDQUERY.
30873 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30874 no-tld-query and set RES_NOTLDQUERY.
30875 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30876 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30877 modern BIND to search name as TLD unless forbidden.
30879 2011-05-07 Petr Baudis <pasky@suse.cz>
30880 Ulrich Drepper <drepper@gmail.com>
30883 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30884 (is_trusted_path): ...to here.
30885 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30886 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30887 using is_trusted_path_normalize() in setuid scripts.
30889 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30891 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30892 __BEGIN/__END_DECLS.
30894 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30897 NSS_STATUS_NOTFOUND if no record was found.
30899 2011-05-05 Andreas Schwab <schwab@redhat.com>
30901 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30902 (headers-not-in-tirpc): Remove rpc/netdb.h
30903 * resolv/netdb.h: Revert last change.
30905 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30907 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30908 circular dependency between libgcc.a and libc.a.
30910 2011-05-05 Andreas Schwab <schwab@redhat.com>
30912 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30913 * nis/Makefile: Don't install rpcsvc/*.
30914 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30915 instead of <rpc/types.h>.
30916 (MAXHOSTNAMELEN): Define.
30918 2011-05-03 Andreas Schwab <schwab@redhat.com>
30920 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30922 2011-04-28 Maciej Babinski <mbabinski@google.com>
30925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30926 gethostbyname4_r when IPv6 results are possible.
30928 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30931 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30932 _PC_PIPE_BUF handling.
30934 2011-04-30 Bruno Haible <bruno@clisp.org>
30937 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30938 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30940 * inet/getnameinfo.c (getnameinfo): Likewise.
30942 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30944 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30945 to groups setting in database lookup.
30946 * nss/nsswitch.conf: Add initgroups entry.
30948 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30951 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30953 Patch by Eric Blake <eblake@redhat.com>.
30955 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30957 * sunrpc/Makefile (need-export-routines): Add svc_run.
30958 (routines): Remove svc_run.
30959 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30960 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30961 * sunrpc/svc_run.c (svc_run): Likewise.
30962 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30964 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30967 problem in reallocation in last patch.
30969 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30971 * sunrpc/Makefile: Move inclusion of Rules.
30973 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30975 * nss/nss_files/files-initgroups.c: New file.
30976 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30977 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30978 _nss_files_initgroups_dyn.
30980 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30982 * elf/elf.h (R_ARM_IRELATIVE): Define.
30984 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30986 * po/ru.po: Update from translation team.
30988 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30990 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30993 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30996 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30997 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31002 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31004 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31006 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31010 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31013 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31015 * stdlib/bug-getcontext.c: New file.
31016 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31018 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31020 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31021 instructions into .machine "z9-109".
31022 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31023 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31025 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31027 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31028 between environment variables and auxiliary vector.
31030 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31032 * Makefile: Add rules to build linkobj/libc.so.
31033 * include/libc-symbols.h: Define libc_hidden_nolink.
31034 * include/rpc/auth.h: Mark functions which are to be hidden.
31035 * include/rpc/auth_des.h: Likewise.
31036 * include/rpc/auth_unix.h: Likewise.
31037 * include/rpc/clnt.h: Likewise.
31038 * include/rpc/des_crypt.h: Likewise.
31039 * include/rpc/key_prot.h: Likewise.
31040 * include/rpc/pmap_clnt.h: Likewise.
31041 * include/rpc/pmap_prot.h: Likewise.
31042 * include/rpc/pmap_rmt.h: Likewise.
31043 * include/rpc/rpc_msg.h: Likewise.
31044 * include/rpc/svc.h: Likewise.
31045 * include/rpc/svc_auth.h: Likewise.
31046 * include/rpc/xdr.h: Likewise.
31047 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31048 * nss/Makefile: Likewise.
31049 * sunrpc/Makefile: Don't install headers. Build library with normal
31050 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31051 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31052 for the compat linking library. Remove use of INTDEF/INTUSE.
31053 * sunrpc/auth_none.c: Likewise.
31054 * sunrpc/auth_unix.c: Likewise.
31055 * sunrpc/authdes_prot.c: Likewise.
31056 * sunrpc/authuxprot.c: Likewise.
31057 * sunrpc/clnt_gen.c: Likewise.
31058 * sunrpc/clnt_perr.c: Likewise.
31059 * sunrpc/clnt_raw.c: Likewise.
31060 * sunrpc/clnt_simp.c: Likewise.
31061 * sunrpc/clnt_tcp.c: Likewise.
31062 * sunrpc/clnt_udp.c: Likewise.
31063 * sunrpc/clnt_unix.c: Likewise.
31064 * sunrpc/des_crypt.c: Likewise.
31065 * sunrpc/des_soft.c: Likewise.
31066 * sunrpc/get_myaddr.c: Likewise.
31067 * sunrpc/key_call.c: Likewise.
31068 * sunrpc/key_prot.c: Likewise.
31069 * sunrpc/netname.c: Likewise.
31070 * sunrpc/pm_getmaps.c: Likewise.
31071 * sunrpc/pm_getport.c: Likewise.
31072 * sunrpc/pmap_clnt.c: Likewise.
31073 * sunrpc/pmap_prot.c: Likewise.
31074 * sunrpc/pmap_prot2.c: Likewise.
31075 * sunrpc/pmap_rmt.c: Likewise.
31076 * sunrpc/publickey.c: Likewise.
31077 * sunrpc/rpc_cmsg.c: Likewise.
31078 * sunrpc/rpc_common.c: Likewise.
31079 * sunrpc/rpc_dtable.c: Likewise.
31080 * sunrpc/rpc_prot.c: Likewise.
31081 * sunrpc/rpc_thread.c: Likewise.
31082 * sunrpc/rtime.c: Likewise.
31083 * sunrpc/svc.c: Likewise.
31084 * sunrpc/svc_auth.c: Likewise.
31085 * sunrpc/svc_authux.c: Likewise.
31086 * sunrpc/svc_raw.c: Likewise.
31087 * sunrpc/svc_run.c: Likewise.
31088 * sunrpc/svc_simple.c: Likewise.
31089 * sunrpc/svc_tcp.c: Likewise.
31090 * sunrpc/svc_udp.c: Likewise.
31091 * sunrpc/svc_unix.c: Likewise.
31092 * sunrpc/svcauth_des.c: Likewise.
31093 * sunrpc/xcrypt.c: Likewise.
31094 * sunrpc/xdr.c: Likewise.
31095 * sunrpc/xdr_array.c: Likewise.
31096 * sunrpc/xdr_float.c: Likewise.
31097 * sunrpc/xdr_intXX_t.c: Likewise.
31098 * sunrpc/xdr_mem.c: Likewise.
31099 * sunrpc/xdr_rec.c: Likewise.
31100 * sunrpc/xdr_ref.c: Likewise.
31101 * sunrpc/xdr_sizeof.c: Likewise.
31102 * sunrpc/xdr_stdio.c: Likewise.
31104 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31107 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31108 * sysdeps/ia64/dl-tls.h: Likewise.
31109 * sysdeps/powerpc/dl-tls.h: Likewise.
31110 * sysdeps/s390/dl-tls.h: Likewise.
31111 * sysdeps/sh/dl-tls.h: Likewise.
31112 * sysdeps/sparc/dl-tls.h: Likewise.
31113 * sysdeps/x86_64/dl-tls.h: Likewise.
31114 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31116 2011-03-14 Andreas Schwab <schwab@redhat.com>
31118 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31119 rpath element also skip the following colon.
31120 (expand_dynamic_string_token): Add is_path parameter and pass
31121 down to DL_DST_REQUIRED and _dl_dst_substitute.
31122 (decompose_rpath): Call expand_dynamic_string_token with
31123 non-zero is_path. Ignore empty rpaths.
31124 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31127 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31132 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31135 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31136 Patch by Filipe David Manana <fdmanana@apache.org>.
31138 2011-04-07 Andreas Schwab <schwab@redhat.com>
31140 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31141 Maintain aligned stack.
31142 (CHECK_RSP): Remove unused macro.
31144 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31146 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31147 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31149 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31151 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31153 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31155 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31158 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31159 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31160 * sysdeps/x86_64/memmove.c: New file.
31161 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31162 (memcpy): Renamed to ...
31163 (__new_memcpy): This.
31164 (memcpy): Provide GLIBC_2_14 memcpy.
31165 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31166 (memcpy): Provide GLIBC_2_2_5 memcpy.
31168 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31171 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31173 2011-03-30 Andreas Schwab <schwab@redhat.com>
31175 * misc/syncfs.c: New file.
31176 * misc/Makefile (routines): Add syncfs.
31177 * posix/unistd.h: Declare syncfs.
31178 * sysdeps/unix/syscalls.list: Add syncfs.
31180 2011-04-01 Andreas Schwab <schwab@redhat.com>
31182 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31184 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31185 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31189 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31192 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31196 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31197 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31200 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31202 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31203 sync_file_range.c with -fexceptions.
31204 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31205 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31206 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31207 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31208 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31209 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31210 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31211 sync_file_range as cancellation point
31212 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31213 now a wrapper around __call_sync_file_range with cancellation handling.
31214 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31215 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31216 function name to __call_sync_file_range.
31217 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31218 Add call_sync_file_range.
31220 2011-04-01 Andreas Schwab <schwab@redhat.com>
31222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31225 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31227 * iconv/iconv.h: Fix typo in comment.
31228 * io/fcntl.h: Likewise.
31229 * libio/stdio.h: Likewise.
31230 * posix/spawn.h: Likewise.
31231 * posix/unistd.h: Likewise.
31232 * stdlib/stdlib.h: Likewise.
31233 * time/time.h: Likewise.
31234 * wcsmbs/wchar.h: Likewise.
31236 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31237 open_by_handle): Add.
31238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31239 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31240 Augment a few comments.
31241 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31243 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31245 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31246 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31249 * io/fcntl.h (AT_EMPTY_PATH): Define.
31251 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31253 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31254 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31255 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31257 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31258 * Versions.def: Add GLIBC_2.14.
31259 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31262 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31266 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31268 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31271 * string/test-strncmp.c (do_page_test): New function.
31272 (check2): Likewise.
31273 (test_main): Call check2.
31274 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31276 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31280 Handle cache information in CPU leaf 4.
31281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31283 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31286 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31287 character representation.
31288 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31290 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31292 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31293 END(__isnan) to END(__isnanf) to match function entry point/label
31294 EALIGN(__isnanf,...).
31296 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31298 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31300 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31303 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31304 copy from the symbol referenced in the relocation to initialize the
31306 Patch by Piotr Bury <pbury@goahead.com>.
31307 * elf/Makefile: Add rules to build and tst-unique3.
31308 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31309 * elf/tst-unique3.cc: New file.
31310 * elf/tst-unique3.h: New file.
31311 * elf/tst-unique3lib.cc: New file.
31312 * elf/tst-unique3lib2.cc: New file.
31314 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31316 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31318 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31319 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31322 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31324 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31325 to-be-loaded object along a path to loader is ld.so.
31327 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31328 Ulrich Drepper <drepper@gmail.com>
31330 * sysdeps/x86_64/memset.S: After aligning destination, code
31331 branches to different locations depending on the value of
31332 misalignment, when multiarch is enabled. Fix this.
31334 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31336 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31337 Set _x86_64_preferred_memory_instruction for AMD processsors.
31338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31339 Set bit_Prefer_SSE_for_memop for AMD processors.
31341 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31343 * libio/fmemopen.c (fmemopen): Optimize a bit.
31345 2011-03-03 Andreas Schwab <schwab@redhat.com>
31347 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31349 2011-03-03 Roland McGrath <roland@redhat.com>
31351 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31353 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31355 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31356 __bzero_ultra1 instead of __memset_ultra1.
31358 2011-02-23 Andreas Schwab <schwab@redhat.com>
31359 Ulrich Drepper <drepper@gmail.com>
31362 * include/link.h (struct link_map): Add l_orig_initfini.
31363 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31364 returning unsuccessfully.
31365 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31366 close of a file loaded at startup, restore the original l_initfini
31368 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31369 list, store the pointer.
31370 * elf/Makefile ($(objpfx)noload-mem): New rule.
31371 (noload-ENV): Define.
31372 (tests): Add $(objpfx)noload-mem.
31373 * elf/noload.c: Include <memcheck.h>.
31374 (main): Call mtrace. Close all opened handles.
31376 2011-02-17 Andreas Schwab <schwab@redhat.com>
31379 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31380 dependencies are missing.
31382 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31384 Fix __if_freereq crash: Unlike the generic version which uses free,
31386 * sysdeps/mach/hurd/ifreq.h: New file.
31388 2011-01-27 Petr Baudis <pasky@suse.cz>
31389 Ulrich Drepper <drepper@gmail.com>
31392 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31393 to extend_alloca().
31394 * stdio-common/bug23.c: New file.
31395 * stdio-common/Makefile (tests): Add bug23.
31397 2010-09-28 Andreas Schwab <schwab@redhat.com>
31398 Ulrich Drepper <drepper@gmail.com>
31401 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31402 before performing relro protection. At old place add assertion
31403 to make sure nothing changed.
31405 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31406 Glauber de Oliveira Costa <glommer@gmail.com>
31408 * elf/elf.h: Add new ARM TLS relocs.
31410 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31413 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31415 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31417 * sysdeps/wordsize-64/tst-writev.c: New file.
31419 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31421 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31422 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31423 insns in _dl_start to prevent a TOC reference before relocs are
31426 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31429 * Makeconfig: Remove RANLIB definition.
31430 * Makerules: Don't use RANLIB.
31431 * aclocal.m4: Remove ranlib test.
31432 * configure.in: No need to check for ranlib.
31433 * elf/rtld-Rules: Don't use RANLIB.
31435 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31437 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31439 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31440 inclusion protection macro.
31442 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31443 SIGRTMIN and SIGRTMAX and print information in that case only when
31444 SIGRTMIN is defined.
31446 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31448 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31449 arginfo fn returning -1.
31451 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31452 and thousands string is zero terminated.
31454 2011-02-03 Andreas Schwab <schwab@redhat.com>
31456 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31457 sysdeps/unix/sysv/linux/bits/socket.h.
31459 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31461 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31462 (__CPU_COUNT): Remove old macros.
31463 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31464 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31465 (__CPU_ALLOC, __CPU_FREE): Add macros.
31466 (__sched_cpualloc, __sched_cpufree): Add declarations.
31468 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31470 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31471 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31472 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31473 (readdhstai): Return value of addhstaiX call.
31474 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31475 (addgrbyX): Return value returned by cache_addgr.
31476 (readdgrbyname): Return value returned by addgrbyX.
31477 (readdgrbygid): Likewise.
31478 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31479 (addpwbyX): Return value returned by cache_addpw.
31480 (readdpwbyname): Return value returned by addhstbyX.
31481 (readdpwbyuid): Likewise.
31482 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31483 (addservbyX): Return value returned by cache_addserv.
31484 (readdservbyname): Return value returned by addservbyX:
31485 (readdservbyport): Likewise.
31486 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31487 (addhstbyX): Return value returned by cache_addhst.
31488 (readdhstbyname): Return value returned by addhstbyX.
31489 (readdhstbyaddr): Likewise.
31490 (readdhstbynamev6): Likewise.
31491 (readdhstbyaddrv6): Likewise.
31492 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31493 (readdinitgroups): Return value returned by addinitgroupsX.
31494 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31495 (prune_cache): Keep track of timeout value of re-added entries.
31496 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31497 * nscd/nscd.h: Adjust prototypes of readd* functions.
31499 2011-02-04 Roland McGrath <roland@redhat.com>
31501 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31502 (nis_stats): Likewise.
31503 * nis/nis_modify.c (nis_modify): Likewise.
31504 * nis/nis_remove.c (nis_remove): Likewise.
31505 * nis/nis_add.c (nis_add): Likewise.
31507 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31509 * posix/fnmatch_loop.c: Add some consts.
31511 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31513 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31516 * config.make.in (config-cflags-novzeroupper): Define.
31517 * configure.in: Substitute libc_cv_cc_novzeroupper.
31518 * elf/Makefile (AVX-CFLAGS): Define.
31519 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31520 (CFLAGS-tst-auditmod4a.c): Likewise.
31521 (CFLAGS-tst-auditmod4b.c): Likewise.
31522 (CFLAGS-tst-auditmod6b.c): Likewise.
31523 (CFLAGS-tst-auditmod6c.c): Likewise.
31524 (CFLAGS-tst-auditmod7b.c): Likewise.
31525 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31527 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31529 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31530 function to the callback.
31531 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31533 2011-02-02 Andreas Schwab <schwab@redhat.com>
31535 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31538 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31541 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31543 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31545 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31548 * elf/Makefile: Add rules to build and run new test.
31549 * elf/tst-initorder.c: New file.
31550 * elf/tst-initorder.exp: New file.
31551 * elf/tst-initordera1.c: New file.
31552 * elf/tst-initordera2.c: New file.
31553 * elf/tst-initordera3.c: New file.
31554 * elf/tst-initordera4.c: New file.
31555 * elf/tst-initorderb1.c: New file.
31556 * elf/tst-initorderb2.c: New file.
31557 * elf/tst-order-a1.c: New file.
31558 * elf/tst-order-a2.c: New file.
31559 * elf/tst-order-a3.c: New file.
31560 * elf/tst-order-a4.c: New file.
31561 * elf/tst-order-b1.c: New file.
31562 * elf/tst-order-b2.c: New file.
31563 * elf/tst-order-main.c: New file.
31564 New test case by George Gensure <werkt0@gmail.com>.
31566 2010-10-01 Andreas Schwab <schwab@redhat.com>
31568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31569 decoding ACE if AI_CANONIDN.
31571 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31573 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31575 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31577 * version.h (RELEASE): Bump for 2.13 release.
31578 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31580 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31582 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31584 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31586 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31587 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31588 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31591 * posix/getconf.c: Update copyright year.
31592 * catgets/gencat.c: Likewise.
31593 * csu/version.c: Likewise.
31594 * debug/catchsegv.sh: Likewise.
31595 * debug/xtrace.sh: Likewise.
31596 * elf/ldconfig.c: Likewise.
31597 * elf/ldd.bash.in: Likewise.
31598 * elf/sprof.c (print_version): Likewise.
31599 * iconv/iconv_prog.c: Likewise.
31600 * iconv/iconvconfig.c: Likewise.
31601 * locale/programs/locale.c: Likewise.
31602 * locale/programs/localedef.c: Likewise.
31603 * malloc/memusage.sh: Likewise.
31604 * malloc/mtrace.pl: Likewise.
31605 * nscd/nscd.c (print_version): Likewise.
31606 * nss/getent.c: Likewise.
31608 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31609 PF_CAIF, and PF_ALG.
31610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31612 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31614 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31615 (modules-names): Use them.
31616 (ifunc-test-modules, ifunc-pie-tests): Define.
31617 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31618 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31619 (test-extras): Likewise.
31620 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31621 $(compile-command.c).
31622 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31623 (all-built-dso): Define.
31624 (check-textrel.out, check-execstack.out): Depend on it.
31626 * configure.in: Don't override --enable-multi-arch.
31628 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31631 * nscd/hstcache.c (tryagain): Define.
31632 (cache_addhst): Return tryagain not notfound for temporary errors.
31633 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31636 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31639 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31640 to make the syscall.
31641 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31644 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31645 and fall back to matching as normal character if the string ends before
31646 the matching ']' is found. This is what POSIX requires.
31647 * posix/testfnm.c: Adjust test result.
31648 * posix/globtest.sh: Adjust test result. Add new test.
31649 * posix/tst-fnmatch.input: Likewise.
31650 * posix/tst-fnmatch2.c: Add new test.
31652 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31654 * elf/Makefile (check-execstack): Revert last change. Depend on
31656 (check-execstack.h): New target.
31657 (generated): Add check-execstack.h.
31658 * elf/check-execstack.c: Include "check-execstack.h".
31659 (main): Revert last change.
31660 (handle_file): Return zero if GNU_STACK is absent and
31661 DEFAULT_STACK_PERMS doesn't include PF_X.
31663 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31665 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31666 in child fails because the descriptor is already closed.
31667 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31668 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31669 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31672 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31676 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31677 temporary buffer used to handle multi lookups locally.
31678 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31680 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31682 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31685 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31687 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31688 alignment for SSE2.
31690 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31693 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31694 characters. When rounding increased number of integer digits recompute
31696 * stdio-common/tst-grouping.c: New file.
31697 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31699 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31701 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31702 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31704 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31706 * bits/select.h: Likewise.
31708 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31710 * po/ja.po: Update from translation team.
31712 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31715 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31716 implementation just like for lxstat, fxstatat, et al.
31718 2010-12-27 Jim Meyering <meyering@redhat.com>
31721 * posix/regexec.c (build_trtable): Return failure indication upon
31722 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31724 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31727 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31728 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31729 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31730 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31733 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31736 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31737 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31739 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31741 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31742 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31743 script has SORT_BY_INIT_PRIORITY.
31744 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31745 NO_CTORS_DTORS_SECTIONS is defined.
31746 * elf/soinit.c: Likewise.
31747 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31748 NO_CTORS_DTORS_SECTIONS is defined.
31749 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31750 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31751 * sysdeps/sh/init-first.c: Likewise.
31752 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31754 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31756 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31757 always use the slow path.
31759 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31761 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31762 similar rule which adds the sysdep directories to the header search in
31763 order to pick up the correct platform stackinfo.h.
31764 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31765 perform test if it is, otherwise return successfully without testing.
31766 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31767 DEFAULT_STACK_PERMS define in stackinfo.h.
31768 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31769 defined in stackinfo.h.
31770 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31771 DEFAULT_STACK_PERMS defined in stackinfo.h.
31772 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31773 * sysdeps/ia64/stackinfo.h: Likewise.
31774 * sysdeps/s390/stackinfo.h: Likewise.
31775 * sysdeps/sh/stackinfo.h: Likewise.
31776 * sysdeps/sparc/stackinfo.h: Likewise.
31777 * sysdeps/x86_64/stackinfo.h: Likewise.
31778 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31779 PF_X for powerpc64. Retain PF_X for powerpc32.
31781 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31783 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31785 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31786 GETDENTS_64BIT_ALIGNED.
31788 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31790 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31792 2010-12-10 Andreas Schwab <schwab@redhat.com>
31794 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31797 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31798 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31800 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31801 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31803 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31806 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31809 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31811 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31813 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31815 * po/it.po: Update from translation team.
31817 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31819 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31822 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31824 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31826 2010-11-24 Andreas Schwab <schwab@redhat.com>
31828 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31830 (gaih_getanswer_slice): Likewise.
31832 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31836 2010-05-31 Petr Baudis <pasky@suse.cz>
31839 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31840 silently even in the chroot mode.
31842 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31844 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31845 last patch a bit. Pretty printing
31847 2010-05-31 Petr Baudis <pasky@suse.cz>
31850 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31851 initialization of skip_initgroups_dyn.
31853 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31855 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31858 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31860 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31862 2010-11-11 Andreas Schwab <schwab@redhat.com>
31864 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31865 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31866 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31867 ($(objpfx)tst-fnmatch-mem): New rule.
31868 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31869 * posix/tst-fnmatch.c (main): Call mtrace.
31871 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31874 Support Intel processor model 6 and model 0x2c.
31876 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31878 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31881 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31884 * string/test-strncasecmp.c (check_result): New function.
31885 (do_one_test): Use it.
31886 (check1): New function.
31887 (test_main): Use it.
31888 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31889 Support strcasecmp and strncasecmp.
31891 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31894 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31897 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31899 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31903 * sysdeps/x86_64/multiarch/bzero.S: New file.
31904 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31905 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31906 * sysdeps/x86_64/multiarch/memset.S: New file.
31907 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31909 Set bit_Prefer_SSE_for_memop for Intel processors.
31910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31912 (index_Prefer_SSE_for_memop): Define.
31913 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31915 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31917 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31920 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31923 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31924 (__x86_64_raw_data_cache_size_half): Likewise.
31925 (__x86_64_raw_shared_cache_size): Likewise.
31926 (__x86_64_raw_shared_cache_size_half): Likewise.
31928 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31929 (__x86_64_raw_data_cache_size_half): Likewise.
31930 (__x86_64_raw_shared_cache_size): Likewise.
31931 (__x86_64_raw_shared_cache_size_half): Likewise.
31932 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31933 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31934 and __x86_64_raw_shared_cache_size_half. Round
31935 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31936 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31937 to multiple of 256 bytes.
31939 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31943 of inacessible symlinks. Verify result of symlink before returning it.
31944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31945 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31947 2010-10-28 Erich Ritz <erichritz@gmail.com>
31949 * math/math.h (isinf): Fix typo in comment.
31951 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31953 * po/da.po: Update from translation team.
31955 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31957 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31958 is added to the list.
31960 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31961 Ulrich Drepper <drepper@gmail.com>
31963 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31964 the global list here. Move code to...
31965 (_dl_add_to_namespace_list): ...here. New function.
31966 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31967 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31968 * elf/dl-load.c (lose): Don't remove the element from the list.
31969 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31970 (_dl_map_object): Likewise.
31972 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31975 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31976 into all bytes of SSE register.
31977 Patch by Richard Li <richardpku@gmail.com>.
31979 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31982 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31985 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31987 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31988 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31989 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31990 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31995 2010-10-22 Andreas Schwab <schwab@redhat.com>
31997 * include/dlfcn.h (__RTLD_SECURE): Define.
31998 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31999 mode & __RTLD_SECURE instead.
32000 (open_path): Rename preloaded parameter to secure.
32001 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32002 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32003 * elf/dl-deps.c (openaux): Likewise.
32004 * elf/rtld.c (struct map_args): Remove is_preloaded.
32005 (map_doit): Don't use it.
32006 (dl_main): Likewise.
32007 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32008 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32010 2010-09-09 Andreas Schwab <schwab@redhat.com>
32012 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32013 (sysd-rules-targets): Remove duplicates.
32014 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32015 rtld-%.$o dependency.
32017 2010-10-18 Andreas Schwab <schwab@redhat.com>
32019 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32020 _dl_map_object do it.
32022 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32024 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32025 fast fma builtins, define the macros in the C99 standard.
32026 (FP_FAST_FMAF): Likewise.
32027 (FP_FAST_FMAL): Likewise.
32028 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32030 * bits/mathdef.h: Update copyright year.
32031 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32033 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32035 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32036 builtins, define the macros in the C99 standard.
32037 (FP_FAST_FMAF): Likewise.
32038 (FP_FAST_FMAL): Likewise.
32039 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32041 (FP_FAST_FMAF): Likewise.
32043 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32046 * math/libm-test.inc (fma_test): Some new testcases.
32047 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32048 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32049 y and infinite z. Do multiplication by C already in long double.
32050 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32051 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32052 y and infinite z. Do bitwise or of inexact bit into u.d.
32053 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32054 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32055 * sysdeps/i386/fpu/s_fma.S: Removed.
32056 * sysdeps/i386/fpu/s_fmal.S: Removed.
32058 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32061 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32062 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32063 computation is not scheduled after fetestexcept. Fix value
32064 of minimum denormal long double.
32066 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32069 * math/libm-test.inc (fma_test): Add some more tests.
32070 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32073 2010-10-15 Andreas Schwab <schwab@redhat.com>
32075 * scripts/data/localplt-s390-linux-gnu.data: New file.
32076 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32078 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32081 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32082 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32084 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32086 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32088 if one of x and y is very large and the other is subnormal.
32089 * sysdeps/s390/fpu/s_fmaf.c: New file.
32090 * sysdeps/s390/fpu/s_fma.c: New file.
32091 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32092 * sysdeps/powerpc/fpu/s_fma.S: New file.
32093 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32094 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32095 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32097 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32100 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32103 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32104 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32105 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32106 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32107 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32108 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32110 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32113 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32114 * posix/bug-regex31.input: Add test case.
32116 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32118 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32119 * posix/bug-regex31.input: New file.
32122 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32123 (parse_sub_exp): Fix last change, use postorder.
32125 * posix/bug-regex31.c: New file.
32126 * posix/Makefile: Add rules to build and run bug-regex31.
32128 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32131 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32134 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32135 to have entries in sys_siglist.
32138 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32141 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32144 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32145 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32146 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32147 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32149 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32150 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32151 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32152 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32153 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32154 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32155 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32156 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32157 * math/ftestexcept.c (fetestexcept): Likewise.
32158 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32159 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32160 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32161 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32162 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32163 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32164 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32166 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32169 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32172 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32174 * string/bug-strstr1.c: New file.
32175 * string/Makefile: Add rules to build and run bug-strstr1.
32177 2010-10-05 Eric Blake <eblake@redhat.com>
32180 * string/str-two-way.h (two_way_long_needle): Always clear memory
32181 when skipping input due to the shift table.
32183 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32186 * malloc/mcheck.c: Handle large requests.
32189 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32190 for strncmp and strncasecmp.
32191 * string/stratcliff.c: Add tests for strcmp and strncmp.
32192 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32194 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32196 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32199 2010-09-30 Andreas Jaeger <aj@suse.de>
32201 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32202 (CGROUP_SUPER_MAGIC): Define.
32203 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32204 Handle btrfs and cgroup file systems.
32205 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32208 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32210 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32211 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32213 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32216 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32217 trying to locate the ELF header.
32219 2010-09-27 Andreas Schwab <schwab@redhat.com>
32222 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32223 Mask out sign-bit copies when constructing f_fsid.
32225 2010-09-24 Petr Baudis <pasky@suse.cz>
32227 * debug/stack_chk_fail_local.c: Add missing licence exception.
32228 * debug/warning-nop.c: Likewise.
32230 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32233 implementing getdents64 using getdents syscall, set d_type if
32234 __ASSUME_GETDENTS32_D_TYPE.
32236 2010-09-16 Andreas Schwab <schwab@redhat.com>
32238 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32239 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32241 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32244 * posix/unistd.h: Undo change of feature selection for ftruncate from
32247 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32249 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32252 2010-09-20 Andreas Schwab <schwab@redhat.com>
32254 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32258 2010-09-14 Andreas Schwab <schwab@redhat.com>
32260 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32261 variables after CHECK_SP call.
32262 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32264 2010-09-13 Andreas Schwab <schwab@redhat.com>
32265 Ulrich Drepper <drepper@redhat.com>
32267 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32268 re-relocationg ld.so.
32269 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32270 _dl_init_paths call.
32271 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32274 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32276 * resolv/res_init.c (__res_vinit): Count the default server we added.
32278 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32279 Ulrich Drepper <drepper@redhat.com>
32282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32283 (____longjmp_chk): Use %ebx for saving value across system call.
32286 2010-09-06 Andreas Schwab <schwab@redhat.com>
32288 * manual/Makefile: Don't mix pattern rules with normal rules.
32290 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32292 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32294 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32295 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32296 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32297 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32298 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32301 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32304 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32305 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32307 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32309 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32310 * sysdeps/x86_64/addmul_1.S: Likewise.
32311 * sysdeps/x86_64/lshift.S: Likewise.
32312 * sysdeps/x86_64/mul_1.S: Likewise.
32313 * sysdeps/x86_64/rshift.S: Likewise.
32314 * sysdeps/x86_64/sub_n.S: Likewise.
32315 * sysdeps/x86_64/submul_1.S: Likewise.
32317 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32319 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32320 Define __sched_param instead of SCHED_* and sched_param when
32321 <bits/sched.h> is included with __need_schedparam defined.
32322 * bits/sched.h [__need_schedparam]
32323 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32324 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32325 (__defined_schedparam): Define to 1.
32326 (__sched_param): New structure, identical to sched_param.
32327 (__need_schedparam): Undefine.
32329 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32332 (epoll_create1): Declare.
32334 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32336 2010-08-31 Andreas Schwab <schwab@redhat.com>
32339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32340 shifting retval into place.
32342 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32344 * nis/rpcsvc/nis.h: Update copyright notice.
32345 * nis/rpcsvc/nis.x: Likewise.
32346 * nis/rpcsvc/nis_callback.h: Likewise.
32347 * nis/rpcsvc/nis_callback.x: Likewise.
32348 * nis/rpcsvc/nis_object.x: Likewise.
32349 * nis/rpcsvc/nis_tags.h: Likewise.
32350 * nis/rpcsvc/yp.h: Likewise.
32351 * nis/rpcsvc/yp.x: Likewise.
32352 * nis/rpcsvc/ypupd.h: Likewise.
32353 * nis/yp_xdr.c: Likewise.
32354 * nis/ypupdate_xdr.c: Likewise.
32356 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32357 mainly the body of pmap_getport. Add parameters to specify timeouts.
32358 (pmap_getport): Use __libc_rpc_getport.
32359 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32360 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32361 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32363 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32368 2010-08-27 Roland McGrath <roland@redhat.com>
32370 * sysdeps/i386/i686/multiarch/Makefile
32371 (CFLAGS-varshift.c): New variable.
32373 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32375 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32376 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32380 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32382 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32384 * sysdeps/x86_64/strlen.S: Unroll the loop.
32385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32386 strlen-sse2 strlen-sse2-bsf.
32387 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32388 __strlen_no_bsf if bit_Slow_BSF is set.
32389 (__strlen_sse42): Removed.
32390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32391 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32393 2010-08-25 Roland McGrath <roland@redhat.com>
32395 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32396 * sysdeps/x86_64/multiarch/varshift.c: New file.
32397 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32398 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32399 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32400 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32402 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32405 strlen-sse2 strlen-sse2-bsf.
32406 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32407 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32408 (__strlen_sse2): Removed.
32409 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32410 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32412 bit_Slow_BSF for Atom.
32413 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32414 (index_Slow_BSF): Define.
32415 (HAS_SLOW_BSF): Define.
32417 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32420 * resolv/res_init.c (__res_vinit): When no server address at all
32421 is given default to loopback.
32423 2010-08-24 Roland McGrath <roland@redhat.com>
32425 * configure.in: Remove config-name.h generation.
32426 * configure: Regenerated.
32427 * config-name.in: File removed.
32428 * scripts/config-uname.sh: New file.
32429 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32430 ($(objdir)config-name.h): New target.
32432 * sunrpc/rpc_parse.h: Avoid nested comment.
32434 2010-08-24 Richard Henderson <rth@redhat.com>
32435 Ulrich Drepper <drepper@redhat.com>
32436 H.J. Lu <hongjiu.lu@intel.com>
32438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32440 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32441 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32442 _mm_alignr_epi8 with _mm_loadu_si128.
32443 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32444 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32445 (__m128i_shift_right): Removed.
32446 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32447 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32448 * sysdeps/x86_64/multiarch/varshift.h: New file.
32449 * sysdeps/x86_64/multiarch/varshift.S: New file.
32451 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32453 * configure.in: Move assembler checks to before sysdep dir checking.
32455 2010-08-20 Petr Baudis <pasky@suse.cz>
32457 * LICENSES: Sync the sunrpc license.
32459 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32461 * sunrpc/auth_des.c: Update copyright notice once again.
32462 * sunrpc/auth_none.c: Likewise.
32463 * sunrpc/auth_unix.c: Likewise.
32464 * sunrpc/authdes_prot.c: Likewise.
32465 * sunrpc/authuxprot.c: Likewise.
32466 * sunrpc/bindrsvprt.c: Likewise.
32467 * sunrpc/clnt_gen.c: Likewise.
32468 * sunrpc/clnt_perr.c: Likewise.
32469 * sunrpc/clnt_raw.c: Likewise.
32470 * sunrpc/clnt_simp.c: Likewise.
32471 * sunrpc/clnt_tcp.c: Likewise.
32472 * sunrpc/clnt_udp.c: Likewise.
32473 * sunrpc/clnt_unix.c: Likewise.
32474 * sunrpc/des_crypt.c: Likewise.
32475 * sunrpc/des_soft.c: Likewise.
32476 * sunrpc/get_myaddr.c: Likewise.
32477 * sunrpc/getrpcport.c: Likewise.
32478 * sunrpc/key_call.c: Likewise.
32479 * sunrpc/key_prot.c: Likewise.
32480 * sunrpc/openchild.c: Likewise.
32481 * sunrpc/pm_getmaps.c: Likewise.
32482 * sunrpc/pm_getport.c: Likewise.
32483 * sunrpc/pmap_clnt.c: Likewise.
32484 * sunrpc/pmap_prot.c: Likewise.
32485 * sunrpc/pmap_prot2.c: Likewise.
32486 * sunrpc/pmap_rmt.c: Likewise.
32487 * sunrpc/rpc/auth.h: Likewise.
32488 * sunrpc/rpc/auth_unix.h: Likewise.
32489 * sunrpc/rpc/clnt.h: Likewise.
32490 * sunrpc/rpc/des_crypt.h: Likewise.
32491 * sunrpc/rpc/key_prot.h: Likewise.
32492 * sunrpc/rpc/netdb.h: Likewise.
32493 * sunrpc/rpc/pmap_clnt.h: Likewise.
32494 * sunrpc/rpc/pmap_prot.h: Likewise.
32495 * sunrpc/rpc/pmap_rmt.h: Likewise.
32496 * sunrpc/rpc/rpc.h: Likewise.
32497 * sunrpc/rpc/rpc_des.h: Likewise.
32498 * sunrpc/rpc/rpc_msg.h: Likewise.
32499 * sunrpc/rpc/svc.h: Likewise.
32500 * sunrpc/rpc/svc_auth.h: Likewise.
32501 * sunrpc/rpc/types.h: Likewise.
32502 * sunrpc/rpc/xdr.h: Likewise.
32503 * sunrpc/rpc_clntout.c: Likewise.
32504 * sunrpc/rpc_cmsg.c: Likewise.
32505 * sunrpc/rpc_common.c: Likewise.
32506 * sunrpc/rpc_cout.c: Likewise.
32507 * sunrpc/rpc_dtable.c: Likewise.
32508 * sunrpc/rpc_hout.c: Likewise.
32509 * sunrpc/rpc_main.c: Likewise.
32510 * sunrpc/rpc_parse.c: Likewise.
32511 * sunrpc/rpc_parse.h: Likewise.
32512 * sunrpc/rpc_prot.c: Likewise.
32513 * sunrpc/rpc_sample.c: Likewise.
32514 * sunrpc/rpc_scan.c: Likewise.
32515 * sunrpc/rpc_scan.h: Likewise.
32516 * sunrpc/rpc_svcout.c: Likewise.
32517 * sunrpc/rpc_tblout.c: Likewise.
32518 * sunrpc/rpc_util.c: Likewise.
32519 * sunrpc/rpc_util.h: Likewise.
32520 * sunrpc/rpcinfo.c: Likewise.
32521 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32522 * sunrpc/rpcsvc/key_prot.x: Likewise.
32523 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32524 * sunrpc/rpcsvc/mount.x: Likewise.
32525 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32526 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32527 * sunrpc/rpcsvc/rex.x: Likewise.
32528 * sunrpc/rpcsvc/rstat.x: Likewise.
32529 * sunrpc/rpcsvc/rusers.x: Likewise.
32530 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32531 * sunrpc/rpcsvc/spray.x: Likewise.
32532 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32533 * sunrpc/rtime.c: Likewise.
32534 * sunrpc/svc.c: Likewise.
32535 * sunrpc/svc_auth.c: Likewise.
32536 * sunrpc/svc_authux.c: Likewise.
32537 * sunrpc/svc_raw.c: Likewise.
32538 * sunrpc/svc_run.c: Likewise.
32539 * sunrpc/svc_simple.c: Likewise.
32540 * sunrpc/svc_tcp.c: Likewise.
32541 * sunrpc/svc_udp.c: Likewise.
32542 * sunrpc/svc_unix.c: Likewise.
32543 * sunrpc/svcauth_des.c: Likewise.
32544 * sunrpc/xcrypt.c: Likewise.
32545 * sunrpc/xdr.c: Likewise.
32546 * sunrpc/xdr_array.c: Likewise.
32547 * sunrpc/xdr_float.c: Likewise.
32548 * sunrpc/xdr_mem.c: Likewise.
32549 * sunrpc/xdr_rec.c: Likewise.
32550 * sunrpc/xdr_ref.c: Likewise.
32551 * sunrpc/xdr_sizeof.c: Likewise.
32552 * sunrpc/xdr_stdio.c: Likewise.
32554 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32557 2010-08-19 Andreas Schwab <schwab@redhat.com>
32559 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32561 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32563 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32564 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32565 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32566 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32567 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32568 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32569 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32570 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32572 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32573 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32574 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32575 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32576 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32578 2010-07-26 Anton Blanchard <anton@samba.org>
32580 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32581 * malloc/arena.c (heap_trim): Likewise.
32583 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32585 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32588 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32590 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32592 * sysdeps/i386/elf/Makefile: New file.
32594 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32596 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32597 from fanotify_init.
32598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32601 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32603 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32605 * sysdeps/multiarch/strcmp.S: Likewise.
32607 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32609 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32610 strncase_l-nonascii.
32611 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32612 Add strncase_l-ssse3.
32613 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32614 * sysdeps/x86_64/strcmp.S: Likewise.
32615 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32616 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32617 * sysdeps/x86_64/strncase.S: New file.
32618 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32619 * sysdeps/x86_64/strncase_l.S: New file.
32620 * string/Makefile (strop-tests): Add strncasecmp.
32621 * string/test-strncasecmp.c: New file.
32623 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32626 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32627 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32629 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32631 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32633 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32635 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32636 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32637 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32639 2010-05-01 Alan Modra <amodra@gmail.com>
32641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32642 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32643 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32644 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32645 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32646 tidying. Don't tail-call __sigjmp_save for static lib.
32647 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32649 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32650 (CALL_MCOUNT): Add eh info, and nop after bl.
32651 (TAIL_CALL_SYSCALL_ERROR): New macro.
32652 (PSEUDO_RET): Use it.
32653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32654 Correct save location of integer regs and cr.
32655 (_dl_profile_resolve): Correct cr save location. Delete nops
32656 after bl when SHARED. Reduce cfi size a little by better
32657 placement of cfi directives.
32658 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32659 make a stack frame. Instead use parm save area as a temp.
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32661 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32663 Don't make a stack frame for parent, use parm save area.
32664 Increase child stack frame to 112 bytes. Don't save unused reg,
32665 and adjust reg usage. Set up cfi on error recovery and
32666 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32668 (__makecontext): Add dummy nop after jump to exit.
32669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32670 Use correct parm save area and cr save, reduce stack frame.
32671 Correct cfi for possible PSEUDO_RET frame setup.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32673 Branch to local label emitted by PSEUDO_RET rather than
32676 2010-08-12 Andreas Schwab <schwab@redhat.com>
32679 * locale/programs/locale.c (print_assignment): New function.
32680 (show_locale_vars): Use it.
32682 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32684 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32686 (struct statfs64): Likewise.
32687 (_STATFS_F_FLAGS): Define.
32688 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32690 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32691 (ST_VALID): Define locally.
32692 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32693 __statvfs_getflags, use the provided value.
32694 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32695 __ASSUME_STATFS_F_FLAGS.
32697 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32699 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32700 Add sys/fanotify.h.
32701 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32702 fanotify_mask for GLIBC_2.13.
32703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32704 fanotify_init and fanotify_mark.
32705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32706 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32708 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32710 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32711 prlimit64 for GLIBC_2.13.
32712 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32714 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32717 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32718 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32719 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32722 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32725 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32726 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32728 * nss/Makefile: Add rules to build and run tst-nss-test1.
32729 * shlib-versions: Add entry for libnss_test1.
32730 * nss/nss_test1.c: New file.
32731 * nss/tst-nss-test1.c: New file.
32733 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32734 (__nss_configure_lookup): Set appropriate entry in
32735 __nss_configure_lookup to true.
32736 * nss/nsswitch.h: Define enum with indeces of databases in
32737 databases and __nss_database_custom arrays. Declare
32738 __nss_database_custom.
32739 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32740 to avoid using nscd when custom rules are installed.
32741 * nss/getXXbyYY_r.c: Likewise.
32742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32744 * nss/nss_files/files-parse.c: Whitespace fixes.
32746 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32749 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32750 * posix/fnmatch_loop.c: Likewise.
32752 2010-07-17 Andi Kleen <ak@linux.intel.com>
32754 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32755 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32756 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32757 * Versions.def [GLIBC_2.13]: Add.
32759 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32762 Also fail if tpwd after pwuid call is NULL.
32764 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32766 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32767 when converting to ms.
32769 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32771 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32772 EOPNOTSUPP errors with ENOTTY.
32773 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32774 EOPNOTSUPP errors with ENOTTY.
32776 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32778 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32779 Add strcasecmp_l-ssse3.
32780 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32782 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32783 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32784 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32786 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32788 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32790 * string/Makefile (strop-tests): Add strcasecmp.
32791 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32792 strcasecmp_l-nonascii.
32793 (gen-as-const-headers): Add locale-defines.sym.
32794 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32795 * sysdeps/x86_64/strcasecmp.S: New file.
32796 * sysdeps/x86_64/strcasecmp_l.S: New file.
32797 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32798 * sysdeps/x86_64/locale-defines.sym: New file.
32799 * string/test-strcasecmp.c: New file.
32801 * string/test-strcasestr.c: Test both ends of the range of characters.
32802 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32804 2010-07-29 Roland McGrath <roland@redhat.com>
32807 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32809 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32811 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32814 2010-07-27 Andreas Schwab <schwab@redhat.com>
32816 * manual/memory.texi (Malloc Tunable Parameters): Document
32819 2010-07-26 Roland McGrath <roland@redhat.com>
32822 * configure.in (-fgnu89-inline check): Set and substitute
32823 gnu89_inline, not libc_cv_gnu89_inline.
32824 * configure: Regenerated.
32825 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32827 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32829 * string/test-strnlen.c: New file.
32830 * string/Makefile (strop-tests): Add strnlen.
32831 * string/tester.c (test_strnlen): Add a few more test cases.
32832 * string/tst-strlen.c: Better error reporting.
32834 * sysdeps/x86_64/strnlen.S: New file.
32836 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32838 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32839 lower-latency instructions.
32841 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32843 * string/test-strcasestr.c: New file.
32844 * string/test-strstr.c: New file.
32845 * string/Makefile (strop-tests): Add strstr and strcasestr.
32846 * string/str-two-way.h: Don't undefine MAX.
32847 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32849 2010-07-21 Andreas Schwab <schwab@redhat.com>
32851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32852 strcasestr-nonascii.
32853 (CFLAGS-strcasestr-nonascii.c): Define.
32854 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32855 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32856 Remove unused attribute.
32858 2010-07-20 Roland McGrath <roland@redhat.com>
32860 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32861 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32862 ld.so.cache was broken. With it, there is no way to disable dsocaps
32863 like LD_HWCAP_MASK can disable hwcaps.
32865 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32867 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32869 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32871 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32872 call in strcasestr.
32873 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32874 __strcasestr_sse42_nonascii.
32875 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32876 strcasestr-nonascii.c.
32877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32879 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32881 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32882 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32883 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32884 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32886 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32891 2010-07-06 Andreas Schwab <schwab@redhat.com>
32894 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32897 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32900 _PC_PIPE_BUF using F_GETPIPE_SZ.
32902 2010-07-05 Roland McGrath <roland@redhat.com>
32904 * manual/arith.texi (Rounding Functions): Fix rint description
32905 implicit in round description.
32907 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32909 * elf/Makefile: Fix linking for a few tests to make recent linker
32912 2010-06-30 Andreas Schwab <schwab@redhat.com>
32914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32915 $(common-objpfx)libc_nonshared.a.
32917 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32919 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32920 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32921 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32922 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32923 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32924 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32925 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32926 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32941 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32942 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32943 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32944 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32945 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32946 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32947 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32948 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32949 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32950 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32951 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32952 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32968 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32970 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32971 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32972 * string/memmove.c (memmove): Renamed to ...
32973 (MEMMOVE): ...this. Default to memmove.
32974 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32975 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32978 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32979 mempcpy-ssse3-back memmove-ssse3-back.
32980 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32981 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32982 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32983 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32984 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32985 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32986 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32987 * sysdeps/x86_64/multiarch/memmove.c: New file.
32988 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32989 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32990 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32991 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32992 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32993 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32995 (index_Fast_Copy_Backward): Define.
32996 (HAS_ARCH_FEATURE): Define.
32997 (HAS_FAST_REP_STRING): Define.
32998 (HAS_FAST_COPY_BACKWARD): Define.
33000 2010-06-21 Andreas Schwab <schwab@redhat.com>
33002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33003 Restore proper fallback handling.
33005 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33008 * posix/group_member.c (__group_member): Correct checking loop.
33010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33011 OOM in getpwuid_r correctly. Return error number when the caller
33012 should return, otherwise -1.
33013 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33014 call returning > 0 value.
33015 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33017 2010-06-07 Andreas Schwab <schwab@redhat.com>
33019 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33020 libc_nonshared.a from targets in modules-names.
33022 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33024 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33027 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33029 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33030 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33031 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33034 2010-06-02 Andreas Schwab <schwab@redhat.com>
33036 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33038 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33040 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33042 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33043 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33046 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33047 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33049 2010-06-14 Roland McGrath <roland@redhat.com>
33051 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33053 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33055 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33056 __REDIRECT followed by __THROW.
33057 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33058 * posix/getopt.h (getopt): Likewise.
33060 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33062 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33063 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33064 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33066 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33067 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33069 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33073 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33077 Properly check family and model.
33079 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33081 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33083 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33085 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33087 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33089 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33092 2010-05-19 Andreas Schwab <schwab@redhat.com>
33094 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33097 2010-05-21 Andreas Schwab <schwab@redhat.com>
33099 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33100 and internal_recvmmsg.
33101 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33102 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33103 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33104 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33106 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33107 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33108 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33110 2010-05-20 Andreas Schwab <schwab@redhat.com>
33112 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33114 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33116 POWER7 optimizations.
33117 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33118 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33120 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33122 * version.h: Update for 2.13 development version.
33124 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33126 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33127 exceptions. Return 0.
33129 2010-05-07 Roland McGrath <roland@redhat.com>
33131 * elf/ldconfig.c (main): Add a const.
33133 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33135 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33136 (args_options): Add no-idn option.
33137 (ahosts_keys_int): Add idn_flags to ai_flags.
33138 (parse_option): Handle 'i' option to clear idn_flags.
33140 * malloc/malloc.c (_int_free): Possible race in the most recently
33141 added check. Only act on the data if no current modification
33144 See ChangeLog.17 for earlier changes.