1 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4 * elf/Makefile (tests): Add tst-ptrguard1.
5 (tests-static): Add tst-ptrguard1-static.
6 (tst-ptrguard1-ARGS): Define.
7 (tst-ptrguard1-static-ARGS): Define.
8 * elf/tst-ptrguard1.c: New file.
9 * elf/tst-ptrguard1-static.c: New file.
10 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11 * sysdeps/i386/stackguard-macros.h: Likewise.
12 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19 2013-09-23 Hector Marco <hecmargi@upv.es>
20 Ismael Ripoll <iripoll@disca.upv.es>
21 Carlos O'Donell <carlos@redhat.com>
24 * sysdeps/generic/stackguard-macros.h: Define
25 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27 Define __pointer_chk_guard_local.
28 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
34 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
38 * include/string.h (__ffs): Declare as hidden.
39 * string/ffs.c (__ffs): Define as hidden.
40 * sysdeps/i386/ffs.c (__ffs): Likewise.
41 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43 * sysdeps/s390/ffs.c (__ffs): Likewise.
44 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
48 * NEWS: Mention malloc probes.
50 * malloc/arena.c (new_heap): New memory_heap_new probe.
51 (grow_heap): New memory_heap_more probe.
52 (shrink_heap): New memory_heap_less probe.
53 (heap_trim): New memory_heap_free probe.
54 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55 (systrim): New memory_sbrk_less probe.
56 * manual/probes.texi: Document them.
58 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
59 * manual/probes.texi: Document it.
61 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62 (__libc_realloc): Add memory_realloc_retry probe.
63 (__libc_memalign): Add memory_memalign_retry probe.
64 (__libc_valloc): Add memory_valloc_retry probe.
65 (__libc_pvalloc): Add memory_pvalloc_retry probe.
66 (__libc_calloc): Add memory_calloc_retry probe.
67 * manual/probes.texi: Document them.
69 * malloc/arena.c (get_free_list): Add probe
70 memory_arena_reuse_free_list.
71 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
72 and memory_arena_reuse.
73 (arena_get2) [!PER_THREAD]: Likewise.
74 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
75 memory_arena_reuse_realloc.
76 * manual/probes.texi: Document them.
78 * malloc/malloc.c (__libc_free): Add
79 memory_mallopt_free_dyn_thresholds probe.
80 (__libc_mallopt): Add multiple memory_mallopt probes.
81 * manual/probes.texi: Document them.
83 * malloc/malloc.c: Include stap-probe.h.
84 (__libc_mallopt): Add memory_mallopt probe.
85 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
86 * manual/probes.texi: New.
87 * manual/Makefile (chapters): Add probes.
88 * manual/threads.texi: Set next node.
90 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
93 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
94 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
95 Add `Chinese' to `nan' entry name.
97 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
99 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
100 (POLYNOMIAL): Likewise.
101 (TAYLOR_SINCOS): Likewise.
102 (TAYLOR_SLOW): Likewise.
103 (__sin): Use TAYLOR_SINCOS.
105 (slow): Use TAYLOR_SLOW.
110 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
112 * stdlib/strtod_l.c: Fix buffer overrun.
114 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
116 * benchtests/Makefile (bench): Add sincos.
117 * benchtests/bench-sincos.c: New file.
119 * math/libm-test.inc (cos_test_data): New test inputs.
120 (sin_test_data): Likewise.
122 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
136 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
145 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
147 * config.h.in (HAVE_MIPS_NAN2008): New macro.
148 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
149 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
150 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
151 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
152 * elf/cache.c (print_entry): Handle the new cache flags.
154 2013-09-18 Joseph Myers <joseph@codesourcery.com>
155 Aldy Hernandez <aldyh@redhat.com>
157 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
158 Change condition to [_SOFT_FLOAT].
159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
171 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
174 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
177 2013-09-18 Joseph Myers <joseph@codesourcery.com>
179 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
180 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
181 (__longjmp): Use LOAD_GP to load saved GPRs.
182 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
183 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
184 (__sigsetjmp): Use SAVE_GP to save GPRs.
186 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
187 Do not append -msoft-float.
188 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
190 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
192 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
194 2013-09-17 Joseph Myers <joseph@codesourcery.com>
197 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
198 (_FPU_GETCW): Use initial "__" on variable and field names but not
199 on macro parameter name.
200 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
201 parentheses around reference to macro parameter.
203 2013-09-13 Richard Sandiford <richard@codesourcery.com>
205 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
207 (ctype_startup): Use uint32_t in cast and sizeof for
210 2013-09-11 Jia Liu <proljc@gmail.com>
212 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
214 [__FreeBSD__]: Likewise.
216 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
219 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
220 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
221 (strchr): Remove __strchr_sse42 ifunc selection.
222 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
223 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
225 2013-09-11 Will Newton <will.newton@linaro.org>
227 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
228 parameter to RES. Remove hardcoded 1000 value.
229 * benchtests/bench-skeleton.c (main): Pass RES parameter
230 to TIMING_INIT and multiply result by 1000.
232 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
236 2013-09-11 Andreas Schwab <schwab@suse.de>
238 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
240 (O_TMPFILE) [__USE_GNU]: Define.
241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
244 2013-09-11 Will Newton <will.newton@linaro.org>
247 * malloc/malloc.c (__libc_memalign): Check the value of bytes
250 2013-09-11 Will Newton <will.newton@linaro.org>
253 * malloc/malloc.c (__libc_valloc): Check the value of bytes
256 2013-09-11 Will Newton <will.newton@linaro.org>
259 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
262 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
264 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
268 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
270 2013-09-10 Allan McRae <allan@archlinux.org>
273 * manual/arith.texi (Parsing of Floats): Clarify
277 * manual/install.texi (Running make install): Mention
279 * INSTALL: Regenerated.
281 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
283 * csu/init-first.c (_init): Remove the !SHARED condition around
284 FPU control word initialization.
285 * elf/dl-support.c (_dl_fpu_control): New variable.
286 (_dl_aux_init) <AT_FPUCW>: Initialize it.
287 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
288 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
289 * math/test-fpucw-static.c: New file.
290 * math/test-fpucw-ieee.c: New file.
291 * math/test-fpucw-ieee-static.c: New file.
292 * math/Makefile (tests): Add `test-fpucw-ieee' and
294 (tests-static): New variable.
295 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
297 [($(build-shared),yes)]
298 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
303 2013-09-09 Allan McRae <allan@archlinux.org>
306 * manual/string.texi (Collation Functions): Fix typo in
308 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
311 * stdlib/isomac.c (get_null_defines): Fix memory leak.
314 * libio/memstream.c (open_memstream): Fix memory leak.
315 * libio/wmemstream.c (open_wmemstream): Likewise.
318 * nscd/netgroupcache.c: Fix nesting of ifdefs.
320 2013-09-09 Will Newton <will.newton@linaro.org>
322 * malloc/Makefile: Add tst-realloc to tests.
323 * malloc/tst-realloc.c: New file.
325 2013-09-09 Allan McRae <allan@archlinux.org>
328 * COPYING: Update from GNU website to fix FSF address.
329 * COPYING.LIB: Likewise.
331 2013-09-06 David S. Miller <davem@davemloft.net>
333 * po/zh_TW.po: Update Chinese (traditional) translation from
336 2013-09-06 Richard Sandiford <richard@codesourcery.com>
337 Joseph Myers <joseph@codesourcery.com>
339 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
341 (obstack_chunk_alloc): New macro.
342 (obstack_chunk_free): Likewise.
343 (record_offset): New function.
344 (init_locale_data): Likewise.
345 (align_locale_data): Likewise.
346 (add_locale_empty): Likewise.
347 (add_locale_raw_data): Likewise.
348 (add_locale_raw_obstack): Likewise.
349 (add_locale_string): Likewise.
350 (add_locale_wstring): Likewise.
351 (add_locale_uint32): Likewise.
352 (add_locale_uint32_array): Likewise.
353 (add_locale_char): Likewise.
354 (start_locale_structure): Likewise.
355 (end_locale_structure): Likewise.
356 (start_locale_prelude): Likewise.
357 (end_locale_prelude): Likewise.
358 (write_locale_data): Take locale_file structure rather than an
360 * locale/programs/locfile.h: Include "obstack.h".
361 (struct locale_file): Change to store locale file contents instead
363 (init_locale_data): New prototype.
364 (align_locale_data): Likewise.
365 (add_locale_empty): Likewise.
366 (add_locale_raw_data): Likewise.
367 (add_locale_raw_obstack): Likewise.
368 (add_locale_string): Likewise.
369 (add_locale_wstring): Likewise.
370 (add_locale_uint32): Likewise.
371 (add_locale_uint32_array): Likewise.
372 (add_locale_char): Likewise.
373 (start_locale_structure): Likewise.
374 (end_locale_structure): Likewise.
375 (start_locale_prelude): Likewise.
376 (end_locale_prelude): Likewise.
377 (write_locale_data): Update prototype.
378 * locale/programs/3level.h (struct TABLE): Remove result field.
379 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
380 Use new locale_file interface.
381 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
382 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
383 * locale/programs/ld-address.c (address_output): Use new
384 locale_file interface.
385 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
387 (collate_finish): Don't call collseq_table_finalize.
388 (collate_output): Use new locale_file interface.
389 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
391 (NO_FINALIZE): Change to NO_ADD_LOCALE.
392 (TABLE): Move defines earlier in file.
395 (wctrans_table_add): Move macro and inline function earlier in
397 (struct wctype_table): Move type earlier in file.
398 (add_locale_wctype_table): New static prototype.
399 (struct locale_ctype_t): Use logical types instead of struct iovec
400 pointers for members.
401 (ctype_output): Use new locale_file interface.
402 (wctype_table_finalize): Change to add_locale_wctype_table. Use
403 new locale_file interface.
404 (allocate_arrays): Update for use of new locale_file interface.
405 * locale/programs/ld-identification.c (identification_output): Use
406 new locale_file interface.
407 * locale/programs/ld-measurement.c (measurement_output): Likewise.
408 * locale/programs/ld-messages.c (messages_output): Likewise.
409 * locale/programs/ld-monetary.c (monetary_output): Likewise.
410 * locale/programs/ld-name.c (name_output): Likewise.
411 * locale/programs/ld-numeric.c (numeric_output): Likewise.
412 * locale/programs/ld-paper.c (paper_output): Likewise.
413 * locale/programs/ld-telephone.c (telephone_output): Likewise.
414 * locale/programs/ld-time.c (time_output): Likewise.
416 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
418 * benchtests/Makefile: Add memrchr benchmark.
419 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
420 benchmark as memrchr.
421 * benchtests/bench-memrchr-ifunc.c: New file.
422 * benchtests/bench-memrchr.c: New file.
424 2013-09-06 Will Newton <will.newton@linaro.org>
426 * benchtests/Makefile (string-bench): Add memcpy.
428 2013-09-05 Carlos O'Donell <carlos@redhat.com>
429 Cong Wang <amwang@redhat.com>
431 * sysdeps/unix/sysv/linux/bits/in.h
432 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
433 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
434 before __USE_KERNEL_IPV6_DEFS uses.
435 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
437 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
438 sockaddr_in6, or ipv6_mreq.
440 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
443 memory access for final bytes in some large inputs.
444 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
446 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
448 * string/test-memrchr.c: New file.
449 * string/test-memrchr-ifunc.c: New file.
450 * string/Makefile: Add new memrchr testcase.
452 2013-09-05 Mike Frysinger <vapier@gentoo.org>
454 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
455 fanotify_init returns EPERM.
457 2013-09-04 Joseph Myers <joseph@codesourcery.com>
459 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
461 (top level): Treat second token from macro or constant entries for
462 allowed headers as allowed.
463 * include/complex.h: Condition internal declarations on
465 * include/fenv.h: Condition include of <stdbool.h> and internal
466 declarations on [!_ISOMAC].
468 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
471 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
473 2013-09-04 Joseph Myers <joseph@codesourcery.com>
475 * configure.in (--enable-versioning): Remove configure option.
476 (libc_cv_asm_symver_directive): Remove configure test.
477 (libc_cv_ld_version_script_option): Likewise.
478 (VERSIONING): Remove variable and AC_SUBST.
479 (DO_VERSIONING): Remove AC_DEFINE.
480 * configure: Regenerated.
481 * config.h.in (DO_VERSIONING): Remove macro.
482 * Makerules [$(versioning) = yes]: Change conditionals to
483 [$(build-shared) = yes].
484 * config.make.in (versioning): Remove variable.
485 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
486 [$(build-shared) = yes].
487 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
488 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
489 * elf/Makefile [$(versioning) = yes]: Change conditionals to
490 [$(build-shared) = yes].
491 * extra-lib.mk [$(versioning) = yes]: Likewise.
492 * hurd/Makefile [$(versioning) = yes]: Likewise.
493 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
495 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
497 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
498 [SHARED && !NO_HIDDEN].
499 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
501 [SHARED && DO_VERSIONING]: Likewise..
502 * libio/Makefile [$(versioning) = yes]: Change conditionals to
503 [$(build-shared) = yes].
504 * manual/install.texi (--disable-versioning): Remove
506 * INSTALL: Regenerated.
507 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
509 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
510 [$(build-shared) = yes].
511 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
512 * sysdeps/i386/i686/multiarch/strstr-c.c
513 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
514 [SHARED && !NO_HIDDEN].
515 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
516 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
517 * sysdeps/powerpc/powerpc32/dl-machine.c
518 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
519 * sysdeps/powerpc/powerpc32/sysdep.h
520 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
521 to [SHARED && PIC && !NO_HIDDEN].
522 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
523 conditional to [SHARED].
525 2013-09-04 Will Newton <will.newton@linaro.org>
527 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
528 * benchtests/bench-string.h: Include bench-timing.h instead
529 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
530 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
531 call to HP_TIMING_DIFF_INIT.
532 * benchtests/bench-memccpy.c: Use bench-timing.h macros
533 instead of hp-timing.h macros.
534 * benchtests/bench-memchr.c: Likewise.
535 * benchtests/bench-memcmp.c: Likewise.
536 * benchtests/bench-memcpy.c: Likewise.
537 * benchtests/bench-memmem.c: Likewise.
538 * benchtests/bench-memmove.c: Likewise.
539 * benchtests/bench-memset.c: Likewise.
540 * benchtests/bench-rawmemchr.c: Likewise.
541 * benchtests/bench-strcasecmp.c: Likewise.
542 * benchtests/bench-strcasestr.c: Likewise.
543 * benchtests/bench-strcat.c: Likewise.
544 * benchtests/bench-strchr.c: Likewise.
545 * benchtests/bench-strcmp.c: Likewise.
546 * benchtests/bench-strcpy.c: Likewise.
547 * benchtests/bench-strcpy_chk.c: Likewise.
548 * benchtests/bench-strlen.c: Likewise.
549 * benchtests/bench-strncasecmp.c: Likewise.
550 * benchtests/bench-strncat.c: Likewise.
551 * benchtests/bench-strncmp.c: Likewise.
552 * benchtests/bench-strncpy.c: Likewise.
553 * benchtests/bench-strnlen.c: Likewise.
554 * benchtests/bench-strpbrk.c: Likewise.
555 * benchtests/bench-strrchr.c: Likewise.
556 * benchtests/bench-strspn.c: Likewise.
557 * benchtests/bench-strstr.c: Likewise.
559 2013-09-04 Will Newton <will.newton@linaro.org>
561 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
563 2013-09-03 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
567 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
568 * math/libm-test.inc (lgamma_test_data): Add more tests.
569 * sysdeps/i386/fpu/libm-test-ulps: Update.
570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
572 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
574 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
578 Add strcmp-sse2-unaligned
579 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
581 2013-09-02 Mike Frysinger <vapier@gentoo.org>
583 * Versions.def (libc): Add GLIBC_2.19.
585 2013-09-02 Mike Frysinger <vapier@gentoo.org>
587 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
588 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
590 2013-09-02 Joseph Myers <joseph@codesourcery.com>
593 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
594 intermediate calculations in recurrence.
595 (__ieee754_ynf): Likewise.
596 * math/libm-test.inc (jn_test_data): Do not allow spurious
597 underflow exception. Add more tests.
598 (yn_test_data): Add more tests.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
602 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
604 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
606 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
608 * csu/init-first.c: Fix then/than typos.
609 * locale/programs/ld-collate.c: Likewise.
610 * locale/programs/linereader.h: Likewise.
611 * manual/charset.texi: Likewise.
612 * manual/filesys.texi: Likewise.
613 * manual/stdio.texi: Likewise.
614 * manual/string.texi: Likewise.
615 * stdlib/fmtmsg.c: Likewise.
616 * sysdeps/i386/stpncpy.S: Likewise.
617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
618 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
620 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
622 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
624 * elf/dl-open.c: Fix typos.
625 * iconvdata/gbbig5.c: Likewise.
626 * iconvdata/iso-2022-jp.c: Likewise.
627 * iconv/gconv_int.h: Likewise.
628 * iconv/loop.c: Likewise.
629 * nis/rpcsvc/nis.h: Likewise.
630 * resolv/ns_name.c: Likewise.
631 * stdio-common/vfscanf.c: Likewise.
632 * streams/stropts.h: Likewise.
633 * sunrpc/rpc_thread.c: Likewise.
634 * sysdeps/i386/strpbrk.S: Likewise.
635 * sysdeps/ieee754/k_standard.c: Likewise.
636 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
637 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
638 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
639 * sysdeps/mach/hurd/profil.c: Likewise.
640 * sysdeps/s390/dl-procinfo.h: Likewise.
641 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
642 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
643 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
644 * sysdeps/x86_64/dl-trampoline.S: Likewise.
645 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
647 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
649 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
652 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
654 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
656 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
662 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
665 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
666 Roland McGrath <roland@hack.frob.com>
668 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
669 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
671 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
673 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
674 __executable_start symbol instead of _start.
676 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
678 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
679 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
681 * sysdeps/gnu/ldsodefs.h: ... this new file.
683 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
684 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
685 instead of ELFOSABI_LINUX.
687 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
688 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
689 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
690 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
692 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
693 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
694 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
696 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
697 (ibm_extended_long_double): Add ieee_nan member.
698 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
699 (do_test): New function.
701 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
703 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
704 functions, renamed from truncdfsf_test, trunctfsf_test,
706 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
708 (do_test): Run all these.
710 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
712 * argp/argp-help.c: Fix typos.
713 * argp/argp-parse.c: Likewise.
714 * debug/backtracesyms.c: Likewise.
715 * elf/elf.h: Likewise.
716 * malloc/malloc.c: Likewise.
717 * nis/nis_print.c: Likewise.
718 * resolv/res_comp.c: Likewise.
719 * stdlib/stdlib.h: Likewise.
720 * sunrpc/clnt_tcp.c: Likewise.
721 * sunrpc/clnt_udp.c: Likewise.
722 * sunrpc/clnt_unix.c: Likewise.
723 * sysdeps/unix/bsd/ptsname.c: Likewise.
724 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
732 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
734 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
736 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
739 2013-08-27 Mike Frysinger <vapier@gentoo.org>
742 * dlfcn/Makefile (tests): Add bug-dl-leaf.
743 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
744 ($(objpfx)bug-dl-leaf): New rule.
745 ($(objpfx)bug-dl-leaf.so): Likewise.
746 ($(objpfx)bug-dl-leaf.out): Likewise.
747 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
748 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
749 * dlfcn/bug-dl-leaf.c: New test.
750 * dlfcn/bug-dl-leaf-lib.c: Likewise.
751 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
752 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
756 2013-08-27 Roland McGrath <roland@hack.frob.com>
758 * include/netdb.h [!_ISOMAC]:
759 Don't include <tls.h>.
760 (h_errno, __libc_h_errno): Move declaration and macros out of
763 * include/resolv.h [_RESOLV_H_]:
764 Don't include <tls.h>.
765 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
766 * resolv/res_libc.c: Don't include <tls.h>.
767 (_res): Use __attribute__ ((nocommon)) in place of
768 __attribute__ ((section (".bss"))).
770 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
771 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
773 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
775 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
776 only under [SIOCGIFCONF && SIOCGIFNETMASK].
778 * resolv/res_mkquery.c: Include <sys/time.h>.
780 * inet/ifreq.c: Moved to ...
781 * sysdeps/unix/ifreq.c: ... here.
782 * inet/ifreq.c: New file, true stub version.
784 * socket/sa_len.c: New file.
785 * socket/Makefile (aux): Add it.
786 * sysdeps/unix/sysv/linux/Makefile
787 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
788 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
789 and #include <socket/sa_len.c>.
790 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
791 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
793 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
794 * bits/socket.h: ... here.
796 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
797 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
798 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
800 2013-08-27 Andreas Schwab <schwab@suse.de>
803 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
804 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
805 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
806 * string/test-strcasecmp.c (test_main): Run tests in several
808 * string/test-strncasecmp.c (test_main): Likewise.
810 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
811 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
812 to __strcasecmp_nonascii and __strncasecmp_nonascii.
813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
814 (__strncasecmp_ssse3) [PIC]: Likewise.
816 2013-08-26 Roland McGrath <roland@hack.frob.com>
818 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
820 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
821 instead of explicitly declaring xdecrypt.
822 * nis/nss_nis/nis-publickey.c: Likewise.
824 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
827 * nscd/aicache.c: Include res_hconf.h.
828 (addhstaiX): Initialize res_hconf.
830 2013-08-26 Andreas Schwab <schwab@suse.de>
832 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
833 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
835 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
837 * nscd/aicache.c (addhstaiX): Fix indentation.
839 2013-08-25 Mike Frysinger <vapier@gentoo.org>
841 * configure.ac: Quote $build_pt_chown test.
842 * configure: Regenerated.
844 2013-08-23 Joseph Myers <joseph@codesourcery.com>
847 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
848 * math/s_cexpf.c (__cexpf): Likewise.
849 * math/s_cexpl.c (__cexpl): Likewise.
850 * math/libm-test.inc (cexp_test_data): Correct expected return
851 value for NaN + i0. Add another test.
853 2013-08-22 David S. Miller <davem@davemloft.net>
855 * po/ca.po: Update Catalan translation from translation project.
856 * po/uk.po: Add Ukrainian translations from translation project.
858 2013-08-21 Joseph Myers <joseph@codesourcery.com>
861 * math/s_fdim.c (__fdim): Check for infinite arguments if result
862 is infinite, not alongside NaN test.
863 * math/s_fdimf.c (__fdimf): Likewise.
864 * math/s_fdiml.c (__fdiml): Likewise.
865 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
868 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
870 * argp/argp-help.c: Fix typos.
871 * crypt/speeds.c: Likewise.
872 * csu/check_fds.c: Likewise.
873 * elf/dl-load.c: Likewise.
874 * elf/dl-open.c: Likewise.
875 * elf/reldep3.c: Likewise.
876 * elf/reldep.c: Likewise.
877 * elf/sprof.c: Likewise.
878 * iconv/iconv_charmap.c: Likewise.
879 * iconv/skeleton.c: Likewise.
880 * iconv/strtab.c: Likewise.
881 * io/lockf64.c: Likewise.
882 * libio/libioP.h: Likewise.
883 * resolv/gai_notify.c: Likewise.
884 * resolv/ns_name.c: Likewise.
885 * resolv/ns_samedomain.c: Likewise.
886 * resolv/res_send.c: Likewise.
887 * stdlib/random.c: Likewise.
888 * sunrpc/rpc/xdr.h: Likewise.
889 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
890 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
891 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
892 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
894 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
897 * sysdeps/mach/hurd/check_fds.c: Likewise.
898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
899 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
901 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
902 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
903 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
904 * sysdeps/pthread/aio_notify.c: Likewise.
905 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
906 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
907 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
908 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
909 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
911 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
913 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
914 version if bit_Slow_SSE4_2 is set.
915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
918 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
922 trampoline stack frame information.
923 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
925 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
926 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
927 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
928 * sysdeps/unix/sysv/linux/powerpc/init-first.c
929 (_libc_vdso_platform_setup): Initialize the signal trampolines.
930 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
932 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
933 interrupting a syscall and set with option SA_SIGINFO.
935 2013-08-20 Joseph Myers <joseph@codesourcery.com>
938 * math/s_cproj.c (__cproj): Only return an infinity if one part of
939 argument is infinite.
940 * math/s_cprojf.c (__cprojf): Likewise.
941 * math/s_cprojl.c (__cprojl): Likewise.
942 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
943 * math/libm-test.inc (cproj_test_data): Add more tests.
945 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
947 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
948 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
949 size. Use __ffs to determine corresponding shift.
951 2013-08-20 Joseph Myers <joseph@codesourcery.com>
952 Roland McGrath <roland@hack.frob.com>
954 * Makefile (INSTALL): Remove trailing blank lines from output of
957 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
959 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
960 Align 32 bit compat elf_greg to 8 bytes.
962 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
964 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
966 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
968 * string/strcoll_l.c (coll_seq): New structure.
969 (get_next_seq_cached): New function.
970 (get_next_seq): New function.
971 (do_compare): New function.
972 (STRCOLL): Use GNU style definition. Simplify implementation
973 by using get_next_seq, get_next_seq_cached and do_compare.
975 2013-08-16 Florian Weimer <fweimer@redhat.com>
979 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
981 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
983 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
984 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
985 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
987 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
988 GETDENTS_64BIT_ALIGNED.
989 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
990 * manual/filesys.texi (Reading/Closing Directory): Document
991 ENAMETOOLONG return value of readdir_r. Recommend readdir more
993 * manual/conf.texi (Limits for Files): Add portability note to
995 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
997 2013-08-13 Andreas Schwab <schwab@suse.de>
1000 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1002 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1003 LDBL_MAX_EXP >= 16384]: Add tests for it.
1005 2013-08-12 David S. Miller <davem@davemloft.net>
1007 * version.h (RELEASE): Set to "development".
1008 (VERSION): Set to "2.18.90".
1009 * NEWS: Add 2.19 section.
1011 2013-08-03 David S. Miller <davem@davemloft.net>
1013 * po/ko.po: Update Korean translation from translation project.
1015 2013-08-01 David S. Miller <davem@davemloft.net>
1017 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1018 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1021 2013-07-30 David S. Miller <davem@davemloft.net>
1023 * po/fr.po: Update French translation from translation project.
1025 2013-07-28 David S. Miller <davem@davemloft.net>
1027 * po/cs.po: Update Czech translation from translation project.
1029 * po/sv.po: Update Swedish translation from translation project.
1031 2013-07-27 David S. Miller <davem@davemloft.net>
1033 * po/eo.po: Update Esperanto translation from translation project.
1035 * po/vi.po: Update Vietnamese translation from translation project.
1037 * po/de.po: Update German translation from translation project.
1039 2013-07-26 David S. Miller <davem@davemloft.net>
1041 * po/bg.po: Update Bulgarian translation from translation project.
1043 * po/nl.po: Update Dutch translation from translation project.
1044 * po/pl.po: Update Polish translation from translation project.
1045 * po/ru.po: Update Russian translation from translation project.
1047 2013-07-24 David S. Miller <davem@davemloft.net>
1049 * po/libc.pot: Update.
1051 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1053 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1055 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1056 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1057 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1059 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1061 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1063 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1064 Andreas Schwab <schwab@suse.de>
1065 Roland McGrath <roland@hack.frob.com>
1066 Joseph Myers <joseph@codesourcery.com>
1067 Carlos O'Donell <carlos@redhat.com>
1070 * config.h.in: Define HAVE_PT_CHOWN.
1071 * config.make.in (build-pt-chown): New variable.
1072 * configure.in (--enable-pt_chown): New configure option.
1073 * configure: Regenerate.
1074 * login/Makefile: Include Makeconfig. Build pt_chown only if
1075 build-pt-chown is enabled.
1076 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1077 pt_chown to fix pty ownership.
1078 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1080 * manual/install.texi (Configuring and compiling): Mention
1081 --enable-pt_chown. Add @findex for grantpt.
1082 * INSTALL: Regenerate.
1084 2013-07-20 David S. Miller <davem@davemloft.net>
1086 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1087 difference between 32-bit and 64-bit.
1089 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1092 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1093 Avoid system header dependency with -ffreestanding.
1094 ($(objpfx)bits/syscall%d): Likewise.
1096 2013-07-13 David S. Miller <davem@davemloft.net>
1098 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1099 underflows from atanl/atan2l due to bug 15319.
1100 (casinh_test_data): Likewise.
1102 2013-07-07 David S. Miller <davem@davemloft.net>
1104 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1106 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1108 * sysdeps/i386/fpu/libm-test-ulps: Update.
1109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * configure.in (--enable-lock-elision): Fix message text.
1114 * INSTALL: Regenerate.
1115 * configure: Regenerate.
1117 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1121 2013-07-03 Andreas Jaeger <aj@suse.de>
1123 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1125 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1126 (ptrace_peeksiginfo_args): Add.
1127 (__ptrace_peeksiginfo_flags): Add.
1128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1130 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1132 2013-07-03 Allan McRae <allan@archlinux.org>
1134 * sysdeps/i386/fpu/libm-test-ulps: Update.
1136 2013-07-02 David S. Miller <davem@davemloft.net>
1138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1140 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1144 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1146 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1149 2013-07-02 Andi Kleen <ak@linux.intel.com>
1151 * config.h.in (ENABLE_LOCK_ELISION): Add.
1152 * configure.in (--enable-lock-elision): Add option.
1153 * manual/install.texi: Document --enable lock elision.
1154 * configure: Regenerate
1155 * INSTALL: Regenerate.
1157 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1159 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1160 SSE4.2 strcasecmp for libc.a.
1161 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1163 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1166 * soft-fp/op-common.h (_FP_FMA): New macro.
1167 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1168 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1169 (_FP_MUL_MEAT_1_imm): ... here.
1170 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1171 (_FP_MUL_MEAT_1_wide): ... here.
1172 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1173 (_FP_MUL_MEAT_1_hard): ... here.
1174 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1175 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1176 (_FP_MUL_MEAT_2_wide): ... here.
1177 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1178 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1179 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1180 (_FP_MUL_MEAT_2_gmp): ... here.
1181 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1182 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1183 (_FP_MUL_MEAT_4_wide): ... here.
1184 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1185 (_FP_MUL_MEAT_4_gmp): ... here.
1186 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1187 (_FP_WFRACBITS_DW_S): Likewise.
1188 (_FP_WFRACXBITS_DW_S): Likewise.
1189 (_FP_HIGHBIT_DW_S): Likewise.
1190 (FP_FMA_S): Likewise.
1191 (_FP_FRAC_HIGH_DW_S): Likewise.
1192 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1193 (_FP_WFRACBITS_DW_D): Likewise.
1194 (_FP_WFRACXBITS_DW_D): Likewise.
1195 (_FP_HIGHBIT_DW_D): Likewise.
1196 (FP_FMA_D): Likewise.
1197 (_FP_FRAC_HIGH_DW_D): Likewise.
1198 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1199 (_FP_WFRACBITS_DW_E): Likewise.
1200 (_FP_WFRACXBITS_DW_E): Likewise.
1201 (_FP_HIGHBIT_DW_E): Likewise.
1202 (FP_FMA_E): Likewise.
1203 (_FP_FRAC_HIGH_DW_E): Likewise.
1204 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1205 (_FP_WFRACBITS_DW_Q): Likewise.
1206 (_FP_WFRACXBITS_DW_Q): Likewise.
1207 (_FP_HIGHBIT_DW_Q): Likewise.
1208 (FP_FMA_Q): Likewise.
1209 (_FP_FRAC_HIGH_DW_Q): Likewise.
1210 * soft-fp/fmasf4.c: New file.
1211 * soft-fp/fmadf4.c: Likewise.
1212 * soft-fp/fmatf4.c: Likewise.
1214 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1217 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1219 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1221 (index_Slow_SSE4_2): Likewise.
1222 (index_Prefer_PMINUB_for_stringop): Likewise.
1223 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1224 bit_Slow_SSE4_2 is set.
1225 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1226 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1228 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1230 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1231 rtld_global._dl_hwcap2.
1232 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1234 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1235 POWER8 feature descriptions defined in _dl_hwcap2.
1236 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1237 string handling for POWER8 feature bits.
1238 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1239 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1240 _dl_powerpc_cap_flags.
1241 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1242 * sysdeps/powerpc/rtld-global-offsets.sym
1243 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1244 _dl_hwcap2 in the rtld_global_ro structure.
1246 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1248 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1249 hardware capabilities in support of AT_HWCAP2.
1250 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1251 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1253 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1254 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1255 explicitly the unknown a_type display mechanism is used.
1256 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1257 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1259 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1260 to macro prototype for AT_HWCAP2 support.
1261 * sysdeps/i386/dl-procinfo.h: Likewise.
1262 * sysdeps/s390/dl-procinfo.h: Likewise.
1263 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1264 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1265 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1266 return -1 for unknown a_type display fallback.
1267 * sysdeps/sparc/dl-procinfo.h: Likewise.
1268 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1269 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1271 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1273 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1274 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1276 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1279 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1280 mprotect making __stack_prot writable.
1282 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1283 Joseph Myers <joseph@codesourcery.com>
1285 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1286 as being properly aligned.
1288 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1290 * dlfcn/modstatic5.c: New file.
1291 * dlfcn/tststatic5.c: New file.
1292 * dlfcn/Makefile (tests): Add tststatic5.
1293 (tests-static): Likewise.
1294 (modules-names): Add modstatic5.
1295 (tststatic5-ENV): New variable.
1296 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1299 * elf/dl-support.c (_dl_main_map): New variable.
1300 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1301 (_dl_nns, _dl_load_adds): Set to 1.
1302 (_dl_initial_searchlist): Refer to _dl_main_map.
1303 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1304 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1305 call to _dl_get_origin.
1306 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1308 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1309 * dlfcn/modstatic3.c: New file.
1310 * dlfcn/tststatic3.c: New file.
1311 * dlfcn/tststatic4.c: New file.
1312 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1313 (tests-static): Likewise.
1314 (modules-names): Add modstatic3.
1315 (tststatic3-ENV, tststatic4-ENV): New variables.
1316 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1317 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1319 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1321 * configure.in (CC): Require GCC version 4.4 or later.
1322 * configure: Regenerated.
1323 * manual/install.texi (Tools for Compilation): Update GCC version
1325 * INSTALL: Regenerated.
1327 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1330 * string/test-memcmp.c (check2): New.
1331 (main): Call check2.
1333 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1335 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1338 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1340 (dl_open_worker) [!SHARED]: ... here.
1342 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1344 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1346 2013-06-25 Richard Henderson <rth@redhat.com>
1348 * locale/programs/locarchive.c: Include <libc-internal.h>
1350 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1352 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1353 trailing whitespace removed.
1355 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1358 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1359 * locale/programs/locarchive.c: Include libc-mmap.h.
1360 (prepare_address_space): Take two new outputs (the mmap base and len).
1361 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1363 (create_archive): Declare new mmap base and len values for
1364 prepare_address_space, and store the result in ah.
1365 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1366 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1367 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1368 Declare new mmap base and len values for
1369 prepare_address_space, and store the result in new_ah.
1370 (open_archive): Declare new mmap base and len values for
1371 prepare_address_space, and store the result in ah.
1372 (close_archive): If ah->mmap_base is not NULL, use that and
1373 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1374 * sysdeps/generic/libc-mmap.h: New file.
1376 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1378 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1379 (ALIGN_UP): Likewise.
1380 (PTR_ALIGN_DOWN): Likewise.
1381 (PTR_ALIGN_UP): Likewise.
1383 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1385 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1386 entry mapped to PPC_PLATFORM_POWER8.
1387 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1389 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1390 (_dl_string_platform): Add case for exporting platform position for
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1393 search path to sysdeps/powerpc/powerpc32/power8 directory.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1395 search path to sysdeps/powerpc/powerpc64/power8 directory.
1396 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1398 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1401 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 * INSTALL: Regenerate.
1405 * nscd/connections.c (nscd_init): Fix comment.
1407 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1409 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1412 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1413 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1415 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1417 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1419 (DL_DST_REQ_STATIC): Remove macro.
1421 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1424 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1425 with a shift of 0 bits.
1427 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1429 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1432 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1435 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1437 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1440 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1441 accepts -fno-tree-loop-distribute-patterns.
1442 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1443 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1445 * string/memset.c (memset): Likewise.
1446 * string/test-memmove.c (simple_memmove): Disable loop transformation
1448 * string/test-memset.c (simple_memset): Likewise.
1449 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1450 * benchtests/bench-memset.c (simple_memset): Likewise.
1451 * configure: Regenerated.
1453 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1455 * math/test-misc.c (main): Ignore fesetround failure when failures
1456 of subsequent rounding tests would be ignored.
1459 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1460 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1461 * math/fegetenv.c (__fegetenv): Return 0.
1462 * math/fegetexcept.c (fegetexcept): Return 0.
1463 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1465 * math/feholdexcpt.c (feholdexcept): Return 0.
1466 * math/fesetenv.c (__fesetenv): Return 0.
1467 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1468 argument FE_TONEAREST.
1469 * math/feupdateenv.c (__feupdateenv): Return 0.
1470 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1472 2013-06-18 Roland McGrath <roland@hack.frob.com>
1474 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1475 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1476 ($(objpfx)rtld-%.os rules): Use them.
1478 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1483 2013-06-17 Roland McGrath <roland@hack.frob.com>
1485 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1486 length of target pattern, then descending length of dependency pattern.
1487 * configure.in (AWK): Require gawk 3.1.2 or newer.
1488 * manual/install.texi (Tools for Compilation): Say that we do.
1489 * configure: Regenerated.
1491 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1492 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1493 * scripts/sysd-rules.awk: ... this new script.
1494 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1495 than a glob-style pattern.
1497 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1499 * math/test-misc.c (main): Do not treat incorrectly rounded
1500 conversions as failure unless ROUNDING_TESTS passes.
1502 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1505 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1506 restore exception state around main square root computation, then
1507 check for inexactness explicitly.
1509 * math/libm-test.inc (fma_test_data): Add another test.
1511 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 * manual/threads.texi (Non-POSIX Extensions): New document
1514 node. Document pthread_getattr_default_np and
1515 pthread_setattr_default_np.
1517 * Versions.def (libpthread): Add GLIBC_2.18.
1518 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1527 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1538 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1541 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1543 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1544 H.J. Lu <hjl.tools@gmail.com>
1547 * sysdeps/x86_64/rtld-memset.c: Remove file.
1548 * sysdeps/x86_64/rtld-memset.S: New file.
1550 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1552 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1553 (test_in_one_mode): Take arguments for whether the rounding mode
1554 is supported for each floating-point type.
1555 (do_test): Pass new arguments to test_in_one_mode using
1558 2013-06-13 Roland McGrath <roland@hack.frob.com>
1560 * posix/tst-waitid.c (do_test): Distinguish different instances of
1561 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1562 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1563 before entering the kernel for waitpid.
1565 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1567 * NEWS: Fix note on clock function precision. Text by Roland
1570 2013-06-13 Roland McGrath <roland@hack.frob.com>
1572 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1573 it into place only when and if the sanity check passes.
1575 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1577 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1578 output for whether conversion result is exact. Take argument
1579 indicating whether type is IBM long double.
1580 (round_for_all): Change need_exact field to ibm_ld.
1581 * stdlib/tst-strtod-round.c (struct exactness): New type.
1582 (struct test): Change bool ld_ok field to struct exactness exact.
1583 (TEST): Update all definitions for change to field.
1584 (tests): Regenerate array contents.
1585 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1586 field value. Check for IBM long double here.
1587 (do_test): Update calls to test_in_one_mode.
1589 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1592 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1593 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1595 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1599 generated by the compiler on loop optimizations.
1600 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1601 general definitions.
1603 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1605 * math/bug-nextafter.c: Include <math-tests.h>.
1606 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1608 * math/bug-nexttoward.c: Include <math-tests.h>.
1609 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1611 * math/test-misc.c: Include <math-tests.h>.
1612 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1615 2013-06-12 Andreas Jaeger <aj@suse.de>
1617 * po/ia.po: Update Interlingua translation from translation
1620 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1622 * include/fenv.h: Include stdbool.h.
1623 (struct rm_ctx): New structure.
1624 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1626 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1627 (SET_RESTORE_ROUNDF): Likewise.
1628 (SET_RESTORE_ROUNDL): Likewise.
1629 (SET_RESTORE_ROUND_NOEX): Likewise.
1630 (SET_RESTORE_ROUND_NOEXF): Likewise.
1631 (SET_RESTORE_ROUND_NOEXL): Likewise.
1632 (SET_RESTORE_ROUND_53BIT): Likewise.
1633 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1634 (libc_feresetround_noexf_ctx): Likewise.
1635 (libc_feresetround_noexl_ctx): Likewise.
1636 (libc_feholdsetround_53bit_ctx): Likewise.
1637 (libc_feresetround_53bit_ctx): Likewise.
1638 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1639 (libc_feholdexcept_setround_sse_ctx): New function.
1640 (libc_fesetenv_sse_ctx): Likewise.
1641 (libc_feupdateenv_sse_ctx): Likewise.
1642 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1643 (libc_feholdexcept_setround_387_ctx): Likewise.
1644 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1645 (libc_feholdsetround_387_prec_ctx): Likewise.
1646 (libc_feholdsetround_387_ctx): Likewise.
1647 (libc_feholdsetround_387_53bit_ctx): Likewise.
1648 (libc_feholdsetround_sse_ctx): Likewise.
1649 (libc_feresetround_sse_ctx): Likewise.
1650 (libc_feresetround_387_ctx): Likewise.
1651 (libc_feupdateenv_387_ctx): Likewise.
1652 (libc_feholdexcept_setroundf_ctx): Define macro.
1653 (libc_fesetenvf_ctx): Likewise.
1654 (libc_feupdateenvf_ctx): Likewise.
1655 (libc_feholdsetroundf_ctx): Likewise.
1656 (libc_feresetroundf_ctx): Likewise.
1657 (libc_feholdexcept_setround_ctx): Likewise.
1658 (libc_fesetenv_ctx): Likewise.
1659 (libc_feupdateenv_ctx): Likewise.
1660 (libc_feholdsetround_ctx): Likewise.
1661 (libc_feresetround_ctx): Likewise.
1662 (libc_feholdexcept_setroundl_ctx): Likewise.
1663 (libc_feupdateenvl_ctx): Likewise.
1664 (libc_feholdsetroundl_ctx): Likewise.
1665 (libc_feresetroundl_ctx): Likewise.
1666 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1667 (libc_feresetround_53bit_ctx): Likewise.
1669 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1671 * locale/iso-639.def: Convert to UTF-8.
1673 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1675 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1676 (EXCEPTION_TESTS_double): Likewise.
1677 (EXCEPTION_TESTS_long_double): Likewise.
1678 (EXCEPTION_TESTS): Likewise.
1679 * math/libm-test.inc (test_exceptions): Only test exceptions if
1680 EXCEPTION_TESTS (FLOAT).
1682 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1684 * benchtests/Makefile (string-bench): Add strcpy_chk and
1686 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1687 * benchtests/bench-stpcpy_chk.c: New file.
1688 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1689 * benchtests/bench-strcpy_chk.c: New file.
1690 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1692 (do_test): Likewise.
1694 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1696 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1697 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1698 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1699 with tabs where appropriate.
1700 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1702 [PPC_PLATFORM_PPC440]: Likewise.
1703 [PPC_PLATFORM_PPC464]: Likewise.
1704 [PPC_PLATFORM_PPC476]: Likewise.
1705 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1706 ppc464, and ppc476 platform strings merging from ports/
1709 2013-06-11 Andreas Schwab <schwab@suse.de>
1712 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1713 (from_ucs4_idx): Regenerate.
1714 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1715 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1716 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1717 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1718 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1719 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1720 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1721 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1722 from FROM_LOOP and TO_LOOP specific macros.
1723 (BODY): Handle combining characters.
1724 * iconvdata/BIG5HKSCS.irreversible: Update.
1725 * iconvdata/BIG5HKSCS.precomposed: New file.
1726 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1728 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1730 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * include/sys/time.h: Fix indentation and add copyright header.
1734 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1735 (do_test): Likewise.
1736 * string/test-memchr.c (do_one_test): Likewise.
1737 (do_test): Likewise.
1738 * string/test-memcmp.c (do_one_test): Likewise.
1739 (do_test): Likewise.
1740 * string/test-memcpy.c (do_one_test): Likewise.
1741 (do_test): Likewise.
1742 * string/test-memmem.c (do_one_test): Likewise.
1743 (do_test): Likewise.
1744 (do_random_tests): Likewise.
1745 * string/test-memmove.c (do_one_test): Likewise.
1746 (do_test): Likewise.
1747 * string/test-memset.c (do_one_test): Likewise.
1748 (do_test): Likewise.
1749 * string/test-rawmemchr.c (do_one_test): Likewise.
1750 (do_test): Likewise.
1751 * string/test-strcasecmp.c (do_one_test): Likewise.
1752 (do_test): Likewise.
1753 * string/test-strcasestr.c (do_one_test): Likewise.
1754 (do_test): Likewise.
1755 * string/test-strcat.c (do_one_test): Likewise.
1756 (do_test): Likewise.
1757 * string/test-strchr.c (do_one_test): Likewise.
1758 (do_test): Likewise.
1759 * string/test-strcmp.c (do_one_test): Likewise.
1760 (do_test): Likewise.
1761 * string/test-strcpy.c (do_one_test): Likewise.
1762 (do_test): Likewise.
1763 * string/test-string.h: Likewise.
1764 (test_init): Likewise.
1765 * string/test-strlen.c (do_one_test): Likewise.
1766 (do_test): Likewise.
1767 * string/test-strncasecmp.c (do_one_test): Likewise.
1768 (do_test): Likewise.
1769 * string/test-strncat.c (do_one_test): Likewise.
1770 (do_test): Likewise.
1771 * string/test-strncmp.c (do_one_test): Likewise.
1772 (do_test_limit): Likewise.
1773 (do_test): Likewise.
1774 * string/test-strncpy.c (do_one_test): Likewise.
1775 (do_test): Likewise.
1776 * string/test-strnlen.c (do_one_test): Likewise.
1777 (do_test): Likewise.
1778 * string/test-strpbrk.c (do_one_test): Likewise.
1779 (do_test): Likewise.
1780 * string/test-strrchr.c (do_one_test): Likewise.
1781 (do_test): Likewise.
1782 * string/test-strspn.c (do_one_test): Likewise.
1783 (do_test): Likewise.
1784 * string/test-strstr.c (do_one_test): Likewise.
1785 (do_test): Likewise.
1787 * benchtests/Makefile (string-bench): Add string benchmarks.
1788 * benchtests/bench-bcopy-ifunc.c: New file.
1789 * benchtests/bench-bcopy.c: New file.
1790 * benchtests/bench-bzero-ifunc.c: New file.
1791 * benchtests/bench-bzero.c: New file.
1792 * benchtests/bench-memccpy-ifunc.c: New file.
1793 * benchtests/bench-memccpy.c: New file.
1794 * benchtests/bench-memchr-ifunc.c: New file.
1795 * benchtests/bench-memchr.c: New file.
1796 * benchtests/bench-memcmp-ifunc.c: New file.
1797 * benchtests/bench-memcmp.c: New file.
1798 * benchtests/bench-memmem-ifunc.c: New file.
1799 * benchtests/bench-memmem.c: New file.
1800 * benchtests/bench-memmove-ifunc.c: New file.
1801 * benchtests/bench-memmove.c: New file.
1802 * benchtests/bench-mempcpy-ifunc.c: New file.
1803 * benchtests/bench-mempcpy.c: New file.
1804 * benchtests/bench-memset-ifunc.c: New file.
1805 * benchtests/bench-memset.c: New file.
1806 * benchtests/bench-rawmemchr-ifunc.c: New file.
1807 * benchtests/bench-rawmemchr.c: New file.
1808 * benchtests/bench-stpcpy-ifunc.c: New file.
1809 * benchtests/bench-stpcpy.c: New file.
1810 * benchtests/bench-stpncpy-ifunc.c: New file.
1811 * benchtests/bench-stpncpy.c: New file.
1812 * benchtests/bench-strcasecmp-ifunc.c: New file.
1813 * benchtests/bench-strcasecmp.c: New file.
1814 * benchtests/bench-strcasestr-ifunc.c: New file.
1815 * benchtests/bench-strcasestr.c: New file.
1816 * benchtests/bench-strcat-ifunc.c: New file.
1817 * benchtests/bench-strcat.c: New file.
1818 * benchtests/bench-strchr-ifunc.c: New file.
1819 * benchtests/bench-strchr.c: New file.
1820 * benchtests/bench-strchrnul-ifunc.c: New file.
1821 * benchtests/bench-strchrnul.c: New file.
1822 * benchtests/bench-strcmp-ifunc.c: New file.
1823 * benchtests/bench-strcmp.c: New file.
1824 * benchtests/bench-strcpy-ifunc.c: New file.
1825 * benchtests/bench-strcpy.c: New file.
1826 * benchtests/bench-strcspn-ifunc.c: New file.
1827 * benchtests/bench-strcspn.c: New file.
1828 * benchtests/bench-strlen-ifunc.c: New file.
1829 * benchtests/bench-strlen.c: New file.
1830 * benchtests/bench-strncasecmp-ifunc.c: New file.
1831 * benchtests/bench-strncasecmp.c: New file.
1832 * benchtests/bench-strncat-ifunc.c: New file.
1833 * benchtests/bench-strncat.c: New file.
1834 * benchtests/bench-strncmp-ifunc.c: New file.
1835 * benchtests/bench-strncmp.c: New file.
1836 * benchtests/bench-strncpy-ifunc.c: New file.
1837 * benchtests/bench-strncpy.c: New file.
1838 * benchtests/bench-strnlen-ifunc.c: New file.
1839 * benchtests/bench-strnlen.c: New file.
1840 * benchtests/bench-strpbrk-ifunc.c: New file.
1841 * benchtests/bench-strpbrk.c: New file.
1842 * benchtests/bench-strrchr-ifunc.c: New file.
1843 * benchtests/bench-strrchr.c: New file.
1844 * benchtests/bench-strspn-ifunc.c: New file.
1845 * benchtests/bench-strspn.c: New file.
1846 * benchtests/bench-strstr-ifunc.c: New file.
1847 * benchtests/bench-strstr.c: New file.
1849 * benchtests/Makefile: Disable parallel execution of targets.
1850 (string-bench): Add memcpy.
1851 (benchset): New variable to store a list of benchmark sets.
1852 (bench-func): Renamed from bench.
1853 (bench-set): New target.
1854 (bench): Depend on bench-func and bench-set.
1855 * benchtests/README: Add section on benchmark sets.
1856 * benchtests/bench-memcpy-ifunc.c: New file.
1857 * benchtests/bench-memcpy.c: New file.
1858 * benchtests/bench-string.h: New file.
1860 2013-06-11 Andreas Schwab <schwab@suse.de>
1863 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1864 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1865 values in the triple.
1866 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1867 terminator in the group key.
1869 2013-06-11 Andreas Jaeger <aj@suse.de>
1871 * po/zh_TW.po: Update Chinese (traditional) translation from
1872 translation project.
1874 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1876 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1877 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1878 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1879 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1880 (clock_getcpuclockid): Likewise.
1881 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1882 Add weak_alias and libc_hidden_def.
1883 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1884 * rt/clock_gettime.c (clock_gettime): Rename to
1885 __clock_gettime. Add weak_alias and libc_hidden_def.
1886 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1887 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1888 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1889 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1890 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1892 * rt/clock_settime.c (clock_settime): Rename to
1893 __clock_settime. Add weak_alias and libc_hidden_def.
1894 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1896 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1898 * mach/err_boot.sub: Remove trailing whitespace.
1899 * mach/err_ipc.sub: Likewise.
1900 * mach/err_mach.sub: Likewise.
1902 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1903 (ROUNDING_TESTS_double): Likewise.
1904 (ROUNDING_TESTS_long_double): Likewise.
1905 (ROUNDING_TESTS): Likewise.
1906 * math/libm-test.inc: Include <math-tests.h>.
1907 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1908 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1909 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1910 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1912 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1914 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1917 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1919 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1920 otherwise empty TRANS lines.
1921 * sysdeps/gnu/errlist.c: Regenerated.
1923 * catgets/gencat.c (error_print): Use (void) in function
1925 * crypt/crypt_util.c (__init_des): Likewise.
1926 * crypt/speeds.c (Stop): Likewise.
1928 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1929 * inet/ruserpass.c (token): Likewise.
1930 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1931 * intl/localealias.c (extend_alias_table): Likewise.
1932 * intl/plural-exp.c (init_germanic_plural): Likewise.
1933 * libio/fcloseall.c (__fcloseall): Likewise.
1934 * libio/genops.c (_IO_flush_all): Likewise.
1935 (_IO_flush_all_linebuffered): Likewise.
1936 (_IO_cleanup): Likewise.
1937 (_IO_iter_begin): Likewise.
1938 (_IO_iter_end): Likewise.
1939 (_IO_list_lock): Likewise.
1940 (_IO_list_unlock): Likewise.
1941 (_IO_list_resetlock): Likewise.
1942 * libio/getchar.c (getchar): Likewise.
1943 * libio/getchar_u.c (getchar_unlocked): Likewise.
1944 * libio/getwchar.c (getwchar): Likewise.
1945 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1946 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1947 * login/getpt.c (__getpt): Likewise.
1948 * login/tst-utmp.c (main): Likewise.
1949 * malloc/hooks.c (__malloc_check_init): Likewise.
1950 * malloc/malloc.c (__malloc_stats): Likewise.
1951 * malloc/mtrace.c (tr_break): Likewise.
1953 (muntrace): Likewise.
1954 * misc/fstab.c (endfsent): Likewise.
1955 * misc/getclktck.c (__getclktck): Likewise.
1956 * misc/getdtsz.c (__getdtablesize): Likewise.
1957 * misc/gethostid.c (gethostid): Likewise.
1958 * misc/getpagesize.c (__getpagesize): Likewise.
1959 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1960 (__get_nprocs): Likewise.
1961 (__get_phys_pages): Likewise.
1962 (__get_avphys_pages): Likewise.
1963 * misc/getttyent.c (getttyent): Likewise.
1964 (setttyent): Likewise.
1965 (endttyent): Likewise.
1966 * misc/getusershell.c (getusershell): Likewise.
1967 (endusershell): Likewise.
1968 (setusershell): Likewise.
1969 (initshells): Likewise.
1970 * misc/hsearch.c (__hdestroy): Likewise.
1971 * misc/sync.c (sync): Likewise.
1972 * misc/syslog.c (closelog_internal): Likewise.
1973 (closelog): Likewise.
1974 * misc/ttyslot.c (ttyslot): Likewise.
1975 * misc/vhangup.c (vhangup): Likewise.
1976 * posix/fork.c (__fork): Likewise.
1977 * posix/getegid.c (__getegid): Likewise.
1978 * posix/geteuid.c (__geteuid): Likewise.
1979 * posix/getgid.c (__getgid): Likewise.
1980 * posix/getpid.c (__getpid): Likewise.
1981 * posix/getppid.c (__getppid): Likewise.
1982 * posix/getuid.c (__getuid): Likewise.
1983 * posix/pause.c (pause): Likewise.
1984 * posix/setpgrp.c (setpgrp): Likewise.
1985 * posix/setsid.c (__setsid): Likewise.
1986 * posix/test-vfork.c (noop): Likewise.
1987 * resolv/gethnamaddr.c (_endhtent): Likewise.
1988 (_gethtent): Likewise.
1989 (ht_endhostent): Likewise.
1990 (gethostent): Likewise.
1991 (dns_service): Likewise.
1992 * stdlib/drand48.c (drand48): Likewise.
1993 * stdlib/lrand48.c (lrand48): Likewise.
1994 * stdlib/mrand48.c (mrand48): Likewise.
1995 * stdlib/rand.c (rand): Likewise.
1996 * stdlib/random.c (__random): Likewise.
1997 * stdlib/setenv.c (clearenv): Likewise.
1998 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1999 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2000 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2001 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2002 (__get_nprocs): Likewise.
2003 (__get_phys_pages): Likewise.
2004 (__get_avphys_pages): Likewise.
2005 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2006 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2007 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2008 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2009 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2010 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2011 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2012 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2013 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2014 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2015 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2016 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2017 * sysdeps/posix/clock.c (clock): Likewise.
2018 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2019 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2020 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2021 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2022 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2024 (__get_nprocs_conf): Likewise.
2025 (__get_phys_pages): Likewise.
2026 (__get_avphys_pages): Likewise.
2027 * time/clock.c (clock): Likewise.
2028 * time/tzset.c (__tzname_max): Likewise.
2030 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2032 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2033 (__bswap_32): Do not use "register".
2034 * crypt/crypt.c (_ufc_doit_r): Likewise.
2035 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2036 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2037 * gmon/gmon.c (__monstartup): Likewise.
2038 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2039 * hurd/hurdmalloc.c (more_memory): Likewise.
2042 (realloc): Likewise.
2043 (malloc_fork_prepare): Likewise.
2044 (malloc_fork_parent): Likewise.
2045 (malloc_fork_child): Likewise.
2046 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2047 (_svcauth_des): Likewise.
2048 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2049 * inet/inet_net.c (inet_network): Likewise.
2050 * inet/inet_netof.c (inet_netof): Likewise.
2051 * inet/rcmd.c (__validuser2_sa): Likewise.
2052 * io/fts.c (fts_open): Likewise.
2053 (fts_load): Likewise.
2054 (fts_close): Likewise.
2055 (fts_read): Likewise.
2056 (fts_children): Likewise.
2057 (fts_build): Likewise.
2058 (fts_stat): Likewise.
2059 (fts_sort): Likewise.
2060 (fts_alloc): Likewise.
2061 (fts_lfree): Likewise.
2062 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2063 (_IO_file_xsgetn): Likewise.
2064 (_IO_file_xsgetn_mmap): Likewise.
2065 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2066 (_IO_cookie_write): Likewise.
2067 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2068 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2069 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2070 * malloc/obstack.c (_obstack_begin): Likewise.
2071 (_obstack_begin_1): Likewise.
2072 (_obstack_newchunk): Likewise.
2073 (_obstack_allocated_p): Likewise.
2074 (obstack_free): Likewise.
2075 (_obstack_memory_used): Likewise.
2076 * misc/getttyent.c (getttynam): Likewise.
2077 (getttyent): Likewise.
2080 * misc/getusershell.c (initshells): Likewise.
2081 * misc/syslog.c (__vsyslog_chk): Likewise.
2082 * misc/ttyslot.c (ttyslot): Likewise.
2083 * nis/nis_hash.c (__nis_hash): Likewise.
2084 * posix/fnmatch_loop.c (FCT): Likewise.
2085 * posix/getconf.c (print_all): Likewise.
2087 * posix/getopt.c (exchange): Likewise.
2088 * posix/glob.c (globfree): Likewise.
2089 (prefix_array): Likewise.
2090 (__glob_pattern_type): Likewise.
2091 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2092 (NS_GET32): Likewise.
2093 (NS_PUT16): Likewise.
2094 (NS_PUT32): Likewise.
2095 * resolv/gethnamaddr.c (getanswer): Likewise.
2096 (gethostbyname2): Likewise.
2097 (gethostbyaddr): Likewise.
2098 (_gethtent): Likewise.
2099 (_gethtbyname2): Likewise.
2100 (_gethtbyaddr): Likewise.
2101 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2102 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2103 * resolv/res_init.c (__res_vinit): Likewise.
2104 (net_mask): Likewise.
2105 * resolv/res_mkquery.c (outchar): Likewise.
2107 * stdio-common/printf_fp.c (outchar): Likewise.
2109 * stdio-common/printf_fphex.c (outchar): Likewise.
2111 * stdio-common/printf_size.c (outchar): Likewise.
2113 * stdio-common/test_rdwr.c (main): Likewise.
2114 * stdio-common/tfformat.c (matches): Likewise.
2115 * stdio-common/vfprintf.c (outchar): Likewise.
2116 (printf_unknown): Likewise.
2117 (buffered_vfprintf): Likewise.
2118 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2119 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2120 (ReadFile): Likewise.
2121 * stdlib/qsort.c (SWAP): Likewise.
2122 (_quicksort): Likewise.
2123 * stdlib/setenv.c (__add_to_environ): Likewise.
2124 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2125 * stdlib/strtol_l.c (__strtol_l): Likewise.
2126 * stdlib/tst-strtod.c (main): Likewise.
2127 * stdlib/tst-strtol.c (main): Likewise.
2128 * stdlib/tst-strtoll.c (main): Likewise.
2129 * string/bits/string2.h (__strcmp_cc): Likewise.
2130 (__strcmp_cg): Likewise.
2131 (__strcspn_c1): Likewise.
2132 (__strcspn_c2): Likewise.
2133 (__strcspn_c3): Likewise.
2134 (__strspn_c1): Likewise.
2135 (__strspn_c2): Likewise.
2136 (__strspn_c3): Likewise.
2137 (__strsep_1c): Likewise.
2138 (__strsep_2c): Likewise.
2139 (__strsep_3c): Likewise.
2140 * string/memccpy.c (__memccpy): Likewise.
2141 * string/stpcpy.c (__stpcpy): Likewise.
2142 * string/strcmp.c (strcmp): Likewise.
2143 * string/strrchr.c (strrchr): Likewise.
2144 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2146 * sysdeps/mach/hurd/getcwd.c
2147 (_hurd_canonicalize_directory_name_internal): Likewise.
2148 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2149 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2150 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2151 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2152 Likewise, in both definitions.
2153 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2155 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2156 64] (__bswap_64): Likewise.
2157 * time/test_time.c (main): Likewise.
2158 * time/tzfile.c (__tzfile_read): Likewise.
2159 (__tzfile_compute): Likewise.
2160 * time/tzset.c (__tzset_parse_tz): Likewise.
2161 (tzset_internal): Likewise.
2162 (compute_change): Likewise.
2163 * wcsmbs/wcscat.c (__wcscat): Likewise.
2164 * wcsmbs/wcschr.c (wcschr): Likewise.
2165 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2166 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2167 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2168 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2169 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2170 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2171 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2172 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2173 * wcsmbs/wmemset.c (wmemset): Likewise.
2175 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2177 * scripts/config.guess: Update to version 2013-05-16.
2178 * scripts/config.sub: Update to version 2013-04-24.
2179 * scripts/install-sh: Update to version 2011-11-20.07.
2180 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2181 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2183 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2185 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2186 * elf/sln.c: Likewise.
2187 * hurd/hurd/ioctl.h: Likewise.
2188 * hurd/hurdmalloc.c: Likewise.
2189 * hurd/xattr.c: Likewise.
2190 * include/shlib-compat.h: Likewise.
2191 * inet/ruserpass.c: Likewise.
2192 * libio/iofgets_u.c: Likewise.
2193 * libio/iofgetws_u.c: Likewise.
2194 * locale/programs/ld-identification.c: Likewise.
2195 * locale/programs/ld-time.c: Likewise.
2196 * mach/msg-destroy.c: Likewise.
2197 * nss/nss_files/files-netgrp.c: Likewise.
2198 * resolv/res_data.c: Likewise.
2199 * soft-fp/op-1.h: Likewise.
2200 * soft-fp/op-2.h: Likewise.
2201 * soft-fp/op-4.h: Likewise.
2202 * soft-fp/op-common.h: Likewise.
2203 * stdio-common/printf_fphex.c: Likewise.
2204 * stdlib/strtod_l.c: Likewise.
2205 * sunrpc/rpc/clnt.h: Likewise.
2206 * sysdeps/generic/framestate.c: Likewise.
2207 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2208 * sysdeps/i386/bsd-setjmp.S: Likewise.
2209 * sysdeps/i386/__longjmp.S: Likewise.
2210 * sysdeps/i386/setjmp.S: Likewise.
2211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2212 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2213 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2229 * sysdeps/ieee754/support.c: Likewise.
2230 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2231 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2232 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2233 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2234 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2235 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2236 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2237 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2238 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2239 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2240 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2241 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2242 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2243 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2244 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2245 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2246 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2249 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2251 * posix/transbug.c: Remove executable mode.
2253 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2255 * crypt/speeds.c: Remove trailing whitespace.
2256 * dlfcn/default.c: Likewise.
2257 * elf/ifuncdep2.c: Likewise.
2258 * elf/ifuncmain1.c: Likewise.
2259 * elf/ifuncmain1vis.c: Likewise.
2260 * elf/testobj.h: Likewise.
2261 * elf/tst-stackguard1.c: Likewise.
2262 * gmon/sys/gmon.h: Likewise.
2263 * hurd/hurdmsg.c: Likewise.
2264 * hurd/new-fd.c: Likewise.
2265 * hurd/ports-get.c: Likewise.
2266 * iconvdata/ibm1008_420.c: Likewise.
2267 * inet/tst-getni1.c: Likewise.
2268 * inet/tst-getni2.c: Likewise.
2269 * libio/ioungetc.c: Likewise.
2270 * libio/wfiledoalloc.c: Likewise.
2271 * manual/libm-err-tab.pl: Likewise.
2272 * math/w_dremf.c: Likewise.
2273 * misc/ftruncate.c: Likewise.
2274 * posix/bug-glob2.c: Likewise.
2275 * posix/tst-pcre.c: Likewise.
2276 * posix/wait4.c: Likewise.
2277 * resolv/README: Likewise.
2278 * resolv/res_debug.h: Likewise.
2279 * resolv/tst-inet_ntop.c: Likewise.
2280 * setjmp/bug269-setjmp.c: Likewise.
2281 * soft-fp/extended.h: Likewise.
2282 * soft-fp/op-1.h: Likewise.
2283 * soft-fp/op-2.h: Likewise.
2284 * soft-fp/op-4.h: Likewise.
2285 * soft-fp/op-8.h: Likewise.
2286 * soft-fp/testit.c: Likewise.
2287 * stdio-common/bug16.c: Likewise.
2288 * stdlib/random.c: Likewise.
2289 * sunrpc/rpcsvc/rquota.x: Likewise.
2290 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2291 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2295 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2296 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2297 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2298 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2300 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2319 * sysdeps/ieee754/s_lib_version.c: Likewise.
2320 * sysdeps/mach/hurd/check_fds.c: Likewise.
2321 * sysdeps/mach/hurd/getsockname.c: Likewise.
2322 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2323 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2324 * sysdeps/powerpc/bits/link.h: Likewise.
2325 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2326 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2327 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2328 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2329 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2330 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2331 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2332 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2333 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2334 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2335 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2336 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2337 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2338 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2339 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2340 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2341 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2342 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2343 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2344 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2345 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2348 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2350 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2351 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2353 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2354 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2355 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2356 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2357 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2360 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2362 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2363 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2364 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2365 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2368 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2369 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2370 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2371 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2372 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2374 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2380 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2381 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2384 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2385 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2386 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2387 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2388 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2389 * sysdeps/powerpc/sysdep.h: Likewise.
2390 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2391 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2392 * sysdeps/sh/dl-trampoline.S: Likewise.
2393 * sysdeps/sh/memset.S: Likewise.
2394 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2395 * sysdeps/sh/strlen.S: Likewise.
2396 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2397 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2398 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2399 * sysdeps/sparc/sparc32/rem.S: Likewise.
2400 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2401 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2402 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2403 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2404 * sysdeps/sparc/sparc32/urem.S: Likewise.
2405 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2406 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2407 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2408 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2410 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2411 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2412 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2413 * sysdeps/unix/bsd/times.c: Likewise.
2414 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2415 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2422 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2430 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2432 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2433 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2434 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2435 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2436 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2438 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2439 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2442 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2443 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2444 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2445 * sysdeps/x86_64/strcspn.S: Likewise.
2447 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2449 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2450 generated file. Regenerate properly from gen-translit.pl.
2451 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2452 locale/C-translit.h.
2454 2013-06-05 Andreas Schwab <schwab@suse.de>
2457 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2458 week as 6 instead of -1.
2459 * time/tst-strptime.c (day_tests): Add test case.
2461 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2463 * sysdeps/generic/math_private.h
2464 (libc_feholdexcept_setround_53bit): Replace with
2465 libc_feholdsetround_53bit.
2466 (libc_feupdateenv_53bit): Replace with
2467 libc_feresetround_53bit.
2468 (SET_RESTORE_ROUND_53BIT): Adjust.
2470 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2472 * string/test-strchrnul.c: Add copyright header.
2474 * posix/tst-getaddrinfo4.c: Increase test timeout.
2476 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2479 * math/libm-test.inc (MAX_EXP): Remove
2481 (ulp): Use MIN_EXP - MANT_DIG.
2482 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2484 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2486 * po/be.po: Revert last change.
2487 * po/zh_CN.po: Likewise.
2488 * po/header.pot: Likewise.
2490 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2492 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2493 link-libc-deps to empty as target-specific variable.
2494 * Makerules (link-libc-args): New variable.
2495 (libc-for-link): Likewise.
2496 (link-libc-deps): Likewise.
2497 (lib%.so): Depend on $(link-libc-deps). Link with
2499 (build-module): Link with $(link-libc-args).
2500 (build-module-asneeded): Likewise.
2501 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2503 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2504 target-specific variable.
2505 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2506 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2507 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2509 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2511 ($(objpfx)libpcprofile.so): Likewise.
2512 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2514 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2515 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2516 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2518 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2519 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2520 * login/Makefile ($(objpfx)libutil.so): Likewise.
2521 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2522 * math/Makefile ($(objpfx)libm.so): Likewise.
2523 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2524 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2525 variable instead of depending directly on libc.
2526 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2527 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2529 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2531 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2532 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2533 ($(objpfx)libanl.so): Likewise.
2534 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2536 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2538 * sysdeps/i386/fpu/Makefile: Remove file.
2539 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2540 ($(objpfx)libm.so): Remove dependency on ld.so.
2542 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2545 * nis/yp_xdr.c (XDRMAXNAME): Define.
2546 (XDRMAXRECORD): Define.
2547 (xdr_domainname): Use XDRMAXNAME.
2548 (xdr_mapname): Likewise.
2549 (xdr_peername): Likewise.
2550 (xdr_keydat): Use XDRMAXRECORD.
2551 (xdr_valdat): Likewise.
2553 2013-05-30 Jeff Law <law@redhat.com>
2556 * manual/errno.texi (ESTALE): Update to account for more than
2557 just NFS file systems.
2558 * sysdeps/gnu/errlist.c: Regenerated.
2560 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * elf/Makefile (tests): Add tst-null-argv.
2564 (modules-names): Add tst-null-argv-lib.
2565 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2566 (tst-null-argv-ENV): Set environment for tst-null-argv.
2567 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2568 (RTLD_PROGNAME): New macro.
2569 * elf/tst-null-argv.c: New test case.
2570 * elf/tst-null-argv-lib.c: Library for test case.
2571 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2572 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2573 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2574 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2575 * elf/dl-init.c (call_init): Likewise.
2576 (_dl_init): Likewise.
2577 * elf/dl-load.c (print_search_path): Likewise.
2578 (_dl_map_object): Likewise.
2579 * elf/dl-lookup.c (do_lookup_x): Likewise.
2580 (add_dependency): Likewise.
2581 (_dl_lookup_symbol_x): Likewise.
2582 (_dl_debug_bindings): Likewise.
2583 * elf/dl-open.c (_dl_show_scope): Likewise.
2584 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2585 * elf/dl-version.c (match_symbol): Likewise.
2586 (_dl_check_map_versions): Likewise.
2587 * elf/rtld.c (dl_main): Likewise.
2588 (print_unresolved): Use RTLD_PROGNAME.
2589 (print_missing_version): Likewise.
2590 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2591 (elf_machine_rela): Likewise.
2592 * sysdeps/powerpc/powerpc32/dl-machine.c
2593 (__process_machine_rela): Likewise.
2594 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2596 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2598 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2600 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2601 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2603 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2607 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2609 * po/be.po: Add descriptive title.
2610 * po/zh_CN.po: Likewise.
2611 * po/header.pot: Likewise.
2613 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2615 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2617 (enlarge_archive): Likewise.
2619 2013-05-28 Ben North <ben@redfrontdoor.org>
2621 * manual/arith.texi (frexp): It is the magnitude of the return
2622 value which lies in [0.5, 1), not the return value itself.
2624 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2628 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2630 * stdio-common/bug26.c (main): Correct fscanf template.
2632 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2633 declare _dl_skip_args.
2635 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2638 * manual/platform.texi: Add missing @end deftypefun.
2640 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2643 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2644 bit of mantissa of 2^16382.
2645 * math/libm-test.inc (hypot_test_data): Add more tests.
2647 * math/libm-test.inc: Add drem and pow10 to list of tested
2649 (pow10_test): New function.
2650 (drem_test): Likewise.
2651 (drem_test_tonearest): Likewise.
2652 (drem_test_towardzero): Likewise.
2653 (drem_test_downward): Likewise.
2654 (drem_test_upward): Likewise.
2655 (main): Call the new functions.
2657 * math/libm-test.inc (finite_test_data): Remove.
2658 (finite_test): Run tests from isfinite_test_data.
2659 (gamma_test_data): Remove.
2660 (gamma_test): Run tests from lgamma_test_data.
2661 * sysdeps/i386/fpu/libm-test-ulps: Update.
2662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2666 * manual/platform.texi: Add PowerPC PPR function set documentation.
2667 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2670 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2672 * math/libm-test.inc (MAX_EXP): Define.
2674 (ulp): New function.
2675 (check_float_internal): Use ULPDIFF.
2676 (cpow_test): Disable failing test.
2677 (check_ulp): Test ulp() implemetnation.
2678 (main): Call check_ulp before starting tests.
2680 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2682 * math/gen-libm-test.pl (generate_testfile): Do not handle
2683 START_DATA and END_DATA.
2684 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2686 (acos_tonearest_test_data): Likewise.
2687 (acos_towardzero_test_data): Likewise.
2688 (acos_downward_test_data): Likewise.
2689 (acos_upward_test_data): Likewise.
2690 (acosh_test_data): Likewise.
2691 (asin_test_data): Likewise.
2692 (asin_tonearest_test_data): Likewise.
2693 (asin_towardzero_test_data): Likewise.
2694 (asin_downward_test_data): Likewise.
2695 (asin_upward_test_data): Likewise.
2696 (asinh_test_data): Likewise.
2697 (atan_test_data): Likewise.
2698 (atanh_test_data): Likewise.
2699 (atan2_test_data): Likewise.
2700 (cabs_test_data): Likewise.
2701 (cacos_test_data): Likewise.
2702 (cacosh_test_data): Likewise.
2703 (carg_test_data): Likewise.
2704 (casin_test_data): Likewise.
2705 (casinh_test_data): Likewise.
2706 (catan_test_data): Likewise.
2707 (catanh_test_data): Likewise.
2708 (cbrt_test_data): Likewise.
2709 (ccos_test_data): Likewise.
2710 (ccosh_test_data): Likewise.
2711 (ceil_test_data): Likewise.
2712 (cexp_test_data): Likewise.
2713 (cimag_test_data): Likewise.
2714 (clog_test_data): Likewise.
2715 (clog10_test_data): Likewise.
2716 (conj_test_data): Likewise.
2717 (copysign_test_data): Likewise.
2718 (cos_test_data): Likewise.
2719 (cos_tonearest_test_data): Likewise.
2720 (cos_towardzero_test_data): Likewise.
2721 (cos_downward_test_data): Likewise.
2722 (cos_upward_test_data): Likewise.
2723 (cosh_test_data): Likewise.
2724 (cosh_tonearest_test_data): Likewise.
2725 (cosh_towardzero_test_data): Likewise.
2726 (cosh_downward_test_data): Likewise.
2727 (cosh_upward_test_data): Likewise.
2728 (cpow_test_data): Likewise.
2729 (cproj_test_data): Likewise.
2730 (creal_test_data): Likewise.
2731 (csin_test_data): Likewise.
2732 (csinh_test_data): Likewise.
2733 (csqrt_test_data): Likewise.
2734 (ctan_test_data): Likewise.
2735 (ctan_tonearest_test_data): Likewise.
2736 (ctan_towardzero_test_data): Likewise.
2737 (ctan_downward_test_data): Likewise.
2738 (ctan_upward_test_data): Likewise.
2739 (ctanh_test_data): Likewise.
2740 (ctanh_tonearest_test_data): Likewise.
2741 (ctanh_towardzero_test_data): Likewise.
2742 (ctanh_downward_test_data): Likewise.
2743 (ctanh_upward_test_data): Likewise.
2744 (erf_test_data): Likewise.
2745 (erfc_test_data): Likewise.
2746 (exp_test_data): Likewise.
2747 (exp_tonearest_test_data): Likewise.
2748 (exp_towardzero_test_data): Likewise.
2749 (exp_downward_test_data): Likewise.
2750 (exp_upward_test_data): Likewise.
2751 (exp10_test_data): Likewise.
2752 (exp2_test_data): Likewise.
2753 (expm1_test_data): Likewise.
2754 (fabs_test_data): Likewise.
2755 (fdim_test_data): Likewise.
2756 (finite_test_data): Likewise.
2757 (floor_test_data): Likewise.
2758 (fma_test_data): Likewise.
2759 (fma_towardzero_test_data): Likewise.
2760 (fma_downward_test_data): Likewise.
2761 (fma_upward_test_data): Likewise.
2762 (fmax_test_data): Likewise.
2763 (fmin_test_data): Likewise.
2764 (fmod_test_data): Likewise.
2765 (fpclassify_test_data): Likewise.
2766 (frexp_test_data): Likewise.
2767 (gamma_test_data): Likewise.
2768 (hypot_test_data): Likewise.
2769 (ilogb_test_data): Likewise.
2770 (isfinite_test_data): Likewise.
2771 (isgreater_test_data): Likewise.
2772 (isgreaterequal_test_data): Likewise.
2773 (isinf_test_data): Likewise.
2774 (isless_test_data): Likewise.
2775 (islessequal_test_data): Likewise.
2776 (islessgreater_test_data): Likewise.
2777 (isnan_test_data): Likewise.
2778 (isnormal_test_data): Likewise.
2779 (issignaling_test_data): Likewise.
2780 (isunordered_test_data): Likewise.
2781 (j0_test_data): Likewise.
2782 (j1_test_data): Likewise.
2783 (jn_test_data): Likewise.
2784 (ldexp_test_data): Likewise.
2785 (lgamma_test_data): Likewise.
2786 (lrint_test_data): Likewise.
2787 (lrint_tonearest_test_data): Likewise.
2788 (lrint_towardzero_test_data): Likewise.
2789 (lrint_downward_test_data): Likewise.
2790 (lrint_upward_test_data): Likewise.
2791 (llrint_test_data): Likewise.
2792 (llrint_tonearest_test_data): Likewise.
2793 (llrint_towardzero_test_data): Likewise.
2794 (llrint_downward_test_data): Likewise.
2795 (llrint_upward_test_data): Likewise.
2796 (log_test_data): Likewise.
2797 (log10_test_data): Likewise.
2798 (log1p_test_data): Likewise.
2799 (log2_test_data): Likewise.
2800 (logb_test_data): Likewise.
2801 (logb_downward_test_data): Likewise.
2802 (lround_test_data): Likewise.
2803 (llround_test_data): Likewise.
2804 (modf_test_data): Likewise.
2805 (nearbyint_test_data): Likewise.
2806 (nextafter_test_data): Likewise.
2807 (nexttoward_test_data): Likewise.
2808 (pow_test_data): Likewise.
2809 (pow_tonearest_test_data): Likewise.
2810 (pow_towardzero_test_data): Likewise.
2811 (pow_downward_test_data): Likewise.
2812 (pow_upward_test_data): Likewise.
2813 (remainder_test_data): Likewise.
2814 (remainder_tonearest_test_data): Likewise.
2815 (remainder_towardzero_test_data): Likewise.
2816 (remainder_downward_test_data): Likewise.
2817 (remainder_upward_test_data): Likewise.
2818 (remquo_test_data): Likewise.
2819 (rint_test_data): Likewise.
2820 (rint_tonearest_test_data): Likewise.
2821 (rint_towardzero_test_data): Likewise.
2822 (rint_downward_test_data): Likewise.
2823 (rint_upward_test_data): Likewise.
2824 (round_test_data): Likewise.
2825 (scalb_test_data): Likewise.
2826 (scalbn_test_data): Likewise.
2827 (scalbln_test_data): Likewise.
2828 (signbit_test_data): Likewise.
2829 (sin_test_data): Likewise.
2830 (sin_tonearest_test_data): Likewise.
2831 (sin_towardzero_test_data): Likewise.
2832 (sin_downward_test_data): Likewise.
2833 (sin_upward_test_data): Likewise.
2834 (sincos_test_data): Likewise.
2835 (sinh_test_data): Likewise.
2836 (sinh_tonearest_test_data): Likewise.
2837 (sinh_towardzero_test_data): Likewise.
2838 (sinh_downward_test_data): Likewise.
2839 (sinh_upward_test_data): Likewise.
2840 (sqrt_test_data): Likewise.
2841 (tan_test_data): Likewise.
2842 (tan_tonearest_test_data): Likewise.
2843 (tan_towardzero_test_data): Likewise.
2844 (tan_downward_test_data): Likewise.
2845 (tan_upward_test_data): Likewise.
2846 (tanh_test_data): Likewise.
2847 (tgamma_test_data): Likewise.
2848 (trunc_test_data): Likewise.
2849 (y0_test_data): Likewise.
2850 (y1_test_data): Likewise.
2851 (yn_test_data): Likewise.
2852 (significand_test_data): Likewise.
2854 * math/gen-libm-test.pl (@functions): Remove variable.
2855 (generate_testfile): Don't handle START and END lines.
2856 * math/libm-test.inc (START): New macro.
2858 (END_COMPLEX): Likewise.
2859 (acos_test): Use END macro without arguments.
2860 (acos_test_tonearest): Likewise.
2861 (acos_test_towardzero): Likewise.
2862 (acos_test_downward): Likewise.
2863 (acos_test_upward): Likewise.
2864 (acosh_test): Likewise.
2865 (asin_test): Likewise.
2866 (asin_test_tonearest): Likewise.
2867 (asin_test_towardzero): Likewise.
2868 (asin_test_downward): Likewise.
2869 (asin_test_upward): Likewise.
2870 (asinh_test): Likewise.
2871 (atan_test): Likewise.
2872 (atanh_test): Likewise.
2873 (atan2_test): Likewise.
2874 (cabs_test): Likewise.
2875 (cacos_test): Use END_COMPLEX macro without arguments.
2876 (cacosh_test): Likewise.
2877 (carg_test): Use END macro without arguments.
2878 (casin_test): Use END_COMPLEX macro without arguments.
2879 (casinh_test): Likewise.
2880 (catan_test): Likewise.
2881 (catanh_test): Likewise.
2882 (cbrt_test): Use END macro without arguments.
2883 (ccos_test): Use END_COMPLEX macro without arguments.
2884 (ccosh_test): Likewise.
2885 (ceil_test): Use END macro without arguments.
2886 (cexp_test): Use END_COMPLEX macro without arguments.
2887 (cimag_test): Use END macro without arguments.
2888 (clog_test): Use END_COMPLEX macro without arguments.
2889 (clog10_test): Likewise.
2890 (conj_test): Likewise.
2891 (copysign_test): Use END macro without arguments.
2892 (cos_test): Likewise.
2893 (cos_test_tonearest): Likewise.
2894 (cos_test_towardzero): Likewise.
2895 (cos_test_downward): Likewise.
2896 (cos_test_upward): Likewise.
2897 (cosh_test): Likewise.
2898 (cosh_test_tonearest): Likewise.
2899 (cosh_test_towardzero): Likewise.
2900 (cosh_test_downward): Likewise.
2901 (cosh_test_upward): Likewise.
2902 (cpow_test): Use END_COMPLEX macro without arguments.
2903 (cproj_test): Likewise.
2904 (creal_test): Use END macro without arguments.
2905 (csin_test): Use END_COMPLEX macro without arguments.
2906 (csinh_test): Likewise.
2907 (csqrt_test): Likewise.
2908 (ctan_test): Likewise.
2909 (ctan_test_tonearest): Likewise.
2910 (ctan_test_towardzero): Likewise.
2911 (ctan_test_downward): Likewise.
2912 (ctan_test_upward): Likewise.
2913 (ctanh_test): Likewise.
2914 (ctanh_test_tonearest): Likewise.
2915 (ctanh_test_towardzero): Likewise.
2916 (ctanh_test_downward): Likewise.
2917 (ctanh_test_upward): Likewise.
2918 (erf_test): Use END macro without arguments.
2919 (erfc_test): Likewise.
2920 (exp_test): Likewise.
2921 (exp_test_tonearest): Likewise.
2922 (exp_test_towardzero): Likewise.
2923 (exp_test_downward): Likewise.
2924 (exp_test_upward): Likewise.
2925 (exp10_test): Likewise.
2926 (exp2_test): Likewise.
2927 (expm1_test): Likewise.
2928 (fabs_test): Likewise.
2929 (fdim_test): Likewise.
2930 (finite_test): Likewise.
2931 (floor_test): Likewise.
2932 (fma_test): Likewise.
2933 (fma_test_towardzero): Likewise.
2934 (fma_test_downward): Likewise.
2935 (fma_test_upward): Likewise.
2936 (fmax_test): Likewise.
2937 (fmin_test): Likewise.
2938 (fmod_test): Likewise.
2939 (fpclassify_test): Likewise.
2940 (frexp_test): Likewise.
2941 (gamma_test): Likewise.
2942 (hypot_test): Likewise.
2943 (ilogb_test): Likewise.
2944 (isfinite_test): Likewise.
2945 (isgreater_test): Likewise.
2946 (isgreaterequal_test): Likewise.
2947 (isinf_test): Likewise.
2948 (isless_test): Likewise.
2949 (islessequal_test): Likewise.
2950 (islessgreater_test): Likewise.
2951 (isnan_test): Likewise.
2952 (isnormal_test): Likewise.
2953 (issignaling_test): Likewise.
2954 (isunordered_test): Likewise.
2955 (j0_test): Likewise.
2956 (j1_test): Likewise.
2957 (jn_test): Likewise.
2958 (ldexp_test): Likewise.
2959 (lgamma_test): Likewise.
2960 (lrint_test): Likewise.
2961 (lrint_test_tonearest): Likewise.
2962 (lrint_test_towardzero): Likewise.
2963 (lrint_test_downward): Likewise.
2964 (lrint_test_upward): Likewise.
2965 (llrint_test): Likewise.
2966 (llrint_test_tonearest): Likewise.
2967 (llrint_test_towardzero): Likewise.
2968 (llrint_test_downward): Likewise.
2969 (llrint_test_upward): Likewise.
2970 (log_test): Likewise.
2971 (log10_test): Likewise.
2972 (log1p_test): Likewise.
2973 (log2_test): Likewise.
2974 (logb_test): Likewise.
2975 (logb_test_downward): Likewise.
2976 (lround_test): Likewise.
2977 (llround_test): Likewise.
2978 (modf_test): Likewise.
2979 (nearbyint_test): Likewise.
2980 (nextafter_test): Likewise.
2981 (nexttoward_test): Likewise.
2982 (pow_test): Likewise.
2983 (pow_test_tonearest): Likewise.
2984 (pow_test_towardzero): Likewise.
2985 (pow_test_downward): Likewise.
2986 (pow_test_upward): Likewise.
2987 (remainder_test): Likewise.
2988 (remainder_test_tonearest): Likewise.
2989 (remainder_test_towardzero): Likewise.
2990 (remainder_test_downward): Likewise.
2991 (remainder_test_upward): Likewise.
2992 (remquo_test): Likewise.
2993 (rint_test): Likewise.
2994 (rint_test_tonearest): Likewise.
2995 (rint_test_towardzero): Likewise.
2996 (rint_test_downward): Likewise.
2997 (rint_test_upward): Likewise.
2998 (round_test): Likewise.
2999 (scalb_test): Likewise.
3000 (scalbn_test): Likewise.
3001 (scalbln_test): Likewise.
3002 (signbit_test): Likewise.
3003 (sin_test): Likewise.
3004 (sin_test_tonearest): Likewise.
3005 (sin_test_towardzero): Likewise.
3006 (sin_test_downward): Likewise.
3007 (sin_test_upward): Likewise.
3008 (sincos_test): Likewise.
3009 (sinh_test): Likewise.
3010 (sinh_test_tonearest): Likewise.
3011 (sinh_test_towardzero): Likewise.
3012 (sinh_test_downward): Likewise.
3013 (sinh_test_upward): Likewise.
3014 (sqrt_test): Likewise.
3015 (tan_test): Likewise.
3016 (tan_test_tonearest): Likewise.
3017 (tan_test_towardzero): Likewise.
3018 (tan_test_downward): Likewise.
3019 (tan_test_upward): Likewise.
3020 (tanh_test): Likewise.
3021 (tgamma_test): Likewise.
3022 (trunc_test): Likewise.
3023 (y0_test): Likewise.
3024 (y1_test): Likewise.
3025 (yn_test): Likewise.
3026 (significand_test): Likewise.
3028 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3031 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3033 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3036 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3037 __ppc_mdoio and __ppc_mdoom.
3038 * manual/platform.texi: Document new functions __ppc_yield,
3039 __ppc_mdoio and __ppc_mdoom.
3041 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3043 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3044 (main): Mention "tls" pseudo-hwcap is legacy.
3045 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3047 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3049 * math/gen-libm-test.pl (parse_args): Output only string of
3050 arguments as text for test name, not full call or descriptions of
3051 tests for extra outputs.
3052 (generate_testfile): Do not pass function name to parse_args.
3053 Generate this_func variable from START.
3054 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3056 (struct test_ff_f_data): Likewise.
3057 (test_ff_f_data_nexttoward): Likewise.
3058 (struct test_fi_f_data): Likewise.
3059 (struct test_fl_f_data): Likewise.
3060 (struct test_if_f_data): Likewise.
3061 (struct test_fff_f_data): Likewise.
3062 (struct test_c_f_data): Likewise.
3063 (struct test_f_f1_data): Likewise. Remove field extra_name.
3064 (struct test_fF_f1_data): Likewise.
3065 (struct test_ffI_f1_data): Likewise.
3066 (struct test_c_c_data): Rename test_name field to arg_str.
3067 (struct test_cc_c_data): Likewise.
3068 (struct test_f_i_data): Likewise.
3069 (struct test_ff_i_data): Likewise.
3070 (struct test_f_l_data): Likewise.
3071 (struct test_f_L_data): Likewise.
3072 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3074 (COMMON_TEST_SETUP): New macro.
3075 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3076 (COMMON_TEST_CLEANUP): Likewise.
3077 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3078 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3080 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3081 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3083 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3084 (RUN_TEST_fff_f): Take argument string. Call new setup and
3086 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3087 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3089 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3090 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3092 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3093 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3095 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3096 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3098 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3099 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3101 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3102 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3104 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3105 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3107 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3108 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3110 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3111 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3113 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3114 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3116 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3117 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3119 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3120 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3122 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3123 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3125 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3126 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3128 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3129 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3131 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3133 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3135 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3136 to _sifields.sigfault.
3137 (si_addr_lsb): Define new macro.
3138 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3139 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3140 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3142 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3145 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3147 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3149 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3152 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3154 * math/gen-libm-test.pl (parse_args): Do not include expected
3155 result in test name.
3156 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3158 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3159 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3165 * benchtests/Makefile: Sort function entries.
3167 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3168 tanh, asinh, acosh, atanh.
3169 * benchtests/acos-inputs: New file.
3170 * benchtests/acosh-inputs: New file.
3171 * benchtests/asin-inputs: New file.
3172 * benchtests/asinh-inputs: New file.
3173 * benchtests/atanh-inputs: New file.
3174 * benchtests/cosh-inputs: New file.
3175 * benchtests/log-inputs: New file.
3176 * benchtests/sinh-inputs: New file.
3177 * benchtests/tanh-inputs: New file.
3179 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3182 * posix/tst-getaddrinfo4.c: New test.
3183 * posix/Makefile (tests): Add it.
3185 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3188 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3189 when no services were used.
3190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3191 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3193 2013-05-21 Andreas Schwab <schwab@suse.de>
3196 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3197 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3199 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3200 redundant variable declarations and reallocation of buffer when
3201 parsing as IPv6 address. Always set NSS status when called from
3202 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3203 buffer too small. Correct computation of needed size.
3204 * nss/Makefile (tests): Add test-digits-dots.
3205 * nss/test-digits-dots.c: New test.
3207 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * benchtests/Makefile: Remove instructions for adding
3211 * benchtests/README: New file to explain how to execute and
3212 enhance the benchmark tests.
3214 2013-05-21 Andreas Schwab <schwab@suse.de>
3217 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3218 * setjmp/tst-sigsetjmp.c: New test.
3220 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3222 * sysdeps/x86_64/memset.S (memset): New implementation.
3223 (__bzero): Likewise.
3224 (__memset_tail): New function.
3226 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3228 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3229 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3230 __memcpy_sse2_unaligned ifunc selection.
3231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3232 Add memcpy-sse2-unaligned.S.
3233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3234 Add: __memcpy_sse2_unaligned.
3236 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3240 math_force_eval before restoring floating-point envrionment.
3241 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3242 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3244 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3246 (__nearbyintl): Use math_force_eval before restoring
3247 floating-point environment.
3248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3250 * math/gen-libm-test.pl (special_functions): Remove.
3251 (parse_args): Don't handle TEST_extra. Handle functions with no
3253 * math/libm-test.inc (struct test_sincos_data): Replace with
3254 struct test_fFF_11_data.
3255 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3256 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3257 (sincos_test_data): Change element type to struct
3258 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3259 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3260 RUN_TEST_LOOP_sincos.
3261 * math/README.libm-test: Don't mention special handling of
3262 individual functions.
3263 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3265 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3266 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3267 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3270 * math/gen-libm-test.pl (get_variable): Remove function.
3271 (parse_args): Don't show pointer parameters to call in test
3272 names. Use "extra output N" in test names for extra outputs
3273 rather than naming variables.
3275 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3278 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3279 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3280 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3282 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3284 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3287 * math/gen-libm-test.pl (@tests): Remove variable.
3289 (new_test): Remove function.
3290 (show_exceptions): New function.
3291 (special_functions): Use show_exceptions instead of new_test.
3292 (parse_args): Likewise.
3293 (generate_testfile): Pass only function name in generated call to
3294 print_max_error or print_complex_max_error.
3295 (get_ulps): Do not handle complex tests specially.
3296 (output_test): Rename to ...
3297 (get_all_ulps_for_test): ... this. Return a string rather than
3298 printing to a file. Require ulps to be present.
3299 (output_ulps): Generate arrays rather than #defines.
3300 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3301 (struct ulp_data): New type.
3302 (BUILD_COMPLEX_ULP): Remove macro.
3303 (compare_ulp_data): New function.
3304 (find_ulps): Likewise.
3305 (find_test_ulps): Likewise.
3306 (find_function_ulps): Likewise.
3307 (find_complex_function_ulps): Likewise.
3308 (print_max_error): Determine allowed ulps using
3310 (print_complex_max_error): Determine allowed ulps using
3311 find_complex_function_ulps.
3312 (check_float_internal): Determine max ulps using find_test_ulps.
3313 (check_float): Do not take max_ulp parameter. Update call to
3314 check_float_internal.
3315 (check_complex): Likewise.
3316 (check_int): Do not take max_ulp parameter.
3317 (check_long): Likewise.
3318 (check_bool): Likewise.
3319 (check_longlong): Likewise.
3320 (struct test_f_f_data): Remove max_ulp field.
3321 (struct test_ff_f_data): Likewise.
3322 (struct test_ff_f_data_nexttoward): Likewise.
3323 (struct test_fi_f_data): Likewise.
3324 (struct test_fl_f_data): Likewise.
3325 (struct test_if_f_data): Likewise.
3326 (struct test_fff_f_data): Likewise.
3327 (struct test_c_f_data): Likewise.
3328 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3329 (struct test_fF_f1_data): Likewise.
3330 (struct test_ffI_f1_data): Likewise.
3331 (struct test_c_c_data): Remove max_ulp field.
3332 (struct test_cc_c_data): Likewise.
3333 (struct test_f_i_data): Likewise.
3334 (struct test_ff_i_data): Likewise.
3335 (struct test_f_l_data): Likewise.
3336 (struct test_f_L_data): Likewise.
3337 (struct test_sincos_data): Likewise.
3338 (RUN_TEST_f_f): Do not handle ulps.
3339 (RUN_TEST_LOOP_f_f): Likewise.
3340 (RUN_TEST_2_f): Likewise.
3341 (RUN_TEST_LOOP_2_f): Likewise.
3342 (RUN_TEST_fff_f): Likewise.
3343 (RUN_TEST_LOOP_fff_f): Likewise.
3344 (RUN_TEST_c_f): Likewise.
3345 (RUN_TEST_LOOP_c_f): Likewise.
3346 (RUN_TEST_f_f1): Likewise.
3347 (RUN_TEST_LOOP_f_f1): Likewise.
3348 (RUN_TEST_fF_f1): Likewise.
3349 (RUN_TEST_LOOP_fF_f1): Likewise.
3350 (RUN_TEST_fI_f1): Likewise.
3351 (RUN_TEST_LOOP_fI_f1): Likewise.
3352 (RUN_TEST_ffI_f1): Likewise.
3353 (RUN_TEST_LOOP_ffI_f1): Likewise.
3354 (RUN_TEST_c_c): Likewise.
3355 (RUN_TEST_LOOP_c_c): Likewise.
3356 (RUN_TEST_cc_c): Likewise.
3357 (RUN_TEST_LOOP_cc_c): Likewise.
3358 (RUN_TEST_f_i): Likewise.
3359 (RUN_TEST_LOOP_f_i): Likewise.
3360 (RUN_TEST_f_i_tg): Likewise.
3361 (RUN_TEST_LOOP_f_i_tg): Likewise.
3362 (RUN_TEST_ff_i_tg): Likewise.
3363 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3364 (RUN_TEST_f_b): Likewise.
3365 (RUN_TEST_LOOP_f_b): Likewise.
3366 (RUN_TEST_f_b_tg): Likewise.
3367 (RUN_TEST_LOOP_f_b_tg): Likewise.
3368 (RUN_TEST_f_l): Likewise.
3369 (RUN_TEST_LOOP_f_l): Likewise.
3370 (RUN_TEST_f_L): Likewise.
3371 (RUN_TEST_LOOP_f_L): Likewise.
3372 (RUN_TEST_sincos): Likewise.
3373 (RUN_TEST_LOOP_sincos): Likewise.
3375 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3379 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3380 main case of finite arguments, set rounding mode to FE_TONEAREST
3381 and discard exceptions.
3382 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3384 (remainder_tonearest_test_data): New variable.
3385 (remainder_test_tonearest): New function.
3386 (remainder_towardzero_test_data): New variable.
3387 (remainder_test_towardzero): New function.
3388 (remainder_downward_test_data): New variable.
3389 (remainder_test_downward): New function.
3390 (remainder_upward_test_data): New variable.
3391 (remainder_test_upward): New function.
3392 (main): Call the new test functions.
3394 * math/libm-test.inc (struct test_f_f1_data): Remove field
3396 (struct test_fF_f1_data): Likewise.
3397 (struct test_ffI_f1_data): Likewise.
3398 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3399 based on value of EXTRA_EXPECTED.
3400 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3401 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3402 EXTRA_VAR based on value of EXTRA_EXPECTED.
3403 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3404 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3405 EXTRA_VAR based on value of EXTRA_EXPECTED.
3406 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3407 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3408 EXTRA_VAR based on value of EXTRA_EXPECTED.
3409 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3410 * math/gen-libm-test.pl (parse_args): Don't output initializers
3411 for extra output values.
3413 * math/libm-test.inc (check_int): Expect result to be exactly
3414 equal to expected value and do not handle ulps.
3415 (check_long): Likewise.
3416 (check_longlong): Likewise.
3418 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3420 (cimag_test_data): Likewise.
3421 (conj_test_data): Likewise.
3422 (copysign_test_data): Likewise.
3423 (cproj_test_data): Likewise.
3424 (creal_test_data): Likewise.
3425 (fabs_test_data): Likewise.
3426 (fdim_test_data): Likewise.
3427 (finite_test_data): Likewise.
3428 (floor_test_data): Likewise.
3429 (fmax_test_data): Likewise.
3430 (fmin_test_data): Likewise.
3431 (fmod_test_data): Likewise.
3432 (fpclassify_test_data): Likewise.
3433 (frexp_test_data): Likewise.
3434 (ilogb_test_data): Likewise.
3435 (isfinite_test_data): Likewise.
3436 (isgreater_test_data): Likewise.
3437 (isgreaterequal_test_data): Likewise.
3438 (isinf_test_data): Likewise.
3439 (isless_test_data): Likewise.
3440 (islessequal_test_data): Likewise.
3441 (islessgreater_test_data): Likewise.
3442 (isnan_test_data): Likewise.
3443 (isnormal_test_data): Likewise.
3444 (issignaling_test_data): Likewise.
3445 (isunordered_test_data): Likewise.
3446 (ldexp_test_data): Likewise.
3447 (lrint_test_data): Likewise.
3448 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3449 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3450 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3451 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3452 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3453 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3455 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3456 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3457 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3458 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3460 (lrint_downward_test_data): Test for "inexact" exceptions.
3461 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3462 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3463 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3465 (lrint_upward_test_data): Test for "inexact" exceptions.
3466 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3468 (llrint_test_data): Test for "inexact" exceptions.
3469 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3470 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3471 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3472 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3473 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3474 (llrint_downward_test_data): Test for "inexact" exceptions.
3475 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3476 (llrint_upward_test_data): Test for "inexact" exceptions.
3477 (logb_test_data): Likewise.
3478 (logb_downward_test_data): Likewise.
3479 (nextafter_test_data): Likewise.
3480 (nexttoward_test_data): Likewise.
3481 (remainder_test_data): Likewise.
3482 (remquo_test_data): Likewise.
3483 (scalbn_test_data): Likewise.
3484 (scalbln_test_data): Likewise.
3485 (signbit_test_data): Likewise.
3486 (sqrt_test_data): Likewise.
3487 (significand_test_data): Likewise.
3489 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3492 * benchtests/bench-modf.c (struct args): Mark arg0 as
3494 * scripts/bench.pl: Mark members of struct args as volatile.
3496 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3500 negative infinity on POWER6 or lower.
3501 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3503 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3506 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3507 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3508 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3509 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3510 (_FP_SETQNAN): New macro.
3511 (_FP_SETQNAN_SEMIRAW): Likewise.
3512 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3513 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3514 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3515 (FP_EXTEND): Use _FP_FRAC_SNANP.
3516 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3517 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3519 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3521 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3524 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3526 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3527 with DIVIDE_BY_ZERO_EXCEPTION.
3528 (gamma_test_data): Likewise.
3529 (lgamma_test_data): Likewise.
3530 (log_test_data): Likewise.
3531 (log10_test_data): Likewise.
3532 (log2_test_data): Likewise.
3533 (tgamma_test_data): Likewise.
3535 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3536 (acos_test_tonearest): Likewise.
3537 (acos_test_towardzero): Likewise.
3538 (acos_test_downward): Likewise.
3539 (acos_test_upward): Likewise.
3540 (acosh_test): Likewise.
3541 (asin_test): Likewise.
3542 (asin_test_tonearest): Likewise.
3543 (asin_test_towardzero): Likewise.
3544 (asin_test_downward): Likewise.
3545 (asin_test_upward): Likewise.
3546 (asinh_test): Likewise.
3547 (atan_test): Likewise.
3548 (atanh_test): Likewise.
3549 (atan2_test): Likewise.
3550 (cabs_test): Likewise.
3551 (cacos_test): Likewise.
3552 (cacosh_test): Likewise.
3553 (casin_test): Likewise.
3554 (casinh_test): Likewise.
3555 (catan_test): Likewise.
3556 (catanh_test): Likewise.
3557 (cbrt_test): Likewise.
3558 (ccos_test): Likewise.
3559 (ccosh_test): Likewise.
3560 (cexp_test): Likewise.
3561 (clog_test): Likewise.
3562 (clog10_test): Likewise.
3563 (cos_test): Likewise.
3564 (cos_test_tonearest): Likewise.
3565 (cos_test_towardzero): Likewise.
3566 (cos_test_downward): Likewise.
3567 (cos_test_upward): Likewise.
3568 (cosh_test): Likewise.
3569 (cosh_test_tonearest): Likewise.
3570 (cosh_test_towardzero): Likewise.
3571 (cosh_test_downward): Likewise.
3572 (cosh_test_upward): Likewise.
3573 (cpow_test): Likewise.
3574 (csin_test): Likewise.
3575 (csinh_test): Likewise.
3576 (csqrt_test): Likewise.
3577 (ctan_test): Likewise.
3578 (ctan_test_tonearest): Likewise.
3579 (ctan_test_towardzero): Likewise.
3580 (ctan_test_downward): Likewise.
3581 (ctan_test_upward): Likewise.
3582 (ctanh_test): Likewise.
3583 (ctanh_test_tonearest): Likewise.
3584 (ctanh_test_towardzero): Likewise.
3585 (ctanh_test_downward): Likewise.
3586 (ctanh_test_upward): Likewise.
3587 (erf_test): Likewise.
3588 (erfc_test): Likewise.
3589 (exp_test): Likewise.
3590 (exp_test_tonearest): Likewise.
3591 (exp_test_towardzero): Likewise.
3592 (exp_test_downward): Likewise.
3593 (exp_test_upward): Likewise.
3594 (exp10_test): Likewise.
3595 (exp2_test): Likewise.
3596 (expm1_test): Likewise.
3597 (fmod_test): Likewise.
3598 (gamma_test): Likewise.
3599 (hypot_test): Likewise.
3600 (j0_test): Likewise.
3601 (j1_test): Likewise.
3602 (jn_test): Likewise.
3603 (lgamma_test): Likewise.
3604 (log_test): Likewise.
3605 (log10_test): Likewise.
3606 (log1p_test): Likewise.
3607 (log2_test): Likewise.
3608 (logb_test_downward): Likewise.
3609 (pow_test): Likewise.
3610 (pow_test_tonearest): Likewise.
3611 (pow_test_towardzero): Likewise.
3612 (pow_test_downward): Likewise.
3613 (pow_test_upward): Likewise.
3614 (remainder_test): Likewise.
3615 (remquo_test): Likewise.
3616 (sin_test): Likewise.
3617 (sin_test_tonearest): Likewise.
3618 (sin_test_towardzero): Likewise.
3619 (sin_test_downward): Likewise.
3620 (sin_test_upward): Likewise.
3621 (sincos_test): Likewise.
3622 (sinh_test): Likewise.
3623 (sinh_test_tonearest): Likewise.
3624 (sinh_test_towardzero): Likewise.
3625 (sinh_test_downward): Likewise.
3626 (sinh_test_upward): Likewise.
3627 (sqrt_test): Likewise.
3628 (tan_test): Likewise.
3629 (tan_test_tonearest): Likewise.
3630 (tan_test_towardzero): Likewise.
3631 (tan_test_downward): Likewise.
3632 (tan_test_upward): Likewise.
3633 (tanh_test): Likewise.
3634 (tgamma_test): Likewise.
3635 (y0_test): Likewise.
3636 (y1_test): Likewise.
3637 (yn_test): Likewise.
3639 * math/gen-libm-test.pl (adjust_arg): Remove function.
3640 (special_function): Remove argument $in_func. Only handle
3641 generating output for tables of tests, not inside functions.
3642 (parse_args): Likewise.
3643 (generate_testfile): Remove variable $in_func. Update call to
3645 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3646 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3647 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3648 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3649 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3650 (MAX_VALUE_INIT): Rename macro to max_value.
3651 (MIN_VALUE_INIT): Rename macro to min_value.
3652 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3653 (plus_zero): Remove variable.
3654 (minus_zero): Likewise.
3655 (plus_infty): Likewise.
3656 (minus_infty): Likewise.
3657 (qnan_value): Likewise.
3658 (max_value): Likewise.
3659 (min_value): Likewise.
3660 (min_subnorm_value): Likewise.
3662 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3664 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3665 uint64_t or uint32_t usage.
3666 * crypt/sha256-block.c: Likewise.
3667 * crypt/sha256-crypt.c: Likewise.
3668 * crypt/sha256.c: Likewise.
3669 * crypt/sha512-block.c: Likewise.
3670 * crypt/sha512-crypt.c: Likewise.
3671 * crypt/sha512.c: Likewise.
3672 * debug/backtrace-tst.c: Likewise.
3673 * debug/pcprofiledump.c: Likewise.
3674 * elf/cache.c: Likewise.
3675 * elf/dl-cache.c: Likewise.
3676 * elf/dl-misc.c: Likewise.
3677 * elf/dl-profile.c: Likewise.
3678 * elf/dl-support.c: Likewise.
3679 * elf/ldconfig.c: Likewise.
3680 * elf/sprof.c: Likewise.
3681 * iconv/dummy-repertoire.c: Likewise.
3682 * iconv/iconv_charmap.c: Likewise.
3683 * iconv/skeleton.c: Likewise.
3684 * iconvdata/8bit-generic.c: Likewise.
3685 * iconvdata/cp737.h: Likewise.
3686 * iconvdata/cp775.h: Likewise.
3687 * iconvdata/ibm1008.h: Likewise.
3688 * iconvdata/ibm1025.h: Likewise.
3689 * iconvdata/ibm1046.h: Likewise.
3690 * iconvdata/ibm1097.h: Likewise.
3691 * iconvdata/ibm1112.h: Likewise.
3692 * iconvdata/ibm1122.h: Likewise.
3693 * iconvdata/ibm1123.h: Likewise.
3694 * iconvdata/ibm1124.h: Likewise.
3695 * iconvdata/ibm1129.h: Likewise.
3696 * iconvdata/ibm1130.h: Likewise.
3697 * iconvdata/ibm1132.h: Likewise.
3698 * iconvdata/ibm1133.h: Likewise.
3699 * iconvdata/ibm1137.h: Likewise.
3700 * iconvdata/ibm1140.h: Likewise.
3701 * iconvdata/ibm1141.h: Likewise.
3702 * iconvdata/ibm1142.h: Likewise.
3703 * iconvdata/ibm1143.h: Likewise.
3704 * iconvdata/ibm1144.h: Likewise.
3705 * iconvdata/ibm1145.h: Likewise.
3706 * iconvdata/ibm1146.h: Likewise.
3707 * iconvdata/ibm1147.h: Likewise.
3708 * iconvdata/ibm1148.h: Likewise.
3709 * iconvdata/ibm1149.h: Likewise.
3710 * iconvdata/ibm1153.h: Likewise.
3711 * iconvdata/ibm1154.h: Likewise.
3712 * iconvdata/ibm1155.h: Likewise.
3713 * iconvdata/ibm1156.h: Likewise.
3714 * iconvdata/ibm1157.h: Likewise.
3715 * iconvdata/ibm1158.h: Likewise.
3716 * iconvdata/ibm1160.h: Likewise.
3717 * iconvdata/ibm1161.h: Likewise.
3718 * iconvdata/ibm1162.h: Likewise.
3719 * iconvdata/ibm1163.h: Likewise.
3720 * iconvdata/ibm1164.h: Likewise.
3721 * iconvdata/ibm1166.h: Likewise.
3722 * iconvdata/ibm1167.h: Likewise.
3723 * iconvdata/ibm12712.h: Likewise.
3724 * iconvdata/ibm1390.h: Likewise.
3725 * iconvdata/ibm1399.h: Likewise.
3726 * iconvdata/ibm16804.h: Likewise.
3727 * iconvdata/ibm4517.h: Likewise.
3728 * iconvdata/ibm4899.h: Likewise.
3729 * iconvdata/ibm4909.h: Likewise.
3730 * iconvdata/ibm4971.h: Likewise.
3731 * iconvdata/ibm5347.h: Likewise.
3732 * iconvdata/ibm803.h: Likewise.
3733 * iconvdata/ibm856.h: Likewise.
3734 * iconvdata/ibm901.h: Likewise.
3735 * iconvdata/ibm902.h: Likewise.
3736 * iconvdata/ibm9030.h: Likewise.
3737 * iconvdata/ibm9066.h: Likewise.
3738 * iconvdata/ibm921.h: Likewise.
3739 * iconvdata/ibm922.h: Likewise.
3740 * iconvdata/ibm9448.h: Likewise.
3741 * iconvdata/isiri-3342.h: Likewise.
3742 * iconvdata/jis0201.h: Likewise.
3743 * include/link.h: Likewise.
3744 * include/netdb.h: Likewise.
3745 * inet/check_native.c: Likewise.
3746 * inet/check_pf.c: Likewise.
3747 * inet/getipv4sourcefilter.c: Likewise.
3748 * inet/getnameinfo.c: Likewise.
3749 * inet/getsourcefilter.c: Likewise.
3750 * inet/htonl.c: Likewise.
3751 * inet/setipv4sourcefilter.c: Likewise.
3752 * inet/setsourcefilter.c: Likewise.
3753 * inet/test-inet6_opt.c: Likewise.
3754 * inet/tst-network.c: Likewise.
3755 * locale/C-collate.c: Likewise.
3756 * locale/C-ctype.c: Likewise.
3757 * locale/C-time.c: Likewise.
3758 * locale/C-translit.h: Likewise.
3759 * locale/loadarchive.c: Likewise.
3760 * locale/programs/3level.h: Likewise.
3761 * locale/programs/charmap.c: Likewise.
3762 * locale/programs/charmap.h: Likewise.
3763 * locale/programs/ld-address.c: Likewise.
3764 * locale/programs/ld-collate.c: Likewise.
3765 * locale/programs/ld-ctype.c: Likewise.
3766 * locale/programs/ld-identification.c: Likewise.
3767 * locale/programs/ld-measurement.c: Likewise.
3768 * locale/programs/ld-messages.c: Likewise.
3769 * locale/programs/ld-monetary.c: Likewise.
3770 * locale/programs/ld-name.c: Likewise.
3771 * locale/programs/ld-numeric.c: Likewise.
3772 * locale/programs/ld-paper.c: Likewise.
3773 * locale/programs/ld-telephone.c: Likewise.
3774 * locale/programs/ld-time.c: Likewise.
3775 * locale/programs/linereader.c: Likewise.
3776 * locale/programs/locale.c: Likewise.
3777 * locale/programs/locarchive.c: Likewise.
3778 * locale/programs/locfile.h: Likewise.
3779 * locale/programs/repertoire.c: Likewise.
3780 * locale/programs/simple-hash.c: Likewise.
3781 * locale/programs/simple-hash.h: Likewise.
3782 * malloc/memusage.c: Likewise.
3783 * malloc/memusagestat.c: Likewise.
3784 * nis/nis_defaults.c: Likewise.
3785 * nis/nis_hash.c: Likewise.
3786 * nis/nis_print.c: Likewise.
3787 * nis/nis_xdr.c: Likewise.
3788 * nscd/connections.c: Likewise.
3789 * nscd/hstcache.c: Likewise.
3790 * nscd/nscd_gethst_r.c: Likewise.
3791 * nscd/nscd_getserv_r.c: Likewise.
3792 * nscd/nscd_helper.c: Likewise.
3793 * nscd/servicescache.c: Likewise.
3794 * nss/makedb.c: Likewise.
3795 * nss/nss_db/db-XXX.c: Likewise.
3796 * nss/nss_db/db-initgroups.c: Likewise.
3797 * nss/nss_db/db-netgrp.c: Likewise.
3798 * nss/nss_files/files-network.c: Likewise.
3799 * nss/nss_files/files-parse.c: Likewise.
3800 * posix/bug-regex5.c: Likewise.
3801 * posix/fnmatch_loop.c: Likewise.
3802 * posix/regcomp.c: Likewise.
3803 * posix/regexec.c: Likewise.
3804 * posix/tst-rfc3484-2.c: Likewise.
3805 * posix/tst-rfc3484-3.c: Likewise.
3806 * posix/tst-rfc3484.c: Likewise.
3807 * resolv/nss_dns/dns-canon.c: Likewise.
3808 * resolv/nss_dns/dns-network.c: Likewise.
3809 * resolv/res_init.c: Likewise.
3810 * resolv/res_mkquery.c: Likewise.
3811 * resolv/tst-aton.c: Likewise.
3812 * stdlib/cxa_atexit.c: Likewise.
3813 * stdlib/cxa_finalize.c: Likewise.
3814 * stdlib/gen-fpioconst.c: Likewise.
3815 * stdlib/strtol_l.c: Likewise.
3816 * string/tst-endian.c: Likewise.
3817 * sunrpc/auth_des.c: Likewise.
3818 * sunrpc/clnt_udp.c: Likewise.
3819 * sunrpc/rtime.c: Likewise.
3820 * sunrpc/svcauth_des.c: Likewise.
3821 * sunrpc/xdr.c: Likewise.
3822 * sunrpc/xdr_intXX_t.c: Likewise.
3823 * sunrpc/xdr_rec.c: Likewise.
3824 * sysdeps/generic/ldconfig.h: Likewise.
3825 * sysdeps/generic/ldsodefs.h: Likewise.
3826 * sysdeps/generic/memusage.h: Likewise.
3827 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3830 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3837 * sysdeps/posix/getaddrinfo.c: Likewise.
3838 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3839 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3840 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3841 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3842 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3843 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3844 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3845 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3846 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3847 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3848 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3849 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3850 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3851 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3852 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3853 * sysdeps/x86_64/dl-tls.h: Likewise.
3854 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3855 * time/alt_digit.c: Likewise.
3856 * time/era.c: Likewise.
3857 * wcsmbs/tst-c16c32-1.c: Likewise.
3859 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3861 * math/libm-test.inc (struct test_sincos_data): New type.
3862 (RUN_TEST_LOOP_sincos): New macro.
3863 (sincos_test_data): New variable.
3864 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3866 2013-05-16 Richard Henderson <rth@redhat.com>
3868 * math/atest-exp2.c (LIMB64): New macro.
3869 (CONSTSZ): New macro.
3870 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3872 (print_mpn_fp): ... to function scope.
3873 (read_mpn_hex): Remove.
3875 (exp2_mpn): Use mp_log2.
3876 (main): Use mp_exp1.
3878 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3880 * math/libm-test.inc: Remove comment about not testing "inexact"
3882 (INEXACT_EXCEPTION): New macro.
3883 (NO_INEXACT_EXCEPTION): Likewise.
3884 (INVALID_EXCEPTION_OK): Update value.
3885 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3886 (OVERFLOW_EXCEPTION_OK): Likewise.
3887 (UNDERFLOW_EXCEPTION_OK): Likewise.
3888 (IGNORE_ZERO_INF_SIGN): Likewise.
3889 (ERRNO_UNCHANGED): Likewise.
3890 (ERRNO_EDOM): Likewise.
3891 (ERRNO_ERANGE): Likewise.
3892 (test_exceptions): Handle testing "inexact" exceptions.
3893 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3894 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3895 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3896 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3898 (rint_towardzero_test_data): Likewise.
3899 (rint_downward_test_data): Likewise.
3900 (rint_upward_test_data): Likewise.
3902 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3903 with OVERFLOW_EXCEPTION.
3904 (exp10_test_data): Likewise.
3905 (exp2_test_data): Likewise.
3906 (expm1_test_data): Likewise.
3907 (lgamma_test_data): Likewise.
3908 (pow_test_data): Likewise.
3909 (tgamma_test_data): Likewise.
3910 (yn_test_data): Remove duplicate test of overflow.
3912 * math/libm-test.inc (struct test_cc_c_data): New type.
3913 (RUN_TEST_LOOP_cc_c): New macro.
3914 (cpow_test_data): New variable.
3915 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3917 * math/libm-test.inc (struct test_f_L_data): New type.
3918 (RUN_TEST_LOOP_f_L): New macro.
3919 (llrint_test_data): New variable.
3920 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3921 (llrint_tonearest_test_data): New variable.
3922 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3923 (llrint_towardzero_test_data): New variable.
3924 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3925 (llrint_downward_test_data): New variable.
3926 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3927 (llrint_upward_test_data): New variable.
3928 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3929 (llround_test_data): New variable.
3930 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3932 2013-05-13 Peter Collingbourne <pcc@google.com>
3934 * math/atest-exp2.c (get_log2): Remove const attribute.
3936 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3938 * math/libm-test.inc (struct test_f_l_data): New type.
3939 (RUN_TEST_LOOP_f_l): New macro.
3940 (lrint_test_data): New variable.
3941 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3942 (lrint_tonearest_test_data): New variable.
3943 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3944 (lrint_towardzero_test_data): New variable.
3945 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3946 (lrint_downward_test_data): New variable.
3947 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3948 (lrint_upward_test_data): New variable.
3949 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3950 (lround_test_data): New variable.
3951 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3953 2013-05-15 Peter Collingbourne <pcc@google.com>
3955 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3956 (EXTRACT_WORDS64) Use where appropriate.
3957 (INSERT_WORDS64) Likewise.
3959 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3960 constraints with x constraints.
3961 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3963 * malloc/obstack.c (_obstack_compat): Add initializer.
3965 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3967 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3968 si_trapno and add si_addr_lsb to _sifields.sigfault.
3969 (si_trapno): Remove macro.
3970 (si_addr_lsb): Define new macro.
3971 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3973 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3975 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3976 instead of TEST_f_l.
3977 (llrint_test_tonearest): Likewise.
3978 (llrint_test_towardzero): Likewise.
3979 (llrint_test_downward): Likewise.
3980 (llrint_test_upward): Likewise.
3981 (llround_test): Likewise.
3983 * math/libm-test.inc (struct test_f_i_data): Add comment.
3984 (RUN_TEST_LOOP_f_b): New macro.
3985 (RUN_TEST_LOOP_f_b_tg): Likewise.
3986 (finite_test_data): New variable.
3987 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3988 (isfinite_test_data): New variable.
3989 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3990 (isinf_test_data): New variable.
3991 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3992 (isnan_test_data): New variable.
3993 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3994 (isnormal_test_data): New variable.
3995 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3996 (issignaling_test_data): New variable.
3997 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3998 (signbit_test_data): New variable.
3999 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4001 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4002 with INVALID_EXCEPTION.
4003 (acosh_test_data): Likewise.
4004 (asin_test_data): Likewise.
4005 (atanh_test_data): Likewise.
4006 (fmod_test_data): Likewise.
4007 (log_test_data): Likewise.
4008 (log10_test_data): Likewise.
4009 (log2_test_data): Likewise.
4010 (pow_test_data): Likewise.
4011 (sqrt_test_data): Likewise.
4012 (y0_test_data): Likewise.
4013 (y1_test_data): Likewise.
4014 (yn_test_data): Likewise.
4016 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4019 * math/libm-test.inc (struct test_ff_i_data): New type.
4020 (RUN_TEST_LOOP_ff_i_tg): New macro.
4021 (isgreater_test_data): New variable.
4022 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4023 (isgreaterequal_test_data): New variable.
4024 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4025 (isless_test_data): New variable.
4026 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4027 (islessequal_test_data): New variable.
4028 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4029 (islessgreater_test_data): New variable.
4030 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4031 (isunordered_test_data): New variable.
4032 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4034 2013-05-14 David S. Miller <davem@davemloft.net>
4036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4038 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4040 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4042 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4044 (struct test_f_i_data): Change type of max_ulp to int.
4046 * math/libm-test.inc (test_ffI_f1_data): New type.
4047 (RUN_TEST_LOOP_ffI_f1): New macro.
4048 (remquo_test_data): New variable.
4049 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4051 * setjmp/tst-setjmp-fp.c: New file.
4052 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4053 (link-libm): New variable.
4054 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4056 * math/libm-test.inc (struct test_f_i_data): New type.
4057 (RUN_TEST_LOOP_f_i): New macro.
4058 (RUN_TEST_LOOP_f_i_tg): Likewise.
4059 (fpclassify_test_data): New variable.
4060 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4061 (ilogb_test_data): New variable.
4062 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4064 * math/libm-test.inc (scalbln_test): Correct function name in END
4067 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4068 (RUN_TEST_LOOP_fI_f1): New macro.
4069 (frexp_test_data): New variable.
4070 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4072 * math/libm-test.inc (struct test_fF_f1_data): New type.
4073 (RUN_TEST_LOOP_fF_f1): New macro.
4074 (modf_test_data): New variable.
4075 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4077 * math/libm-test.inc (struct test_f_f1_data): New type.
4078 (RUN_TEST_LOOP_f_f1): New macro.
4079 (gamma_test_data): New variable.
4080 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4081 (lgamma_test_data): New variable.
4082 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4084 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4086 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4087 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4088 (main): Comment "tls" pseudo-hwcap.
4090 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4092 * math/libm-test.inc (struct test_fl_f_data): New type.
4093 (RUN_TEST_LOOP_fl_f): New variable.
4094 (scalbln_test_data): New variable.
4095 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4097 * math/libm-test.inc (struct test_fi_f_data): New type.
4098 (RUN_TEST_LOOP_fi_f): New macro.
4099 (ldexp_test_data): New variable.
4100 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4101 (scalbn_test_data): New variable.
4102 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4104 * math/libm-test.inc (struct test_c_f_data): New type.
4105 (RUN_TEST_LOOP_c_f): New macro.
4106 (cabs_test_data): New variable.
4107 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4108 (carg_test_data): New variable.
4109 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4110 (cimag_test_data): New variable.
4111 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4112 (creal_test_data): New variable.
4113 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4115 * math/libm-test.inc (struct test_if_f_data): New type.
4116 (RUN_TEST_LOOP_if_f): New macro.
4117 (jn_test_data): New variable.
4118 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4119 (yn_test_data): New variable.
4120 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4122 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4124 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4126 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4127 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4129 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4131 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4132 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4133 (bench-deps): Add bench-timing.h.
4134 * benchtests-bench-skeleton.c: Include bench-timing.h.
4135 (main): Use TIMING_* macros instead of clock_gettime.
4136 * benchtests/bench-timing.h: New file.
4139 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4140 Renamed from _LIB_VERSION.
4141 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4143 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4145 * math/libm-test.inc (struct test_fff_f_data): New type.
4146 (RUN_TEST_LOOP_fff_f): New macro.
4147 (fma_test_data): New variable.
4148 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4149 (fma_towardzero_test_data): New variable.
4150 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4151 (fma_downward_test_data): New variable.
4152 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4153 (fma_upward_test_data): New variable.
4154 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4156 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4157 (struct test_c_c_data): New type.
4158 (RUN_TEST_LOOP_c_c): New macro.
4159 (cacos_test_data): New variable.
4160 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4161 (cacosh_test_data): New variable.
4162 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4163 (casin_test_data): New variable.
4164 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4165 (casinh_test_data): New variable.
4166 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4167 (catan_test_data): New variable.
4168 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4169 (catanh_test_data): New variable.
4170 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4171 (ccos_test_data): New variable.
4172 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4173 (ccosh_test_data): New variable.
4174 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4175 (cexp_test_data): New variable.
4176 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4177 (clog_test_data): New variable.
4178 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4179 (clog10_test_data): New variable.
4180 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4181 (conj_test_data): New variable.
4182 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4183 (cproj_test_data): New variable.
4184 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4185 (csin_test_data): New variable.
4186 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4187 (csinh_test_data): New variable.
4188 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4189 (csqrt_test_data): New variable.
4190 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4191 (ctan_test_data): New variable.
4192 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4193 (ctan_tonearest_test_data): New variable.
4194 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4195 (ctan_towardzero_test_data): New variable.
4196 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4197 (ctan_downward_test_data): New variable.
4198 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4199 (ctan_upward_test_data): New variable.
4200 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4201 (ctanh_test_data): New variable.
4202 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4203 (ctanh_tonearest_test_data): New variable.
4204 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4205 (ctanh_towardzero_test_data): New variable.
4206 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4207 (ctanh_downward_test_data): New variable.
4208 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4209 (ctanh_upward_test_data): New variable.
4210 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4211 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4214 * math/libm-test.inc (struct test_ff_f_data): New type.
4215 (struct test_ff_f_data_nexttoward): Likewise.
4216 (RUN_TEST_LOOP_2_f): New macro.
4217 (RUN_TEST_LOOP_ff_f): Likewise.
4218 (atan2_test_data): New variable.
4219 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4220 (copysign_test_data): New variable.
4221 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4222 (fdim_test_data): New variable.
4223 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4224 (fmax_test_data): New variable.
4225 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4226 (fmin_test_data): New variable.
4227 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4228 (fmod_test_data): New variable.
4229 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4230 (hypot_test_data): New variable.
4231 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4232 (nextafter_test_data): New variable.
4233 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4234 (nexttoward_test_data): New variable.
4235 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4236 (pow_test_data): New variable.
4237 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4238 (pow_tonearest_test_data): New variable.
4239 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4240 (pow_towardzero_test_data): New variable.
4241 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4242 (pow_downward_test_data): New variable.
4243 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4244 (pow_upward_test_data): New variable.
4245 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4246 (remainder_test_data): New variable.
4247 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4248 (scalb_test_data): New variable.
4249 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4250 * sysdeps/i386/fpu/libm-test-ulps: Update.
4252 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4254 * math/libm-test.inc (fma_test): Use max_value instead of local
4256 (nextafter_test): Likewise.
4258 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4259 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4260 (acos_downward_test_data): New variable.
4261 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4262 (acos_upward_test_data): New variable.
4263 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4264 (acosh_test_data): New variable.
4265 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (asin_test_data): New variable.
4267 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4268 (asin_tonearest_test_data): New variable.
4269 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4270 (asin_towardzero_test_data): New variable.
4271 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4272 (asin_downward_test_data): New variable.
4273 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4274 (asin_upward_test_data): New variable.
4275 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4276 (asinh_test_data): New variable.
4277 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4278 (atan_test_data): New variable.
4279 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4280 (atanh_test_data): New variable.
4281 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (cbrt_test_data): New variable.
4283 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4284 (ceil_test_data): New variable.
4285 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4286 (cos_test_data): New variable.
4287 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4288 (cos_tonearest_test_data): New variable.
4289 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4290 (cos_towardzero_test_data): New variable.
4291 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4292 (cos_downward_test_data): New variable.
4293 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4294 (cos_upward_test_data): New variable.
4295 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4296 (cosh_test_data): New variable.
4297 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4298 (cosh_tonearest_test_data): New variable.
4299 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4300 (cosh_towardzero_test_data): New variable.
4301 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4302 (cosh_downward_test_data): New variable.
4303 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4304 (cosh_upward_test_data): New variable.
4305 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4306 (erf_test_data): New variable.
4307 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4308 (erfc_test_data): New variable.
4309 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4310 (exp_test_data): New variable.
4311 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4312 (exp_tonearest_test_data): New variable.
4313 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4314 (exp_towardzero_test_data): New variable.
4315 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4316 (exp_downward_test_data): New variable.
4317 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4318 (exp_upward_test_data): New variable.
4319 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4320 (exp10_test_data): New variable.
4321 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4322 (exp2_test_data): New variable.
4323 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4324 (expm1_test_data): New variable.
4325 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4326 (fabs_test_data): New variable.
4327 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4328 (floor_test_data): New variable.
4329 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4330 (j0_test_data): New variable.
4331 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4332 (j1_test_data): New variable.
4333 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4334 (log_test_data): New variable.
4335 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4336 (log10_test_data): New variable.
4337 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4338 (log1p_test_data): New variable.
4339 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4340 (log2_test_data): New variable.
4341 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4342 (logb_test_data): New variable.
4343 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4344 (logb_downward_test_data): New variable.
4345 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4346 (nearbyint_test_data): New variable.
4347 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4348 (rint_test_data): New variable.
4349 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4350 (rint_tonearest_test_data): New variable.
4351 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4352 (rint_towardzero_test_data): New variable.
4353 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4354 (rint_downward_test_data): New variable.
4355 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4356 (rint_upward_test_data): New variable.
4357 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4358 (round_test_data): New variable.
4359 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4360 (sin_test_data): New variable.
4361 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4362 (sin_tonearest_test_data): New variable.
4363 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4364 (sin_towardzero_test_data): New variable.
4365 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4366 (sin_downward_test_data): New variable.
4367 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4368 (sin_upward_test_data): New variable.
4369 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4370 (sinh_test_data): New variable.
4371 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4372 (sinh_tonearest_test_data): New variable.
4373 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4374 (sinh_towardzero_test_data): New variable.
4375 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4376 (sinh_downward_test_data): New variable.
4377 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4378 (sinh_upward_test_data): New variable.
4379 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4380 (sqrt_test_data): New variable.
4381 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4382 (tan_test_data): New variable.
4383 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4384 (tan_tonearest_test_data): New variable.
4385 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4386 (tan_towardzero_test_data): New variable.
4387 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4388 (tan_downward_test_data): New variable.
4389 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4390 (tan_upward_test_data): New variable.
4391 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4392 (tanh_test_data): New variable.
4393 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4394 (tgamma_test_data): New variable.
4395 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4396 (trunc_test_data): New variable.
4397 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4398 (y0_test_data): New variable.
4399 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4400 (y1_test_data): New variable.
4401 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4402 (significand_test_data): New variable.
4403 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4405 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4408 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4410 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4412 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4414 2013-05-10 Andreas Jaeger <aj@suse.de>
4417 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4418 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4420 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4422 * math/gen-libm-test.pl (adjust_arg): New function.
4423 (special_functions): Handle generating output in both functions
4425 (parse_args): Likewise.
4426 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4427 $in_func argument to parse_args.
4428 * math/libm-test.inc (struct test_f_f_data): New type.
4429 (IF_ROUND_INIT_): New macro.
4430 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4431 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4432 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4433 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4434 (ROUND_RESTORE_): Likewise.
4435 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4436 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4437 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4438 (ROUND_RESTORE_FE_UPWARD): Likewise.
4439 (RUN_TEST_LOOP_f_f): New macro.
4440 (acos_test_data): New variable.
4441 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4442 (acos_tonearest_test_data): New variable.
4443 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4445 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4447 * benchtests/bench-skeleton.c (startup): Fix coding style.
4449 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4452 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4453 negative infinity argument.
4454 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4455 negative infinity argument.
4456 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4457 negative infinity argument.
4458 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4461 2013-05-10 Florian Weimer <fweimer@redhat.com>
4463 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4464 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4465 * iconv/iconv_prog.c (main): Likewise.
4466 * locale/programs/charmap-dir.c (charmap_readdir)
4467 (fopen_uncompressed): Likewise.
4468 * locale/programs/locfile.c (siblings_uncached)
4469 (write_locale_data): Use lstat64 instead of lstat.
4470 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4473 2013-05-10 Andreas Jaeger <aj@suse.de>
4476 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4480 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4482 * elf/dl-close.c (_dl_close_worker): Add comments.
4484 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4487 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4489 (__ieee754_rem_pio2l): Update comments.
4492 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4494 (__ieee754_rem_pio2l): Update comments.
4496 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4497 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4499 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4502 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4503 (M_PI_34_LOG10El): Likewise.
4504 (M_PI2_LOG10El): Likewise.
4505 (M_PI4_LOG10El): Likewise.
4506 (M_PI_LOG10El): Likewise.
4508 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4514 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4515 (MINUS_ZERO_INIT): Likewise.
4516 (PLUS_INFTY_INIT): Likewise.
4517 (MINUS_INFTY_INIT): Likewise.
4518 (QNAN_VALUE_INIT): Likewise.
4519 (MAX_VALUE_INIT): Likewise.
4520 (MIN_VALUE_INIT): Likewise.
4521 (MIN_SUBNORM_VALUE_INIT): Likewise.
4522 (plus_zero): Initialize with PLUS_ZERO_INIT.
4523 (minus_zero): Initialize with MINUS_ZERO_INIT.
4524 (plus_infty): Initialize with PLUS_INFTY_INIT.
4525 (minus_infty): Initialize with MINUS_INFTY_INIT.
4526 (qnan_value): Initialize with QNAN_VALUE_INIT.
4527 (max_value): Initialize with MAX_VALUE_INIT.
4528 (min_value): Initialize with MIN_VALUE_INIT.
4529 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4531 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4532 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4533 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4534 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4536 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4537 (RUN_TEST_2_f): Likewise.
4538 (RUN_TEST_ff_f): Likewise.
4539 (RUN_TEST_fi_f): Likewise.
4540 (RUN_TEST_fl_f): Likewise.
4541 (RUN_TEST_fff_f): Likewise.
4542 (RUN_TEST_c_f): Likewise.
4543 (RUN_TEST_f_f1): Likewise.
4544 (RUN_TEST_fF_f1): Likewise.
4545 (RUN_TEST_fI_f1): Likewise.
4546 (RUN_TEST_ffI_f1): Likewise.
4547 (RUN_TEST_c_c): Likewise.
4548 (RUN_TEST_cc_c): Likewise.
4549 (RUN_TEST_f_i): Likewise.
4550 (RUN_TEST_f_i_tg): Likewise.
4551 (RUN_TEST_ff_i_tg): Likewise.
4552 (RUN_TEST_f_b): Likewise.
4553 (RUN_TEST_f_b_tg): Likewise.
4554 (RUN_TEST_f_l): Likewise.
4555 (RUN_TEST_f_L): Likewise.
4556 (RUN_TEST_sincos): Likewise.
4557 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4558 whether to show exceptions. Do not include ");\n" in return
4560 (special_functions): Output call to RUN_TEST_sincos instead of
4561 check_float calls. Update calls to new_test.
4562 (parse_args): Output call to single RUN_TEST_* macro instead of
4563 check_* calls and other assignments. Update calls to new_test.
4569 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4570 input to result for tgamma overflow.
4571 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4572 (gamma_coeff): New variable.
4573 (NCOEFF): New macro.
4574 (gamma_positive): New function.
4575 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4576 underflow here. Use gamma_positive instead of exp (lgamma) for
4578 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4579 (gamma_coeff): New variable.
4580 (NCOEFF): New macro.
4581 (gammaf_positive): New function.
4582 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4583 underflow here. Use gamma_positive instead of exp (lgamma) for
4585 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4586 (gamma_coeff): New variable.
4587 (NCOEFF): New macro.
4588 (gammal_positive): New function.
4589 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4590 underflow here. Use gamma_positive instead of exp (lgamma) for
4592 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4593 (gamma_coeff): New variable.
4594 (NCOEFF): New macro.
4595 (gammal_positive): New function.
4596 (__ieee754_gammal_r): Handle positive infinity, overflow and
4597 underflow here. Handle NaN the same as positive infinity. Remove
4598 check x < 0xffffffff for negative integers. Use gamma_positive
4599 instead of exp (lgamma) for other arguments.
4600 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4601 (gamma_coeff): New variable.
4602 (NCOEFF): New macro.
4603 (gammal_positive): New function.
4604 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4605 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4609 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4610 * sysdeps/generic/math_private.h (__gamma_productf): New
4612 (__gamma_product): Likewise.
4613 (__gamma_productl): Likewise.
4614 * math/Makefile (libm-calls): Add gamma_product.
4615 * math/libm-test.inc (tgamma_test): Add more tests.
4616 * sysdeps/i386/fpu/libm-test-ulps: Update.
4617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4619 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4621 * benchtests/bench-skeleton.c (main): Preheat CPU.
4623 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4625 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4627 2013-05-07 Roland McGrath <roland@hack.frob.com>
4629 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4630 and _dl_skip_args_internal.
4632 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4634 * manual/message.texi (Message Translation): Talk about users.
4635 Message to key mapping impacts design.
4637 2013-05-06 Roland McGrath <roland@hack.frob.com>
4639 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4641 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4643 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4644 * sysdeps/wordsize-64/glob64.c: ... here.
4646 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4647 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4650 * debug/getlogin_r_chk.c: Moved to ...
4651 * login/getlogin_r_chk.c: ... here.
4652 * debug/Makefile (routines): Move getlogin_r_chk to ...
4653 * login/Makefile (routines): ... here.
4654 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4655 * login/Versions (libc: GLIBC_2.4): ... here.
4657 * io/poll.c (__poll): Renamed from poll.
4658 Add libc_hidden_def.
4659 (poll): Define as weak alias.
4661 * debug/ptsname_r_chk.c: Moved to ...
4662 * login/ptsname_r_chk.c: ... here.
4663 * debug/Makefile (routines): Move ptsname_r_chk to ...
4664 * login/Makefile (routines): ... here.
4665 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4666 * login/Versions (libc: GLIBC_2.4): ... here.
4668 * posix/getlogin.c: Moved to ...
4669 * login/getlogin.c: ... here.
4670 * posix/getlogin_r.c: Moved to ...
4671 * login/getlogin_r.c: ... here.
4672 * posix/getlogin_r.c: Moved to ...
4673 * login/getlogin_r.c: ... here.
4674 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4675 * login/Makefile (routines): ... here.
4676 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4677 * login/Versions (libc: GLIBC_2.0): ... here.
4679 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4680 (setrlimit): Define as weak alias.
4682 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4683 Call __ names for open, ftruncate, and close.
4684 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4685 (truncate): Define as weak alias.
4687 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4689 * math/gen-libm-test.pl (parse_args): Initialize x before each
4690 test of frexp, modf and remquo.
4692 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4695 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4701 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4703 2013-05-06 Roland McGrath <roland@hack.frob.com>
4705 * elf/dl-writev.h: New file.
4706 * elf/dl-misc.c: Include it.
4707 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4708 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4710 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4712 * math/libm-test.inc (noXFails): Remove variable.
4713 (noXPasses): Likewise.
4714 (BUILD_COMPLEX_INT): Remove macro.
4715 (print_screen): Remove xfail argument.
4716 (print_screen_max_error): Likewise.
4717 (update_stats): Likewise.
4718 (print_max_error): Likewise. Update calls to other affected
4720 (print_complex_max_error): Likewise.
4721 (test_single_exception): Update calls to print_screen.
4722 (test_single_errno): Likewise.
4723 (check_float_internal): Remove xfail argument. Update calls to
4724 other affected functions.
4725 (check_float): Likewise.
4726 (check_complex): Likewise.
4727 (check_int): Likewise.
4728 (check_long): Likewise.
4729 (check_bool): Likewise.
4730 (check_longlong): Likewise.
4731 (main): Don't print noXFails and noXPasses.
4732 * math/gen-libm-test.pl (top level): Don't mention expected
4733 failure handling in comment.
4734 (new_test): Don't handle expected failures.
4735 (parse_args): Don't mention expected failure handling in comment.
4736 (generate_testfile): Don't handle expected failures.
4737 (parse_ulps): Likewise.
4738 (print_ulps_file): Likewise.
4739 (get_failure): Remove function.
4740 (output_test): Don't handle expected failures.
4741 * make/README.libm-test: Don't mention expected failure handling.
4743 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4744 (minus_zero): Likewise.
4745 (plus_infty): Likewise.
4746 (minus_infty): Likewise.
4747 (qnan_value): Likewise.
4748 (max_value): Likewise.
4749 (min_value): Likewise.
4750 (min_subnorm_value): Likewise.
4751 (initialize): Do not initialize those variables dynamically.
4753 2013-05-03 Roland McGrath <roland@hack.frob.com>
4755 * io/open.c (__open_2): Moved to ...
4756 * io/open_2.c: ... this new file.
4757 * io/open64.c (__open64_2): Moved to ...
4758 * io/open64_2.c: ... this new file.
4759 * io/openat.c (__openat_2): Moved to ...
4760 * io/openat_2.c: ... this new file.
4761 * io/openat64.c (__openat64_2): Moved to ...
4762 * io/openat64_2.c: ... this new file.
4763 * io/Makefile (routines): Add them.
4764 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4765 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4766 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4767 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4768 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4769 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4770 (__openat64): Add hidden_ver.
4771 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4772 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4774 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4775 Separately conditionalize setting of GLRO(dl_sysinfo) so
4776 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4777 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4779 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4781 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4782 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4784 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4785 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4786 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4787 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4788 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4790 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4792 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4795 * math/libm-test.inc (hypot_test): Do not use
4796 IGNORE_ZERO_INF_SIGN.
4798 2013-05-03 Andreas Jaeger <aj@suse.de>
4800 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4802 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4803 (PF_MAX): Adjust for VSOCK change.
4805 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4809 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4812 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4813 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4814 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4816 2013-05-02 David S. Miller <davem@davemloft.net>
4818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4820 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4822 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4824 2013-05-01 Roland McGrath <roland@hack.frob.com>
4826 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4828 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4831 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4832 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4833 Use __attribute__ ((__gnu_inline__)).
4834 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4835 Don't use __attribute__ ((__gnu_inline__)).
4837 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4840 * math/s_catan.c (__catan): Handle small real or imaginary part of
4841 input specially to avoid spurious underflow.
4842 * math/s_catanf.c (__catanf): Likewise.
4843 * math/s_catanh.c (__catanh): Likewise.
4844 * math/s_catanhf.c (__catanhf): Likewise.
4845 * math/s_catanhl.c (__catanhl): Likewise.
4846 * math/s_catanl.c (__catanl): Likewise.
4847 * math/libm-test.inc (catan_test): Add more tests.
4848 (catanh_test): Likewise.
4849 * sysdeps/i386/fpu/libm-test-ulps: Update.
4850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4852 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4856 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4859 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4860 accurately for denominator in atan2.
4861 * math/s_catanf.c (__catanf): Likewise.
4862 * math/s_catanh.c (__catanh): Likewise.
4863 * math/s_catanhf.c (__catanhf): Likewise.
4864 * math/s_catanhl.c (__catanhl): Likewise.
4865 * math/s_catanl.c (__catanl): Likewise.
4866 * math/libm-test.inc (catan_test): Add more tests.
4867 (catanh_test): Likewise.
4868 * sysdeps/i386/fpu/libm-test-ulps: Update.
4869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4871 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4873 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4875 * benchtests/Makefile (bench): Remove slow benchmarks.
4876 * benchtests/atan-inputs: Add slow benchmark inputs.
4877 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4878 (BENCH_FUNC): Accept variant offset.
4880 * benchtests/bench-skeleton.c (main): Run benchmark for each
4882 * benchtests/cos-inputs: Add slow benchmark inputs.
4883 * benchtests/exp-inputs: Likewise.
4884 * benchtests/pow-inputs: Likewise.
4885 * benchtests/sin-inputs: Likewise.
4886 * benchtests/slowatan-inputs: Remove.
4887 * benchtests/slowatan.c: Remove.
4888 * benchtests/slowcos-inputs: Remove.
4889 * benchtests/slowcos.c: Remove.
4890 * benchtests/slowexp-inputs: Remove.
4891 * benchtests/slowexp.c: Remove.
4892 * benchtests/slowpow-inputs: Remove.
4893 * benchtests/slowpow.c: Remove.
4894 * benchtests/slowsin-inputs: Remove.
4895 * benchtests/slowsin.c: Remove.
4896 * benchtests/slowtan-inputs: Remove.
4897 * benchtests/slowtan.c: Remove.
4898 * benchtests/tan-inputs: Add slow benchmark inputs.
4899 * scripts/bench.pl: Parse comments and directives.
4901 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4903 ($(objpfx)bench-%.c): Remove *-ITER.
4904 * benchtests/bench-modf.c: Remove definition of ITER.
4905 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4906 (main): Loop for DURATION seconds instead of fixed number of
4908 * scripts/bench.pl: Don't expect iterations in parameters.
4910 2013-04-29 Roland McGrath <roland@hack.frob.com>
4912 * io/fchdir.c (__fchdir): Renamed from fchdir.
4913 (fchdir): Define as weak alias.
4915 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4917 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4918 (ERRNO_EDOM): Likewise.
4919 (ERRNO_ERANGE): Likewise.
4920 (noErrnoTests): New variable.
4921 (init_max_error): Set errno to 0.
4922 (test_single_errno): New function.
4923 (test_errno): Likewise.
4924 (check_float_internal): Call test_errno. Set errno to 0.
4925 (check_complex): Refer to errno tests in comment.
4926 (check_int): Call test_errno. Set errno to 0.
4927 (check_long): Likewise.
4928 (check_bool): Likewise.
4929 (check_longlong): Likewise.
4930 (cos_test): Use ERRNO_* flags for errno tests instead of
4932 (expm1_test): Likewise.
4933 (fmod_test): Likewise.
4934 (ilogb_test): Likewise.
4935 (lgamma_test): Likewise.
4936 (pow_test): Likewise.
4937 (remainder_test): Likewise.
4938 (sin_test): Likewise.
4939 (tan_test): Likewise.
4940 (yn_test): Likewise.
4941 (initialize): Set errno to 0.
4942 (main): Print number of errno tests.
4943 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4945 2013-04-29 Andreas Jaeger <aj@suse.de>
4948 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4952 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4953 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4957 * stdlib/random.c (__initstate): Return NULL if
4961 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4962 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4965 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4969 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4971 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4972 of individual tests.
4973 (casin_test): Likewise.
4974 (casinh_test): Likewise.
4976 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4979 * math/s_catan.c (__catan): Handle arguments with large real or
4980 imaginary part separately without squaring.
4981 * math/s_catanf.c (__catanf): Likewise.
4982 * math/s_catanh.c (__catanh): Likewise.
4983 * math/s_catanhf.c (__catanhf): Likewise.
4984 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4986 (__catanhl): Handle arguments with large real or imaginary part
4987 separately without squaring.
4988 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4990 (__catanl): Handle arguments with large real or imaginary part
4991 separately without squaring.
4992 * math/libm-test.inc (catan_test): Add more tests.
4993 (catanh_test): Likewise.
4994 * sysdeps/i386/fpu/libm-test-ulps: Update.
4995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4997 2013-04-27 Andreas Jaeger <aj@suse.de>
5000 * stdlib/stdlib.h: Update guards for qecvt.
5001 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5004 2013-04-27 Allan McRae <allan@archlinux.org>
5006 * sysdeps/i386/fpu/libm-test-ulps: Update.
5008 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5011 * math/s_catan.c: Include <float.h>.
5012 (__catan): Ensure underflow exception occurs for underflowed
5014 * math/s_catanf.c: Include <float.h>.
5015 (__catanf): Ensure underflow exception occurs for underflowed
5017 * math/s_catanh.c: Include <float.h>.
5018 (__catanh): Ensure underflow exception occurs for underflowed
5020 * math/s_catanhf.c: Include <float.h>.
5021 (__catanhf): Ensure underflow exception occurs for underflowed
5023 * math/s_catanhl.c: Include <float.h>.
5024 (__catanhl): Ensure underflow exception occurs for underflowed
5026 * math/s_catanl.c: Include <float.h>.
5027 (__catanl): Ensure underflow exception occurs for underflowed
5029 * math/libm-test.inc (catan_test): Add more tests.
5030 (catanh_test): Likewise.
5033 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5035 * math/s_ccoshf.c (__ccoshf): Likewise.
5036 * math/s_ccoshl.c (__ccoshl): Likewise.
5037 * math/s_csin.c (__csin): Likewise.
5038 * math/s_csinf.c (__csinf): Likewise.
5039 * math/s_csinh.c (__csinh): Likewise.
5040 * math/s_csinhf.c (__csinhf): Likewise.
5041 * math/s_csinhl.c (__csinhl): Likewise.
5042 * math/s_csinl.c (__csinl): Likewise.
5043 * math/libm-test.inc (ccos_test): Add more tests.
5044 (ccosh_test): Likewise.
5045 (csin_test): Likewise.
5046 (csinh_test): Likewise.
5048 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5050 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5051 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5052 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5053 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5054 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5055 powerpc/power5+/fpu folders.
5056 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5059 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5063 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5065 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5066 additions to variable.
5067 [$(config-machine) = x86_64] (modules-names): Likewise.
5068 ($(objpfx)tst-audit3): Remove dependency.
5069 ($(objpfx)tst-audit3.out): Likewise.
5070 ($(objpfx)tst-audit4): Likewise.
5071 ($(objpfx)tst-audit4.out): Likewise.
5072 ($(objpfx)tst-audit5): Likewise.
5073 ($(objpfx)tst-audit5.out): Likewise.
5074 ($(objpfx)tst-audit6): Likewise.
5075 ($(objpfx)tst-audit6.out): Likewise.
5076 ($(objpfx)tst-audit7): Likewise.
5077 ($(objpfx)tst-audit7.out): Likewise.
5078 (tst-audit3-ENV): Remove variable.
5079 (tst-audit4-ENV): Likewise.
5080 (tst-audit5-ENV): Likewise.
5081 (tst-audit6-ENV): Likewise.
5082 (tst-audit7-ENV): Likewise.
5083 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5084 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5085 addition to variable.
5086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5087 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5088 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5089 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5090 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5091 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5092 tst-audit3, tst-audit4 and tst-audit5.
5093 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5094 tst-audit6 and tst-audit7.
5095 [$(subdir) = elf] (modules-names): Add audit modules for those
5097 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5098 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5099 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5100 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5101 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5102 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5103 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5104 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5105 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5106 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5107 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5108 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5109 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5110 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5111 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5112 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5114 [$(subdir) = elf && $(config-cflags-avx) = yes]
5115 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5116 [$(subdir) = elf && $(config-cflags-avx) = yes]
5117 (CFLAGS-tst-auditmod4a.c): Likewise.
5118 [$(subdir) = elf && $(config-cflags-avx) = yes]
5119 (CFLAGS-tst-auditmod4b.c): Likewise.
5120 [$(subdir) = elf && $(config-cflags-avx) = yes]
5121 (CFLAGS-tst-auditmod6b.c): Likewise.
5122 [$(subdir) = elf && $(config-cflags-avx) = yes]
5123 (CFLAGS-tst-auditmod6c.c): Likewise.
5124 [$(subdir) = elf && $(config-cflags-avx) = yes]
5125 (CFLAGS-tst-auditmod7b.c): Likewise.
5126 * elf/tst-audit3.c: Move to ...
5127 * sysdeps/x86_64/tst-audit3.c: ... here.
5128 * elf/tst-audit4.c: Move to ...
5129 * sysdeps/x86_64/tst-audit4.c: ... here.
5130 * elf/tst-audit5.c: Move to ...
5131 * sysdeps/x86_64/tst-audit5.c: ... here.
5132 * elf/tst-audit6.c: Move to ...
5133 * sysdeps/x86_64/tst-audit6.c: ... here.
5134 * elf/tst-audit7.c: Move to ...
5135 * sysdeps/x86_64/tst-audit7.c: ... here.
5136 * elf/tst-auditmod3a.c: Move to ...
5137 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5138 * elf/tst-auditmod3b.c: Move to ...
5139 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5140 * elf/tst-auditmod4a.c: Move to ...
5141 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5142 * elf/tst-auditmod4b.c: Move to ...
5143 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5144 * elf/tst-auditmod5a.c: Move to ...
5145 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5146 * elf/tst-auditmod5b.c: Move to ...
5147 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5148 * elf/tst-auditmod6a.c: Move to ...
5149 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5150 * elf/tst-auditmod6b.c: Move to ...
5151 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5152 * elf/tst-auditmod6c.c: Move to ...
5153 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5154 * elf/tst-auditmod7a.c: Move to ...
5155 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5156 * elf/tst-auditmod7b.c: Move to ...
5157 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5159 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5162 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5163 define unconditionally.
5164 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5165 define unconditionally.
5166 (INT8_C, INT16_C, etc.): Likewise.
5168 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5170 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5171 __ehdr_start with hidden visibility.
5173 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5175 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5177 * math/libm-test.inc (cos_test): Use accurate hex constants.
5178 (sincost_test): Likewise.
5180 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5182 * math/libm-test.inc (catan_test): Add more tests.
5183 (catanh_test): Likewise.
5185 * math/s_catanf.c (__catanf): Use suffixed floating-point
5187 * math/s_catanhf.c (__catanhf): Likewise.
5188 * math/s_catanhl.c (__catanhl): Likewise.
5189 * math/s_catanl.c (__catanl): Likewise.
5192 * math/s_catan.c (__catan): Calculate imaginary part of result
5193 with log1p not log unless computing log of number close to 0.
5194 * math/s_catanf.c (__catanf): Likewise.
5195 * math/s_catanl.c (__catanl): Likewise.
5196 * math/s_catanh.c (__catanh): Calculate real part of result with
5197 log1p not log unless computing log of number close to 0.
5198 * math/s_catanhf.c (__catanhf): Likewise.
5199 * math/s_catanhl.c (__catanhl): Likewise.
5200 * math/libm-test.inc (catan_test): Add more tests.
5201 (catanh_test): Likewise.
5202 * sysdeps/i386/fpu/libm-test-ulps: Update.
5203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5205 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5207 * benchtests/Makefile: Mention files in which fast and slow
5208 paths of math functions are implemented.
5210 2013-04-23 Roland McGrath <roland@hack.frob.com>
5212 * sysdeps/posix/timespec_get.c: New file.
5214 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5218 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5220 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5221 powerpc/power5/fpu folders.
5222 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5223 * benchtests/Makefile: Add modf testcase.
5224 * benchtests/bench-modf.c: New file: Benchmark test for mo
5226 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5229 * time/Makefile (tests): Add tst-strptime-whitespace.
5230 * time/strptime_l.c (get_number): Use ISSPACE.
5231 (__strptime_internal): Likewise.
5232 * time/tst-strptime-whitespace.c: New test case.
5234 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5236 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5238 (_nss_files_init): Set it here.
5240 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5242 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5243 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5246 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5248 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5250 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5255 2013-04-21 David S. Miller <davem@davemloft.net>
5257 * po/ru.po: Update Russion translation from translation project.
5259 2013-04-17 Adam Conrad <adconrad@0c3.net>
5261 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5264 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5266 * configure.in: Remove i386 configure warning. Remove i386 case.
5267 * configure: Regenerate.
5268 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5269 Add example to error message.
5270 * sysdeps/i386/configure: Regenerate.
5272 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5274 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5276 * benchtests/cos-inputs: New file.
5277 * benchtests/slowcos-inputs: New file.
5278 * benchtests/slowcos.c: New file.
5279 * benchtests/slowtan-inputs: New file.
5280 * benchtests/slowtan.c: New file.
5281 * benchtests/tan-inputs: New file.
5283 2013-04-16 Roland McGrath <roland@hack.frob.com>
5285 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5288 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * benchtests/Makefile: Include cppflags-iterator.mk to add
5291 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5293 * Makefile.in (bench-clean): New target.
5294 * benchtests/Makefile (bench-clean): Likewise.
5296 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5298 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5300 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5302 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5304 2013-04-15 Andreas Schwab <schwab@suse.de>
5306 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5308 * nscd/pwdcache.c (cache_addpw): Likewise.
5309 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5312 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5314 * benchtests/Makefile (bench): Write all output to
5315 bench-out.tmp together.
5317 2013-04-15 Andreas Schwab <schwab@suse.de>
5319 * nscd/nscd.c (main): Don't fork again after closing files.
5321 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5325 * benchtests/Rules (bench-deps): Collect dependencies into a
5326 single variable. Add Makefile to dependencies.
5327 ($(objpfx)bench-%.c): Depend on bench-deps.
5329 2013-04-12 Roland McGrath <roland@hack.frob.com>
5330 Xavier Roche <roche+kml2@exalead.com>
5333 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5334 just that it's a file descriptor.
5335 * manual/llio.texi (Synchronizing AIO Operations): Update description
5336 for EBADF error from aio_fsync.
5338 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5340 * Rules (bench): Move target definition...
5341 * benchtests/Makefile: ... here.
5343 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5345 * math/libm-test.inc (cos_test): Fix PI/2 test.
5346 (sincos_test): Likewise.
5347 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5348 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5350 2013-04-11 Andreas Schwab <schwab@suse.de>
5353 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5354 accept exponent character only when digits were seen.
5355 * stdio-common/Makefile (tests): Add bug26.
5356 * stdio-common/bug26.c: New file.
5359 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5362 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5364 * Makeconfig (rtld-prefix): Define built linker prefix.
5365 * Rules (run-bench): Use it.
5366 * math/Makefile (run-regen-ulps): Likewise.
5368 * Rules (bench): Remove eval.
5370 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5371 Roland McGrath <roland@hack.frob.com>
5372 Ondrej Bilka <neleai@seznam.cz>
5375 * time/getdate.c: Include ctype.h and alloca.h.
5376 (__getdate_r): Trim leading and trailing spaces of input.
5377 * time/tst-getdate.c (tests): Add tests with leading and
5380 2013-04-08 Roland McGrath <roland@hack.frob.com>
5383 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5384 when computing value.
5386 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5388 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5389 Use testrun.sh to run libm tests.
5392 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5394 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5397 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5399 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5401 * Makefile.in (regen-ulps): New target.
5402 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5403 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5404 [ifneq (no,$(PERL)] (regen-ulps): New target.
5405 [ifeq (no,$(PERL)] (regen-ulps): New target.
5406 * math/libm-test.inc (ulps_file_name): Define.
5407 (output_dir): New variable.
5408 (options): Add "output-dir" option.
5409 (parse_opt): Handle 'o' case.
5410 (main): If output_dir is non-NULL use it as a prefix
5412 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5414 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5417 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5418 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5419 fail configure if __sync_val_compare_and_swap is not inlined.
5420 * sysdeps/i386/configure: Regenerate.
5421 * configure.in: Build for i686 when configured for i386.
5422 * configure: Regenerate.
5423 * README: Remove i386 reference.
5425 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5427 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5428 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5430 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5432 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5433 (lmsnanval): New variables.
5434 (F): Add conversion tests.
5435 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5436 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5438 * stdio-common/tstdiomisc.c (F): Properly collect individual
5442 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5443 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5444 Instead, use input NaN values or generate a qNaN by arithmetic
5445 operation. Also fix bugs to comply with the standard.
5446 * math/libm-test.inc (remainder_test): Add more tests.
5449 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5451 input NaN values or generate a qNaN by arithmetic operation.
5453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5456 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5459 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5462 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5464 * math/s_cexpf.c (__cexpf): Likewise.
5465 * math/s_cexpl.c (__cexpl): Likewise.
5466 * math/libm-test.inc (cexp_test): Add more tests.
5468 2013-04-03 Andreas Schwab <schwab@suse.de>
5471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5472 order arrays from heap if bigger than alloca cutoff.
5474 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5476 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5477 (SNAN_TESTS_double): Refer to GCC PR56831.
5478 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5481 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5483 * Rules (bench): Move bench.out after the run is complete.
5485 * Rules (bench): Echo currently running benchmark.
5487 * benchtests/Makefile (bench): Add atan and slowatan.
5488 * benchtests/atan-inputs: New file.
5489 * benchtests/slowatan-inputs: New file.
5490 * benchtests/slowatan.c: New file.
5492 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5497 * sysdeps/unix/sysv/linux/kernel-features.h
5498 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5499 __ASSUME_XFS_RESTRICTED_CHOWN.
5500 * sysdeps/unix/sysv/linux/pathconf.c
5501 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5502 Save and restore errno.
5504 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5507 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5508 arguments using __kernel_casinh.
5509 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5510 arguments using __kernel_casinhf.
5511 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5512 arguments using __kernel_casinhl.
5513 * math/libm-test.inc (cacosh_test): Add more tests.
5514 * sysdeps/i386/fpu/libm-test-ulps: Update.
5515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5519 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5522 * bench/Makefile (bench): Add sin and slowsin.
5523 * benchtests/sin-inputs: New file.
5524 * benchtests/slowsin-inputs: New file.
5525 * benchtests/slowsin.c: New file.
5527 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5528 (bench): Add slowexp and slowpow.
5529 (exp-ITER): Increase iterations.
5530 (pow-ITER): Likewise.
5531 * benchtests/exp-inputs: Change input.
5532 * benchtests/pow-inputs: Likewise.
5533 * benchtests/slowexp-inputs: New file.
5534 * benchtests/slowexp.c: New file.
5535 * benchtests/slowpow-inputs: New file.
5536 * benchtests/slowpow.c: New file.
5538 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5542 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5543 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5544 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5545 * benchtests/Makefile: Add rint benchtest.
5546 * benchtests/rint-inputs: Input for rint benchtest.
5548 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5550 * Versions.def (libm): Add GLIBC_2.18.
5551 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5552 hidden libm prototypes.
5553 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5554 * math/Makefile (libm-calls): Add s_issignaling.
5555 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5556 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5557 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5559 * math/math.h [__USE_GNU] (issignaling): New macro.
5560 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5561 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5563 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5566 * manual/arith.texi (issignaling): New section.
5567 * manual/libm-err-tab.pl (@all_functions): Update comment.
5568 * math/gen-libm-test.pl (parse_args): Apply special handling for
5570 * math/libm-test.inc (print_float, issignaling_test): New
5572 (check_float_internal): Add issignaling checks.
5573 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5575 * sysdeps/powerpc/math-tests.h: New file.
5576 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5578 * math/test-snan.c (TEST_FUNC): Likewise.
5580 2013-03-30 David S. Miller <davem@davemloft.net>
5582 * po/de.po: Update from translation team.
5584 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5587 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5588 imaginary part less than 1.0 and real part less than 0.5
5590 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5591 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5592 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5593 (cacos_test): Add more tests.
5594 (casin_test): Likewise.
5595 (casinh_test): Likewise.
5596 * sysdeps/i386/fpu/libm-test-ulps: Update.
5597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5601 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5604 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5605 (__pow_mp): Replace ONE and MONE with their values.
5606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5607 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5608 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5609 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5610 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5611 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5613 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5615 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5616 (__pow_mp): Replace ZERO and MZERO with their values.
5617 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5618 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5619 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5621 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5622 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5625 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5627 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5629 2013-03-28 Roland McGrath <roland@hack.frob.com>
5631 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5632 Declare with __attribute__ ((weak)).
5633 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5634 Call __call_tls_dtors only if it's not NULL.
5636 2013-03-28 Roland McGrath <roland@hack.frob.com>
5638 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5639 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5640 magic __ehdr_start linker symbol if it's defined.
5641 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5642 them up here if it was already done.
5644 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5645 (_dl_aux_init): Use const in cast when setting it.
5646 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5647 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5648 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5650 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5652 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5653 * csu/libc-tls.c: Nor here.
5654 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5656 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5657 (__libc_message): Never call vsyslog.
5659 2013-03-28 Alan Modra <amodra@gmail.com>
5661 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5663 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5666 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5673 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5676 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5677 Don't add gid passed as argument.
5679 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5681 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5684 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5685 imaginary part between 1.0 and 1.5 and real part less than 0.5
5687 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5688 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5689 * math/libm-test.inc (cacos_test): Add more tests.
5690 (casin_test): Likewise.
5691 (casinh_test): Likewise.
5692 * sysdeps/i386/fpu/libm-test-ulps: Update.
5693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5695 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5697 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5701 (__dbl_mp): Likewise.
5702 (add_magnitudes): Likewise.
5703 (sub_magnitudes): Likewise.
5711 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5713 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5714 (__dubcos): Likewise.
5715 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5716 (__ieee754_acos): Likewise.
5717 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5718 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5720 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5723 (my_log2): Likewise.
5724 (checkint): Likewise.
5725 * sysdeps/ieee754/dbl-64/e_remainder.c
5726 (__ieee754_remainder): Likewise.
5727 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5728 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5730 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5732 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5733 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5734 MANTISSA_STORE_T to store computations on mantissa. Use
5735 macros for rounding and division.
5737 (__dbl_mp): Likewise.
5738 (add_magnitudes): Likewise.
5739 (sub_magnitudes): Likewise.
5742 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5743 powers of two in terms of TWOPOW macro.
5744 (mp_no): Make type of mantissa as MANTISSA_T.
5745 [!RADIXI]: Define RADIXI.
5746 [!TWO52]: Define TWO52.
5747 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5749 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5752 llroundl symbol when building for PPC32.
5754 2013-03-24 Mark H Weaver <mhw@netris.org>
5756 * manual/arith.texi (Normalization Functions): Fix prototypes for
5757 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5759 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5763 high value to check if expl overflow.
5764 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5765 to check for underflow and overflow.
5766 * math/libm-test.inc: Add exp test.
5768 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5771 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5774 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5779 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5781 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5782 wrap blocks consisting of several statements.
5784 * sysdeps/generic/math-tests.h: New file.
5785 * sysdeps/i386/fpu/math-tests.h: Likewise.
5786 * math/test-snan.c: Include it.
5787 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5789 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5792 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5793 (__ieee754_j0l): Do not improve calculations using cos of twice
5794 input for inputs above LDBL_MAX / 2.0L.
5795 (__ieee754_y0l): Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5797 (__ieee754_j1l): Do not improve calculations using cos of twice
5798 input for inputs above LDBL_MAX / 2.0L.
5799 (__ieee754_y1l): Likewise.
5800 * math/libm-test.inc (j0_test): Add another test.
5801 (j1_test): Likewise.
5802 (y0_test): Likewise.
5803 (y1_test): Likewise.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5806 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5808 * Rules ($(objpfx)bench-%.c): Include code from a C source
5811 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5815 imaginary part 1.0 and real part less than 0.5 specially.
5816 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5817 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5818 * math/libm-test.inc (cacos_test): Add more tests.
5819 (casin_test): Likewise.
5820 (casinh_test): Likewise.
5821 * sysdeps/i386/fpu/libm-test-ulps: Update.
5822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5824 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5826 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5827 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5829 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5831 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5832 * config.make.in (config-cflags-sse4): Remove variable.
5833 (config-cflags-avx): Likewise.
5834 (config-cflags-sse2avx): Likewise.
5835 (config-cflags-novzeroupper): Likewise.
5836 (config-asflags-i686): Likewise.
5837 (have-mfma4): Likewise.
5838 (have-as-vis3): Likewise.
5840 * configure.in (MIG): Do not AC_SUBST.
5841 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5842 (libc_cv_cc_sse4): Do not AC_SUBST.
5843 (libc_cv_cc_avx): Likewise.
5844 (libc_cv_cc_sse2avx): Likewise.
5845 (libc_cv_cc_novzeroupper): Likewise.
5846 (libc_cv_cc_fma4): Likewise.
5847 (libc_cv_as_i686): Likewise.
5848 (libc_cv_sparc_as_vis3): Likewise.
5849 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5851 (config-asflags-i686): Likewise.
5852 (config-cflags-avx): Likewise.
5853 (config-cflags-sse2avx): Likewise.
5854 (have-mfma4): Likewise.
5855 (config-cflags-novzeroupper): Likewise.
5856 * sysdeps/mach/configure.in (MIG): Likewise.
5857 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5858 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5860 (config-cflags-avx): Likewise.
5861 (config-cflags-sse2avx): Likewise.
5862 (have-mfma4): Likewise.
5863 (config-cflags-novzeroupper): Likewise.
5864 * configure: Regenerated.
5865 * sysdeps/i386/configure: Likewise.
5866 * sysdeps/mach/configure: Likewise.
5867 * sysdeps/sparc/configure: Likewise.
5868 * sysdeps/x86_64/configure: Likewise.
5870 2013-03-20 Roland McGrath <roland@hack.frob.com>
5873 * locale/programs/localedef.c (options): Put N_ translation marker
5874 on argument names, not just descriptions.
5876 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5878 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5880 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5883 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5885 2013-03-19 Roland McGrath <roland@hack.frob.com>
5887 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5888 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5889 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5890 [!BEFORE_ABORT] (before_abort): New function.
5891 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5892 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5893 (writev_for_fatal): New function.
5894 (WRITEV_FOR_FATAL): New macro; call that.
5895 (backtrace_and_maps): New function.
5896 (BEFORE_ABORT): New macro; call that.
5897 (struct str_list): Type removed.
5898 (__libc_message, __libc_fatal): Functions removed.
5899 Include <sysdeps/posix/libc_fatal.c> instead.
5901 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5903 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5905 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5908 2013-03-19 Andreas Schwab <schwab@suse.de>
5910 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5911 * sysdeps/gnu/configure: Regenerate.
5913 * configure.in: Substitute libc_cv_rtlddir.
5914 * configure: Regenerate.
5915 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5916 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5917 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5918 * elf/Makefile (install-others, CFLAGS-interp.c)
5919 (ldso_install, common-ldd-rewrite): Likewise.
5920 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5921 $(inst_slibdir)/$(rtld-installed-name).
5922 * scripts/rellns-sh: Add -p option.
5923 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5926 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5928 * manual/nptl.texi: Renamed to ...
5929 * manual/threads.texi: ... this.
5930 * manual/Makefile (chapters): Update.
5932 2013-03-18 Roland McGrath <roland@hack.frob.com>
5935 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5936 on argument names, not just descriptions.
5937 * malloc/memusagestat.c (options): Likewise.
5938 * nss/getent.c (options): Likewise.
5940 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5943 * iconv/iconv_prog.c (options): Put N_ translation marker
5944 on argument names, not just descriptions.
5945 * iconv/iconvconfig.c (options): Likewise.
5947 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5949 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5950 implementation which is faster on all x86_64 architectures.
5951 Tested on AMD, Intel Nehalem, SNB, IVB.
5952 * sysdeps/x86_64/strnlen.S: Likewise.
5954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5955 Remove all multiarch strlen and strnlen versions.
5956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5957 Remove strlen and strnlen related parts.
5959 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5963 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5964 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5965 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5966 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5967 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5968 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5970 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5972 * manual/memory.texi (Malloc Tunable Parameters):
5973 Sort parameters alphabetically. Add comments for missing entries.
5975 2013-03-17 David S. Miller <davem@davemloft.net>
5977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5979 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5982 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5983 for arguments at most half maximum finite value.
5984 * math/libm-test.inc (j0_test): Add more tests.
5985 (j1_test): Likewise.
5986 (y0_test): Likewise.
5987 (y1_test): Likewise.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5992 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5993 1 / x and functions P and Q for arguments above 0x1p256L.
5994 (__ieee754_y0l): Likewise.
5995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5996 (__ieee754_y1l): Likewise.
5997 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5998 (j1_test): Likewise.
5999 (y0_test): Likewise.
6000 (y1_test): Likewise.
6002 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6004 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6007 2013-03-15 Roland McGrath <roland@hack.frob.com>
6009 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6010 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6011 zero since it's initialized to EXEC_PAGESIZE.
6013 * sysdeps/unix/sysv/linux/ldsodefs.h
6014 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6015 * sysdeps/generic/ldsodefs.h: ... here.
6017 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6019 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6021 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6023 * math/test-snan.c: Renamed from
6024 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6025 * math/Makefile (tests): Add test-snan.
6026 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6029 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6030 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6032 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6033 __builtin_nan family of functions.
6034 * math/libm-test.inc (initialize): Initialize qnan_value with
6035 __builtin_nan family of functions.
6036 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6038 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6040 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6041 storage class. Initialize qNaN_var and sNaN_var with
6042 __builtin_nan and __builtin_nans families of functions,
6045 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6046 (sqrt_test): Remove duplicate test with qNaN input.
6047 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6048 (round_test, signbit_test, significand_test): Note missing +/-Inf
6049 as well as qNaN tests.
6051 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6052 qNaN_var. Fix a few strings, too.
6053 * math/libm-test.inc (nan_value): Rename to qnan_value.
6054 * math/gen-libm-test.pl (%beautify): Adjust to that.
6055 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6056 * math/test-misc.c (main): Likewise.
6057 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6058 to __qnan_bytes, and __qnan_union, respectively.
6059 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6061 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6062 and lqnanval, respectively.
6063 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6064 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6065 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6066 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6068 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6069 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6072 * math/test-misc.c (main): Fix copy'n'pastos.
6073 * misc/tst-efgcvt.c (special): Likewise.
6075 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6076 Remove declarations.
6078 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6080 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6081 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6082 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6083 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6085 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6088 macro to return vdso values correctly in IFUNC implementations.
6089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6090 Optimization by using IFUNC.
6092 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6093 Richard Henderson <rth@redhat.com>
6094 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6096 * Makefile.in (bench): New target.
6097 * NEWS: Mention the benchmark framework.
6098 * Rules (bench): Likewise.
6099 (binaries-bench): Generate binaries for functions to
6101 * benchtests/Makefile: New makefile for benchmark tests.
6102 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6104 * benchtests/exp-inputs: New input file for EXP function.
6105 * benchtests/pow-inputs: New input file for POW function.
6106 * scripts/bench.pl: New script to generate source files for
6109 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6111 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6112 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6113 computations on mantissa. Use macros for rounding and
6116 (__dbl_mp): Likewise.
6117 (add_magnitudes): Likewise.
6118 (sub_magnitudes): Likewise.
6121 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6122 powers of two in terms of TWOPOW macro.
6123 (mp_no): Make type of mantissa as MANTISSA_T.
6124 [!RADIXI]: Define RADIXI.
6125 [!TWO52]: Define TWO52.
6126 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6128 * manual/nptl.texi (cindex): Modify threads to pthreads.
6130 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6132 * sysdeps/x86_64/preconfigure: Regenerated.
6134 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6137 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6139 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6140 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6142 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6143 * math/libm-test.inc (j0_test): Do not allow one spurious
6144 underflow exception.
6145 (y1_test): Likewise.
6147 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6149 * manual/Makefile (chapters): Add nptl.
6150 * manual/debug.texi (Debugging Support): Add link to Threads
6152 * manual/nptl.texi: New file.
6154 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6156 2013-03-14 Petr Baudis <pasky@ucw.cz>
6158 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6159 for non-NULL pointer before the memory validity test. Pointed
6160 out by Holger Brunck <holger.brunck@keymile.com>.
6162 2013-03-13 Andreas Schwab <schwab@suse.de>
6164 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6167 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6169 * timezone/zic.c: Update from tzcode 2013b.
6171 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6173 * manual/install.texi (Configuring and compiling):
6174 Mention i686 and i586.
6175 * INSTALL: Regenerate.
6177 2013-03-12 Roland McGrath <roland@hack.frob.com>
6179 * sysdeps/init_array/elf-init.c: New file.
6181 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6182 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6184 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6185 __gmon_start__ as global, but as static with a .preinit_array pointer.
6186 * sysdeps/init_array/gmon-start.c: New file. Use that.
6187 * sysdeps/init_array/crti.S: New file, empty except for comments.
6188 * sysdeps/init_array/crtn.S: Likewise.
6190 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6192 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6195 Remove Prefer_SSE_for_memop.
6196 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6197 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6198 HAS_PREFER_SSE_FOR_MEMOP.
6199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6202 Remove bzero, memset ifunc support.
6203 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6204 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6205 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6206 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6208 2013-03-11 Andreas Schwab <schwab@suse.de>
6211 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6214 (GLIBC_2.16): Remove pthread_atfork.
6216 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6218 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6219 (ptestcases.h): Likewise.
6221 2013-03-08 Roland McGrath <roland@hack.frob.com>
6223 * Makeconfig ($(common-objpfx)config.status): Depend on
6224 sysdeps/*/preconfigure{,.in} too.
6226 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6228 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6229 (__free_hook): Use void * instead of __malloc_ptr_t.
6230 (__malloc_hook): Likewise.
6231 (__realloc_hook): Likewise.
6232 (__memalign_hook): Likewise.
6233 (__after_morecore_hook): Likewise.
6234 * malloc/arena.c (save_malloc_hook): Likewise.
6235 (save_free_hook): Likewise.
6236 * malloc/hooks.c (malloc_hook_ini): Likewise.
6237 (realloc_hook_ini): Likewise.
6238 (memalign_hook_ini): Likewise.
6239 * malloc/malloc.c (malloc_hook_ini): Likewise.
6240 (realloc_hook_ini): Likewise.
6241 (memalign_hook_ini): Likewise.
6242 (__free_hook): Likewise.
6243 (__malloc_hook): Likewise.
6244 (__realloc_hook): Likewise.
6245 (__memalign_hook): Likewise.
6246 (__libc_malloc): Likewise.
6247 (__libc_free): Likewise.
6248 (__libc_realloc): Likewise.
6249 (__libc_memalign): Likewise.
6250 (__libc_valloc): Likewise.
6251 (__libc_pvalloc): Likewise.
6252 (__libc_calloc): Likewise.
6253 (__posix_memalign): Likewise.
6254 * malloc/morecore.c (__sbrk): Likewise.
6255 (__default_morecore): Likewise.
6257 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6259 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6260 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6263 * malloc/malloc.h (__malloc_size_t): Remove macro.
6264 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6266 (old_memalign_hook): Likewise.
6267 (old_realloc_hook): Likewise.
6268 (struct hdr): Likewise.
6270 (mallochook): Likewise.
6271 (memalignhook): Likewise.
6272 (reallochook): Likewise.
6273 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6274 (tr_old_realloc_hook): Likewise.
6275 (tr_old_memalign_hook): Likewise.
6276 (tr_mallochook): Likewise.
6277 (tr_reallochook): Likewise.
6278 (tr_memalignhook): Likewise.
6280 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6283 default_ldbl_pack and using as default implementation.
6284 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6286 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6287 redundant definition.
6288 (ldbl_insert_mantissa): Likewise.
6289 (ldbl_canonicalize): Likewise.
6290 (ldbl_nearbyint): Likewise.
6291 (ldbl_pack): Rename to ldbl_pack_ppc.
6292 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6293 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6294 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6296 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6299 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6300 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6301 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6303 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6304 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6305 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6307 2013-03-07 Andreas Jaeger <aj@suse.de>
6309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6312 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6314 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6315 Include mpa.h and declare __MPEXP.
6316 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6317 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6318 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6319 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6320 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6321 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6322 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6324 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6325 (__slowpow): Use long double EXPL and LOGL functions to
6327 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6328 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6330 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6331 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6332 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6335 intermediate variable to calculate exponent.
6337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6341 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6342 [!NO__SQR]: Define __sqr.
6343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6344 and NO__SQR. Remove all code except __mul and __sqr. Include
6345 sysdeps/ieee754/dbl-64/mpa.c.
6346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6349 * posix/Makefile (tests): Add tst-pathconf.
6350 * posix/tst-pathconf.c: New test case.
6351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6353 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6355 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6357 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6359 2013-03-06 Andreas Jaeger <aj@suse.de>
6361 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6362 definition via __MAP_ANONYMOUS.
6364 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6365 it's not part of Linux headers.
6367 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6368 (MAP_HUGE_MASK): Define.
6370 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6373 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6376 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6379 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6381 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6383 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6384 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6385 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6386 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6387 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6388 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6393 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6394 Handle f2fs and efivarfs.
6396 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6399 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6400 (EFIVARFS_MAGIC): Add.
6401 (F2FS_LINK_MAX): Add.
6403 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6405 * stdio-common/vfprintf.c: Replace __builtin_expect with
6408 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/generic/bp-sym.h: Remove file.
6412 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6413 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (__longjmp): Don't use BP_SYM.
6416 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6418 (memcpy): Don't use BP_SYM.
6419 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6420 <bp-sym.h> and <bp-asm.h>.
6421 (memcpy): Don't use BP_SYM.
6422 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6424 (memcpy): Don't use BP_SYM.
6425 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6427 (memset): Don't use BP_SYM.
6428 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6429 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6430 (__bzero): Don't use BP_SYM.
6431 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6432 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6433 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6434 <bp-sym.h> and <bp-asm.h>.
6435 (memcmp): Don't use BP_SYM. Remove comment about bounded
6437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6438 <bp-sym.h> and <bp-asm.h>.
6439 (memcpy): Don't use BP_SYM.
6440 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6441 <bp-sym.h> and <bp-asm.h>.
6442 (memset): Don't use BP_SYM.
6443 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6444 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6445 (__bzero): Don't use BP_SYM.
6446 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6447 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6448 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6449 <bp-sym.h> and <bp-asm.h>.
6450 (strncmp): Don't use BP_SYM. Remove comment about bounded
6452 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6453 <bp-sym.h> and <bp-asm.h>.
6454 (memcpy): Don't use BP_SYM.
6455 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6456 <bp-sym.h> and <bp-asm.h>.
6457 (memset): Don't use BP_SYM.
6458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6460 (__bzero): Don't use BP_SYM.
6461 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6462 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6464 <bp-sym.h> and <bp-asm.h>.
6465 (__memchr): Don't use BP_SYM.
6466 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6467 <bp-sym.h> and <bp-asm.h>.
6468 (memcmp): Don't use BP_SYM. Remove comment about bounded
6470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6471 <bp-sym.h> and <bp-asm.h>.
6472 (memcpy): Don't use BP_SYM.
6473 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6474 <bp-sym.h> and <bp-asm.h>.
6475 (__mempcpy): Don't use BP_SYM.
6476 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6477 <bp-sym.h> and <bp-asm.h>.
6478 (__memrchr): Don't use BP_SYM.
6479 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6480 <bp-sym.h> and <bp-asm.h>.
6481 (memset): Don't use BP_SYM.
6482 (__bzero): Likewise.
6483 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6484 <bp-sym.h> and <bp-asm.h>.
6485 (__rawmemchr): Don't use BP_SYM.
6486 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6487 <bp-sym.h> and <bp-asm.h>.
6488 (__STRCMP): Don't use BP_SYM.
6489 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6490 <bp-sym.h> and <bp-asm.h>.
6491 (strchr): Don't use BP_SYM.
6492 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6493 <bp-sym.h> and <bp-asm.h>.
6494 (__strchrnul): Don't use BP_SYM.
6495 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6496 <bp-sym.h> and <bp-asm.h>.
6497 (strlen): Don't use BP_SYM.
6498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6499 <bp-sym.h> and <bp-asm.h>.
6500 (strncmp): Don't use BP_SYM. Remove comment about bounded
6502 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (__strnlen): Don't use BP_SYM.
6505 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6506 <bp-sym.h> and <bp-asm.h>.
6507 (__GI__setjmp): Don't use BP_SYM.
6508 (_setjmp): Likewise.
6509 (__sigsetjmp): Likewise.
6510 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6511 (L(start_addresses)): Don't use BP_SYM.
6513 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6515 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6516 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6517 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6518 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6519 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6521 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6522 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6523 about bounded pointers.
6524 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6525 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6526 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6528 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6529 about bounded pointers. Remove GKM FIXME comments.
6530 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6531 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6533 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6534 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6535 Remove GKM FIXME comments.
6536 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6537 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6538 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6540 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6541 about bounded pointers. Remove GKM FIXME comment.
6542 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6544 (strncmp): Don't use BP_SYM. Remove comment about bounded
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6547 <bp-sym.h> and <bp-asm.h>.
6548 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6550 <bp-sym.h> and <bp-asm.h>.
6551 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6554 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6556 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6559 2013-03-05 David S. Miller <davem@davemloft.net>
6561 * po/es.po: Update from translation team.
6563 2013-03-05 Andreas Jaeger <aj@suse.de>
6565 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6566 <bits/mman-linux.h>.
6567 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6569 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6570 <bits/mman-linux.h> to end of file.
6571 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6573 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6574 <bits/mman-linux.h> to end of file.
6575 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6578 <bits/mman-linux.h> to end of file.
6580 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6581 (MCL_CURRENT, MCL_FUTURE): Define here.
6583 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6586 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6588 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6590 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6592 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6593 fourth parameter needed for rt_sigprocmask syscall.
6594 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6595 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6596 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6597 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6598 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6599 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6601 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6604 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6605 comment about bounded pointers.
6606 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6607 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6609 2013-03-04 Andreas Jaeger <aj@suse.de>
6611 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6614 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6615 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6616 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6621 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6625 __ieee754_sqrl instead of __sqrl.
6627 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6629 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6630 * sysdeps/powerpc/fpu_control.h: ... here.
6631 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6632 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6633 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6634 * sysdeps/powerpc/bits/mathinline.h: ... here.
6636 2013-03-01 Roland McGrath <roland@hack.frob.com>
6638 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6639 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6640 to just [NEED_DL_SYSINFO_DSO].
6641 * elf/dl-support.c: Likewise.
6642 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6643 * elf/rtld.c (dl_main): Likewise.
6644 * elf/setup-vdso.h (setup_vdso): Likewise.
6645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6646 * sysdeps/unix/sysv/linux/dl-sysdep.c
6647 (_dl_discover_osversion): Likewise.
6649 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6651 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6652 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6654 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6656 * NEWS: Mention libm performance improvements and non-x86 PI
6659 * csu/libc-start.c (__pthread_initialize_minimal): Change
6661 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6663 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6666 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6667 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6668 <bp-sym.h> and <bp-asm.h>.
6669 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6670 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6672 (memcpy): Don't use BP_SYM.
6673 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6675 (__mpn_add_n): Don't use BP_SYM.
6676 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6677 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6679 (__mpn_addmul_1): Don't use BP_SYM.
6680 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6681 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6683 (_setjmp): Don't use BP_SYM.
6684 (__novmx_setjmp): Likewise.
6685 (__GI__setjmp): Likewise.
6686 (__vmx_setjmp): Likewise.
6687 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6689 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6690 (__bzero): Don't use BP_SYM.
6691 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6692 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6693 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6694 <bp-sym.h> and <bp-asm.h>.
6695 (memcpy): Don't use BP_SYM.
6696 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6697 <bp-sym.h> and <bp-asm.h>.
6698 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6699 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6700 <bp-sym.h> and <bp-asm.h>.
6701 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6702 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6704 (__mpn_lshift): Don't use BP_SYM.
6705 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6706 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6708 (memset): Don't use BP_SYM.
6709 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6710 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6711 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6713 (__mpn_mul_1): Don't use BP_SYM.
6714 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6716 <bp-sym.h> and <bp-asm.h>.
6717 (memcmp): Don't use BP_SYM.
6718 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6719 <bp-sym.h> and <bp-asm.h>.
6720 (memcpy): Don't use BP_SYM.
6721 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6722 <bp-sym.h> and <bp-asm.h>.
6723 (memset): Don't use BP_SYM.
6724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6725 <bp-sym.h> and <bp-asm.h>.
6726 (strncmp): Don't use BP_SYM.
6727 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6728 <bp-sym.h> and <bp-asm.h>.
6729 (memcpy): Don't use BP_SYM.
6730 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6731 <bp-sym.h> and <bp-asm.h>.
6732 (memset): Don't use BP_SYM.
6733 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6734 <bp-sym.h> and <bp-asm.h>.
6735 (__memchr): Don't use BP_SYM.
6736 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6737 <bp-sym.h> and <bp-asm.h>.
6738 (memcmp): Don't use BP_SYM.
6739 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (memcpy): Don't use BP_SYM.
6742 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6743 <bp-sym.h> and <bp-asm.h>.
6744 (__mempcpy): Don't use BP_SYM.
6745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6746 <bp-sym.h> and <bp-asm.h>.
6747 (__memrchr): Don't use BP_SYM.
6748 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6749 <bp-sym.h> and <bp-asm.h>.
6750 (memset): Don't use BP_SYM.
6751 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6752 <bp-sym.h> and <bp-asm.h>.
6753 (__rawmemchr): Don't use BP_SYM.
6754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6755 <bp-sym.h> and <bp-asm.h>.
6756 (__STRCMP): Don't use BP_SYM.
6757 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6758 <bp-sym.h> and <bp-asm.h>.
6759 (strchr): Don't use BP_SYM.
6760 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6761 <bp-sym.h> and <bp-asm.h>.
6762 (__strchrnul): Don't use BP_SYM.
6763 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6764 <bp-sym.h> and <bp-asm.h>.
6765 (strlen): Don't use BP_SYM.
6766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6767 <bp-sym.h> and <bp-asm.h>.
6768 (strncmp): Don't use BP_SYM.
6769 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6770 <bp-sym.h> and <bp-asm.h>.
6771 (__strnlen): Don't use BP_SYM.
6772 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6774 (__mpn_rshift): Don't use BP_SYM.
6775 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6776 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6777 <bp-sym.h> and <bp-asm.h>.
6778 (__sigsetjmp): Don't use BP_SYM.
6779 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6780 (L(start_addresses)): Don't use BP_SYM.
6782 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6784 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6785 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6786 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6787 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6789 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6790 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6792 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6794 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6796 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6797 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6799 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6801 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6802 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6803 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6805 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6807 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6809 (strncmp): Don't use BP_SYM,
6810 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6812 (__mpn_sub_n): Don't use BP_SYM.
6813 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6814 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6816 (__mpn_submul_1): Don't use BP_SYM.
6817 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6819 <bp-sym.h> and <bp-asm.h>.
6820 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6822 <bp-sym.h> and <bp-asm.h>.
6823 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6826 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6829 Use ZK to minimize writes to Z.
6830 (sub_magnitudes): Simplify code a bit.
6831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6832 Use ZK to minimize writes to Z.
6833 (sub_magnitudes): Simplify code a bit.
6835 2013-02-27 Roland McGrath <roland@hack.frob.com>
6837 * csu/gmon-start.c: Add special exception to license text.
6839 2013-02-27 Richard Henderson <rth@redhat.com>
6841 * scripts/config.guess: Update from config.git.
6842 * scripts/config.sub: Likewise.
6844 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6846 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6848 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6850 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6852 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6854 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6856 2013-02-26 Roland McGrath <roland@hack.frob.com>
6858 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6859 [$(build-shared = yes].
6861 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6863 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6864 (__mul): Reduce iterations for calculating mantissa.
6866 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6868 (__mpranred): Likewise.
6871 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6872 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6874 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6876 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6877 Define __attribute__.
6879 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6881 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6883 * posix/regex_internal.h (__attribute): Remove.
6884 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6885 (re_string_context_at): Likewise.
6886 (bitset_not): Use __attribute__ and mark function as possibly
6888 (bitset_merge): Likewise.
6889 (bitset_mask): Likewise.
6890 (re_string_char_size_at): Likewise.
6891 (re_string_wchar_at): Likewise.
6892 (re_string_elem_size_at): Likewise.
6894 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6896 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6900 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6905 (__dbl_mp): Likewise.
6906 (add_magnitudes): Likewise.
6907 (sub_magnitudes): Likewise.
6911 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6914 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6917 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6921 up changes with default code.
6922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6925 2013-02-24 Allan McRae <allan@archlinux.org>
6927 * manual/socket.texi (The Internet Namespace): Order menu items
6928 to match that in the file.
6930 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6931 node listing of the info page menu.
6933 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6936 * sysdeps/i386/bp-asm.h: Remove file.
6937 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6938 (PARMS): Do not use macros from bp-asm.h.
6942 (__mpn_add_n): Do not use BP_SYM
6943 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6945 (PARMS): Do not use macros from bp-asm.h.
6948 (__mpn_addmul_1): Do not use BP_SYM
6949 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6951 (PARMS): Do not use macros from bp-asm.h.
6953 (_setjmp): Likewise. Do not use BP_SYM.
6954 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6956 (PARMS): Do not use macros from bp-asm.h.
6958 (setjmp): Likewise. Do not use BP_SYM.
6959 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6961 (PARMS): Do not use macros from bp-asm.h.
6962 (__frexp): Do not use BP_SYM.
6964 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (__frexpf): Do not use BP_SYM.
6969 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6971 (PARMS): Do not use macros from bp-asm.h.
6972 (__frexpl): Do not use BP_SYM.
6974 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6976 (PARMS): Do not use macros from bp-asm.h.
6977 (__remquo): Do not use BP_SYM.
6979 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6981 (PARMS): Do not use macros from bp-asm.h.
6982 (__remquof): Do not use BP_SYM.
6983 (remquof): Likewise.
6984 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (__remquol): Do not use BP_SYM.
6988 (remquol): Likewise.
6989 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6991 (PARMS): Do not use macros from bp-asm.h.
6994 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6995 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6997 (PARMS): Do not use macros from bp-asm.h.
6998 (strlen): Do not use BP_SYM.
6999 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7001 (PARMS): Do not use macros from bp-asm.h.
7005 (__mpn_add_n): Do not use BP_SYM.
7006 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7008 (PARMS): Do not use macros from bp-asm.h.
7011 (__mpn_addmul_1): Do not use BP_SYM.
7012 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7015 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7017 (PARMS): Do not use macros from bp-asm.h.
7020 (__mpn_lshift): Do not use BP_SYM.
7021 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7023 (PARMS): Do not use macros from bp-asm.h.
7027 (memcpy): Likewise. Do not use BP_SYM.
7028 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7029 libc_hidden_def and weak_alias.
7030 (mempcpy): Do not use BP_SYM in weak_alias.
7031 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7033 (PARMS): Do not use macros from bp-asm.h.
7036 [!BZERO_P] (CHR): Likewise.
7037 (memset): Likewise. Do not use BP_SYM.
7038 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7040 (PARMS): Do not use macros from bp-asm.h.
7043 (__mpn_mul_1): Do not use BP_SYM.
7044 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7046 (PARMS): Do not use macros from bp-asm.h.
7049 (__mpn_rshift): Do not use BP_SYM.
7050 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7052 (PARMS): Do not use macros from bp-asm.h.
7055 (strchr): Likewise. Do not use BP_SYM.
7056 (index): Do not use BP_SYM in weak_alias.
7057 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7059 (PARMS): Do not use macros from bp-asm.h.
7062 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7063 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7065 (PARMS): Do not use macros from bp-asm.h.
7066 (strlen): Do not use BP_SYM.
7067 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7069 (PARMS): Do not use macros from bp-asm.h.
7073 (__mpn_sub_n): Do not use BP_SYM.
7074 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7076 (PARMS): Do not use macros from bp-asm.h.
7079 (__mpn_submul_1): Do not use BP_SYM.
7080 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7082 (PARMS): Do not use macros from bp-asm.h.
7086 (__mpn_add_n): Do not use BP_SYM.
7087 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7090 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7092 (PARMS): Do not use macros from bp-asm.h.
7095 (memcmp): Do not use BP_SYM.
7096 (bcmp): Do not use BP_SYM in weak_alias.
7097 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7099 (PARMS): Do not use macros from bp-asm.h.
7103 (memcpy): Likewise. Do not use BP_SYM.
7104 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7106 (PARMS): Do not use macros from bp-asm.h.
7110 (memmove): Likewise. Do not use BP_SYM.
7111 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7113 (PARMS): Do not use macros from bp-asm.h.
7117 (__mempcpy): Likewise. Do not use BP_SYM.
7118 (mempcpy): Do not use BP_SYM in weak_alias.
7119 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7121 (PARMS): Do not use macros from bp-asm.h.
7124 [!BZERO_P] (CHR): Likewise.
7125 (memset): Likewise. Do not use BP_SYM.
7126 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7128 (PARMS): Do not use macros from bp-asm.h.
7130 (strcmp): Do not use BP_SYM.
7131 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7133 (PARMS): Do not use macros from bp-asm.h.
7136 [USE_AS_STRTOK_R] (SAVE): Likewise.
7137 (FUNCTION): Likewise. Do not use BP_SYM.
7138 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7140 (strtok_r): Likewise.
7141 (__GI___strtok_r): Likewise.
7142 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7143 (PARMS): Do not use macros from bp-asm.h.
7146 (__mpn_lshift): Do not use BP_SYM.
7147 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7148 (PARMS): Do not use macros from bp-asm.h.
7151 (__memchr): Do not use BP_SYM.
7152 (memchr): Do not use BP_SYM in weak_alias.
7153 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7154 (PARMS): Do not use macros from bp-asm.h.
7157 (memcmp): Do not use BP_SYM.
7158 (bcmp): Do not use BP_SYM in weak_alias.
7159 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7160 (PARMS): Do not use macros from bp-asm.h.
7163 (__mpn_mul_1): Do not use BP_SYM.
7164 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7166 (PARMS): Do not use macros from bp-asm.h.
7169 (__rawmemchr): Do not use BP_SYM.
7170 (rawmemchr): Do not use BP_SYM in weak_alias.
7171 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7172 (PARMS): Do not use macros from bp-asm.h.
7175 (__mpn_rshift): Do not use BP_SYM.
7176 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7177 (PARMS): Do not use macros from bp-asm.h.
7179 (__sigsetjmp): Likewise. Do not use BP_SYM.
7180 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7181 (_start): Do not use BP_SYM.
7182 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7183 (PARMS): Do not use macros from bp-asm.h.
7186 (__stpcpy): Likewise. Do not use BP_SYM.
7187 (stpcpy): Do not use BP_SYM in weak_alias.
7188 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7190 (PARMS): Do not use macros from bp-asm.h.
7194 (__stpncpy): Likewise. Do not use BP_SYM.
7195 (stpncpy): Do not use BP_SYM in weak_alias.
7196 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7197 (PARMS): Do not use macros from bp-asm.h.
7200 (strchr): Likewise. Do not use BP_SYM.
7201 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7203 (PARMS): Do not use macros from bp-asm.h.
7206 (__strchrnul): Likewise. Do not use BP_SYM.
7207 (strchrnul): Do not use BP_SYM in weak_alias.
7208 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7210 (PARMS): Do not use macros from bp-asm.h.
7212 (strcspn): Do not use BP_SYM.
7213 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7215 (PARMS): Do not use macros from bp-asm.h.
7218 (strpbrk): Likewise. Do not use BP_SYM.
7219 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7221 (PARMS): Do not use macros from bp-asm.h.
7224 (strrchr): Likewise. Do not use BP_SYM.
7225 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7226 (PARMS): Do not use macros from bp-asm.h.
7228 (strspn): Do not use BP_SYM.
7229 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7230 (PARMS): Do not use macros from bp-asm.h.
7234 (FUNCTION): Likewise. Do not use BP_SYM.
7235 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7237 (strtok_r): Likewise.
7238 (__GI___strtok_r): Likewise.
7239 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7240 (PARMS): Do not use macros from bp-asm.h.
7244 (__mpn_sub_n): Do not use BP_SYM.
7245 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7247 (PARMS): Do not use macros from bp-asm.h.
7250 (__mpn_submul_1): Do not use BP_SYM.
7251 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7253 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7255 (PARMS): Do not use macros from bp-asm.h.
7260 (__clone): Do not use BP_SYM.
7261 (clone): Do not use BP_SYM in weak_alias.
7262 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7264 (PARMS): Do not use macros from bp-asm.h.
7266 (__mmap64): Do not use BP_SYM.
7267 (mmap64): Do not use BP_SYM in weak_alias.
7268 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7269 <bp-sym.h> and <bp-asm.h>.
7270 (PARMS): Do not use macros from bp-asm.h.
7271 (__posix_fadvise64_l64): Do not use BP_SYM.
7272 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7273 (PARMS): Do not use macros from bp-asm.h.
7275 (semtimedop): Do not use BP_SYM.
7276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7279 2013-02-21 Allan McRae <allan@archlinux.org>
7281 * manual/message.texi (Charset conversion in gettext):
7282 Move @end statement to beginning of line.
7284 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7291 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7296 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7298 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7299 tail-call to the resolved function if pltexit isn't needed.
7301 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7304 or Y being zero as being unlikely.
7305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7308 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7310 * manual/nss.texi (System Databases and Name Service Switch):
7311 Remove frobnicate @pxref.
7313 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7315 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7316 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7318 2013-02-20 Petr Machata <pmachata@redhat.com>
7320 * elf/elf.h (R_ARM_TARGET1): New macro.
7321 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7322 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7323 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7324 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7325 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7326 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7327 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7328 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7329 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7330 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7331 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7332 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7333 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7334 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7335 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7336 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7337 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7338 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7339 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7340 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7341 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7342 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7343 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7344 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7345 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7346 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7347 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7348 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7349 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7350 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7351 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7352 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7353 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7354 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7355 (R_ARM_THM_GOT_BREL12): Likewise.
7356 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7357 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7358 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7359 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7360 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7361 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7362 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7363 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7364 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7366 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7368 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7369 __attribute_used__ to __attribute__ ((unused)).
7371 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7373 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7379 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7382 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7384 (ENTER): Remove both macro definitions.
7386 (CHECK_BOUNDS_LOW): Likewise.
7387 (CHECK_BOUNDS_HIGH): Likewise.
7388 (CHECK_BOUNDS_BOTH): Likewise.
7389 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7390 (RETURN_BOUNDED_POINTER): Likewise.
7391 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7392 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7393 (POP_ERRNO_LOCATION_RETURN): Likewise.
7394 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7395 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7396 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7398 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7399 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7400 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7401 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7402 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7403 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7404 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7405 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7406 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7407 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7408 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7409 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7410 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7411 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7413 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7414 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7416 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7417 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7418 * sysdeps/i386/i586/memset.S (memset): Likewise.
7419 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7420 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7421 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7423 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7424 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7425 Change uses of L(2) to L(out).
7426 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7427 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7428 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7429 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7430 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7432 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7433 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7435 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7436 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7437 (RETURN): Do not use macro LEAVE.
7438 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7439 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7440 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7441 * sysdeps/i386/i686/memset.S (memset): Likewise.
7442 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7443 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7444 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7445 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7447 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7448 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7449 L(1_2) and L(1_3) into L(1).
7450 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7451 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7452 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7453 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7454 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7455 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7456 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7457 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7458 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7460 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7461 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7462 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7463 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7464 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7465 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7466 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7467 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7468 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7469 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7470 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7471 * sysdeps/i386/strspn.S (strspn): Likewise.
7472 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7474 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7475 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7476 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7477 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7479 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7480 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7481 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7483 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7485 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7487 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7490 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7492 * math/atest-exp.c (exp_mpn): Remove ROUND.
7493 * math/atest-exp2.c (exp_mpn): Likewise.
7494 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7496 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7497 * stdlib/tst-tls-atexit-lib.c: Likewise.
7498 * stdlib/tst-tls-atexit.c: Likewise.
7500 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7502 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7503 and __attribute_alloc_size__.
7505 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7507 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7508 __attribute_alloc_size__.
7509 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7510 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7512 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7514 * include/programs/xmalloc.h: New file.
7515 * catgets/gencat.c: Include it.
7516 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7517 * elf/pldd.c: Likewise.
7518 * iconv/iconv_charmap.c: Likewise.
7519 * iconv/iconvconfig.c: Likewise.
7520 * iconv/strtab.c: Likewise.
7521 * locale/programs/locale.c: Likewise.
7522 * locale/programs/localedef.h: Likewise.
7523 * locale/programs/simple-hash.c: Likewise.
7524 * nscd/nscd.h: Likewise.
7525 * nss/makedb.c: Likewise.
7526 * sysdeps/generic/ldconfig.h: Likewise.
7528 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7530 * Versions.def: Add GLIBC_2.18.
7531 * include/link.h (struct link_map): New member l_tls_dtor_count.
7532 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7533 (__call_tls_dtors): Likewise.
7534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7535 __cxa_thread_atexit_impl.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7544 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7552 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7553 (tests): Add test case tst-tls-atexit.
7554 (modules-names): Add shared library for tst-tls-atexit.
7555 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7556 (GLIBC_PRIVATE): Add __call_tls_dtors.
7557 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7559 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7560 * stdlib/tst-tls-atexit.c: New test case.
7561 * stdlib/tst-tls-atexit-lib.c: New test case.
7563 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7565 * elf/Versions (ld): Add _dl_find_dso_for_object.
7566 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7567 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7568 (dl_open_worker): Use _dl_find_dso_for_object.
7569 * elf/dl-sym.c (do_sym): Likewise.
7570 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7572 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7574 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7575 Syntactic changes only.
7576 (_dl_runtime_profile): Do a tail-call to the resolved function.
7578 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7581 * sysdeps/x86_64/bp-asm.h: Remove file.
7582 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7583 <bp-sym.h> and <bp-asm.h>.
7584 (__clone): Do not use BP_SYM.
7585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7586 <bp-sym.h> and <bp-asm.h>.
7587 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7588 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7590 (_setjmp): Do not use BP_SYM.
7591 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7593 (setjmp): Do not use BP_SYM.
7594 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7596 (mempcpy): Do not use BP_SYM in weak_alias.
7597 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7599 (strchr): Do not use BP_SYM.
7600 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7602 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7603 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7604 (_start): Do not use BP_SYM.
7605 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7607 (strcat): Do not use BP_SYM.
7608 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7610 (STRCMP): Do not use BP_SYM.
7611 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7613 (STRCPY): Do not use BP_SYM.
7614 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7616 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7618 (FUNCTION): Do not use BP_SYM.
7619 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7621 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7623 2013-02-17 Andreas Jaeger <aj@suse.de>
7625 * time/Versions: Sort entries.
7626 * string/Versions: Likewise.
7627 * resolv/Versions: Likewise.
7628 * posix/Versions: Likewise.
7629 * iconv/Versions: Likewise.
7630 * elf/Versions: Likewise.
7631 * wcsmbs/Versions: Likewise.
7633 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7635 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7636 loop termination condition.
7638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7639 variable to calculate EZ.
7642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7643 the lower precision input.
7645 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7648 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7649 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7650 (run-via-rtld-prefix): Do not handle %-bp tests.
7651 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7652 (all-object-suffixes): Remove .ob.
7653 (bppfx): Remove variable.
7654 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7655 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7656 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7657 [$(build-bounded) = yes] (libtype.ob): Likewise.
7658 * Makerules (elide-routines.ob): Remove variable.
7659 (do-tests-clean): Do not handle *-bp.out.
7660 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7661 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7662 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7663 (tests): Do not include $(tests-bp.out).
7664 (xtests): Do not include $(xtests-bp.out).
7665 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7666 [$(build-bounded) = yes] ($(addprefix
7667 $(objpfx),$(binaries-bounded))): Remove rule.
7668 ($(objpfx)%-bp.out): Remove rule.
7669 * config.make.in (build-bounded): Remove variable.
7670 * crypt/Makefile [$(build-bounded) = yes]
7671 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7672 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7674 [$(build-bounded) = yes] (install-lib): Likewise.
7675 [$(build-bounded) = yes] (generated): Likewise.
7676 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7678 * intl/Makefile [$(build-bounded) = yes]
7679 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7680 * math/Makefile [$(build-bounded) = yes]
7681 ($(tests:%=$(objpfx)%-bp): Likewise.
7682 * misc/Makefile [$(build-bounded) = yes]
7683 ($(objpfx)tst-tsearch-bp): Likewise.
7684 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7685 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7687 * string/Makefile (o-objects.ob): Remove variable.
7688 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7689 (CFLAGS-.ob): Remove variable.
7690 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7692 both definitions of variable.
7693 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7694 (ASFLAGS-.ob): Remove variable.
7696 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7699 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7700 Remove __BOUNDED_POINTERS__ from condition.
7701 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7702 * string/bits/string2.h [!__NO_STRING_INLINES &&
7703 !__BOUNDED_POINTERS__]: Likewise.
7704 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7706 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7707 Remove conditional code.
7708 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7709 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7710 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7714 * csu/libc-start.c: Do not include <bp-sym.h>.
7715 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7716 * elf/dl-open.c: Do not include <bp-sym.h>.
7717 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7718 * math/fegetenv.c: Do not include <bp-sym.h>.
7719 (fegetenv): Do not use BP_SYM in versioned symbols.
7720 * nptl/sysdeps/pthread/bits/libc-lockP.h
7721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7724 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7726 (__pthread_mutex_destroy): Likewise.
7727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7728 (__pthread_mutex_lock): Likewise.
7729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7730 (__pthread_mutex_trylock): Likewise.
7731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7732 (__pthread_mutex_unlock): Likewise.
7733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7734 (__pthread_mutexattr_init): Likewise.
7735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7736 (__pthread_mutexattr_destroy): Likewise.
7737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7738 (__pthread_mutexattr_settype): Likewise.
7739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7740 (__pthread_rwlock_init): Likewise.
7741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7742 (__pthread_rwlock_destroy): Likewise.
7743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7744 (__pthread_rwlock_rdlock): Likewise.
7745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7746 (__pthread_rwlock_tryrdlock): Likewise.
7747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7748 (__pthread_rwlock_wrlock): Likewise.
7749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7750 (__pthread_rwlock_trywrlock): Likewise.
7751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7752 (__pthread_rwlock_unlock): Likewise.
7753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7754 (__pthread_key_create): Likewise.
7755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7756 (__pthread_setspecific): Likewise.
7757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7758 (__pthread_getspecific): Likewise.
7759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7762 (_pthread_cleanup_push_defer): Likewise.
7763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7764 (_pthread_cleanup_pop_restore): Likewise.
7765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7766 (pthread_setcancelstate): Likewise.
7767 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7769 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7770 (memchr): Do not use BP_SYM in weak_alias.
7771 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7772 (fegetenv): Do not use BP_SYM in versioned symbols.
7773 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7774 (fesetenv): Do not use BP_SYM in versioned symbols.
7775 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7776 (feupdateenv): Do not use BP_SYM in versioned symbols.
7777 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7778 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7779 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7780 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7781 (open64): Do not use BP_SYM in weak_alias.
7782 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7783 (fegetenv): Do not use BP_SYM in versioned symbols.
7784 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7785 (fesetenv): Do not use BP_SYM in versioned symbols.
7786 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7787 (feupdateenv): Do not use BP_SYM in versioned symbols.
7788 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7789 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7790 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7791 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7792 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7793 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7794 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7796 (__libc_start_main): Do not use BP_SYM.
7798 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7801 redundant return line.
7805 (sub_magnitudes): Likewise.
7811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7815 (sub_magnitudes): Likewise.
7822 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7824 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7825 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7828 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7829 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7831 of __mul for squares.
7832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7836 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7837 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7839 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7842 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7844 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7845 prototype or function definition. Rename ubp_* variables and
7846 parameters. Remove argv definitions conditional on
7847 [__BOUNDED_POINTERS__].
7848 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7849 * elf/dl-runtime.c (_dl_fixup): Likewise.
7850 * include/set-hooks.h (RUN_HOOK): Likewise.
7851 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7853 * string/strcpy.c (strcpy): Do not use __unbounded.
7854 * sysdeps/generic/frame.h (struct layout): Likewise.
7855 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7856 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7857 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7858 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7859 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7860 (__backtrace): Likewise.
7861 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7863 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7864 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7865 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7867 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7868 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7869 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7870 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7871 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7872 Do not use __unbounded.
7873 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7874 Rename __unboundedrlimits parameter to rlimits in prototype.
7875 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7876 Do not use __unbounded.
7877 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7879 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7880 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7881 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7882 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7883 __ptrvalue or __unbounded.
7884 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7885 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7887 (__new_msgctl): Do not use __ptrvalue.
7888 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7890 (__libc_msgrcv): Do not use __ptrvalue.
7891 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7892 startup_info): Do not use __unbounded.
7893 (__libc_start_main): Likewise. Rename ubp_* variables and
7894 parameters. Remove argv definitions conditional on
7895 [__BOUNDED_POINTERS__].
7896 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7898 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7900 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7902 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7904 (__new_shmctl): Do not use __ptrvalue.
7905 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7906 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7908 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7910 (__libc_sigaction): Likewise.
7911 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7914 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7916 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7918 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7920 * string/mempcpy.c: Implement by calling memcpy.
7922 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7929 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7930 values in the mantissa.
7932 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7933 minimize writes to Z.
7934 (sub_magnitudes): Simplify code a bit.
7936 2013-02-12 Roland McGrath <roland@hack.frob.com>
7938 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7939 from the message. The linker prefixes all warnings with that already.
7941 2013-02-12 Andreas Schwab <schwab@suse.de>
7944 * posix/regexec.c (extend_buffers): Add parameter min_len.
7945 (check_matching): Pass minimum needed length.
7946 (clean_state_log_if_needed): Likewise.
7947 (get_subexp): Likewise.
7948 * posix/Makefile (tests): Add bug-regex34.
7949 (bug-regex34-ENV): Define.
7950 * posix/bug-regex34.c: New file.
7953 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7954 elements compare against the byte sequence of it, not its name.
7955 * posix/Makefile (tests): Add bug-regex35.
7956 (bug-regex35-ENV): Define.
7957 * posix/bug-regex35.c: New file.
7959 2013-02-11 Tom de Vries <tom@codesourcery.com>
7961 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7963 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7964 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7965 (CHECK_EOL): Add undef.
7967 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7969 * bits/stdlib-bsearch.h: New file.
7970 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7971 * stdlib/stdlib.h: Likewise.
7973 2013-02-11 Roland McGrath <roland@hack.frob.com>
7975 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7976 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7978 * manual/search.texi (Array Search Function): Add missing const in
7980 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7981 declaration to use rlim_t.
7982 (Basic Scheduling Functions): Remove erroneous const from
7983 sched_getparam prototype. Remove erroneous * from
7984 sched_get_priority_max and sched_get_priority_min prototypes.
7985 (Resource Usage): Fix summary @comment on vtimes to refer to
7986 sys/vtimes.h rather than vtimes.h.
7987 Add missing *s in vtimes prototype.
7988 (Limits on Resources): Fix ulimit prototype to return long int.
7989 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7990 prototypes to use long int rather than double.
7991 (BSD Random): Fix initstate and setstate to use char *, not void *.
7992 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7993 prototype to make second argument 'struct aiocb64 *const[]'.
7994 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7995 (Status of AIO Operations): Remove erroneous const in aio_return and
7996 aio_return64 prototypes.
7997 (Synchronizing I/O): Fix sync prototype to return void.
7998 * manual/startup.texi (Suboptions): Remove an erroneous const in
7999 getsubopt prototype.
8000 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8001 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8002 use size_t rather than int.
8003 (Scanning All Users): Likewise for getpwent_r.
8004 (Setting Groups): Add missing const to setgroups prototype.
8005 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8006 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8007 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8008 'const void *' rather than 'const char *'.
8009 (Host Address Functions): Likewise for inet_ntop.
8010 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8011 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8012 ssize_t for return value.
8013 (Sending Data): Likewise for send, sendto, sendmsg.
8014 (Socket Option Functions): Add a missing const in setsockopt prototype.
8015 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8016 use wchar_t for the argument.
8017 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8018 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8020 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8021 double/float/long double for second argument.
8022 Fix return types of significand, significandf, significandl.
8023 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8024 argument in fchmod prototype.
8025 (File Owner): Use uid_t and gid_t in fchown prototype.
8026 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8027 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8028 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8029 use 'const struct dirent **' as argument types to CMP function pointer
8031 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8032 (File Times): Fix summary magic @comment for struct utimbuf and utime
8033 to refer to utime.h, not time.h.
8034 * manual/string.texi (Argz Functions): Add missing const in
8035 argz_extract and argz_next prototypes.
8036 (Finding Tokens in a String): Likewise for basename.
8037 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8038 (Copying and Concatenation): Fix typo in wmemmove prototype.
8039 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8040 (Signal Stack): Remove erroneous const in sigstack prototype.
8041 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8043 (Simple Calendar Time): Likewise for stime.
8044 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8046 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8047 say sys/sysctl.h instead.
8048 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8049 and vsyslog prototypes.
8051 2013-02-11 Tom de Vries <tom@codesourcery.com>
8053 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8056 2013-02-11 Roland McGrath <roland@hack.frob.com>
8058 * misc/sys/mman.h: Fix typo in mremap comment.
8060 2013-02-08 Roland McGrath <roland@hack.frob.com>
8062 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8063 the '\0' terminator.
8065 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8068 * debug/segfault.c: Don't include <bp-checks.h>.
8069 * sysdeps/generic/bp-checks.h: Remove file.
8070 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8071 (__GETDENTS): Don't use CHECK_N.
8072 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8073 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8074 (__getgroups): Don't use CHECK_N.
8075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8076 (setgroups): Don't use CHECK_N.
8077 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8078 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8079 (__libc_msgrcv): Don't use CHECK_N.
8080 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8081 (__libc_msgsnd): Don't use CHECK_N.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8084 (__libc_pread): Don't use CHECK_N.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8086 include <bp-checks.h>.
8087 (__libc_pread64): Don't use CHECK_N.
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8089 include <bp-checks.h>.
8090 (__libc_pwrite): Don't use CHECK_N.
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8092 include <bp-checks.h>.
8093 (__libc_pwrite64): Don't use CHECK_N.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8096 (__libc_pread): Don't use CHECK_N.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8098 include <bp-checks.h>.
8099 (__libc_pread64): Don't use CHECK_N.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8101 include <bp-checks.h>.
8102 (__libc_pwrite): Don't use CHECK_N.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8104 include <bp-checks.h>.
8105 (__libc_pwrite64): Don't use CHECK_N.
8106 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8107 (do_pread): Don't use CHECK_N.
8108 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8109 (do_pread64): Don't use CHECK_N.
8110 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8111 (do_pwrite): Don't use CHECK_N.
8112 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8113 (do_pwrite64): Don't use CHECK_N.
8114 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8115 (__libc_readv): Don't use CHECK_N.
8116 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8117 (semop): Don't use CHECK_N.
8118 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8120 (semtimedop): Don't use CHECK_N.
8121 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8122 (__libc_pread): Don't use CHECK_N.
8123 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8125 (__libc_pread64): Don't use CHECK_N.
8126 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8128 (__libc_pwrite): Don't use CHECK_N.
8129 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8131 (__libc_pwrite64): Don't use CHECK_N.
8132 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8134 (__libc_msgrcv): Don't use CHECK_N.
8135 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8136 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8137 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8138 (__libc_writev): Don't use CHECK_N.
8140 2013-02-08 Roland McGrath <roland@hack.frob.com>
8142 * string/strcpy.c: Removed unused variable.
8144 * Makeconfig (+sysdep-includes): Define with := rather than =.
8145 Use an existing include/ subdir of each sysdeps dir before it.
8147 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8149 * nscd/connection.c (register_traced_file): Comment function.
8150 [HAVE_INOTIFY] (union __inev): Define.
8151 [HAVE_INOTIFY] (inotify_check_files): New function.
8152 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8153 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8155 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8157 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8159 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8160 loaded if not already and that a failure is permanent.
8162 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8165 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8166 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8168 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8171 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8172 (CHECK_1_NULL_OK): Likewise.
8173 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8174 (__fxstat): Do not use CHECK_1.
8175 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8177 (___fxstat64): Do not use CHECK_1.
8178 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8180 (__fxstatat): Do not use CHECK_1.
8181 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8183 (__fxstatat64): Do not use CHECK_1.
8184 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8186 (__fxstat): Do not use CHECK_1.
8187 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8189 (__fxstatat): Do not use CHECK_1.
8190 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8192 (__getresgid): Do not use CHECK_1.
8193 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8195 (__getresuid): Do not use CHECK_1.
8196 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8198 (__lxstat): Do not use CHECK_1.
8199 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8201 (__old_msgctl): Do not use CHECK_1.
8202 (__new_msgctl): Likewise.
8203 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8205 (__new_setrlimit): Do not use CHECK_1.
8206 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8208 (__old_shmctl): Do not use CHECK_1.
8209 (__new_shmctl): Likewise.
8210 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8212 (__xstat): Do not use CHECK_1.
8213 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8214 (__lxstat): Do not use CHECK_1.
8215 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8217 (___lxstat64): Do not use CHECK_1.
8218 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8219 (__old_msgctl): Do not use CHECK_1.
8220 (__new_msgctl): Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8223 (__gettimeofday): Do not use CHECK_1.
8224 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8225 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8226 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8228 (__gettimeofday): Do not use CHECK_1.
8229 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8230 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8231 (__new_shmctl): Do not use CHECK_1.
8232 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8234 (do_sigtimedwait): Do not use CHECK_1.
8235 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8237 (do_sigwaitinfo): Do not use CHECK_1.
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8240 (msgctl): Do not use CHECK_1.
8241 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8243 (shmctl): Do not use CHECK_1.
8244 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8245 (ustat): Do not use CHECK_1.
8246 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8248 (__fxstat): Do not use CHECK_1.
8249 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8251 (__fxstatat): Do not use CHECK_1.
8252 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8254 (__lxstat): Do not use CHECK_1.
8255 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8257 (__xstat): Do not use CHECK_1.
8258 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8259 (__xstat): Do not use CHECK_1.
8260 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8261 (___xstat64): Do not use CHECK_1.
8264 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8266 (CHECK_BOUNDS_HIGH): Likewise.
8267 * string/strcpy.c: Do not include <bp-checks.h>.
8268 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8270 2013-02-07 Roland McGrath <roland@hack.frob.com>
8272 * nscd/nscd-client.h (__nscd_drop_map_ref):
8273 Add __attribute__ ((unused)).
8274 * nis/nss-nisplus.h (niserr2nss): Likewise.
8276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8277 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8279 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8280 Remove inline keyword.
8281 * include/rounding-mode.h (round_away): Likewise.
8282 * libio/wfileops.c (adjust_wide_data): Likewise.
8283 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8284 (__m128i_strloadu_tolower): Likewise.
8285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8286 (__m128i_strloadu_tolower): Likewise.
8287 * time/mktime.c (ydhms_diff): Likewise.
8288 * locale/elem-hash.h (elem_hash): Likewise.
8289 * locale/setlocale.c (setdata): Likewise.
8290 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8291 (re_string_wchar_at): Likewise.
8292 (bitset_not, bitset_merge, bitset_mask): Likewise.
8293 [!(__GNUC__ > 3)] (inline): Remove macro.
8294 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8295 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8296 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8297 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8298 * string/memcmp.c (memcmp_bytes): Likewise.
8299 * locale/programs/locarchive.c (compute_hashval): Likewise.
8300 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8301 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8302 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8303 * nss/getent.c (print_rpc, print_protocols): Likewise.
8304 (print_passwd, print_group, print_aliases): Likewise.
8305 * nis/nss-nisplus.h (niserr2nss): Likewise.
8306 * nscd/connections.c (restart_p): Likewise.
8307 Change return type to bool.
8309 2013-02-05 Roland McGrath <roland@hack.frob.com>
8311 * Makeconfig (all-Depend-files): Add existing
8312 $(sorted-subdirs:=/Depend) files.
8313 (all-subdirs): Remove nss.
8314 * sysdeps/unix/inet/Subdirs: Add it here instead.
8315 * hesiod/Depend: New file.
8317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8318 instead of calling alloca.
8320 * io/lseek.c (__lseek): Rename to __libc_lseek.
8321 Define __lseek as an alias.
8323 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8325 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8327 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8328 else clause and remove check for non-standard endianness.
8330 2013-02-04 David S. Miller <davem@davemloft.net>
8332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8334 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8337 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8338 (__ubp_memchr): Remove prototype.
8339 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8340 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8341 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8342 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8343 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8345 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8346 (__ubp_memchr): Likewise.
8347 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8348 (__ubp_memchr): Likewise.
8349 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8350 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8351 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8352 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8354 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8355 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8356 (__getcwd): Do not use CHECK_STRING.
8357 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8359 (__real_chown): Do not use CHECK_STRING.
8360 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8362 (fchownat): Do not use CHECK_STRING.
8363 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8365 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8367 (__lchown): Do not use CHECK_STRING.
8368 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8369 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8370 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8371 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8373 include <bp-checks.h>.
8374 (truncate64): Do not use CHECK_STRING.
8375 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8377 (__real_chown): Do not use CHECK_STRING.
8378 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8380 (__lchown): Do not use CHECK_STRING.
8381 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8383 (__chown): Do not use CHECK_STRING.
8384 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8386 (truncate64): Do not use CHECK_STRING.
8387 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8389 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8390 (__xmknod): Do not use CHECK_STRING.
8391 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8393 (__xmknodat): Do not use CHECK_STRING.
8394 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8395 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8397 2013-02-04 Andreas Schwab <schwab@suse.de>
8400 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8401 * include/netdb.h: Likewise for h_errno.
8402 * elf/tst-stackguard1.c: Include <tls.h>.
8404 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8406 * elf/link.h (struct link_map): Extend the l_addr comment.
8407 * include/link.h (struct link_map): Likewise.
8409 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8412 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8413 (BOUNDED_1): Remove macro.
8414 * debug/backtrace.c: Don't include <bp-checks.h>.
8415 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8416 (__backtrace): Likewise.
8417 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8419 (__backtrace): Don't use BOUNDED_1.
8420 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8422 (__backtrace): Don't use BOUNDED_1.
8423 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8424 (__backtrace): Don't use BOUNDED_1.
8425 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8426 (shmat): Don't use BOUNDED_N.
8428 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8431 * sysdeps/generic/bp-start.h: Remove file.
8432 * csu/libc-start.c: Don't include <bp-start.h>.
8433 (LIBC_START_MAIN): Set up __environ directly instead of using
8434 INIT_ARGV_and_ENVIRON.
8435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8439 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8441 (CHECK_FCNTL): Likewise.
8442 (CHECK_N_PAGES): Likewise.
8445 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8447 (CHECK_SIGSET_NULL_OK): Likewise.
8448 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8450 (sigpending): Don't use CHECK_SIGSET.
8451 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8453 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8454 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8456 (do_sigsuspend): Don't use CHECK_SIGSET.
8457 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8459 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8460 (do_sigwait): Don't use CHECK_SIGSET.
8461 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8463 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8464 include <bp-checks.h>.
8465 (sigpending): Don't use CHECK_SIGSET.
8466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8467 include <bp-checks.h>.
8468 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8469 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8471 (sigpending): Don't use CHECK_SIGSET.
8472 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8474 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8477 * sysdeps/generic/bp-semctl.h: Remove file.
8478 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8479 <bp-checks.h> and <bp-semctl.h>.
8480 (__old_semctl): Don't use CHECK_SEMCTL.
8481 (__new_semctl): Likewise.
8482 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8484 (__old_semctl): Don't use CHECK_SEMCTL.
8485 (__new_semctl): Likewise.
8486 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8487 <bp-checks.h> and <bp-semctl.h>.
8488 (__old_semctl): Don't use CHECK_SEMCTL.
8489 (__new_semctl): Likewise.
8490 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8491 <bp-checks.h> and <bp-semctl.h>.
8492 (semctl): Don't use CHECK_SEMCTL.
8495 * Makerules (elide-bp-thunks): Remove variable.
8496 (elide-routines.oS): Don't use $(elide-bp-thunks).
8497 (elide-routines.os): Likewise.
8498 (elide-routines.o): Likewise.
8499 (elide-routines.op): Likewise.
8500 (elide-routines.og): Likewise.
8501 (objects): Don't use $(bp-thunks).
8502 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8504 (common-generated): Do not add s-proto-bp.d.
8505 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8508 Do not generate makefile rules for bounded-pointer thunks.
8509 * sysdeps/generic/bp-thunks.h: Remove file.
8510 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8511 * sysdeps/unix/s-proto-bp.S: Likewise.
8514 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8515 parts of result separately when argument is not close to line from
8516 -i to i and one part of argument is small.
8517 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8518 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8519 * math/libm-test.inc (cacos_test): Add more tests.
8520 (casin_test): Likewise.
8521 (casinh_test): Likewise.
8522 * sysdeps/i386/fpu/libm-test-ulps: Update.
8523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8525 2013-01-31 David S. Miller <davem@davemloft.net>
8527 * po/de.po: Update from translation team.
8529 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8531 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8533 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8535 * configure.in (_AC_PROG_CC_C89): New definition.
8536 * configure: Regenerate.
8538 * configure.in (AC_PROG_CPP): New definition.
8539 * configure: Regenerate.
8541 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8543 * debug/tst-backtrace.h: New file.
8544 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8545 (ret): Remove variable.
8547 (FAIL): Remove macro.
8548 (NO_INLINE): Likewise.
8549 (fn1): Use match function instead of strstr.
8550 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8551 (ret): Remove variable.
8553 (FAIL): Remove macro.
8554 (NO_INLINE): Likewise.
8555 (fn): Use match function instead of strstr.
8556 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8557 (ret): Remove variable.
8559 (FAIL): Remove macro.
8560 (NO_INLINE): Likewise.
8561 (handle_signal): Use match function instead of strstr.
8562 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8563 (ret): Remove variable.
8565 (FAIL): Remove macro.
8566 (NO_INLINE): Likewise.
8567 (handle_signal): Use match function instead of strstr.
8569 2013-01-23 Roland McGrath <roland@hack.frob.com>
8571 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8573 2013-01-23 David S. Miller <davem@davemloft.net>
8575 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8576 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8577 argument of CAS if possible.
8578 * sysdeps/sparc/sparc64/bits/atomic.h
8579 (__arch_compare_and_exchange_val_32_acq): Likewise.
8580 (__arch_compare_and_exchange_val_64_acq): Likewise.
8582 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8584 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8585 * sysdeps/posix/ulimit.c: ... this.
8587 * sysdeps/unix/bsd/ulimit.c: Remove file.
8589 2013-01-23 Adam Conrad <adconrad@0c3.net>
8591 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8592 (LDFLAGS-tst-array5): Likewise.
8594 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8597 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8598 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8599 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8600 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8602 2013-01-21 David S. Miller <davem@davemloft.net>
8604 * sysdeps/sparc/backtrace.c: New file.
8605 * sysdeps/sparc/sparc32/backtrace.h: New file.
8606 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8607 * sysdeps/sparc/sparc64/backtrace.h: New file.
8608 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8609 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8612 2013-01-21 Andreas Schwab <schwab@suse.de>
8615 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8618 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8620 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8624 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8625 Mark Mitchell <mark@codesourcery.com>
8626 Tom de Vries <tom@codesourcery.com>
8627 Paul Pluzhnikov <ppluzhnikov@google.com>
8629 * debug/tst-backtrace2.c: New file.
8630 * debug/tst-backtrace3.c: Likewise.
8631 * debug/tst-backtrace4.c: Likewise.
8632 * debug/tst-backtrace5.c: Likewise.
8633 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8634 (CFLAGS-tst-backtrace3.c): Likewise.
8635 (CFLAGS-tst-backtrace4.c): Likewise.
8636 (CFLAGS-tst-backtrace5.c): Likewise.
8637 (LDFLAGS-tst-backtrace2): Likewise.
8638 (LDFLAGS-tst-backtrace3): Likewise.
8639 (LDFLAGS-tst-backtrace4): Likewise.
8640 (LDFLAGS-tst-backtrace5): Likewise.
8641 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8642 tst-backtrace4 and tst-backtrace5.
8644 2013-01-18 Anton Blanchard <anton@samba.org>
8645 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8647 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8648 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8649 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8650 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8652 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8653 "+r" and remove output regs list as redundant. Add explicit inline
8654 asm to specify register of return val to work around compiler codegen
8655 bug. Remove (int) cast on return value. Add return type parameter to
8656 use in macro so that this macro does not truncate return value for
8658 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8659 pass to INTERNAL_VSYSCALL_NCS.
8660 (INLINE_VSYSCALL): Add 'long int' as return type to
8661 INTERNAL_VSYSCALL_NCS macro invocation.
8662 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8663 INTERNAL_VSYSCALL_NCS macro invocation.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8666 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8669 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8670 Fix application of SIMD FP exception mask.
8672 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8673 mp_no from a power of two.
8674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8675 __mpexp_twomm1. Use __pow_mp.
8677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8680 2013-01-17 David S. Miller <davem@davemloft.net>
8682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8684 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8687 * include/complex.h: Condition contents on [!_COMPLEX_H].
8688 (__kernel_casinhf): New prototype.
8689 (__kernel_casinh): Likewise.
8690 (__kernel_casinhl): Likewise.
8691 * math/Makefile (libm_calls): Add k_casinh.
8692 * math/k_casinh.c: New file.
8693 * math/k_casinhf.c: Likewise.
8694 * math/k_casinhl.c: Likewise.
8695 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8696 finite nonzero arguments.
8697 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8698 finite nonzero arguments.
8699 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8700 finite nonzero arguments.
8701 * math/s_casinh.c: Do not include <float.h>.
8702 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8703 * math/s_casinhf.c: Do not include <float.h>.
8704 (__casinhf): Move code for finite nonzero arguments to
8706 * math/s_casinhl.c: Do not include <float.h>.
8707 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8709 (__casinhl): Move code for finite nonzero arguments to
8711 * math/libm-test.inc (cacos_test): Add more tests.
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8715 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8717 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8718 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8719 [!HAVE_MREMAP]: Remove [defined linux] case.
8720 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8722 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8724 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8726 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8728 * elf/elf.h (R_386_SIZE32): New relocation.
8729 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8731 (elf_machine_rela): Likewise.
8732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8733 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8735 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8737 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8738 (FP_FAST_FMA): Do not define.
8739 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8740 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8741 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8742 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8743 !_SOFT_FLOAT]: Likewise.
8744 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8745 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8747 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8748 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8749 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8751 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8752 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8755 2013-01-16 Andreas Schwab <schwab@suse.de>
8758 * include/stdlib.h (__mktemp): Add declaration.
8759 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8760 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8762 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8764 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8766 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8767 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8768 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8770 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8771 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8773 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8775 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8776 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8777 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8779 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8780 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8782 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8784 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8786 2013-01-15 David S. Miller <davem@davemloft.net>
8788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8789 trunc{,f} to libm-sysdep_routes.
8790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8800 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8801 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8802 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8803 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8804 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8805 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8808 nearbyint{,f} to libm-sysdep_routes.
8809 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8823 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8830 libc_feholdexcept and libc_fesetenv.
8832 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8834 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8836 2013-01-14 David S. Miller <davem@davemloft.net>
8838 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8839 (SPARC_ASM_VIS2_IFUNC): Likewise.
8840 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8842 use of 'siam' instruction.
8843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8873 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8876 routines to libm-sysdep_routines.
8877 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8880 fdim/fdimf to libm-sysdep_routines.
8881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8889 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8890 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8891 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8892 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8894 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8896 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8899 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8904 local variable MPTWO.
8905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8908 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8910 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8913 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8915 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8917 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8919 * manual/pattern.texi (glob_t): Document gl_flags.
8920 (glob64_t): Likewise.
8922 2013-01-11 David S. Miller <davem@davemloft.net>
8924 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8925 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8926 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8927 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8928 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8929 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8930 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8931 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8932 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8933 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8934 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8935 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8936 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8938 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8939 sparc V9 rather than using V8 code.
8940 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8941 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8943 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8945 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8948 2013-01-11 Roland McGrath <roland@hack.frob.com>
8950 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8951 not in the main loop.
8952 * configure: Regenerated.
8954 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8956 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8957 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8959 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8960 [!__GLIBC_HAVE_LONG_LONG] case.
8961 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8962 condition to just #else.
8963 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8964 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8965 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8966 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8968 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8969 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8970 #elif condition to just #else.
8971 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8972 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8973 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8974 #elif condition to just #else.
8976 2013-01-11 Steve Ellcey <sellcey@mips.com>
8978 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8979 (EF_MIPS_ARCH_64): Fix value.
8980 (EF_MIPS_ARCH_32R2): New.
8981 (EF_MIPS_ARCH_64R2): New.
8983 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8985 * Makeconfig (+link-pie-before-libc): New.
8986 (+link-pie-after-libc): Likewise.
8987 (+link-pie-tests): Likewise.
8988 (+link-pie): Rewritten.
8989 (link-before-libc): Remove $(config-LDFLAGS).
8990 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8991 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8992 (config-LDFLAGS): Renamed to ...
8993 (rtld-LDFLAGS): This.
8994 (rtld-tests-LDFLAGS): New macro.
8995 (link-libc-rpath-link): Likewise.
8996 (link-libc-tests-rpath-link): Likewise.
8997 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8998 (link-libc): Prepand $(link-libc-rpath-link).
8999 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9000 (test-program-prefix): New macro.
9001 (test-via-rtld-prefix): Likewise.
9002 (test-program-cmd): Likewise.
9003 (host-test-program-cmd): Likewise.
9004 * Makefile ($(common-objpfx)testrun.sh): Replace
9005 $(run-program-prefix) with $(test-program-prefix).
9006 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9008 ($(common-objpfx)shlib.lds): Likewise.
9009 (build-module-helper): Likewise.
9010 ($(common-objpfx)format.lds): Likewise.
9011 * Rules (binaries-pie-tests): New.
9012 (binaries-pie-notests): Likewise.
9013 (binaries-pie): Rewritten.
9014 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9015 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9016 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9017 (make-test-out): Replace $(host-built-program-cmd) with
9018 $(host-test-program-cmd).
9019 * config.make.in (build-hardcoded-path-in-tests): New variable.
9020 * configure.in (--enable-hardcoded-path-in-tests): New configure
9022 (hardcoded_path_in_tests): New AC_SUBST.
9023 * configure: Regenerated.
9024 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9025 $(built-program-cmd) with $(test-program-cmd).
9026 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9027 (test_program_cmd): This.
9028 * elf/Makefile ($(objpfx)order.out): Run test with
9029 $(test-program-prefix).
9030 ($(objpfx)order2.out): Likewise.
9031 ($(objpfx)tst-initorder.out): Likewise.
9032 ($(objpfx)tst-initorder2.out): Likewise.
9033 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9034 $(test-program-cmd).
9035 ($(objpfx)tst-array1-static.out): Likewise.
9036 ($(objpfx)tst-array2.out): Likewise.
9037 ($(objpfx)tst-array3.out): Likewise.
9038 ($(objpfx)tst-array4.out): Likewise.
9039 ($(objpfx)tst-array5.out): Likewise.
9040 ($(objpfx)tst-array5-static.out): Likewise.
9041 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9042 $(test-program-cmd).
9043 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9044 $(run-program-prefix) with $(test-program-prefix).
9045 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9046 (test_program_prefix): This.
9047 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9048 $(run-program-prefix) with $(test-program-prefix).
9049 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9050 (test_program_prefix): This.
9051 * iconvdata/tst-tables.sh: Likewise.
9052 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9053 $(run-program-prefix) with $(test-program-prefix).
9054 ($(objpfx)tst-translit.out): Likewise.
9055 ($(objpfx)tst-gettext2.out): Likewise.
9056 ($(objpfx)tst-gettext4.out): Likewise.
9057 ($(objpfx)tst-gettext6.out): Likewise.
9058 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9059 (test_program_prefix): This.
9060 * intl/tst-gettext2.sh: Likewise.
9061 * intl/tst-gettext4.sh Likewise.
9062 * intl/tst-gettext6.sh: Likewise.
9063 * intl/tst-translit.sh: Likewise.
9064 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9065 with $(test-program-cmd).
9066 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9067 $(run-program-prefix) with $(test-program-prefix).
9068 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9069 (test_program_prefix): This.
9070 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9071 $(run-program-prefix) with $(test-program-prefix).
9072 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9073 (test_program_prefix): This.
9074 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9075 * posix/Makefile ($(objpfx)globtest.out): Replace
9076 $(run-via-rtld-prefix) and $(test-wrapper) with
9077 $(test-program-prefix) and $(test-via-rtld-prefix).
9078 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9079 $(test-program-prefix).
9080 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9081 $(host-test-program-cmd).
9082 (tst-spawn-ARGS): Likewise.
9083 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9084 $(test-program-prefix).
9085 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9086 (test_via_rtld_prefix): This.
9087 (test_wrapper): Renamed to ...
9088 (test_program_prefix): This.
9089 (run_program_prefix): Replaced by test_program_prefix.
9090 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9091 (test_program_prefix): This.
9092 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9093 with $(host-test-program-cmd).
9094 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9095 $(run-program-prefix) with $(test-program-prefix).
9096 ($(objpfx)tst-printf.out): Likewise.
9097 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9098 $(test-program-cmd).
9099 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9100 (test_program_prefix): This.
9101 * stdio-common/tst-unbputc.sh: Likewise.
9102 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9103 $(run-program-prefix) with $(test-program-prefix).
9104 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9105 (test_program_prefix): This.
9106 * string/Makefile ($(objpfx)tst-svc.out): Replace
9107 $(built-program-cmd) with $(test-program-cmd).
9109 2013-01-11 Andreas Jaeger <aj@suse.de>
9112 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9113 value. Sync with Linux 3.7.
9115 2013-01-10 David S. Miller <davem@davemloft.net>
9117 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9118 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9119 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9121 2013-01-10 Roland McGrath <roland@hack.frob.com>
9123 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9125 * configure: Regenerated.
9127 2013-01-10 David S. Miller <davem@davemloft.net>
9129 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9130 sparc V9 rather than using V8 code.
9131 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9132 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9134 2013-01-10 Roland McGrath <roland@hack.frob.com>
9136 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9137 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9138 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9139 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9140 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9141 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9142 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9143 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9144 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9145 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9146 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9147 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9148 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9149 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9150 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9151 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9152 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9153 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9154 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9155 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9156 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9157 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9158 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9159 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9160 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9161 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9162 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9164 2013-01-10 David S. Miller <davem@davemloft.net>
9166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9168 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9170 * posix/Makefile (tests-static): New variable.
9171 (tests): Add $(tests-static).
9172 (tst-exec-static-ARGS): New variable.
9173 (tst-spawn-static-ARGS): Likewise.
9174 * posix/tst-exec-static.c: New file.
9175 * posix/tst-spawn-static.c: Likewise.
9176 * posix/tst-exec.c: Support run directly.
9177 * posix/tst-spawn.c: Likewise.
9179 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9181 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9183 * math/bits/mathcalls.h (llrint): Likewise.
9184 (llround): Likewise.
9185 * stdlib/stdlib.h (struct drand48_data): Likewise.
9186 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9187 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9188 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9190 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9192 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9193 (elf_greg_t): Likewise.
9194 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9195 (__jmp_buf): Likewise.
9196 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9198 (llrint): Likewise, for all definitions.
9199 (llrintl): Likewise.
9201 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9202 Remove [__GNUC__] condition.
9203 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9204 condition to just [__USE_ISOC99].
9205 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9207 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9210 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9211 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9213 (_POSIX_V6_ILP32_OFF32): Likewise.
9214 (_XBS5_ILP32_OFF32): Likewise.
9215 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9216 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9218 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9220 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9223 doubles __mpexp_twomm1. Adjust usage.
9224 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9227 2013-01-10 Andreas Schwab <schwab@suse.de>
9230 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9231 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9233 2013-01-09 David S. Miller <davem@davemloft.net>
9236 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9237 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9238 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9239 TCP_FASTOPEN): Define.
9240 (tcp_repair_opt): New structure.
9241 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9243 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9244 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9245 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9246 (tcp_cookie_transactions): New structure.
9248 2013-01-09 Anton Blanchard <anton@samba.org>
9250 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9251 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9252 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9255 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9257 * include/features.h (__USE_ANSI): Remove.
9259 2013-01-09 Roland McGrath <roland@hack.frob.com>
9261 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9263 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9265 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9267 * sysdeps/s390/fpu/libm-test-ulps: Update.
9269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9271 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9276 (__mp_dbl): Likewise.
9277 (__dbl_mp): Likewise.
9278 (add_magnitudes): Likewise.
9279 (sub_magnitudes): Likewise.
9285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9290 (__mp_dbl): Likewise.
9291 (__dbl_mp): Likewise.
9292 (add_magnitudes): Likewise.
9293 (sub_magnitudes): Likewise.
9299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9304 (__mp_dbl): Likewise.
9305 (__dbl_mp): Likewise.
9306 (add_magnitudes): Likewise.
9307 (sub_magnitudes): Likewise.
9314 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9316 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9317 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9318 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9319 2 && __USE_EXTERN_INLINES]: Likewise.
9321 2013-01-08 Andreas Jaeger <aj@suse.de>
9324 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9326 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9327 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9329 2013-01-07 Anton Blanchard <anton@samba.org>
9331 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9332 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9333 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9334 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9335 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9337 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9338 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9340 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9342 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9343 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9346 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9347 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9348 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9349 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9350 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9351 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9352 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9354 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9355 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9356 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9357 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9358 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9360 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9361 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9363 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9365 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9367 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9369 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9370 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9371 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9372 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9373 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9375 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9377 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9378 (__MALLOC_PMT): Likewise.
9379 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9380 [__GNUC__], only on [_LIBC].
9381 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9382 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9383 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9384 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9385 forward declaration.
9386 (realloc_hook_ini): Likewise.
9387 (memalign_hook_ini): Likewise.
9388 (__libc_memalign): Do not use __MALLOC_PMT in variable
9390 (__libc_valloc): Likewise.
9391 (__libc_pvalloc): Likewise.
9392 (__libc_calloc): Likewise.
9393 (__posix_memalign): Likewise.
9396 * math/s_casinh.c: Include <float.h>.
9397 (__casinh): Do not do computation with squaring and square root
9398 for large arguments.
9399 * math/s_casinhf.c: Include <float.h>.
9400 (__casinhf): Do not do computation with squaring and square root
9401 for large arguments.
9402 * math/s_casinhl.c: Include <float.h>.
9403 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9404 (__casinhl): Do not do computation with squaring and square root
9405 for large arguments.
9406 * math/libm-test.inc (casin_test): Add more tests.
9407 (casinh_test): Likewise.
9408 * sysdeps/i386/fpu/libm-test-ulps: Update.
9409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9411 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9413 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9414 (__x86_64_raw_data_cache_size): Likewise.
9415 (__x86_64_data_cache_size_half): Likewise.
9416 (__x86_64_raw_data_cache_size_half): Likewise.
9417 (__x86_64_shared_cache_size): Likewise.
9418 (__x86_64_raw_shared_cache_size): Likewise.
9419 (__x86_64_shared_cache_size_half): Likewise.
9420 (__x86_64_raw_shared_cache_size_half): Likewise.
9421 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9423 (__x86_data_cache_size): This.
9424 (__x86_64_raw_data_cache_size): Renamed to ...
9425 (__x86_raw_data_cache_size): This.
9426 (__x86_64_data_cache_size_half): Renamed to ...
9427 (__x86_data_cache_size_half): This.
9428 (__x86_64_raw_data_cache_size_half): Renamed to ...
9429 (__x86_raw_data_cache_size_half): This.
9430 (__x86_64_shared_cache_size): Renamed to ...
9431 (__x86_shared_cache_size): This.
9432 (__x86_64_raw_shared_cache_size): Renamed to ...
9433 (__x86_raw_shared_cache_size): This.
9434 (__x86_64_shared_cache_size_half): Renamed to ...
9435 (__x86_shared_cache_size_half): This.
9436 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9437 (__x86_raw_shared_cache_size_half): This.
9438 * sysdeps/x86_64/memcpy.S: Updated.
9439 * sysdeps/x86_64/memset.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9442 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9444 2013-01-04 David S. Miller <davem@davemloft.net>
9446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9448 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9450 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9451 1 to avoid redefinition warning.
9452 (__USE_GNU): Don't define.
9453 (init_signaling_nan): Protoize.
9455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9457 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9459 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9461 (__cpymn): Likewise.
9462 (norm): Remove commented code.
9464 (__mp_dbl): Likewise.
9466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9467 (__cpymn): Likewise.
9468 (norm): Remove commented code.
9470 (__mp_dbl): Likewise.
9473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9474 mp_no value for 1.0 and 2.0.
9475 (norm): Use RADIXI instead of radixi.d.
9477 (__mul): Use 0.0 instead of zero.d.
9478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9479 mp_no value for 1.0 and 2.0.
9480 (norm): Use RADIXI instead of radixi.d.
9482 (__mul): Use 0.0 instead of zero.d.
9484 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9487 * math/s_casinh.c (__casinh): Reduce finite argument to first
9488 quadrant then set signs of results at the end.
9489 * math/s_casinhf.c (__casinhf): Likewise.
9490 * math/s_casinhl.c (__casinhl): Likewise.
9491 * math/libm-test.inc (casin_test): Add more tests.
9492 (casinh_test): Likewise.
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9496 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9498 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9500 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9502 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9505 (__mp_dbl): Likewise.
9508 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9509 and adjust the header comment.
9511 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9512 variable name from declaration.
9514 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9517 Initialize COMMON_CPUID_INDEX_7 element.
9518 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9519 (CPUID_RTM): Likewise.
9520 (HAS_RTM): Likewise.
9521 (COMMON_CPUID_INDEX_7): New enum.
9523 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9526 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9527 size is zero, record memory as freed.
9529 2013-01-03 Andreas Jaeger <aj@suse.de>
9531 * po/ia.po: Add new Interlingua translation.
9533 2012-01-03 Allan McRae <allan@archlinux.org>
9535 * locale/programs/localedef.c: Fix description of '--posix' flag.
9537 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9539 * NEWS: Update dates in second copyright notice.
9540 * README: Update copyright dates in example.
9541 * manual/libc.texinfo: Update copyright dates.
9542 * scripts/test-installation.pl: Update copyright date in --version
9545 * hurd/ctty-input.c: Fix copyright notice formatting.
9546 * hurd/ctty-output.c: Likewise.
9547 * hurd/dtable.c: Likewise.
9548 * hurd/hurd-raise.c: Likewise.
9549 * hurd/hurdprio.c: Likewise.
9550 * hurd/msgportdemux.c: Likewise.
9551 * misc/sys/file.h: Likewise.
9552 * misc/sys/ioctl.h: Likewise.
9553 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9554 * sysdeps/mach/hurd/chdir.c: Likewise.
9555 * sysdeps/mach/hurd/fchdir.c: Likewise.
9556 * sysdeps/mach/hurd/rename.c: Likewise.
9557 * sysdeps/mach/hurd/rmdir.c: Likewise.
9558 * sysdeps/mach/hurd/seekdir.c: Likewise.
9559 * sysdeps/mach/hurd/setsid.c: Likewise.
9560 * sysdeps/posix/wait3.c: Likewise.
9562 * All files with FSF copyright notices: Update copyright dates
9563 using scripts/update-copyrights.
9564 * intl/plural.c: Regenerated.
9565 * locale/programs/charmap-kw.h: Likewise.
9566 * locale/programs/locfile-kw.h: Likewise.
9568 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9570 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9573 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9574 calculation loop and add branch prediction.
9576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9577 check access beyond bounds of m1np.
9579 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9581 (__inv): Remove local variable MPTWO to use the global
9583 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9587 MP3HALFS static const.
9589 2013-01-01 David S. Miller <davem@davemloft.net>
9591 * po/ca.po: Update from translation team.
9593 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9595 * scripts/update-copyrights: New file.
9596 * Makeconfig: Reformat copyright notice.
9597 * ctype/ctype.h: Likewise.
9598 * debug/swprintf_chk.c: Likewise.
9599 * elf/dl-cache.c: Likewise.
9600 * elf/dl-debug.c: Likewise.
9601 * elf/dl-object.c: Likewise.
9602 * grp/initgroups.c: Likewise.
9603 * hurd/Makefile: Likewise.
9604 * hurd/hurd/signal.h: Likewise.
9605 * hurd/hurdfault.c: Likewise.
9606 * hurd/hurdioctl.c: Likewise.
9607 * hurd/hurdlookup.c: Likewise.
9608 * hurd/intr-msg.c: Likewise.
9609 * iconv/gconv_open.c: Likewise.
9610 * libio/swprintf.c: Likewise.
9611 * locale/lc-ctype.c: Likewise.
9612 * locale/nl_langinfo.c: Likewise.
9613 * mach/Machrules: Likewise.
9614 * mach/Makefile: Likewise.
9615 * malloc/obstack.h: Likewise.
9616 * manual/Makefile: Likewise.
9617 * manual/tsort.awk: Likewise.
9618 * misc/bits/stab.def: Likewise.
9619 * nis/nis_print_group_entry.c: Likewise.
9620 * nis/nis_table.c: Likewise.
9621 * nis/nss_compat/compat-pwd.c: Likewise.
9622 * nis/nss_compat/compat-spwd.c: Likewise.
9623 * po/Makefile: Likewise.
9624 * posix/fnmatch.c: Likewise.
9625 * posix/regex.h: Likewise.
9626 * resolv/Makefile: Likewise.
9627 * resolv/nss_dns/dns-network.c: Likewise.
9628 * resolv/res_hconf.c: Likewise.
9629 * scripts/gen-sorted.awk: Likewise.
9630 * soft-fp/soft-fp.h: Likewise.
9631 * stdio-common/printf.h: Likewise.
9632 * stdlib/monetary.h: Likewise.
9633 * stdlib/random.c: Likewise.
9634 * stdlib/random_r.c: Likewise.
9635 * sysdeps/generic/Makefile: Likewise.
9636 * sysdeps/gnu/Makefile: Likewise.
9637 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9641 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9644 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9647 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9648 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9649 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9651 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9652 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9653 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9657 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9658 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9659 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9660 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9661 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9664 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9665 * sysdeps/mach/hurd/errnos.awk: Likewise.
9666 * sysdeps/mach/hurd/fork.c: Likewise.
9667 * sysdeps/mach/hurd/getcwd.c: Likewise.
9668 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9669 * sysdeps/mach/hurd/mmap.c: Likewise.
9670 * sysdeps/mach/hurd/utimes.c: Likewise.
9671 * sysdeps/mach/hurd/xmknod.c: Likewise.
9672 * sysdeps/posix/profil.c: Likewise.
9673 * sysdeps/posix/readdir_r.c: Likewise.
9674 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9675 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9676 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9677 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9680 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9681 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9683 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9685 * sysdeps/pthread/lio_listio.c: Likewise.
9686 * sysdeps/sparc/dl-procinfo.h: Likewise.
9687 * sysdeps/unix/i386/sysdep.S: Likewise.
9688 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9689 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9690 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9691 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9693 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9694 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9695 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9696 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9697 * sysdeps/wordsize-32/divdi3.c: Likewise.
9698 * time/sys/time.h: Likewise.
9699 * wcsmbs/Makefile: Likewise.
9701 2013-01-01 David S. Miller <davem@davemloft.net>
9703 * po/fr.po: Update from translation team.
9705 * catgets/gencat.c: Update copyright year.
9706 * csu/version.c: Likewise.
9707 * debug/catchsegv.sh: Likewise.
9708 * debug/pcprofiledump.c: Likewise.
9709 * debug/xtrace.sh: Likewise.
9710 * elf/ldconfig.c: Likewise.
9711 * elf/ldd.bash.in: Likewise.
9712 * elf/pldd.c: Likewise.
9713 * elf/sotruss.ksh: Likewise.
9714 * elf/sprof.c: Likewise.
9715 * iconv/iconv_prog.c: Likewise.
9716 * iconv/iconvconfig.c: Likewise.
9717 * locale/programs/locale.c: Likewise.
9718 * locale/programs/localedef.c: Likewise.
9719 * login/programs/pt_chown.c: Likewise.
9720 * malloc/memusage.sh: Likewise.
9721 * malloc/memusagestat.c: Likewise.
9722 * malloc/mtrace.pl: Likewise.
9723 * nscd/nscd.c: Likewise.
9724 * nss/getent.c: Likewise.
9725 * nss/makedb.c: Likewise.
9726 * posix/getconf.c: Likewise.
9728 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9730 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9733 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9735 * math/bits/mathcalls.h (modf): Use __nonnull.
9737 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9739 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9740 (split): Use macro CN instead of the bare value.
9741 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9744 instead of the bare value.
9747 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9749 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9751 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9753 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9755 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9756 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9757 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9758 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9760 2012-12-28 Andreas Jaeger <aj@suse.de>
9762 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9763 values are from Linux 3.7.
9765 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9766 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9768 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9770 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9773 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9775 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9776 variables with preprocessor constants.
9777 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9778 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9779 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9781 2012-12-27 Bruno Haible <bruno@clisp.org>
9784 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9787 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9790 and use variable directly.
9791 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9793 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9795 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9796 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9798 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9800 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9801 include directive. Remove local variable MPONE.
9802 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9804 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9806 2012-12-25 David S. Miller <davem@davemloft.net>
9808 * version.h (RELEASE): Set to "development".
9809 (VERSION): Set to "2.17.90".
9810 * NEWS: Add 2.18 section.
9812 2012-12-21 David S. Miller <davem@davemloft.net>
9814 * po/hr.po: Update from translation team.
9816 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9818 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9820 2012-12-19 Steve Ellcey <sellcey@mips.com>
9822 * NEWS: Mention new memcpy for MIPS.
9824 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9826 * manual/contrib.texi (Contributors): Spelling correction.
9828 2012-12-15 David S. Miller <davem@davemloft.net>
9830 * po/ru.po: Update from translation team.
9832 2012-12-13 David S. Miller <davem@davemloft.net>
9834 * NEWS: Mention IFUNC testsuite enhancements.
9836 * po/pl.po: Update from translation team.
9837 * po/bg.po: Likewise.
9839 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9840 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9842 2012-12-11 David S. Miller <davem@davemloft.net>
9844 * po/sv.po: Update from translation team.
9846 * po/vi.po: Update from translation team.
9848 * po/cs.po: Update from translation team.
9850 * po/de.po: Update from translation team.
9851 * po/eo.po: Likewise.
9852 * po/nl.po: Likewise.
9854 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9857 * manual/argp.texi (Argp Helper Functions): Move node to follow
9861 * manual/conf.texi (Limits on File System Capacity): Mention if
9862 terminating null is included in the max size.
9864 2012-12-10 Andreas Jaeger <aj@suse.de>
9866 * po/cs.po: Update from translation team.
9868 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9870 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9871 void pointer and cast to uintptr_t.
9872 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9874 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9875 * sysdeps/s390/s390-64/memset.S: Likewise.
9877 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9880 * menual/message.texi (Message Translation): Fix typos.
9881 (Helper programs for gettext): Likewise.
9883 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9886 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9889 2012-12-07 David S. Miller <davem@davemloft.net>
9891 * po/libc.pot: Update.
9893 2012-12-07 Richard Henderson <rth@redhat.com>
9896 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9897 normal/normal case to before the switch.
9898 (_FP_DIV): Likewise.
9900 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9901 Mike Frysinger <vapier@gentoo.org>
9903 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9904 check for __NR_fadvise64_64.
9906 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9908 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9909 0, not just to plain "0" as a statement.
9910 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9913 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9915 * NEWS: Use sourceware.org in Bugzilla URL.
9917 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9920 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9922 * stdio-common/tst-put-error.c (do_test): Add newline to the
9923 padded test to ensure flush.
9925 2012-12-05 Jeff Law <law@redhat.com>
9927 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9929 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9931 * README: Don't refer to ports add-on as distributed separately.
9932 Mention AArch64 in list of systems supported in the ports add-on.
9934 * LICENSES: Add more non-FSF copyright and license notices.
9936 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9939 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9941 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9942 10000 as width of padded output.
9944 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9946 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9948 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9949 variable LX with __attribute__ ((unused)).
9950 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9952 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9954 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9955 with __attribute__ ((unused)).
9957 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9959 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9961 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9963 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9964 (CFLAGS-nldbl-acos.c): New variable.
9965 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9973 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9974 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9975 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9976 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9977 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9978 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9979 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9980 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9981 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9982 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9983 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9984 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9985 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9986 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10004 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10005 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10006 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10027 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10028 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10029 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10030 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10031 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10032 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10033 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10034 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10035 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10036 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10037 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10038 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10039 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10040 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10041 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10042 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10043 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10044 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10045 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10046 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10047 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10048 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10049 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10050 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10051 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10052 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10053 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10054 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10055 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10056 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10057 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10058 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10059 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10060 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10061 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10064 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10068 whole low double instead of just low 47 bits when splitting values
10071 2012-12-03 Allan McRae <allan@archlinux.org>
10073 * manual/stdio.texi (Predefined Printf Handlers): Remove
10074 @hsep and @vsep usage.
10076 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10078 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10079 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10081 2012-12-03 Jeff Law <law@redhat.com>
10083 * time/sys/time.h (settimeofday): Do not mark TV argument
10086 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10088 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10089 when currently writing and seek to current position when not.
10090 * libio/Makefile (tests): Remove bug-fclose1.
10091 * libio/bug-fclose1.c: Delete.
10093 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10095 * manual/arith.texi (feenableexcept): Fix typo.
10096 (fedisableexcept): Likewise.
10098 2012-11-30 Roland McGrath <roland@hack.frob.com>
10100 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10101 second, differently-typed declaration, rather than a cast.
10103 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10105 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10106 * include/rpc/svc.h: ... here.
10108 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10111 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10112 depending n and resplen2 to catch cases where answer
10115 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10117 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10118 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10120 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10122 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10124 2012-11-29 Roland McGrath <roland@hack.frob.com>
10126 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10128 2012-11-28 Jeff Law <law@redhat.com>
10131 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10132 dataset_temporary. Track alloca usage into alloca_used.
10133 If dataset is large allocate and release it via malloc/free.
10135 2012-06-04 Florian Weimer <fweimer@redhat.com>
10138 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10140 2012-11-28 David S. Miller <davem@davemloft.net>
10142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10144 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10147 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10148 of pi/2 rounded to nearest to 64 bits.
10149 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10150 nearest to 64 bits.
10151 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10154 2012-11-28 Jeff Law <law@redhat.com>
10155 Martin Osvald <mosvald@redhat.com>
10158 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10159 * sunrpc/svc.c: Include time.h.
10160 (__svc_accept_failed): New function.
10161 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10162 any reason other than EINTR, call __svc_accept_failed.
10163 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10164 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10166 2012-11-28 Andreas Schwab <schwab@suse.de>
10168 * scripts/abilist.awk: Also handle indirect functions in .opd
10171 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10174 * sysdeps/x86/fpu/powl_helper.c: New file.
10175 * sysdeps/x86/fpu/Makefile: Likewise.
10176 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10178 (__ieee754_powl): Use __powl_helper for finite arguments except
10179 integer exponents below 8.
10180 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10182 (__ieee754_powl): Use __powl_helper for finite arguments except
10183 integer exponents below 8.
10184 * math/libm-test.inc (pow_test): Add more tests and enable some
10185 previously disabled tests.
10186 * sysdeps/i386/fpu/libm-test-ulps: Update.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10189 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10190 Carlos O'Donell <carlos_odonell@mentor.com>
10192 * nss/makedb.c (is_prime): Assert that input is odd and greater
10193 than 4. Note that fact in a comment too.
10194 (next_prime): Add 4 to input.
10196 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10199 * libio/Makefile (tests): Add test case tst-fwrite-error.
10200 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10201 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10202 * libio/tst-fwrite-error.c: New test case.
10204 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10206 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10207 before casting to void *.
10208 * include/libc-internal.h (__pointer_type): New macro.
10209 (__integer_if_pointer_type_sub): Likewise.
10210 (__integer_if_pointer_type): Likewise.
10211 (cast_to_integer): Likewise.
10212 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10213 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10214 before casting to atomic64_t.
10215 (atomic_exchange_acq): Likewise.
10216 (__arch_exchange_and_add_body): Likewise.
10217 (__arch_add_body): Likewise.
10218 (atomic_add_negative): Likewise.
10219 (atomic_add_zero): Likewise.
10221 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10223 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10224 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10225 (add_fdes): Likewise.
10226 (linear_search_fdes): Likewise.
10227 (binary_search_unencoded_fdes): Likewise.
10229 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10231 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10233 2012-11-24 Adam Conrad <adconrad@0c3.net>
10235 * configure.in: Autodetect C++ header directories.
10236 * configure: Regenerated.
10238 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10240 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10242 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10246 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10248 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10249 LDBL_MANT_DIG == 106]: Disable some tests.
10250 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10252 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10256 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10257 input for small inputs. Return +/- pi/2 for large inputs.
10258 * math/libm-test.inc (atan_test): Add more tests.
10260 * sysdeps/generic/unwind-dw2-fde-glibc.c
10261 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10262 __attribute__ ((unused)).
10265 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10266 x * y if x and y are nonzero and z is zero.
10269 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10270 nonzero exponents with absolute value below 0x1p-117 to +/-
10274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10275 up arguments below 2**-450, not just those below 2**-500.
10276 * math/libm-test.inc (hypot_test): Add another test.
10279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10280 Return a+b for ratio over 2**120, not 2**60.
10281 * math/libm-test.inc (hypot_test): Add another test.
10283 * math/libm-test.inc (clog_test): Use
10284 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10285 (clog10_test): Likewise.
10288 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10290 2012-11-22 Andreas Schwab <schwab@suse.de>
10292 * sysdeps/i386/fpu/libm-test-ulps: Update.
10294 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10296 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10297 printf output with newline.
10299 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10302 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10303 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10304 -z nodlopen, -z initfirst and -z execstack support.
10305 * configure: Regenerated.
10307 * elf/elf.h (DF_1_NODIRECT): New macro.
10308 (DF_1_IGNMULDEF): Likewise.
10309 (DF_1_NOKSYMS): Likewise.
10310 (DF_1_NOHDR): Likewise.
10311 (DF_1_EDITED): Likewise.
10312 (DF_1_NORELOC): Likewise.
10313 (DF_1_SYMINTPOSE): Likewise.
10314 (DF_1_GLOBAUDIT): Likewise.
10315 (DF_1_SINGLETON): Likewise.
10316 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10317 DT_1_SUPPORTED_MASK bits.
10318 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10320 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10322 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10324 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10326 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10329 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10330 (sendmmsg): Move declarations...
10331 * socket/sys/socket.h: ... here.
10332 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10333 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10335 * socket/recvmmsg.c: ... this new file.
10336 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10337 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10338 definition of __sendmmsg hidden.
10339 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10340 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10341 Move ENOSYS stub into and include it from...
10342 * socket/sendmmsg.c: ... this new file.
10343 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10344 (sysdep_routines): Move recvmmsg and sendmmsg...
10345 * socket/Makefile (routines): ... here.
10346 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10347 (GLIBC_PRIVATE): Add __sendmmsg.
10348 * include/sys/socket.h (__sendmmsg): Add declarations.
10349 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10352 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10355 variable I1 with __attribute__ ((unused)).
10356 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10358 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10360 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10361 DUMMY variables with __attribute__ ((unused)).
10363 * bits/byteswap.h: Include <bits/types.h>.
10364 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10366 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10368 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10369 string_t. Do not manually set errno.
10370 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10371 length with __strnlen. Make sure to both set errno and return it on
10374 2012-11-19 David S. Miller <davem@davemloft.net>
10376 With help from Joseph Myers.
10377 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10378 very large arguments properly.
10379 * math/libm-test.inc (atan_test): New tests.
10380 (atan2_test): New tests.
10381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10384 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10387 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10390 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10391 [POSIX] (EADDRNOTAVAIL): Likewise.
10392 [POSIX] (EAFNOSUPPORT): Likewise.
10393 [POSIX] (EALREADY): Likewise.
10394 [POSIX] (ECONNABORTED): Likewise.
10395 [POSIX] (ECONNREFUSED): Likewise.
10396 [POSIX] (ECONNRESET): Likewise.
10397 [POSIX] (EDESTADDRREQ): Likewise.
10398 [POSIX] (EDQUOT): Likewise.
10399 [POSIX] (EHOSTUNREACH): Likewise.
10400 [POSIX] (EIDRM): Likewise.
10401 [POSIX] (EISCONN): Likewise.
10402 [POSIX] (ELOOP): Likewise.
10403 [POSIX] (EMULTIHOP): Likewise.
10404 [POSIX] (ENETDOWN): Likewise.
10405 [POSIX] (ENETUNREACH): Likewise.
10406 [POSIX] (ENOBUFS): Likewise.
10407 [POSIX] (ENODATA): Likewise.
10408 [POSIX] (ENOLINK): Likewise.
10409 [POSIX] (ENOMSG): Likewise.
10410 [POSIX] (ENOPROTOOPT): Likewise.
10411 [POSIX] (ENOSR): Likewise.
10412 [POSIX] (ENOSTR): Likewise.
10413 [POSIX] (ENOTCONN): Likewise.
10414 [POSIX] (ENOTSOCK): Likewise.
10415 [POSIX] (EOPNOTSUPP): Likewise.
10416 [POSIX] (EOVERFLOW): Likewise.
10417 [POSIX] (EPROTO): Likewise.
10418 [POSIX] (EPROTONOSUPPORT): Likewise.
10419 [POSIX] (EPROTOTYPE): Likewise.
10420 [POSIX] (ESTALE): Likewise.
10421 [POSIX] (ETIME): Likewise.
10422 [POSIX] (ETXTBSY): Likewise.
10423 [POSIX] (EWOULDBLOCK): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10425 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10426 [POSIX] (SEEK_CUR): Likewise.
10427 [POSIX] (SEEK_END): Likewise.
10428 [POSIX || UNIX98] (mode_t): Do not require.
10429 [POSIX] (off_t): Likewise.
10430 [POSIX] (pid_t): Likewise.
10431 [POSIX] (sys/stat.h): Do not allow header.
10432 [POSIX] (unistd.h): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10434 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10436 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10438 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10439 sigevent): Specify elements.
10440 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10442 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10443 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10445 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10446 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10447 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10448 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10449 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10450 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10451 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10452 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10454 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10455 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10456 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10457 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10458 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10460 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10462 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10464 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10466 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10467 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10468 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10469 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10471 Specify lower bound on value.
10472 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10474 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10478 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10479 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10481 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10483 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10486 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10487 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10488 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10489 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10492 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10493 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10494 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10495 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10496 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10497 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10498 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10500 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10502 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10503 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10504 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10505 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10509 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10514 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10517 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10521 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10522 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10523 specify as optional.
10524 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10527 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10528 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10529 [XPG3] (NL_LANGMAX): Likewise.
10530 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10531 [POSIX || XPG3] (NL_NMAX): Likewise.
10532 [POSIX || XPG3] (NL_SETMAX): Likewise.
10533 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10534 [XPG3] (NZERO): Likewise.
10535 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10536 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10537 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10538 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10539 (REG_ERANGE): Expect.
10540 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10542 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10543 Use (void) in prototype.
10544 [POSIX] (*_t): Allow.
10545 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10546 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10547 (WRDE_BADVAL): Expect.
10549 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10551 [XPG3 || XPG4] (O_RSYNC): Likewise.
10552 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10554 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10555 [XPG3 || XPG4] (sigqueue): Likewise.
10556 [XPG3 || XPG4] (sigtimedwait): Likewise.
10557 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10558 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10559 [XPG3 || XPG4] (vsnprintf): Likewise.
10560 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10562 [XPG3 || XPG4] (blksize_t): Likewise.
10563 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10565 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10566 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10567 [XPG3 || XPG4] (struct itimerspec): Likewise.
10568 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10569 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10570 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10571 [XPG3 || XPG4] (clockid_t): Likewise.
10572 [XPG3 || XPG4] (timer_t): Likewise.
10573 [XPG3 || XPG4] (clock_getres): Likewise.
10574 [XPG3 || XPG4] (clock_gettime): Likewise.
10575 [XPG3 || XPG4] (clock_settime): Likewise.
10576 [XPG3 || XPG4] (nanosleep): Likewise.
10577 [XPG3 || XPG4] (timer_create): Likewise.
10578 [XPG3 || XPG4] (timer_delete): Likewise.
10579 [XPG3 || XPG4] (timer_gettime): Likewise.
10580 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10581 [XPG3 || XPG4] (timer_settime): Likewise.
10582 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10583 [XPG3 || XPG4] (getlogin_r): Likewise.
10584 [XPG3 || XPG4] (pread): Likewise.
10585 [XPG3 || XPG4] (pthread_atfork): Likewise.
10586 [XPG3 || XPG4] (pwrite): Likewise.
10589 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10592 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10594 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10595 finalizing MALLSTREAM.
10597 * sysdeps/mach/hurd/syncfs.c: New file.
10599 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10603 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10604 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10605 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10606 (_nss_dns_gethostbyname4_r): Likewise.
10607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10608 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10610 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10613 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10615 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10617 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10618 * elf/cache.c (print_entry): Print ",AArch64" for
10621 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10622 * elf/cache.c (print_entry): Print ",hard-float" for
10625 2012-11-18 David S. Miller <davem@davemloft.net>
10627 With help from Joseph Myers.
10628 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10630 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10632 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10633 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10635 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10636 * math/libm-test.inc (y0_test): New tests.
10637 (y1_test): New tests.
10638 * sysdeps/i386/fpu/libm-test-ulps: Update.
10639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10642 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10644 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10646 * configure: Regenerated.
10648 2012-11-17 David S. Miller <davem@davemloft.net>
10651 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10652 nonzero exponents with absolute value below 0x1p-128 to +/-
10655 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10657 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10659 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10661 * posix/getconf-speclist.c: New file.
10662 * posix/posix-envs.def: Likewise.
10663 * posix/confstr.c (START_ENV_GROUP): New macro.
10664 (END_ENV_GROUP): Likewise.
10665 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10666 (KNOWN_PRESENT_ENV_STRING): Likewise.
10667 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10668 (UNKNOWN_ENVIRONMENT): Likewise.
10669 (confstr): Include posix-envs.def instead of handling
10670 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10671 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10672 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10673 (END_ENV_GROUP): Likewise.
10674 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10675 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10676 (UNKNOWN_ENVIRONMENT): Likewise.
10677 (__sysconf): Include posix-envs.def instead of handling associated
10678 cases directly here.
10679 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10680 preprocessing getconf-speclist.c rather than running getconf or
10681 generating empty file.
10683 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10685 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10687 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10690 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10692 2012-11-16 David S. Miller <davem@davemloft.net>
10694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10695 smaller than LDBL_EPSILON/2.0L, just return xm1.
10697 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10699 * elf/tst-array1.c (init): Set constructor priority to 1000.
10700 (fini): Set destructor priority to 1000.
10701 * elf/tst-array2dep.c: Likewise.
10703 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10706 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10707 (_IO_new_file_xsputn): Also return EOF if none of the input
10708 data was written when overflow failed.
10709 * libio/iopadn.c (_IO_padn): Likewise.
10710 * libio/iowpadn.c (_IO_wpadn): Likewise.
10711 * stdio-common/tst-put-error.c: Add copyright notice.
10712 (do_test): Add case for printing padded string.
10713 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10714 _IO_padn returned error.
10715 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10716 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10719 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10721 * libio/libioP.h: Add comment note that the references to C++
10722 bits are now obsolete.
10724 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10726 * math/libm-test.inc (check_complex): Use asprintf.
10728 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10730 * debug/pcprofiledump.c (print_version): Update copyright year.
10731 * malloc/memusagestat.c (print_version): Likewise.
10733 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10736 * elf/Makefile (tests): Add tst-audit8.
10737 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10738 ($(objpfx)tst-audit8.out): New target.
10739 (tst-audit8-ENV): New variable.
10740 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10741 audit if l_reloc_result is NULL.
10742 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10743 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10744 * elf/tst-audit8.c: New file.
10746 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10748 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10749 * misc/Makefile (CFLAGS-select.c): Define.
10750 * posix/Makefile (CFLAGS-pause.c): Define.
10752 2012-11-13 David S. Miller <davem@davemloft.net>
10754 * crypt/Makefile: Move test targets after toplevel Rules
10755 inclusion. Grab any necessary sysdep routines when linking.
10756 * crypt/md5.c (md5_process_block): Remove define, we will always
10757 name it __md5_process_block.
10758 (md5_finish_ctx): Update md5_process_block call.
10759 (md5_stream): Likewise.
10760 (md5_process_bytes): Likewise.
10761 (md5_process_block): Rename to __md5_process_block and move to ...
10762 * crypt/md5-block.c: ... here.
10763 * crypt/sha256.c (sha256_process_block): Move to ...
10764 * crypt/sha256-block.c: ... here.
10765 * crypt/sha512.c (sha512_process_block): Move to ...
10766 * crypt/sha512-block.c: ... here.
10767 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10769 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10770 * sysdeps/sparc/sparc64/multiarch/Makefile
10771 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10773 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10774 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10776 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10777 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10778 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10779 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10780 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10781 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10782 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10783 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10784 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10786 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10787 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10791 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10793 * timezone/tzselect.ksh: Update from tzcode git revision
10794 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10795 * timezone/zdump.c: Likewise.
10796 * timezone/zic.c: Likewise.
10797 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10798 in TZVERSION setting, not $(PKGVERSION).
10799 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10800 REPORT_BUGS_TO settings.
10803 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10806 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10808 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10809 detection to immediately after _FP_ROUND().
10810 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10813 2012-11-11 David S. Miller <davem@davemloft.net>
10815 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10817 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10818 __close rather than their public counterparts.
10820 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10822 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10824 [UNIX98] (sem_timedwait): Do not expect.
10825 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10826 [XPG4 || UNIX98] (sockatmark): Do not expect.
10827 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10828 (clock_getcpuclockid): Do not expect.
10829 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10830 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10832 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10833 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10834 [UNIX98] (vwscanf): Likewise.
10835 [UNIX98] (vswscanf): Likewise.
10837 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10839 * timezone/version.h: Remove file.
10840 * timezone/README: Do not refer to version.h.
10841 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10842 $(objpfx)version.h.
10843 ($(objpfx)zdump.o): Likewise.
10844 ($(objpfx)version.h): New target.
10846 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10848 * timezone/README: Don't mention modification to tzselect.ksh.
10849 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10850 work on unmodified tzselect.ksh. Substitute version numbers in
10853 * Makefile (format-me): Remove.
10854 (INSTALL): Adjust indentation. Use commands directly instead of
10855 using $(format-me).
10857 * aclocal.m4 (ACX_PKGVERSION): New macro.
10858 (ACX_BUGURL): Likewise.
10859 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10860 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10861 (REPORT_BUGS_TO): Likewise.
10862 * configure: Regenerated.
10863 * config.h.in (PKGVERSION): New macro.
10864 (REPORT_BUGS_TO): Likewise.
10865 * config.make.in (PKGVERSION): New variable.
10866 (PKGVERSION_TEXI): Likewise.
10867 (REPORT_BUGS_TO): Likewise.
10868 (REPORT_BUGS_TEXI): Likewise.
10869 * Makefile (format-me): Use -I$(common-objpfx)manual.
10870 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10871 ($(common-objpfx)manual/%): New target.
10872 (manual/%): Remove target.
10873 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10874 (print_version): Use PKGVERSION.
10875 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10876 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10877 and REPORT_BUGS_TO.
10878 ($(objpfx)xtrace): Likewise.
10879 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10880 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10881 (print_version): Use PKGVERSION.
10882 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10883 (do_version): Use PKGVERSION.
10884 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10886 (common-ldd-rewrite): Likewise.
10887 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10888 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10889 (print_version): Use PKGVERSION.
10890 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10891 * elf/pldd.c (argp_program_bug_address): Remove variable.
10892 (more_help): New function.
10893 (argp): Use more_help.
10894 (print_version): Use PKGVERSION.
10895 * elf/sln.c (main): Use PKGVERSION.
10896 (usage): Use REPORT_BUGS_TO.
10897 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10898 (top level): Use PKGVERSION.
10899 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10900 (print_version): Use PKGVERSION.
10901 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10902 (print_version): Use PKGVERSION.
10903 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10904 (print_version): Use PKGVERSION.
10905 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10906 (print_version): Use PKGVERSION.
10907 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10908 (print_version): Use PKGVERSION.
10909 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10910 (print_version): Use PKGVERSION.
10911 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10913 ($(objpfx)memusage): Likewise.
10914 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10915 (do_version): Use PKGVERSION.
10916 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10917 (print_version): Use PKGVERSION.
10918 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10919 ($PKGVERSION): New variable.
10920 ($REPORT_BUGS_TO): Likewise.
10921 (usage): Use $REPORT_BUGS_TO.
10922 (top level): Use $PKGVERSION.
10923 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10924 ($(objpfx)pkgvers.texi): New rule.
10925 ($(objpfx)stamp-pkgvers): Likewise.
10926 * manual/install.texi: Include pkgvers.texi.
10927 (--with-pkgversion): Document new configure option.
10928 (--with-bugurl): Likewise.
10929 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10930 than necessarily for this particular distribution. Use
10931 REPORT_BUGS_TO for where to report bugs.
10932 * INSTALL: Regenerated.
10933 * manual/libc.texinfo: Include pkgvers.texi.
10934 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10935 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10936 (print_version): Use PKGVERSION.
10937 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10938 (print_version): Use PKGVERSION.
10939 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10940 (print_version): Use PKGVERSION.
10941 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10942 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10944 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10945 (print_version): Use PKGVERSION.
10946 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10947 (print_version): Use PKGVERSION.
10948 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10951 * timezone/checktab.awk: Update from tzcode 2012i.
10952 * timezone/ialloc.c: Likewise.
10953 * timezone/private.h: Likewise.
10954 * timezone/scheck.c: Likewise.
10955 * timezone/tzfile.h: Likewise.
10956 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10957 (TZVERSION): Hardcode tzcode version number.
10958 * timezone/zdump.c: Update from tzcode 2012i.
10959 * timezone/zic.c: Likewise.
10960 * timezone/version.h: New file.
10961 * timezone/README: Describe version.h. Update upstream location.
10964 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10965 (mktemp): Enable declaration.
10966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10967 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10969 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10975 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10977 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10979 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10983 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10984 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10985 for copies of such integer values.
10986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10989 2012-11-09 Andreas Jaeger <aj@suse.de>
10991 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10992 definitions and declarations that are provided by
10993 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10995 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10997 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10998 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10999 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11002 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11004 * elf/elf.h: Update comment before AArch64 relocations.
11006 2012-11-07 David S. Miller <davem@davemloft.net>
11008 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11009 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11010 (__start_context): Declare.
11011 (__makecontext_ret): Delete.
11012 (__makecontext): Hook up __start_context instead of
11014 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11015 (sysdep_routines): Add __start_context when in stdlib.
11017 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11019 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11020 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11021 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11023 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11024 (READELF): New variable. Use it instead of hardcoded "readelf".
11026 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11028 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11029 * sysdeps/x86/Makefile: Here.
11030 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11031 * sysdeps/x86/tst-xmmymm.sh: This.
11033 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11035 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11037 [UNIX98] (pthread_barrier_t): Do not expect.
11038 [UNIX98] (pthread_barrierattr_t): Likewise.
11039 [UNIX98] (pthread_spinlock_t): Likewise.
11040 [UNIX98] (pthread_barrier_destroy): Likewise.
11041 [UNIX98] (pthread_barrier_init): Likewise.
11042 [UNIX98] (pthread_barrier_wait): Likewise.
11043 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11044 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11045 [UNIX98] (pthread_barrierattr_init): Likewise.
11046 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11047 [UNIX98] (pthread_getcpuclockid): Likewise.
11048 [UNIX98] (pthread_mutex_timedlock): Likewise.
11049 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11050 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11051 [UNIX98] (pthread_sigmask): Likewise.
11052 [UNIX98] (pthread_spin_destroy): Likewise.
11053 [UNIX98] (pthread_spin_init): Likewise.
11054 [UNIX98] (pthread_spin_lock): Likewise.
11055 [UNIX98] (pthread_spin_trylock): Likewise.
11056 [UNIX98] (pthread_spin_unlock): Likewise.
11057 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11059 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11060 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11061 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11062 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11063 [XPG3 || XPG4] (pthread_key_t): Likewise.
11064 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11065 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11066 [XPG3 || XPG4] (pthread_once_t): Likewise.
11067 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11068 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11069 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11070 [XPG3 || XPG4] (pthread_t): Likewise.
11072 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11074 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11076 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11077 Change function return type to int.
11079 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11080 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11081 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11082 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11083 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11084 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11085 [!POSIX] (posix_madvise): Likewise.
11086 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11088 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11089 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11090 (mode_t): Likewise.
11091 (posix_mem_offset): Likewise.
11092 (posix_typed_mem_get_info): Likewise.
11093 (posix_typed_mem_open): Likewise.
11095 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11096 Change condition to [XOPEN2K8].
11098 * conform/conformtest.pl: Preprocess allow-header data with -x c
11099 instead of from stdin.
11100 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11101 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11102 [C99-based standards] (cerfc): Likewise.
11103 [C99-based standards] (cexp2): Likewise.
11104 [C99-based standards] (cexpm1): Likewise.
11105 [C99-based standards] (clog10): Likewise.
11106 [C99-based standards] (clog1p): Likewise.
11107 [C99-based standards] (clog2): Likewise.
11108 [C99-based standards] (clgamma): Likewise.
11109 [C99-based standards] (ctgamma): Likewise.
11110 [C99-based standards] (cerff): Likewise.
11111 [C99-based standards] (cerfcf): Likewise.
11112 [C99-based standards] (cexp2f): Likewise.
11113 [C99-based standards] (cexpm1f): Likewise.
11114 [C99-based standards] (clog10f): Likewise.
11115 [C99-based standards] (clog1pf): Likewise.
11116 [C99-based standards] (clog2f): Likewise.
11117 [C99-based standards] (clgammaf): Likewise.
11118 [C99-based standards] (ctgammaf): Likewise.
11119 [C99-based standards] (cerfl): Likewise.
11120 [C99-based standards] (cerfcl): Likewise.
11121 [C99-based standards] (cexp2l): Likewise.
11122 [C99-based standards] (cexpm1l): Likewise.
11123 [C99-based standards] (clog10l): Likewise.
11124 [C99-based standards] (clog1pl): Likewise.
11125 [C99-based standards] (clog2l): Likewise.
11126 [C99-based standards] (clgammal): Likewise.
11127 [C99-based standards] (ctgammal): Likewise.
11128 * conform/data/inttypes.h-data [C99-based standards]: Include
11129 stdint.h-data. Remove all expectations for stdint.h contents.
11130 [C99-based standards] (PRI*): Do not allow.
11131 [C99-based standards] (SCN*): Likewise.
11132 [C99-based standards] (*_t): Likewise.
11133 [C99-based-standards] (PRId8): Expect macro.
11134 [C99-based-standards] (PRIi8): Likewise.
11135 [C99-based-standards] (PRIo8): Likewise.
11136 [C99-based-standards] (PRIu8): Likewise.
11137 [C99-based-standards] (PRIx8): Likewise.
11138 [C99-based-standards] (PRIX8): Likewise.
11139 [C99-based-standards] (SCNd8): Likewise.
11140 [C99-based-standards] (SCNi8): Likewise.
11141 [C99-based-standards] (SCNo8): Likewise.
11142 [C99-based-standards] (SCNu8): Likewise.
11143 [C99-based-standards] (SCNx8): Likewise.
11144 [C99-based-standards] (PRIdLEAST8): Likewise.
11145 [C99-based-standards] (PRIiLEAST8): Likewise.
11146 [C99-based-standards] (PRIoLEAST8): Likewise.
11147 [C99-based-standards] (PRIuLEAST8): Likewise.
11148 [C99-based-standards] (PRIxLEAST8): Likewise.
11149 [C99-based-standards] (PRIXLEAST8): Likewise.
11150 [C99-based-standards] (SCNdLEAST8): Likewise.
11151 [C99-based-standards] (SCNiLEAST8): Likewise.
11152 [C99-based-standards] (SCNoLEAST8): Likewise.
11153 [C99-based-standards] (SCNuLEAST8): Likewise.
11154 [C99-based-standards] (SCNxLEAST8): Likewise.
11155 [C99-based-standards] (PRIdFAST8): Likewise.
11156 [C99-based-standards] (PRIiFAST8): Likewise.
11157 [C99-based-standards] (PRIoFAST8): Likewise.
11158 [C99-based-standards] (PRIuFAST8): Likewise.
11159 [C99-based-standards] (PRIxFAST8): Likewise.
11160 [C99-based-standards] (PRIXFAST8): Likewise.
11161 [C99-based-standards] (SCNdFAST8): Likewise.
11162 [C99-based-standards] (SCNiFAST8): Likewise.
11163 [C99-based-standards] (SCNoFAST8): Likewise.
11164 [C99-based-standards] (SCNuFAST8): Likewise.
11165 [C99-based-standards] (SCNxFAST8): Likewise.
11166 [C99-based-standards] (PRId16): Likewise.
11167 [C99-based-standards] (PRIi16): Likewise.
11168 [C99-based-standards] (PRIo16): Likewise.
11169 [C99-based-standards] (PRIu16): Likewise.
11170 [C99-based-standards] (PRIx16): Likewise.
11171 [C99-based-standards] (PRIX16): Likewise.
11172 [C99-based-standards] (SCNd16): Likewise.
11173 [C99-based-standards] (SCNi16): Likewise.
11174 [C99-based-standards] (SCNo16): Likewise.
11175 [C99-based-standards] (SCNu16): Likewise.
11176 [C99-based-standards] (SCNx16): Likewise.
11177 [C99-based-standards] (PRIdLEAST16): Likewise.
11178 [C99-based-standards] (PRIiLEAST16): Likewise.
11179 [C99-based-standards] (PRIoLEAST16): Likewise.
11180 [C99-based-standards] (PRIuLEAST16): Likewise.
11181 [C99-based-standards] (PRIxLEAST16): Likewise.
11182 [C99-based-standards] (PRIXLEAST16): Likewise.
11183 [C99-based-standards] (SCNdLEAST16): Likewise.
11184 [C99-based-standards] (SCNiLEAST16): Likewise.
11185 [C99-based-standards] (SCNoLEAST16): Likewise.
11186 [C99-based-standards] (SCNuLEAST16): Likewise.
11187 [C99-based-standards] (SCNxLEAST16): Likewise.
11188 [C99-based-standards] (PRIdFAST16): Likewise.
11189 [C99-based-standards] (PRIiFAST16): Likewise.
11190 [C99-based-standards] (PRIoFAST16): Likewise.
11191 [C99-based-standards] (PRIuFAST16): Likewise.
11192 [C99-based-standards] (PRIxFAST16): Likewise.
11193 [C99-based-standards] (PRIXFAST16): Likewise.
11194 [C99-based-standards] (SCNdFAST16): Likewise.
11195 [C99-based-standards] (SCNiFAST16): Likewise.
11196 [C99-based-standards] (SCNoFAST16): Likewise.
11197 [C99-based-standards] (SCNuFAST16): Likewise.
11198 [C99-based-standards] (SCNxFAST16): Likewise.
11199 [C99-based-standards] (PRId32): Likewise.
11200 [C99-based-standards] (PRIi32): Likewise.
11201 [C99-based-standards] (PRIo32): Likewise.
11202 [C99-based-standards] (PRIu32): Likewise.
11203 [C99-based-standards] (PRIx32): Likewise.
11204 [C99-based-standards] (PRIX32): Likewise.
11205 [C99-based-standards] (SCNd32): Likewise.
11206 [C99-based-standards] (SCNi32): Likewise.
11207 [C99-based-standards] (SCNo32): Likewise.
11208 [C99-based-standards] (SCNu32): Likewise.
11209 [C99-based-standards] (SCNx32): Likewise.
11210 [C99-based-standards] (PRIdLEAST32): Likewise.
11211 [C99-based-standards] (PRIiLEAST32): Likewise.
11212 [C99-based-standards] (PRIoLEAST32): Likewise.
11213 [C99-based-standards] (PRIuLEAST32): Likewise.
11214 [C99-based-standards] (PRIxLEAST32): Likewise.
11215 [C99-based-standards] (PRIXLEAST32): Likewise.
11216 [C99-based-standards] (SCNdLEAST32): Likewise.
11217 [C99-based-standards] (SCNiLEAST32): Likewise.
11218 [C99-based-standards] (SCNoLEAST32): Likewise.
11219 [C99-based-standards] (SCNuLEAST32): Likewise.
11220 [C99-based-standards] (SCNxLEAST32): Likewise.
11221 [C99-based-standards] (PRIdFAST32): Likewise.
11222 [C99-based-standards] (PRIiFAST32): Likewise.
11223 [C99-based-standards] (PRIoFAST32): Likewise.
11224 [C99-based-standards] (PRIuFAST32): Likewise.
11225 [C99-based-standards] (PRIxFAST32): Likewise.
11226 [C99-based-standards] (PRIXFAST32): Likewise.
11227 [C99-based-standards] (SCNdFAST32): Likewise.
11228 [C99-based-standards] (SCNiFAST32): Likewise.
11229 [C99-based-standards] (SCNoFAST32): Likewise.
11230 [C99-based-standards] (SCNuFAST32): Likewise.
11231 [C99-based-standards] (SCNxFAST32): Likewise.
11232 [C99-based-standards] (PRId64): Likewise.
11233 [C99-based-standards] (PRIi64): Likewise.
11234 [C99-based-standards] (PRIo64): Likewise.
11235 [C99-based-standards] (PRIu64): Likewise.
11236 [C99-based-standards] (PRIx64): Likewise.
11237 [C99-based-standards] (PRIX64): Likewise.
11238 [C99-based-standards] (SCNd64): Likewise.
11239 [C99-based-standards] (SCNi64): Likewise.
11240 [C99-based-standards] (SCNo64): Likewise.
11241 [C99-based-standards] (SCNu64): Likewise.
11242 [C99-based-standards] (SCNx64): Likewise.
11243 [C99-based-standards] (PRIdLEAST64): Likewise.
11244 [C99-based-standards] (PRIiLEAST64): Likewise.
11245 [C99-based-standards] (PRIoLEAST64): Likewise.
11246 [C99-based-standards] (PRIuLEAST64): Likewise.
11247 [C99-based-standards] (PRIxLEAST64): Likewise.
11248 [C99-based-standards] (PRIXLEAST64): Likewise.
11249 [C99-based-standards] (SCNdLEAST64): Likewise.
11250 [C99-based-standards] (SCNiLEAST64): Likewise.
11251 [C99-based-standards] (SCNoLEAST64): Likewise.
11252 [C99-based-standards] (SCNuLEAST64): Likewise.
11253 [C99-based-standards] (SCNxLEAST64): Likewise.
11254 [C99-based-standards] (PRIdFAST64): Likewise.
11255 [C99-based-standards] (PRIiFAST64): Likewise.
11256 [C99-based-standards] (PRIoFAST64): Likewise.
11257 [C99-based-standards] (PRIuFAST64): Likewise.
11258 [C99-based-standards] (PRIxFAST64): Likewise.
11259 [C99-based-standards] (PRIXFAST64): Likewise.
11260 [C99-based-standards] (SCNdFAST64): Likewise.
11261 [C99-based-standards] (SCNiFAST64): Likewise.
11262 [C99-based-standards] (SCNoFAST64): Likewise.
11263 [C99-based-standards] (SCNuFAST64): Likewise.
11264 [C99-based-standards] (SCNxFAST64): Likewise.
11265 [C99-based-standards] (PRIdMAX): Likewise.
11266 [C99-based-standards] (PRIiMAX): Likewise.
11267 [C99-based-standards] (PRIoMAX): Likewise.
11268 [C99-based-standards] (PRIuMAX): Likewise.
11269 [C99-based-standards] (PRIxMAX): Likewise.
11270 [C99-based-standards] (PRIXMAX): Likewise.
11271 [C99-based-standards] (SCNdMAX): Likewise.
11272 [C99-based-standards] (SCNiMAX): Likewise.
11273 [C99-based-standards] (SCNoMAX): Likewise.
11274 [C99-based-standards] (SCNuMAX): Likewise.
11275 [C99-based-standards] (SCNxMAX): Likewise.
11276 [C99-based-standards] (PRIdPTR): Likewise.
11277 [C99-based-standards] (PRIiPTR): Likewise.
11278 [C99-based-standards] (PRIoPTR): Likewise.
11279 [C99-based-standards] (PRIuPTR): Likewise.
11280 [C99-based-standards] (PRIxPTR): Likewise.
11281 [C99-based-standards] (PRIXPTR): Likewise.
11282 [C99-based-standards] (SCNdPTR): Likewise.
11283 [C99-based-standards] (SCNiPTR): Likewise.
11284 [C99-based-standards] (SCNoPTR): Likewise.
11285 [C99-based-standards] (SCNuPTR): Likewise.
11286 [C99-based-standards] (SCNxPTR): Likewise.
11287 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11289 * conform/data/stdint.h-data: Update comments to clarify
11291 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11293 [C99-based standards] (INT8_MAX): Likewise.
11294 [C99-based standards] (INT16_MIN): Likewise.
11295 [C99-based standards] (INT16_MAX): Likewise.
11296 [C99-based standards] (INT32_MIN): Likewise.
11297 [C99-based standards] (INT32_MAX): Likewise.
11298 [C99-based standards] (INT64_MIN): Likewise.
11299 [C99-based standards] (INT64_MAX): Likewise.
11300 [C99-based standards] (UINT8_MAX): Likewise.
11301 [C99-based standards] (UINT16_MAX): Likewise.
11302 [C99-based standards] (UINT32_MAX): Likewise.
11303 [C99-based standards] (UINT64_MAX): Likewise.
11304 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11305 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11306 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11307 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11308 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11309 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11310 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11311 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11312 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11313 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11314 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11315 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11316 [C99-based standards] (INT_FAST8_MIN): Likewise.
11317 [C99-based standards] (INT_FAST8_MAX): Likewise.
11318 [C99-based standards] (INT_FAST16_MIN): Likewise.
11319 [C99-based standards] (INT_FAST16_MAX): Likewise.
11320 [C99-based standards] (INT_FAST32_MIN): Likewise.
11321 [C99-based standards] (INT_FAST32_MAX): Likewise.
11322 [C99-based standards] (INT_FAST64_MIN): Likewise.
11323 [C99-based standards] (INT_FAST64_MAX): Likewise.
11324 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11325 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11326 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11327 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11328 [C99-based standards] (INTPTR_MIN): Likewise.
11329 [C99-based standards] (INTPTR_MAX): Likewise.
11330 [C99-based standards] (UINTPTR_MAX): Likewise.
11331 [C99-based standards] (INTMAX_MIN): Likewise.
11332 [C99-based standards] (INTMAX_MAX): Likewise.
11333 [C99-based standards] (UINTMAX_MAX): Likewise.
11334 [C99-based standards] (PTRDIFF_MIN): Likewise.
11335 [C99-based standards] (PTRDIFF_MAX): Likewise.
11336 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11337 [C99-based standards] (SIZE_MAX): Likewise.
11338 [C99-based standards] (WCHAR_MAX): Likewise.
11339 [C99-based standards] (WINT_MAX): Likewise.
11340 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11341 constraint on value.
11342 [C99-based standards] (WCHAR_MIN): Likewise.
11343 [C99-based standards] (WINT_MIN): Likewise.
11344 [C99-based standards] (*_t): Allow.
11345 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11346 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11347 Include math.h-data and complex.h-data. Remove all expectations
11348 of math.h and complex.h contents.
11349 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11351 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11352 (struct tm): Expect tag.
11353 [C99-based-standards] (wcstof): Expect function.
11354 [C99-based-standards] (wcstold): Likewise.
11355 [C99-based-standards] (wcstoll): Likewise.
11356 [C99-based-standards] (wcstoull): Likewise.
11357 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11358 macro-int-constant. Specify type.
11359 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11360 constraint on value.
11361 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11363 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11365 [ISO C standards]: Do not allow headers.
11366 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11367 wcs[abcdefghijklmnopqrstuvwxyz]*.
11368 [ISO C standards] (*_t): Do not allow.
11369 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11371 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11372 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11374 [ISO C standards]: Do not allow headers.
11375 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11376 is[abcdefghijklmnopqrstuvwxyz]*.
11377 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11378 to[abcdefghijklmnopqrstuvwxyz]*.
11379 [ISO C standards] (*_t): Do not allow.
11380 * conform/data/stdalign.h-data: New file.
11381 * conform/data/stdbool.h-data: Likewise.
11382 * conform/data/stdnoreturn.h-data: Likewise.
11384 2012-11-07 Roland McGrath <roland@hack.frob.com>
11387 * manual/filesys.texi (Directory Entries): Typo fix.
11388 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11390 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11392 * elf/elf.h (EM_AARCH64): New macro.
11393 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11394 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11395 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11396 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11397 (R_AARCH64_TLSDESC): Likewise.
11398 (NT_ARM_TLS): Likewise.
11399 (NT_ARM_HW_BREAK): Likewise.
11400 (NT_ARM_HW_WATCH): Likewise.
11402 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11405 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11406 (__ieee754_powl): Saturate nonzero exponents with absolute value
11407 below 0x1p-79 to +/- 0x1p-79.
11408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11409 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11410 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11411 nonzero exponents with absolute value below 0x1p-32 to +/-
11413 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11414 (__ieee754_powl): Saturate nonzero exponents with absolute value
11415 below 0x1p-79 to +/- 0x1p-79.
11416 * math/libm-test.inc (pow_test): Add more tests.
11418 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11420 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11421 _dl_s390_cap_flags with kernel. Increase string length.
11422 (_dl_s390_platforms): Add z196 and zEC12.
11424 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11426 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11427 Change XOPEN21K to XOPEN2K.
11429 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11431 * string/memmove.c: Use memcpy when possible.
11433 2012-11-06 Andreas Jaeger <aj@suse.de>
11435 * po/eo.po: Update from translation team.
11437 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11441 exponent and small x and y exponents, scale x or y up. Increase
11442 by 2 the exponent used in scaling up.
11443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11444 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11445 * math/libm-test.inc (fma_test): Add more tests.
11446 (fma_test_towardzero): Likewise.
11447 (fma_test_downward): Likewise.
11448 (fma_test_upward): Likewise.
11450 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11457 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11458 namespace for names of struct fields.
11459 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11461 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11462 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11464 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11467 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11469 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11471 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11475 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11478 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11482 definitely overflow as x * y not x * y + z.
11483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11484 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11485 * math/libm-test.inc (fma_test): Add more tests.
11486 (fma_test_towardzero): Likewise.
11487 (fma_test_downward): Likewise.
11488 (fma_test_upward): Likewise.
11490 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11494 * include/stub-tag.h: Remove file.
11495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11497 * manual/maint.texi (Porting): Don't reference it.
11498 * Makerules ($(objpfx)stubs): Likewise.
11499 * dirent/closedir.c: Don't include <stub-tag.h>.
11500 * dirent/dirfd.c: Likewise.
11501 * dirent/fdopendir.c: Likewise.
11502 * dirent/getdents.c: Likewise.
11503 * dirent/getdents64.c: Likewise.
11504 * dirent/opendir.c: Likewise.
11505 * dirent/readdir.c: Likewise.
11506 * dirent/readdir64.c: Likewise.
11507 * dirent/readdir64_r.c: Likewise.
11508 * dirent/readdir_r.c: Likewise.
11509 * dirent/rewinddir.c: Likewise.
11510 * dirent/seekdir.c: Likewise.
11511 * dirent/telldir.c: Likewise.
11512 * gmon/profil.c: Likewise.
11513 * grp/setgroups.c: Likewise.
11514 * inet/if_index.c: Likewise.
11515 * io/access.c: Likewise.
11516 * io/chdir.c: Likewise.
11517 * io/chmod.c: Likewise.
11518 * io/chown.c: Likewise.
11519 * io/close.c: Likewise.
11520 * io/dup.c: Likewise.
11521 * io/dup2.c: Likewise.
11522 * io/dup3.c: Likewise.
11523 * io/euidaccess.c: Likewise.
11524 * io/faccessat.c: Likewise.
11525 * io/fchdir.c: Likewise.
11526 * io/fchmod.c: Likewise.
11527 * io/fchmodat.c: Likewise.
11528 * io/fchown.c: Likewise.
11529 * io/fchownat.c: Likewise.
11530 * io/fcntl.c: Likewise.
11531 * io/flock.c: Likewise.
11532 * io/fstatfs.c: Likewise.
11533 * io/fstatfs64.c: Likewise.
11534 * io/fstatvfs.c: Likewise.
11535 * io/fstatvfs64.c: Likewise.
11536 * io/futimens.c: Likewise.
11537 * io/fxstat.c: Likewise.
11538 * io/fxstat64.c: Likewise.
11539 * io/fxstatat.c: Likewise.
11540 * io/fxstatat64.c: Likewise.
11541 * io/getcwd.c: Likewise.
11542 * io/isatty.c: Likewise.
11543 * io/lchmod.c: Likewise.
11544 * io/lchown.c: Likewise.
11545 * io/link.c: Likewise.
11546 * io/linkat.c: Likewise.
11547 * io/lseek.c: Likewise.
11548 * io/lseek64.c: Likewise.
11549 * io/lxstat64.c: Likewise.
11550 * io/mkdir.c: Likewise.
11551 * io/mkdirat.c: Likewise.
11552 * io/mkfifo.c: Likewise.
11553 * io/mkfifoat.c: Likewise.
11554 * io/open.c: Likewise.
11555 * io/open64.c: Likewise.
11556 * io/openat.c: Likewise.
11557 * io/openat64.c: Likewise.
11558 * io/pipe.c: Likewise.
11559 * io/pipe2.c: Likewise.
11560 * io/poll.c: Likewise.
11561 * io/posix_fadvise.c: Likewise.
11562 * io/posix_fadvise64.c: Likewise.
11563 * io/posix_fallocate.c: Likewise.
11564 * io/posix_fallocate64.c: Likewise.
11565 * io/read.c: Likewise.
11566 * io/readlink.c: Likewise.
11567 * io/readlinkat.c: Likewise.
11568 * io/rmdir.c: Likewise.
11569 * io/sendfile.c: Likewise.
11570 * io/sendfile64.c: Likewise.
11571 * io/statfs.c: Likewise.
11572 * io/statfs64.c: Likewise.
11573 * io/statvfs.c: Likewise.
11574 * io/statvfs64.c: Likewise.
11575 * io/symlink.c: Likewise.
11576 * io/symlinkat.c: Likewise.
11577 * io/ttyname.c: Likewise.
11578 * io/ttyname_r.c: Likewise.
11579 * io/umask.c: Likewise.
11580 * io/unlink.c: Likewise.
11581 * io/unlinkat.c: Likewise.
11582 * io/utime.c: Likewise.
11583 * io/utimensat.c: Likewise.
11584 * io/write.c: Likewise.
11585 * io/xmknod.c: Likewise.
11586 * io/xmknodat.c: Likewise.
11587 * io/xstat.c: Likewise.
11588 * io/xstat64.c: Likewise.
11589 * login/getpt.c: Likewise.
11590 * login/grantpt.c: Likewise.
11591 * login/unlockpt.c: Likewise.
11592 * math/e_acoshl.c: Likewise.
11593 * math/e_acosl.c: Likewise.
11594 * math/e_asinl.c: Likewise.
11595 * math/e_atan2l.c: Likewise.
11596 * math/e_atanhl.c: Likewise.
11597 * math/e_coshl.c: Likewise.
11598 * math/e_expl.c: Likewise.
11599 * math/e_fmodl.c: Likewise.
11600 * math/e_gammal_r.c: Likewise.
11601 * math/e_hypotl.c: Likewise.
11602 * math/e_j0l.c: Likewise.
11603 * math/e_j1l.c: Likewise.
11604 * math/e_jnl.c: Likewise.
11605 * math/e_lgammal_r.c: Likewise.
11606 * math/e_log10l.c: Likewise.
11607 * math/e_log2l.c: Likewise.
11608 * math/e_logl.c: Likewise.
11609 * math/e_powl.c: Likewise.
11610 * math/e_rem_pio2l.c: Likewise.
11611 * math/e_sinhl.c: Likewise.
11612 * math/e_sqrtl.c: Likewise.
11613 * math/fclrexcpt.c: Likewise.
11614 * math/fedisblxcpt.c: Likewise.
11615 * math/feenablxcpt.c: Likewise.
11616 * math/fegetenv.c: Likewise.
11617 * math/fegetexcept.c: Likewise.
11618 * math/fegetround.c: Likewise.
11619 * math/feholdexcpt.c: Likewise.
11620 * math/fesetenv.c: Likewise.
11621 * math/fesetround.c: Likewise.
11622 * math/feupdateenv.c: Likewise.
11623 * math/fgetexcptflg.c: Likewise.
11624 * math/fraiseexcpt.c: Likewise.
11625 * math/fsetexcptflg.c: Likewise.
11626 * math/ftestexcept.c: Likewise.
11627 * math/k_cosl.c: Likewise.
11628 * math/k_rem_pio2l.c: Likewise.
11629 * math/k_sinl.c: Likewise.
11630 * math/k_tanl.c: Likewise.
11631 * math/s_asinhl.c: Likewise.
11632 * math/s_atanl.c: Likewise.
11633 * math/s_cbrtl.c: Likewise.
11634 * math/s_erfl.c: Likewise.
11635 * math/s_expm1l.c: Likewise.
11636 * math/s_log1pl.c: Likewise.
11637 * math/s_tanhl.c: Likewise.
11638 * misc/acct.c: Likewise.
11639 * misc/brk.c: Likewise.
11640 * misc/chflags.c: Likewise.
11641 * misc/chroot.c: Likewise.
11642 * misc/fchflags.c: Likewise.
11643 * misc/fgetxattr.c: Likewise.
11644 * misc/flistxattr.c: Likewise.
11645 * misc/fremovexattr.c: Likewise.
11646 * misc/fsetxattr.c: Likewise.
11647 * misc/fsync.c: Likewise.
11648 * misc/ftruncate.c: Likewise.
11649 * misc/futimes.c: Likewise.
11650 * misc/futimesat.c: Likewise.
11651 * misc/getdomain.c: Likewise.
11652 * misc/getdtsz.c: Likewise.
11653 * misc/gethostid.c: Likewise.
11654 * misc/gethostname.c: Likewise.
11655 * misc/getloadavg.c: Likewise.
11656 * misc/getpagesize.c: Likewise.
11657 * misc/getsysstats.c: Likewise.
11658 * misc/getxattr.c: Likewise.
11659 * misc/gtty.c: Likewise.
11660 * misc/ioctl.c: Likewise.
11661 * misc/lgetxattr.c: Likewise.
11662 * misc/listxattr.c: Likewise.
11663 * misc/llistxattr.c: Likewise.
11664 * misc/lremovexattr.c: Likewise.
11665 * misc/lsetxattr.c: Likewise.
11666 * misc/lutimes.c: Likewise.
11667 * misc/madvise.c: Likewise.
11668 * misc/mincore.c: Likewise.
11669 * misc/mlock.c: Likewise.
11670 * misc/mlockall.c: Likewise.
11671 * misc/mmap.c: Likewise.
11672 * misc/mprotect.c: Likewise.
11673 * misc/msync.c: Likewise.
11674 * misc/munlock.c: Likewise.
11675 * misc/munlockall.c: Likewise.
11676 * misc/munmap.c: Likewise.
11677 * misc/preadv.c: Likewise.
11678 * misc/preadv64.c: Likewise.
11679 * misc/ptrace.c: Likewise.
11680 * misc/pwritev.c: Likewise.
11681 * misc/pwritev64.c: Likewise.
11682 * misc/readv.c: Likewise.
11683 * misc/reboot.c: Likewise.
11684 * misc/remap_file_pages.c: Likewise.
11685 * misc/removexattr.c: Likewise.
11686 * misc/revoke.c: Likewise.
11687 * misc/select.c: Likewise.
11688 * misc/setdomain.c: Likewise.
11689 * misc/setegid.c: Likewise.
11690 * misc/seteuid.c: Likewise.
11691 * misc/sethostid.c: Likewise.
11692 * misc/sethostname.c: Likewise.
11693 * misc/setregid.c: Likewise.
11694 * misc/setreuid.c: Likewise.
11695 * misc/setxattr.c: Likewise.
11696 * misc/sstk.c: Likewise.
11697 * misc/stty.c: Likewise.
11698 * misc/swapoff.c: Likewise.
11699 * misc/swapon.c: Likewise.
11700 * misc/sync.c: Likewise.
11701 * misc/syncfs.c: Likewise.
11702 * misc/syscall.c: Likewise.
11703 * misc/truncate.c: Likewise.
11704 * misc/ualarm.c: Likewise.
11705 * misc/usleep.c: Likewise.
11706 * misc/ustat.c: Likewise.
11707 * misc/utimes.c: Likewise.
11708 * misc/vhangup.c: Likewise.
11709 * misc/writev.c: Likewise.
11710 * posix/_exit.c: Likewise.
11711 * posix/alarm.c: Likewise.
11712 * posix/execve.c: Likewise.
11713 * posix/fexecve.c: Likewise.
11714 * posix/fork.c: Likewise.
11715 * posix/fpathconf.c: Likewise.
11716 * posix/getaddrinfo.c: Likewise.
11717 * posix/getegid.c: Likewise.
11718 * posix/geteuid.c: Likewise.
11719 * posix/getgid.c: Likewise.
11720 * posix/getgroups.c: Likewise.
11721 * posix/getlogin.c: Likewise.
11722 * posix/getlogin_r.c: Likewise.
11723 * posix/getpgid.c: Likewise.
11724 * posix/getpid.c: Likewise.
11725 * posix/getppid.c: Likewise.
11726 * posix/getresgid.c: Likewise.
11727 * posix/getresuid.c: Likewise.
11728 * posix/getsid.c: Likewise.
11729 * posix/getuid.c: Likewise.
11730 * posix/glob64.c: Likewise.
11731 * posix/nanosleep.c: Likewise.
11732 * posix/pathconf.c: Likewise.
11733 * posix/pause.c: Likewise.
11734 * posix/posix_madvise.c: Likewise.
11735 * posix/pread.c: Likewise.
11736 * posix/pread64.c: Likewise.
11737 * posix/pwrite.c: Likewise.
11738 * posix/pwrite64.c: Likewise.
11739 * posix/sched_getaffinity.c: Likewise.
11740 * posix/sched_getp.c: Likewise.
11741 * posix/sched_gets.c: Likewise.
11742 * posix/sched_primax.c: Likewise.
11743 * posix/sched_primin.c: Likewise.
11744 * posix/sched_rr_gi.c: Likewise.
11745 * posix/sched_setaffinity.c: Likewise.
11746 * posix/sched_setp.c: Likewise.
11747 * posix/sched_sets.c: Likewise.
11748 * posix/sched_yield.c: Likewise.
11749 * posix/setgid.c: Likewise.
11750 * posix/setlogin.c: Likewise.
11751 * posix/setpgid.c: Likewise.
11752 * posix/setresgid.c: Likewise.
11753 * posix/setresuid.c: Likewise.
11754 * posix/setsid.c: Likewise.
11755 * posix/setuid.c: Likewise.
11756 * posix/sleep.c: Likewise.
11757 * posix/spawni.c: Likewise.
11758 * posix/sysconf.c: Likewise.
11759 * posix/times.c: Likewise.
11760 * posix/wait.c: Likewise.
11761 * posix/wait3.c: Likewise.
11762 * posix/wait4.c: Likewise.
11763 * posix/waitpid.c: Likewise.
11764 * resolv/gai_sigqueue.c: Likewise.
11765 * resource/getpriority.c: Likewise.
11766 * resource/getrlimit.c: Likewise.
11767 * resource/getrusage.c: Likewise.
11768 * resource/nice.c: Likewise.
11769 * resource/setpriority.c: Likewise.
11770 * resource/setrlimit.c: Likewise.
11771 * resource/ulimit.c: Likewise.
11772 * rt/aio_cancel.c: Likewise.
11773 * rt/aio_fsync.c: Likewise.
11774 * rt/aio_read.c: Likewise.
11775 * rt/aio_sigqueue.c: Likewise.
11776 * rt/aio_suspend.c: Likewise.
11777 * rt/aio_write.c: Likewise.
11778 * rt/clock_getres.c: Likewise.
11779 * rt/clock_gettime.c: Likewise.
11780 * rt/clock_nanosleep.c: Likewise.
11781 * rt/clock_settime.c: Likewise.
11782 * rt/lio_listio.c: Likewise.
11783 * rt/mq_close.c: Likewise.
11784 * rt/mq_getattr.c: Likewise.
11785 * rt/mq_notify.c: Likewise.
11786 * rt/mq_open.c: Likewise.
11787 * rt/mq_receive.c: Likewise.
11788 * rt/mq_send.c: Likewise.
11789 * rt/mq_setattr.c: Likewise.
11790 * rt/mq_timedreceive.c: Likewise.
11791 * rt/mq_timedsend.c: Likewise.
11792 * rt/mq_unlink.c: Likewise.
11793 * rt/shm_open.c: Likewise.
11794 * rt/shm_unlink.c: Likewise.
11795 * rt/timer_create.c: Likewise.
11796 * rt/timer_delete.c: Likewise.
11797 * rt/timer_getoverr.c: Likewise.
11798 * rt/timer_gettime.c: Likewise.
11799 * rt/timer_settime.c: Likewise.
11800 * setjmp/__longjmp.c: Likewise.
11801 * setjmp/setjmp.c: Likewise.
11802 * signal/kill.c: Likewise.
11803 * signal/killpg.c: Likewise.
11804 * signal/raise.c: Likewise.
11805 * signal/sigaction.c: Likewise.
11806 * signal/sigaltstack.c: Likewise.
11807 * signal/sigblock.c: Likewise.
11808 * signal/sigignore.c: Likewise.
11809 * signal/sigintr.c: Likewise.
11810 * signal/signal.c: Likewise.
11811 * signal/sigpause.c: Likewise.
11812 * signal/sigpending.c: Likewise.
11813 * signal/sigqueue.c: Likewise.
11814 * signal/sigreturn.c: Likewise.
11815 * signal/sigset.c: Likewise.
11816 * signal/sigsetmask.c: Likewise.
11817 * signal/sigstack.c: Likewise.
11818 * signal/sigsuspend.c: Likewise.
11819 * signal/sigtimedwait.c: Likewise.
11820 * signal/sigvec.c: Likewise.
11821 * signal/sigwait.c: Likewise.
11822 * signal/sigwaitinfo.c: Likewise.
11823 * signal/sysv_signal.c: Likewise.
11824 * socket/accept.c: Likewise.
11825 * socket/accept4.c: Likewise.
11826 * socket/bind.c: Likewise.
11827 * socket/connect.c: Likewise.
11828 * socket/getpeername.c: Likewise.
11829 * socket/getsockname.c: Likewise.
11830 * socket/getsockopt.c: Likewise.
11831 * socket/isfdtype.c: Likewise.
11832 * socket/listen.c: Likewise.
11833 * socket/recv.c: Likewise.
11834 * socket/recvfrom.c: Likewise.
11835 * socket/recvmsg.c: Likewise.
11836 * socket/send.c: Likewise.
11837 * socket/sendmsg.c: Likewise.
11838 * socket/sendto.c: Likewise.
11839 * socket/setsockopt.c: Likewise.
11840 * socket/shutdown.c: Likewise.
11841 * socket/sockatmark.c: Likewise.
11842 * socket/socket.c: Likewise.
11843 * socket/socketpair.c: Likewise.
11844 * stdio-common/ctermid.c: Likewise.
11845 * stdio-common/cuserid.c: Likewise.
11846 * stdio-common/remove.c: Likewise.
11847 * stdio-common/rename.c: Likewise.
11848 * stdio-common/renameat.c: Likewise.
11849 * stdio-common/tempname.c: Likewise.
11850 * stdlib/getcontext.c: Likewise.
11851 * stdlib/makecontext.c: Likewise.
11852 * stdlib/setcontext.c: Likewise.
11853 * stdlib/swapcontext.c: Likewise.
11854 * stdlib/system.c: Likewise.
11855 * streams/fattach.c: Likewise.
11856 * streams/fdetach.c: Likewise.
11857 * streams/getmsg.c: Likewise.
11858 * streams/getpmsg.c: Likewise.
11859 * streams/putmsg.c: Likewise.
11860 * streams/putpmsg.c: Likewise.
11861 * sysdeps/unix/bsd/getpt.c: Likewise.
11862 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11863 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11864 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11867 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11868 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11869 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11870 * sysvipc/msgctl.c: Likewise.
11871 * sysvipc/msgget.c: Likewise.
11872 * sysvipc/msgrcv.c: Likewise.
11873 * sysvipc/msgsnd.c: Likewise.
11874 * sysvipc/semctl.c: Likewise.
11875 * sysvipc/semget.c: Likewise.
11876 * sysvipc/semop.c: Likewise.
11877 * sysvipc/semtimedop.c: Likewise.
11878 * sysvipc/shmat.c: Likewise.
11879 * sysvipc/shmctl.c: Likewise.
11880 * sysvipc/shmdt.c: Likewise.
11881 * sysvipc/shmget.c: Likewise.
11882 * termios/tcdrain.c: Likewise.
11883 * termios/tcflow.c: Likewise.
11884 * termios/tcflush.c: Likewise.
11885 * termios/tcgetattr.c: Likewise.
11886 * termios/tcgetpgrp.c: Likewise.
11887 * termios/tcsendbrk.c: Likewise.
11888 * termios/tcsetattr.c: Likewise.
11889 * termios/tcsetpgrp.c: Likewise.
11890 * time/adjtime.c: Likewise.
11891 * time/clock.c: Likewise.
11892 * time/getitimer.c: Likewise.
11893 * time/gettimeofday.c: Likewise.
11894 * time/setitimer.c: Likewise.
11895 * time/settimeofday.c: Likewise.
11896 * time/stime.c: Likewise.
11897 * time/time.c: Likewise.
11899 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11901 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11904 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11906 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11908 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11912 FE_TONEAREST before applying Dekker multiplication and Knuth
11913 addition. Clear inexact exceptions and check for exact zero
11914 results afterwards.
11915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11916 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11918 * math/libm-test.inc (fma_test): Add more tests.
11919 (fma_test_towardzero): Likewise.
11920 (fma_test_downward): Likewise.
11921 (fma_test_upward): Likewise.
11922 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11924 (libc_fesetround): New macro.
11925 (libc_fesetroundf): Likewise.
11926 (libc_fesetroundl): Likewise.
11927 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11929 (libc_fesetround_387): Likewise.
11930 (libc_fesetroundf): New macro.
11931 (libc_fesetround): Likewise.
11932 (libc_fesetroundl): Likewise.
11933 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11935 (libc_fesetroundf): New macro.
11936 (libc_fesetround): Likewise.
11937 (libc_fesetroundl): Likewise.
11938 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11939 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11940 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11942 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11943 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11945 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11946 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11948 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11952 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11953 integer constant usable in #if and use that to give value to enum
11955 (FE_DIVBYZERO): Likewise.
11956 (FE_UNDERFLOW): Likewise.
11957 (FE_OVERFLOW): Likewise.
11958 (FE_INVALID): Likewise.
11959 (FE_INVALID_SNAN): Likewise.
11960 (FE_INVALID_ISI): Likewise.
11961 (FE_INVALID_IDI): Likewise.
11962 (FE_INVALID_ZDZ): Likewise.
11963 (FE_INVALID_IMZ): Likewise.
11964 (FE_INVALID_COMPARE): Likewise.
11965 (FE_INVALID_SOFTWARE): Likewise.
11966 (FE_INVALID_SQRT): Likewise.
11967 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11968 (FE_TONEAREST): Likewise.
11969 (FE_TOWARDZERO): Likewise.
11970 (FE_UPWARD): Likewise.
11971 (FE_DOWNWARD): Likewise.
11972 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11973 (FE_DIVBYZERO): Likewise.
11974 (FE_OVERFLOW): Likewise.
11975 (FE_UNDERFLOW): Likewise.
11976 (FE_INEXACT): Likewise.
11977 (FE_TONEAREST): Likewise.
11978 (FE_DOWNWARD): Likewise.
11979 (FE_UPWARD): Likewise.
11980 (FE_TOWARDZERO): Likewise.
11981 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11982 (FE_UNDERFLOW): Likewise.
11983 (FE_OVERFLOW): Likewise.
11984 (FE_DIVBYZERO): Likewise.
11985 (FE_INVALID): Likewise.
11986 (FE_TONEAREST): Likewise.
11987 (FE_TOWARDZERO): Likewise.
11988 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11989 (FE_OVERFLOW): Likewise.
11990 (FE_UNDERFLOW): Likewise.
11991 (FE_DIVBYZERO): Likewise.
11992 (FE_INEXACT): Likewise.
11993 (FE_TONEAREST): Likewise.
11994 (FE_TOWARDZERO): Likewise.
11995 (FE_UPWARD): Likewise.
11996 (FE_DOWNWARD): Likewise.
11997 * sysdeps/x86/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.
12007 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12009 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12011 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12013 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12014 commands. Quote $PWD.
12015 (blacklist_exports): Don't use remove_newlines. Replace "declare
12017 (remove_newlines): Remove.
12019 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12021 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12022 * stdlib/stdlib.h (atof): Moved to ...
12023 * include/bits/stdlib-float.h: Here. New file.
12024 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12025 * stdlib/bits/stdlib-float.h: New file.
12026 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12031 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12033 * conform/conformtest.pl (@headers): Add fenv.h.
12034 * conform/data/fenv.h-data: New file.
12035 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12036 include of <math/fenv.h>.
12038 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12039 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12040 && !UNIX98]. Enables tests for XOPEN2K8.
12041 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12042 POSIX2008]: Likewise.
12044 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12045 (struct rusage): Do not expect type or its members.
12048 * math/math.h (FP_NAN): Define macro to integer constant usable in
12049 #if and use that to give value to enum constant.
12050 (FP_INFINITE): Likewise.
12051 (FP_ZERO): Likewise.
12052 (FP_SUBNORMAL): Likewise.
12053 (FP_NORMAL): Likewise.
12055 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12057 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12058 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12061 2012-11-02 Roland McGrath <roland@hack.frob.com>
12063 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12064 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12065 autoconf-time if not.
12066 * configure.in: Remove AC_PREREQ.
12068 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12070 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12071 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12072 of the internal implementation.
12074 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12076 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12077 except include of <misc/sys/syslog.h>.
12079 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12082 function returns with a NULL context exit with zero.
12084 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12086 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12088 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12090 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12091 (run_program_cmd): This.
12092 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12093 (tst_langinfo): New variable. Use it.
12095 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12097 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12098 floating point opcodes.
12100 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12102 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12105 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12107 * sysdeps/mach/hurd/powerpc: Remove directory.
12108 * sysdeps/mach/powerpc: Likewise.
12110 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12112 * scripts/check-local-headers.sh: Ignore c++ headers.
12114 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12116 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12117 __libc_cleanup_region_start argument.
12119 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12124 x * y using scaling, not as x * y + z.
12125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12126 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12127 * math/libm-test.inc (fma_test): Add more tests.
12128 (fma_test_towardzero): Likewise.
12129 (fma_test_downward): Likewise.
12130 (fma_test_upward): Likewise.
12132 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12134 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12136 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12138 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12141 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12143 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12145 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12152 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12155 Fix the order of the list for glibc 2.17.
12156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12159 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12163 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12167 for low part of x being zero before using __atanl (y).
12168 * math/libm-test.inc (atan2_test): Add another test.
12170 * manual/install.texi (Configuring and compiling): Document
12171 general use of test-wrapper and test-wrapper-env.
12172 * INSTALL: Regenerated.
12174 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12175 (__fma): Do not extract and scale down low bits on after-rounding
12176 systems when result rounded to normal precision would have normal
12178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12179 (__fmal): Do not extract and scale down low bits on after-rounding
12180 systems when result rounded to normal precision would have normal
12182 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12183 (__fmal): Do not extract and scale down low bits on after-rounding
12184 systems when result rounded to normal precision would have normal
12186 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12188 (fma_test): Add more tests.
12189 (fma_test_towardzero): Likewise.
12190 (fma_test_downward): Likewise.
12191 (fma_test_upward): Likewise.
12193 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12195 * sysdeps/i386/tininess.h: Renamed to ...
12196 * sysdeps/x86/tininess.h: This.
12197 * sysdeps/x86_64/tininess.h: Removed.
12199 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12201 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12202 input. Use $(build-program-cmd).
12203 ($(objpfx)tst-array1-static.out): Likewise.
12204 ($(objpfx)tst-array2.out): Likewise.
12205 ($(objpfx)tst-array3.out): Likewise.
12206 ($(objpfx)tst-array4.out): Likewise.
12207 ($(objpfx)tst-array5.out): Likewise.
12208 ($(objpfx)tst-array5-static.out): Likewise.
12210 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12212 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12215 * nss/nsswitch.h (nss_interface_function): Provide new
12216 macro for use with NSS functions.
12217 * grp/initgroups.c: Use new macro.
12218 * nss/getXXbyYY.c: Likewise.
12219 * nss/getXXbyYY_r.c: Likewise.
12220 * nss/getXXent.c: Likewise.
12221 * nss/getXXent_r.c: Likewise.
12222 * sysdeps/posix/getaddrinfo.c: Likewise.
12224 2012-10-30 Andreas Jaeger <aj@suse.de>
12226 * po/ru.po: Update Russion translation from translation project.
12228 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12233 result and shift together with sticky bit instead of replicating
12234 round-to-nearest rounding.
12235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12237 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12238 missing underflow exceptions.
12239 (fma_test_towardzero): Add more tests.
12240 (fma_test_downward): Likewise.
12241 (fma_test_upward): Likewise.
12244 * sysdeps/generic/tininess.h: New file.
12245 * sysdeps/i386/tininess.h: Likewise.
12246 * sysdeps/sh/tininess.h: Likewise.
12247 * sysdeps/x86_64/tininess.h: Likewise.
12248 * stdlib/tst-strtod-underflow.c: Likewise.
12249 * stdlib/tst-tininess.c: Likewise.
12250 * stdlib/strtod_l.c: Include <tininess.h>.
12251 (round_and_return): Do not set errno for exact underflow cases.
12252 Force an underflow exception when setting errno for underflow.
12253 Determine underflow based on rounding to normal precision if
12254 TININESS_AFTER_ROUNDING.
12255 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12256 ERANGE for exact underflow cases.
12257 * stdlib/Makefile (tests): Add tst-tininess and
12258 tst-strtod-underflow.
12259 ($(objpfx)tst-tininess): Use $(link-libm).
12260 ($(objpfx)tst-strtod-underflow): Likewise.
12262 2012-10-30 Andreas Jaeger <aj@suse.de>
12265 * elf/Makefile (tests): Remove conditional for have-initfini-array
12266 since this is now always required and the variable does not exist
12268 (tests-static): Likewise.
12269 (modules-names): Likewise.
12271 * po/eo.po: Add Esperanto translation from translation project.
12273 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12274 merged with constructor/destructor.
12275 (init_array): Likewise.
12276 * elf/tst-array2dep.c (fini_array): Likewise.
12277 (init_array): Likewise.
12279 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12281 * manual/message.texi: Delete @cartouche tags.
12283 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12285 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12287 * sysdeps/mach/hurd/fsync.c: Likewise.
12289 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12290 [_POSIX_REALTIME_SIGNALS]: Change condition to
12291 [_POSIX_REALTIME_SIGNALS > 0].
12293 2012-10-27 Andreas Jaeger <aj@suse.de>
12295 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12296 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12298 [__WORDSIZE != 64]: Likewise.
12300 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12302 * iconvdata/tst-table.sh: Remove ${SHELL}.
12303 * iconvdata/tst-tables.sh: Likewise.
12305 2012-10-25 David S. Miller <davem@davemloft.net>
12307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12308 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12314 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12315 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12318 2012-10-25 Roland McGrath <roland@hack.frob.com>
12320 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12321 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12324 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12325 Jim Blandy <jimb@codesourcery.com>
12327 * scripts/cross-test-ssh.sh: New file.
12328 * manual/install.texi (Configuring and compiling): Document use of
12330 * INSTALL: Regenerated.
12332 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12334 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12337 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12339 * Makeconfig (run-program-prefix): Fix comment.
12341 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12342 Jim Blandy <jimb@codesourcery.com>
12344 * Makeconfig (test-wrapper): New variable,
12345 (test-wrapper-env): Likewise.
12346 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12347 (run-built-tests): Define to yes.
12348 (run-program-prefix): Use $(test-wrapper).
12349 (built-program-cmd): Likewise.
12350 * Rules (make-test-out): Use $(test-wrapper-env) and
12351 $(host-built-program-cmd).
12352 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12353 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12355 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12356 $(test-wrapper-env) to tst-rtld-load-self.sh.
12357 ($(objpfx)order2.out): Use $(test-wrapper).
12358 ($(objpfx)tst-initorder.out): Likewise.
12359 ($(objpfx)tst-initorder2.out): Likewise.
12360 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12361 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12362 (test_wrapper_env): New variable. Use it to run ld.so.
12363 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12364 Use it to run ld.so.
12365 (test_wrapper_env): Likewise.
12366 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12367 $(test-wrapper) to run-iconv-test.sh.
12368 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12369 (ICONV): Use $test_wrapper.
12370 * posix/Makefile ($(objpfx)globtest.out): Pass
12371 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12372 globtest.sh, not $(run-program-prefix).
12373 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12374 (test_wrapper): Likewise.
12375 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12376 set together with run_via_rtld_prefix.
12377 (run_program_prefix): Define in terms of test_wrapper and
12378 run_via_rtld_prefix.
12380 2012-10-24 Roland McGrath <roland@hack.frob.com>
12382 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12383 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12387 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12388 Declare __clock_getres, __clock_gettime, __clock_settime,
12389 __clock_nanosleep, and __clock_getcpuclockid.
12390 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12391 Remove librt_hidden_def (clock_gettime).
12392 * sysdeps/unix/clock_gettime.c: Likewise.
12393 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12394 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12395 * rt/clock_getres.c: Define __clock_getres as an alias.
12396 * sysdeps/posix/clock_getres.c: Likewise.
12397 * rt/clock_settime.c: Define __clock_settime as an alias.
12398 * sysdeps/unix/clock_settime.c: Likewise.
12399 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12400 * sysdeps/unix/clock_nanosleep.c: Likewise.
12401 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12402 * rt/clock-compat.c: New file.
12403 * rt/Makefile (librt-routines): Add clock-compat and move
12404 $(clock-routines) to ...
12405 (routines): ... here, new variable.
12406 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12407 Don't add get_clockfreq here.
12408 * rt/Versions (libc: GLIBC_2.17): New version set.
12409 Add clock_* symbols here.
12410 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12412 (GLIBC_2.17): Add clock_* symbols.
12413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12415 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12424 * NEWS: Mention the move.
12426 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12427 Use __open, __read, __close rather than their public counterparts.
12428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12429 (__get_clockfreq_via_cpuinfo): Likewise.
12430 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12431 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12433 * config.h.in (HAVE_IFUNC): New #undef.
12434 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12436 * configure: Regenerated.
12438 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12440 * configure.in: Move READELF check to start of file.
12441 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12442 libc_cv_asm_gnu_indirect_function in the process.
12443 * configure: Regenerated.
12445 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12447 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12448 send the output to /dev/null.
12449 (libc_cv_cc_with_libunwind): Likewise.
12450 (libc_cv_as_noexecstack): Likewise.
12451 * configure: Regenerate.
12453 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12455 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12457 * posix/globtest.sh (TMPDIR): Do not set.
12458 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12459 (testout): Likewise.
12461 2012-10-24 Andreas Jaeger <aj@suse.de>
12463 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12464 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12465 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12466 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12467 posix_fadvise64, posix_fallocate64.
12469 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12470 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12471 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12473 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12475 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12478 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12479 <bits/fcntl-linux.h>.
12480 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12483 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12484 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12485 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12486 [__WORDSIZE != 64]: Likewise.
12488 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12490 * Makeconfig (run-built-tests): New variable.
12491 * Rules [$(cross-compiling) = yes]: Change condition to
12492 [$(run-built-tests) = no].
12493 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12494 to [$(run-built-tests) = yes].
12495 * elf/Makefile [$(cross-compiling) = no]: Likewise
12496 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12497 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12498 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12499 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12500 * io/Makefile [$(cross-compiling) = no]: Likewise.
12501 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12502 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12503 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12504 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12505 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12506 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12507 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12508 * string/Makefile [$(cross-compiling) = no]: Likewise.
12510 * posix/Makefile ($(objpfx)globtest.out): Pass
12511 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12512 $(rtld-installed-name).
12513 * posix/globtest.sh (elf_objpfx): Remove variable.
12514 (rtld_installed_name): Likewise.
12515 (library_path): Likewise.
12516 (run_program_prefix): New variable. Use for running globtest
12519 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12520 Joseph Myers <joseph@codesourcery.com>
12522 * Makeconfig (host-built-program-cmd): New variable.
12523 * elf/Makefile (tst-stackguard1-ARGS): Use
12524 $(host-built-program-cmd).
12525 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12526 (tst-spawn-ARGS): Likewise.
12527 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12529 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12530 Jim Blandy <jimb@codesourcery.com>
12532 * Makeconfig (run-via-rtld-prefix): New variable.
12533 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12534 (built-program-cmd): Likewise.
12536 2012-10-22 Andreas Jaeger <aj@suse.de>
12538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12539 __O_RSYNC if it exists, otherwise to O_SYNC.
12541 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12542 Joseph Myers <joseph@codesourcery.com>
12544 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12546 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12548 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12551 2012-10-22 Andreas Jaeger <aj@suse.de>
12553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12558 bits/fcntl-linux.h.
12560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12561 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12568 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12569 Joseph Myers <joseph@codesourcery.com>
12571 * config.make.in (NM): New variable.
12573 2012-10-21 Andreas Jaeger <aj@suse.de>
12575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12576 definitions and declarations that are provided by
12577 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12579 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12582 * elf/Makefile (tests-static): Add tst-leaks1-static.
12583 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12584 ($(objpfx)tst-leaks1-static): New rule.
12585 ($(objpfx)tst-leaks1-static-mem): Likewise.
12586 (tst-leaks1-static-ENV): New macro.
12587 * elf/dl-open.c (dl_open_worker): Check the main application
12588 only if SHARED is defined.
12589 * elf/tst-leaks1-static.c: New file.
12591 2012-10-20 Andreas Jaeger <aj@suse.de>
12593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12594 generic values for Linux.
12595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12596 and declarations that are provided by <bits/fcntl-linux.h> and
12597 include <bits/fcntl-linux.h>.
12598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12601 2012-10-20 Roland McGrath <roland@hack.frob.com>
12603 * io/fcntl.h: Move include of <bits/types.h> to the top and
12604 include it unconditionally.
12606 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12608 * wcsmbs/Makefile (tests-ifunc): New variable.
12609 (tests): Add $(tests-ifunc).
12610 * wcsmbs/test-wcschr-ifunc.c: New file.
12611 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12612 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12613 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12614 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12615 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12617 * string/Makefile (tests-ifunc): New variable.
12618 (tests): Add $(tests-ifunc).
12619 * string/test-memccpy.c (TEST_NAME): New macro.
12620 * string/test-memchr.c (TEST_NAME): Likewise.
12621 * string/test-memcmp.c (TEST_NAME): Likewise.
12622 * string/test-memcpy.c (TEST_NAME): Likewise.
12623 * string/test-memmem.c (TEST_NAME): Likewise.
12624 * string/test-memmove.c (TEST_NAME): Likewise.
12625 * string/test-memset.c (TEST_NAME): Likewise.
12626 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12627 * string/test-stpcpy.c (TEST_NAME): Likewise.
12628 * string/test-stpncpy.c (TEST_NAME): Likewise.
12629 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12630 * string/test-strcasestr.c (TEST_NAME): Likewise.
12631 * string/test-strcat.c (TEST_NAME): Likewise.
12632 * string/test-strchr.c (TEST_NAME): Likewise.
12633 * string/test-strcmp.c(TEST_NAME): Likewise.
12634 * string/test-strcpy.c (TEST_NAME): Likewise.
12635 * string/test-strcspn.c (TEST_NAME): Likewise.
12636 * string/test-strlen.c (TEST_NAME): Likewise.
12637 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12638 * string/test-strncmp.c (TEST_NAME): Likewise.
12639 * string/test-strncpy.c (TEST_NAME): Likewise.
12640 * string/test-strnlen.c (TEST_NAME): Likewise.
12641 * string/test-strpbrk.c (TEST_NAME): Likewise.
12642 * string/test-strrchr.c (TEST_NAME): Likewise.
12643 * string/test-strspn.c (TEST_NAME): Likewise.
12644 * string/test-strstr.c (TEST_NAME): Likewise.
12645 * string/test-bcopy-ifunc.c: New file.
12646 * string/test-bzero-ifunc.c: Likewise.
12647 * string/test-memccpy-ifunc.c: Likewise.
12648 * string/test-memchr-ifunc.c: Likewise.
12649 * string/test-memcmp-ifunc.c: Likewise.
12650 * string/test-memcpy-ifunc.c: Likewise.
12651 * string/test-memmem-ifunc.c: Likewise.
12652 * string/test-memmove-ifunc.c: Likewise.
12653 * string/test-mempcpy-ifunc.c: Likewise.
12654 * string/test-memset-ifunc.c: Likewise.
12655 * string/test-rawmemchr-ifunc.c: Likewise.
12656 * string/test-stpcpy-ifunc.c: Likewise.
12657 * string/test-stpncpy-ifunc.c: Likewise.
12658 * string/test-strcasecmp-ifunc.c: Likewise.
12659 * string/test-strcasestr-ifunc.c: Likewise.
12660 * string/test-strcat-ifunc.c: Likewise.
12661 * string/test-strchr-ifunc.c: Likewise.
12662 * string/test-strchrnul-ifunc.c: Likewise.
12663 * string/test-strcmp-ifunc.c: Likewise.
12664 * string/test-strcpy-ifunc.c: Likewise.
12665 * string/test-strcspn-ifunc.c: Likewise.
12666 * string/test-strlen-ifunc.c: Likewise.
12667 * string/test-strncasecmp-ifunc.c: Likewise.
12668 * string/test-strncat-ifunc.c: Likewise.
12669 * string/test-strncmp-ifunc.c: Likewise.
12670 * string/test-strncpy-ifunc.c: Likewise.
12671 * string/test-strnlen-ifunc.c: Likewise.
12672 * string/test-strpbrk-ifunc.c: Likewise.
12673 * string/test-strrchr-ifunc.c: Likewise.
12674 * string/test-strspn-ifunc.c: Likewise.
12675 * string/test-strstr-ifunc.c: Likewise.
12677 * debug/Makefile (tests-ifunc): New variable.
12678 (tests): Add $(tests-ifunc).
12679 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12680 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12681 * debug/test-stpcpy_chk-ifunc.c: New file.
12682 * debug/test-strcpy_chk-ifunc.c: Likewise.
12684 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12687 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12688 header is not read in.
12690 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12692 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12693 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12694 directly. Pass built executable to script as
12695 $(built-program-cmd).
12696 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12697 $testprogram without using LD_LIBRARY_PATH and $ldso.
12699 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12700 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12701 $(rtld-installed-name).
12702 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12703 (rtld_installed_name): Likewise.
12704 (library_path): Likewise.
12705 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12706 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12707 $(run-program-prefix) to tst-tables.sh.
12708 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12709 it to run tst-table-from and tst-table-to.
12710 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12711 Pass it to tst-table.sh.
12712 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12713 $(run-program-prefix) to tst-gettext.sh.
12714 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12716 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12718 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12719 to run tst-gettext.
12720 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12721 to run tst-gettext2.
12722 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12723 to run tst-translit.
12724 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12725 $(run-program-prefix) to tst-mtrace.sh.
12726 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12728 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12729 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12730 $(rtld-installed-name).
12731 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12732 (rtld_installed_name): Likewise.
12733 (run_program_prefix): New variable. Use it to run wordexp-test.
12735 * Makeconfig (ARCH): Remove all definitions.
12736 (machine): Likewise.
12737 [ARCH]: Remove conditional code.
12738 [!objdir]: Give error.
12739 [!objdir] (objpfx): Remove.
12740 [!objdir] (common-objpfx): Likewise.
12741 [!objdir] (common-objdir): Likewise.
12742 * configure.in (config_makefile): Remove. Hardcode Makefile in
12743 AC_CONFIG_FILES call.
12744 * configure: Regenerated.
12747 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12749 (testout): Likewise.
12751 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12752 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12753 $(rtld-installed-name).
12754 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12755 (rtld_installed_name): Likwise.
12756 (runit): Remove function.
12757 (run_getconf): New variable, Use it for running getconf binary.
12759 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12762 * string/test-memmem.c (check_result): New function.
12763 (do_one_test): Use it.
12764 (check1): New function.
12765 (test_main): Use it.
12767 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12769 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12771 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12773 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12774 (_G_LSEEK64): Likewise.
12775 (_G_MMAP64): Likewise.
12776 (_G_FSTAT64): Likewise.
12777 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12778 (_G_LSEEK64): Likewise.
12779 (_G_MMAP64): Likewise.
12780 (_G_FSTAT64): Likewise.
12781 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12782 unconditional. Call __mmap64 directly.
12783 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12784 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12785 __lseek64 directly.
12786 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12787 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12789 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12790 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12791 __lseek64 directly.
12792 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12793 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12794 __lseek64 directly.
12795 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12796 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12797 __lseek64 directly.
12798 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12799 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12800 __fxstat64 directly.
12801 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12802 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12804 (freopen64) [!_G_OPEN64]: Remove conditional code.
12805 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12807 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12808 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12810 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12811 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12813 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12814 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12816 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12817 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12819 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12820 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12822 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12823 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12825 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12827 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12830 * manual/memory.texi (Malloc Tunable Parameters): Add note
12831 about free list pointers overwriting some perturb bytes.
12832 Wording suggested by Roland McGrath.
12834 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12836 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12837 (lgamma_test): Likewise.
12838 (tgamma_test): Likewise.
12840 2012-10-16 Florian Weimer <fweimer@redhat.com>
12843 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12844 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12846 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12848 * NEWS: Mention BZ #14716.
12849 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12850 when removing AVAILABLE1_USES_J macro.
12852 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12854 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12855 (__bswap_64): __uint64_t for unsigned 64-bit int.
12857 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12859 * include/string.h (memmem): Declare libc hidden alias.
12860 * string/memmem.c (memmem): Define libc hidden alias.
12861 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12862 __read, __close instead of open, read, close.
12864 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12867 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12869 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12870 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12871 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12873 (__rawmemchr_sse2): Likewise.
12874 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12875 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12876 (__strchr_sse2): Likewise.
12877 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12878 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12879 (__strcasecmp_sse2): Likewise.
12880 (__strncasecmp_sse2): Likewise.
12881 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12882 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12883 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12884 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12885 (__strrchr_sse2): Likewise.
12886 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12888 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12889 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12890 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12891 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12892 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12894 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12895 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12896 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12897 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12898 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12899 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12900 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12901 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12902 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12903 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12904 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12905 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12906 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12907 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12908 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12909 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12910 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12911 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12912 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12913 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12914 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12915 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12916 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12917 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12921 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12922 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12923 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12924 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12926 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12928 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12929 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12930 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12931 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12933 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12934 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12935 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12939 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12940 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12941 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12942 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12946 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12947 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12948 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12949 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12950 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12951 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12952 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12953 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12956 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12958 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12959 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12960 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12961 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12962 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12963 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12964 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12965 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12966 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12967 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12968 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12969 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12970 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12971 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12972 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12973 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12975 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12976 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12977 * include/ifunc-impl-list.h: New file.
12978 * misc/ifunc-impl-list.c: Likewise.
12979 * misc/Makefile (routines): Add ifunc-impl-list.
12980 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12981 * string/test-string.h: Include <ifunc-impl-list.h>.
12982 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12983 impl_array): New variables.
12984 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12986 (test_init): Call __libc_ifunc_impl_list to initialize
12987 func_list if TEST_IFUNC and TEST_NAME are defined.
12989 * string/Makefile (strop-tests): Add bcopy and bzero.
12990 * string/test-bcopy.c: New file.
12991 * string/test-bzero.c: Likewise.
12992 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12994 * string/test-memset.c: Support bzero test if TEST_BZERO is
12996 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12998 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13000 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13003 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13005 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13006 * configure: Regenerated.
13008 * Makeconfig (+link-static-before-libc): Don't include
13009 $(link-static-libc).
13011 * libio/libio.h (_IO_pos_t): Remove.
13013 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13015 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13018 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13020 * crypt/crypt-entry.c: Include fips-private.h.
13021 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13022 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13023 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13024 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13026 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13028 * crypt/crypt-private.h: Include stdbool.h.
13029 (_ufc_setup_salt_r): Return bool.
13030 * crypt/crypt-entry.c: Include errno.h.
13031 (__crypt_r): Return NULL with EINVAL for bad salt.
13032 * crypt/crypt_util.c (bad_for_salt): New.
13033 (_ufc_setup_salt_r): Check that salt is long enough and within
13034 the specified alphabet.
13035 * crypt/badsalttest.c: New file.
13036 * crypt/Makefile (tests): Add it.
13037 ($(objpfx)badsalttest): New.
13039 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13041 * NEWS: Add entry for BZ #14602.
13043 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13045 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13047 * math/libm-test.inc: Update comment listing what functions and
13049 (isgreater_test): New function.
13050 (isgreaterequal_test): Likewise.
13051 (isless_test): Likewise.
13052 (islessequal_test): Likewise.
13053 (islessgreater_test): Likewise.
13054 (isunordered_test): Likewise.
13055 (main): Call the new functions.
13057 2012-10-09 Roland McGrath <roland@hack.frob.com>
13059 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13060 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13061 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13062 * sysdeps/i386/configure: Regenerated.
13063 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13064 * sysdeps/mach/configure: Regenerated.
13065 * sysdeps/mach/hurd/configure: Regenerated.
13066 * sysdeps/powerpc/configure: Regenerated.
13067 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13068 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13069 * sysdeps/s390/s390-32/configure: Regenerated.
13070 * sysdeps/s390/s390-64/configure: Regenerated.
13071 * sysdeps/sh/configure: Regenerated.
13072 * sysdeps/sparc/configure: Regenerated.
13073 * sysdeps/unix/sysv/linux/configure: Regenerated.
13074 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13075 * sysdeps/x86_64/configure: Regenerated.
13077 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13078 defined. Don't check if MAP is NULL.
13080 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13082 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13083 (_G_stat64): Likewise.
13084 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13085 (_G_stat64): Likewise.
13086 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13087 instead of struct _G_stat64.
13088 * libio/fileops.c (mmap_remap_check): Likewise.
13089 (decide_maybe_mmap): Likewise.
13090 (_IO_new_file_seekoff): Likewise.
13091 (_IO_file_stat): Likewise.
13092 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13094 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13095 instead of struct _G_stat64.
13096 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13098 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13101 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13103 (CHECK_EOL): New macro.
13104 (two_way_short_needle): Check beginning of haystack for EOL. Use
13106 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13107 Replace with CHECK_EOL.
13108 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13109 Replace with CHECK_EOL.
13111 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13113 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13115 * math/libm-test.inc: Update comment listing what functions and
13117 (finite_test): New function.
13118 (isinf_test): Likewise.
13119 (isnan_test): Likewise.
13120 (fpclassify_test): Test subnormal input.
13121 (isfinite_test): Likewise.
13122 (isnormal_test): Likewise.
13123 (main): Call the new functions.
13125 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13128 * Makerules (%.dynsym): Force C locale when running
13129 $(OBJDUMP) --dynamic-syms.
13131 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13133 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13136 2012-10-06 David S. Miller <davem@davemloft.net>
13138 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13139 upper 32-bits of the length value in %o2 since we use branch-on-register
13140 tests which consider the entire 64-bit register.
13142 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13144 * string/test-strstr.c (check2): Add a test for page boundary.
13146 2012-10-05 David S. Miller <davem@davemloft.net>
13148 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13149 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13151 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13153 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13154 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13155 and bzero when HWCAP_SPARC_CRYPTO is present.
13157 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13160 * string/test-strstr.c (check2): New function.
13161 (test_main): Call check2.
13163 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13165 * string/bug-strcasestr1.c (do_test): Moved to ...
13166 * string/test-strcasestr.c (check1): Here. New function.
13167 (do_one_test): Break out result checking code into ...
13168 (check_result): This. New function.
13169 (do_one_test): Call check_result.
13170 (test_main): Call check1.
13171 * string/bug-strchr1.c (do_test): Moved to ...
13172 * string/test-strchr.c (check1): Here. New function.
13173 (do_one_test): Break out result checking code into ...
13174 (check_result): This. New function.
13175 (do_one_test): Call check_result.
13176 (test_main): Call check1.
13177 * string/bug-strstr1.c (main): Moved to ...
13178 * string/test-strstr.c (check1): Here. New function.
13179 (do_one_test): Break out result checking code into ...
13180 (check_result): This. New function.
13181 (do_one_test): Call check_result.
13182 (test_main): Call check1.
13183 * string/bug-strcasestr1.c: Removed.
13184 * string/bug-strchr1.c: Likewise.
13185 * string/bug-strstr1.c: Likewise.
13187 * elf/Makefile (dl-routines): Add hwcaps.
13188 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13189 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13190 (_dl_important_hwcaps): Moved to ...
13191 * elf/dl-hwcaps.c: Here. New file.
13192 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13195 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13196 if IS_IN_rtld isn't defined.
13198 * elf/dl-support.c (_dl_sysinfo_map): New.
13199 Include "get-dynamic-info.h" and "setup-vdso.h".
13200 (_dl_non_dynamic_init): Call setup_vdso.
13201 * elf/dynamic-link.h: Don't include <assert.h>.
13202 (elf_get_dynamic_info): Moved to ...
13203 * elf/get-dynamic-info.h: Here. New file.
13204 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13205 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13206 * elf/setup-vdso.h: Here. New file.
13207 * elf/rtld.c: Include "setup-vdso.h".
13208 (dl_main): Call setup_vdso.
13210 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13212 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13213 creal in comment listing functions tested. List finite, isinf,
13214 isnan, isless, islessequal, isgreater, isgreaterequal,
13215 islessgreater, isunordered, lgamma_r and pow10 as functions and
13216 macros not tested. Mention which functions not tested are aliases
13217 for other functions. Fix typo. Note that signs of NaNs are not
13220 * scripts/config.guess: Update from config.git.
13221 * scripts/config.sub: Likewise.
13223 2012-10-04 Roland McGrath <roland@hack.frob.com>
13225 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13226 * misc/madvise.c (madvise): Renamed to __madvise.
13227 Make madvise a weak alias.
13228 * include/sys/mman.h: Declare __madvise.
13229 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13230 * sysdeps/unix/syscalls.list
13231 (madvise): Make __madvise the strong name, and madvise a weak alias.
13232 * sysdeps/unix/sysv/linux/syscalls.list
13233 (madvise, mmap): Remove redundant entries.
13234 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13235 * malloc/malloc.c (mtrim): Likewise.
13236 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13238 2012-10-03 Roland McGrath <roland@hack.frob.com>
13240 * sysdeps/mach/hurd/dl-cache.c: File removed.
13241 * config.h.in (USE_LDCONFIG): New #undef.
13242 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13243 * configure: Regenerated.
13244 * elf/Makefile (dl-routines): Add dl-cache only under
13245 [$(use-ldconfig) = yes].
13246 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13247 cache on [USE_LDCONFIG].
13248 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13250 * elf/rtld.c (dl_main): Likewise.
13252 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13254 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13255 _SC_LEVEL4_CACHE_LINESIZE.
13257 2012-10-03 Roland McGrath <roland@hack.frob.com>
13259 * sysdeps/unix/bsd/confstr.h: File removed.
13261 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13263 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13266 2012-10-02 Roland McGrath <roland@hack.frob.com>
13268 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13269 Make 'mapoff' field ElfW(Off) rather than off_t.
13271 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13273 * nscd/Makefile: Remove nscd-cflags and all its users.
13274 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13275 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13278 * malloc.c (malloc_printerr): Clarify error message.
13280 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13284 Set bit_FMA_Usable if FMA is supported.
13285 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13287 (bit_FMA4_Usable): Updated.
13288 (index_FMA_Usable): New macro.
13289 (CPUID_FMA): Likewise
13290 (HAS_FMA): Defined with bit_FMA_Usable.
13292 2012-10-01 Roland McGrath <roland@hack.frob.com>
13294 * bits/types.h (__swblk_t): Type removed.
13295 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13296 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13297 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13298 (__SWBLK_T_TYPE): Likewise.
13299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13300 (__SWBLK_T_TYPE): Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13302 (__SWBLK_T_TYPE): Likewise.
13303 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13304 (__SWBLK_T_TYPE): Likewise.
13306 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13307 Honza Horak <hhorak@redhat.com>
13309 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13310 (xdr_mapname): Use YPMAXMAP as maxsize.
13311 (xdr_peername): Use YPMAXPEER as maxsize.
13312 (xdr_keydat): Use YPAXRECORD as maxsize.
13313 (xdr_valdat): Use YPMAXRECORD as maxsize.
13315 2012-10-01 Roland McGrath <roland@hack.frob.com>
13317 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13319 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13320 * csu/init-first.c: ... here.
13321 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13322 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13324 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13325 * sysdeps/i386/init-first.c: File removed.
13326 * sysdeps/sh/init-first.c: File removed.
13328 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13332 if x * y might underflow to zero and z is zero.
13333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13335 * math/libm-test.inc (min_subnorm_value): New variable.
13336 (fma_test): Add more tests.
13337 (fma_test_towardzero): Likewise.
13338 (fma_test_downward): Likewise
13339 (fma_test_upward): Likewise.
13340 (initialize): Set min_subnorm_value.
13342 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13348 mode for addition resulting in exact zero.
13349 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13352 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13354 * math/libm-test.inc (fma_test): Add more tests.
13355 (fma_test_towardzero): New function.
13356 (fma_test_downward): Likewise.
13357 (fma_test_upward): Likewise.
13358 (main): Call the new functions.
13360 2012-09-28 David S. Miller <davem@davemloft.net>
13362 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13364 2012-09-28 Roland McGrath <roland@hack.frob.com>
13366 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13367 instead of SIGALRM.
13369 * sysdeps/gnu/_G_config.h: Moved to ...
13370 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13371 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13372 * sysdeps/generic/_G_config.h: ... here.
13374 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13376 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13378 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13379 Conditionalize target on [libnss_test1.so-version].
13381 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13383 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13384 (elfobjdir): Move out of conditionals.
13386 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13387 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13388 (__nss_lookup_function): Conditionalize label remove_from_tree on
13389 [!DO_STATIC_NSS || SHARED], matching its only use.
13391 2012-09-28 David S. Miller <davem@davemloft.net>
13393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13394 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13396 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13400 when HWCAP_SPARC_CRYPTO is present.
13402 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13404 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13406 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13409 * stdio-common/vfprintf.c (process_string_arg): Revert
13412 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13414 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13416 * stdio-common/tst-sprintf.c: Include <locale.h>
13417 (main): Test sprintf's handling of incomplete multibyte
13420 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13422 * elf/dl-runtime.c (VERSYMIDX): Removed.
13423 * elf/dl-version.c (VERSYMIDX): Likewise.
13424 * elf/do-rel.h (VERSYMIDX): Likewise.
13425 (VALIDX): Likewise.
13426 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13427 * elf/rtld.c (VALIDX): Likewise.
13428 (ADDRIDX): Likewise.
13429 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13430 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13431 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13432 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13433 (VALIDX): Likewise.
13434 (ADDRIDX): Likewise.
13436 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13438 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13440 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13443 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13445 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13446 addresses are in the same scope as 192.0.2/24.
13447 * posix/gai.conf: Document new scope table defaults.
13449 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13452 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13453 for ftell. Compute offsets from write pointers instead.
13454 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13456 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13459 * libio/Makefile (tests): New test case tst-fseek.
13460 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13461 combination works in wide mode.
13462 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13463 state when the external buffer state changes.
13465 2012-09-27 David S. Miller <davem@davemloft.net>
13468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13469 pass reloc->r_addend in as the 'high' argument to
13470 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13474 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13476 * rt/tst-aio2.c: Include <pthread.h>.
13477 * rt/tst-aio3.c: Likewise.
13479 2012-09-27 Steve Ellcey <sellcey@mips.com>
13481 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13483 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13485 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13486 contents on [SHARED].
13488 2012-09-26 Marek Polacek <polacek@redhat.com>
13492 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13493 for C++ and GCC <4.3 as well as for non GCC compilers.
13495 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13499 2012-09-25 Roland McGrath <roland@hack.frob.com>
13501 * Makefile.in (all, install): Declare with .PHONY.
13502 Reported by Michael Hope <michael.hope@linaro.org>.
13504 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13506 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13507 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13509 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13511 (sydep_routines): Add the new and the internal functions.
13512 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13513 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13515 (GLIBC_2.17): Add the new function.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13517 (GLIBC_2.17): Likewise.
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13519 (GLIBC_2.17): Likewise.
13520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13521 (GLIBC_2.17): Likewise.
13522 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13524 2012-09-25 Alan Modra <amodra@gmail.com>
13526 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13527 Add release barrier before setting once_control to say
13528 initialisation is done. Add hints on lwarx. Use macro in
13530 (clear_once_control): Add release barrier.
13532 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13535 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13537 * math/s_clog10.c (__clog10): Likewise.
13538 * math/s_clog10f.c (__clog10f): Likewise.
13539 * math/s_clog10l.c (__clog10l): Likewise.
13540 * math/s_clogf.c (__clogf): Likewise.
13541 * math/s_clogl.c (__clogl): Likewise.
13542 * math/Makefile (libm-calls): Add x2y2m1.
13543 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13544 (__x2y2m1): Likewise.
13545 (__x2y2m1l): Likewise.
13546 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13547 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13551 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13552 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13553 * sysdeps/i386/fpu/libm-test-ulps: Update.
13554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13557 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13558 int as type of variable DEPTH.
13559 (glob): Use size_t instead of int as type of variables NEWCOUNT
13562 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13564 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13565 Add s_sincosf-sse2.
13566 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13567 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13568 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13569 macros for using routine as __sincosf_ia32.
13570 Use macro for function declaration and weak_alias.
13571 * sysdeps/i386/fpu/libm-test-ulps: Update.
13573 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13576 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13577 subnormal argument.
13578 * math/s_cexpf.c (__cexpf): Likewise.
13579 * math/s_csinf.c (__csinf): Likewise.
13580 * math/s_csinhf.c (__csinhf): Likewise.
13581 * math/s_ctanf.c (__ctanf): Likewise.
13582 * math/s_ctanhf.c (__ctanhf): Likewise.
13583 * math/s_ccosh.c (__ccoshf): Likewise.
13584 * math/s_cexp.c (__cexpl): Likewise.
13585 * math/s_csin.c (__csin): Likewise.
13586 * math/s_csinh.c (__csinh): Likewise.
13587 * math/s_ctan.c (__ctan): Likewise.
13588 * math/s_ctanh.c (ctanh): Likewise.
13589 * math/s_ccoshl.c (__ccoshl): Likewise.
13590 * math/s_cexpl.c (__cexpl): Likewise.
13591 * math/s_csinl.c (__csinl): Likewise.
13592 * math/s_csinhl.c (__csinhl): Likewise.
13593 * math/s_ctanl.c (__ctanl): Likewise.
13594 * math/s_ctanhl.c (__ctanhl): Likewise.
13596 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13598 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13599 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13600 (_IO_off_t): Define to __off_t, not _G_off_t.
13601 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13602 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13603 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13604 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13605 type of __dummy and __dummy2 fields.
13606 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13607 (_G_ssize_t): Likewise.
13608 (_G_off_t): Likewise.
13609 (_G_pid_t): Likewise.
13610 (_G_uid_t): Likewise.
13611 (_G_wchar_t): Likewise.
13612 (_G_wint_t): Likewise.
13613 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13614 (_G_ssize_t): Likewise.
13615 (_G_off_t): Likewise.
13616 (_G_pid_t): Likewise.
13617 (_G_uid_t): Likewise.
13618 (_G_wchar_t): Likewise.
13619 (_G_wint_t): Likewise.
13620 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13621 (_G_ssize_t): Likewise.
13622 (_G_off_t): Likewise.
13623 (_G_pid_t): Likewise.
13624 (_G_uid_t): Likewise.
13625 (_G_wchar_t): Likewise.
13626 (_G_wint_t): Likewise.
13628 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13630 * malloc/arena.c: Include malloc-sysdep.h.
13631 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13632 is sufficient to shrink the heap or an unmap is needed.
13633 * sysdeps/generic/malloc-sysdep.h: New file. Define
13634 new function check_may_shrink_heap.
13635 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13636 new function check_may_shrink_heap.
13638 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13640 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13643 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13645 * catgets/test-gencat.sh: Add "set -e".
13646 * elf/tst-pathopt.sh: Likewise.
13647 * grp/tst_fgetgrent.sh: Likewise.
13648 * iconvdata/run-iconv-test.sh: Likewise.
13649 * intl/tst-gettext.sh: Likewise.
13650 * intl/tst-gettext2.sh: Likewise.
13651 * intl/tst-gettext4.sh: Likewise.
13652 * intl/tst-gettext6.sh: Likewise.
13653 * intl/tst-translit.sh: Likewise.
13654 * io/ftwtest-sh: Likewise.
13655 * libio/test-freopen.sh: Likewise.
13656 * malloc/tst-mtrace.sh: Likewise.
13657 * posix/globtest.sh: Likewise.
13658 * posix/tst-getconf.sh: Likewise.
13659 * posix/wordexp-tst.sh: Likewise.
13660 * stdio-common/tst-printf.sh: Likewise.
13661 * stdio-common/tst-unbputc.sh: Likewise.
13662 * stdlib/tst-fmtmsg.sh: Likewise.
13663 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13664 * catgets/Makefile: Do not specify -e option when running
13665 testsuite shell scripts.
13666 * elf/Makefile: Likewise.
13667 * grp/Makefile: Likewise.
13668 * iconvdata/Makefile: Likewise.
13669 * intl/Makefile: Likewise.
13670 * io/Makefile: Likewise.
13671 * libio/Makefile: Likewise.
13672 * malloc/Makefile: Likewise.
13673 * posix/Makefile: Likewise.
13674 * stdio-common/Makefile: Likewise.
13675 * stdlib/Makefile: Likewise.
13676 * sysdeps/x86_64/Makefile: Likewise.
13678 * io/ftwtest-sh: Add copyright header.
13679 * posix/globtest.sh: Likewise.
13680 * posix/tst-getconf.sh: Likewise.
13681 * posix/wordexp-tst.sh: Likewise.
13682 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13684 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13687 * Makeconfig (+link): Defined as $(+link-static) if
13688 $(build-shared) isn't yes.
13689 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13691 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13693 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13696 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13697 new chunk size with MALLOC_ALIGN_MASK.
13699 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13702 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13704 (__printf_fphex): Determine rounding using get_rounding_mode and
13706 * stdio-common/tst-printf-round.c (struct hex_test): New
13708 (hex_tests): New variable.
13709 (test_hex_in_one_mode): New function.
13710 (do_test): Also run tests for hex float output.
13712 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13714 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13715 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13716 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13717 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13718 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13719 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13720 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13721 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13723 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13725 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13726 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13727 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13728 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13730 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13733 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13735 * elf/tst-rtld-load-self.sh: New test.
13736 * elf/Makefile: Run it.
13738 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13740 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13741 (tst-writev-ENV): Remove.
13742 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13744 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13746 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13748 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13750 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13752 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13754 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13755 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13756 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13759 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13762 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13763 * config.make.in (have-cpp-asm-debuginfo): Removed.
13764 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13765 * configure: Regenerated.
13767 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13770 * stdio-common/printf_fp.c: Include <stdbool.h> and
13772 (___printf_fp): Determine rounding using get_rounding_mode and
13774 * stdio-common/tst-printf-round.c: New file.
13775 * stdio-common/Makefile (tests): Add tst-printf-round.
13776 (link-libm): New variable.
13777 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13779 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13782 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13783 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13785 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13788 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13790 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13791 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13792 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13793 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13795 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13798 * include/rounding-mode.h: New file.
13799 * sysdeps/generic/get-rounding-mode.h: Likewise.
13800 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13801 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13802 (MAX_VALUE): New macro.
13803 (MIN_VALUE): Likewise.
13804 (overflow_value): New function.
13805 (underflow_value): Likewise.
13806 (round_and_return): Use overflow_value and underflow_value to
13807 determine return values in overflow and underflow cases. Use
13808 round_away to determine rounding depending on rounding mode.
13809 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13810 determine return values in overflow and underflow cases.
13811 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13812 (struct test_results): New structure.
13813 (struct test): Use struct test_results to store expected results
13814 for all rounding modes.
13815 (TEST): Include expected results for all rounding modes.
13816 (test_in_one_mode): New function.
13817 (do_test): Use test_in_one_mode to compute and check results.
13818 Check results for all rounding modes.
13819 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13822 2012-12-09 Allan McRae <allan@archlinux.org>
13824 * sysdeps/i386/fpu/libm-test-ulps: Update
13826 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13828 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13829 (_G_int32_t): Likewise.
13830 (_G_uint16_t): Likewise.
13831 (_G_uint32_t): Likewise.
13832 (_G_HAVE_BOOL): Likewise.
13833 (_G_HAVE_ATEXIT): Likewise.
13834 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13835 (_G_HAVE_IO_FILE_OPEN): Likewise.
13836 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13837 (_G_int32_t): Likewise.
13838 (_G_uint16_t): Likewise.
13839 (_G_uint32_t): Likewise.
13840 (_G_HAVE_BOOL): Likewise.
13841 (_G_HAVE_ATEXIT): Likewise.
13842 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13843 (_G_HAVE_IO_FILE_OPEN): Likewise.
13844 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13845 (_G_int32_t): Likewise.
13846 (_G_uint16_t): Likewise.
13847 (_G_uint32_t): Likewise.
13848 (_G_HAVE_BOOL): Likewise.
13849 (_G_HAVE_ATEXIT): Likewise.
13850 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13851 (_G_HAVE_IO_FILE_OPEN): Likewise.
13853 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13855 * csu/libc-tls.c: Update copyright years.
13857 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13859 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13860 [!_G_USING_THUNKS]: Remove conditional code.
13861 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13862 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13864 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13865 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13866 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13867 (_G_VTABLE_LABEL_PREFIX): Likewise.
13868 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13869 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13870 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13871 (_G_VTABLE_LABEL_PREFIX): Likewise.
13872 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13873 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13874 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13875 (_G_VTABLE_LABEL_PREFIX): Likewise.
13876 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13878 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13880 * libio/Makefile: Include ../Makeconfig before tests.
13881 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13882 only if $(build-shared) is yes.
13884 * iconv/gconv_db.c: Update copyright years.
13886 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13888 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13889 unwind info if defined PIC. Fix special cases description.
13890 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13892 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13894 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13896 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13898 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13900 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13903 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13904 (LDLIBS-tst-chk4): This.
13905 (LDFLAGS-tst-chk5): Renamed to ...
13906 (LDLIBS-tst-chk5): This.
13907 (LDFLAGS-tst-chk6): Renamed to ...
13908 (LDLIBS-tst-chk6): This.
13909 (LDFLAGS-tst-lfschk4): Renamed to ...
13910 (LDLIBS-tst-lfschk4): This.
13911 (LDFLAGS-tst-lfschk5): Renamed to ...
13912 (LDLIBS-tst-lfschk5): This.
13913 (LDFLAGS-tst-lfschk6): Renamed to ...
13914 (LDLIBS-tst-lfschk6): This.
13916 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13917 on $(common-objpfx)soversions.mk.
13919 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13922 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13925 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13927 * malloc/arena.c (arena_get_retry): New function that gets
13928 another arena for the caller to try its request on.
13929 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13930 current arena cannot fulfill the request.
13931 (__libc_memalign): Likewise.
13932 (__libc_memalign): Likewise.
13933 (__libc_pvalloc): Likewise.
13934 (__libc_calloc): Likewise.
13936 2012-09-05 John Tobey <john.tobey@gmail.com>
13939 * manual/arith.texi (Operations on Complex): Fix description
13940 of carg branch cut.
13942 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13945 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13949 * manual/memory.texi (Memory): Make order of menu items match
13952 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13954 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13955 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13956 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13958 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13960 * csu/libc-tls.c (static_dtv): Renamed to ...
13961 (_dl_static_dtv): This. Make it global.
13962 (_dl_initial_dtv): Removed.
13963 (__libc_setup_tls): Updated.
13964 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13965 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13968 2012-09-06 Petr Machata <pmachata@redhat.com>
13970 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13971 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13972 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13973 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13975 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13978 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13979 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13982 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13985 * Makeconfig (link-static-before-libc): Replace $(+prector)
13987 (link-static-after-libc): Replace $(+postctor) with
13989 (link-bounded): Replace $(+prector)/$(+postctor) with
13990 $(+prectorT)/$(+postctorT).
13991 (+prectorT): New macro.
13992 (+postctorT): Likewise.
13994 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13996 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13997 (round_str): Handle values above the maximum for IBM long double
13999 * stdlib/tst-strtod-round.c (tests): Regenerated.
14001 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14003 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14005 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14006 zarch_nohighgprs around the zarch optimized routines.
14007 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14008 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14009 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14012 2012-09-05 David S. Miller <davem@davemloft.net>
14014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14016 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14017 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14018 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14019 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14022 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14024 * malloc/arena.c: Fold copyright years.
14025 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14027 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14029 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14031 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14033 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14035 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14037 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14038 change internal state upon failure.
14040 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14042 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14043 * malloc/memusage.c (mmap): Likewise.
14044 (mmap64, mremap): Likewise. Adjust name in comment.
14046 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14048 * libio/fileops.c: Fix typos in comments.
14049 * libio/oldfileops.c: Likewise.
14050 * libio/wfileops.c: Likewise.
14052 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14055 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14056 (tst-malloc-usable-ENV): Set environment for test case.
14057 * malloc/hooks.c (malloc_check_get_size): New function to get
14059 * malloc/malloc.c (musable): Use malloc_check_get_size.
14060 * malloc/tst-malloc-usable.c: New test case.
14062 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14064 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14066 2012-09-05 Allan McRae <allan@archlinux.org>
14069 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14070 determine header location.
14071 * configure: Regenerated.
14073 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14075 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14077 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14078 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14080 (test): Regenerate.
14082 2012-09-04 David S. Miller <davem@davemloft.net>
14084 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14085 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14086 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14088 2012-09-04 Florian Weimer <fweimer@redhat.com>
14090 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14093 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14095 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14098 * libio/iogetdelim.c: Include <limits.h>.
14099 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14100 + len + 1 would overflow.
14102 2012-09-03 Andreas Jaeger <aj@suse.de>
14104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14105 * sysdeps/i386/fpu/libm-test-ulps: Update.
14107 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14109 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14110 Add s_sinf-sse2, s_conf-sse2.
14112 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14113 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14114 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14115 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14117 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14118 for using routine as __sinf_ia32.
14119 Use macro for function declaration and weak_alias.
14120 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14121 for using routine as __cosf_ia32.
14122 Use macro for function declaration and weak_alias.
14124 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14125 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14127 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14128 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14131 * math/libm-test.inc (cos_test): Add more test cases.
14132 (sin_test): Likewise.
14133 (sincos_test): Likewise.
14135 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14137 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14138 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14140 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14142 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14145 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14146 first element of the GOT.
14147 (elf_machine_load_address): Return the difference between
14148 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14150 2012-09-01 Allan McRae <allan@archlinux.org>
14153 * configure.in (AWK): Require gawk version 3.0 or later.
14154 * configure: Regenerated.
14156 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14158 * sysdeps/unix/sysv/linux/kernel-features.h
14159 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14160 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14161 [__NR_clock_getres]: Make code unconditional.
14162 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14163 (clock_getcpuclockid): Remove code left unreachable by removal of
14165 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14166 code unconditional.
14167 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14168 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14169 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14170 Make code unconditional.
14171 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14172 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14173 * sysdeps/unix/sysv/linux/clock_settime.c
14174 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14176 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14177 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14179 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14182 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14183 scripts/test-installation.pl.
14185 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14186 and $ld_so_version if it is set.
14188 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14192 failure if reading from procfs failed.
14193 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14195 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14197 * sysdeps/unix/sysv/linux/kernel-features.h
14198 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14199 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14200 Remove conditional code.
14201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14202 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14203 Remove conditional code.
14204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14205 * sysdeps/unix/sysv/linux/i386/fxstat.c
14206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14208 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14211 * sysdeps/unix/sysv/linux/i386/lxstat.c
14212 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14214 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14215 Remove conditional code.
14216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14217 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14218 Remove conditional code.
14219 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14220 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14221 <kernel-features.h>.
14222 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14224 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14225 Remove conditional code.
14226 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14227 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14228 Remove conditional.
14230 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14233 * NEWS: Add fixed bug number.
14235 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14238 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14239 underflowing exponent in case of negative sign.
14240 * stdlib/tst-strtod-round-data: Add more tests.
14241 * stdlib/tst-strtod-round.c (tests): Regenerated.
14244 * stdlib/strtod_l.c (NDIG): Remove.
14245 (HEXNDIG): Likewise.
14246 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14247 smallest representable value.
14248 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14249 lie within an exact representation of 1/2 ulp of the result.
14250 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14252 (TENS_P9_IDX): Define unconditionally.
14253 (TENS_P9_SIZE): Likewise.
14254 (TENS_P10_IDX): Likewise.
14255 (TENS_P10_SIZE): Likewise.
14256 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14257 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14258 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14259 entries for 10^2^13 and 10^2^14.
14260 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14261 (TENS_P13_IDX): Define.
14262 (TENS_P13_SIZE): Likewise.
14263 (TENS_P14_IDX): Likewise.
14264 (TENS_P14_SIZE): Likewise.
14265 (_fpioconst_pow10): Change array size to
14266 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14268 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14269 1024]: Add entries for 10^2^13 and 10^2^14.
14270 [LAST_POW10 > _LAST_POW10]: Remove #error.
14271 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14272 (_fpioconst_pow10): Change array size to
14273 FPIOCONST_POW10_ARRAY_SIZE.
14274 * stdlib/gen-fpioconst.c: New file.
14275 * stdlib/gen-tst-strtod-round.c: Likewise.
14276 * stdlib/tst-strtod-round-data: Likewise.
14277 * stdlib/tst-strtod-round.c: Likewise.
14278 * stdlib/Makefile (tests): Add tst-strtod-round.
14281 * stdlib/strtod_l.c: Include <stdint.h>.
14282 (NDEBUG): Do not define.
14283 (round_and_return): Change EXPONENT parameter to type intmax_t.
14284 Rearrange calculations to avoid internal overflow possibilities.
14285 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14286 Rearrange calculations to avoid internal overflow possibilities.
14287 Assert that number fits inside MPNSIZE limbs.
14288 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14289 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14290 calculations and add assertions to avoid internal overflow
14291 possibilities. Add casts to avoid signed/unsigned operations.
14292 * stdlib/tst-strtod-overflow.c: New file.
14293 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14295 2012-08-25 Marek Polacek <polacek@redhat.com>
14297 * time/time.h: Fix some typos in comments.
14299 2012-08-23 Roland McGrath <roland@hack.frob.com>
14301 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14302 * posix/tst-rfc3484-2.c: Likewise.
14303 * posix/tst-rfc3484-3.c: Likewise.
14305 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14307 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14308 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14310 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14312 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14313 #include of fxstatat64.c.
14315 2012-08-22 Roland McGrath <roland@hack.frob.com>
14317 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14318 * shadow/getspent_r.c: Likewise.
14319 * shadow/getspnam.c: Likewise.
14320 * shadow/getspnam_r.c: Likewise.
14321 * gshadow/getsgent.c: Likewise.
14322 * gshadow/getsgent_r.c: Likewise.
14323 * gshadow/getsgnam.c: Likewise.
14324 * gshadow/getsgnam_r.c: Likewise.
14325 * inet/getnetbyad.c: Likewise.
14326 * inet/getnetbyad_r.c: Likewise.
14327 * inet/getnetbynm.c: Likewise.
14328 * inet/getnetbynm_r.c: Likewise.
14329 * inet/getnetent.c: Likewise.
14330 * inet/getnetent_r.c: Likewise.
14331 * inet/getproto.c: Likewise.
14332 * inet/getproto_r.c: Likewise.
14333 * inet/getprtent.c: Likewise.
14334 * inet/getprtent_r.c: Likewise.
14335 * inet/getprtname.c: Likewise.
14336 * inet/getprtname_r.c: Likewise.
14337 * inet/getrpcbyname.c: Likewise.
14338 * inet/getrpcbyname_r.c: Likewise.
14339 * inet/getrpcbynumber.c: Likewise.
14340 * inet/getrpcbynumber_r.c: Likewise.
14341 * inet/getrpcent.c: Likewise.
14342 * inet/getrpcent_r.c: Likewise.
14343 * inet/getaliasent.c: Likewise.
14344 * inet/getaliasent_r.c: Likewise.
14345 * inet/getaliasname.c: Likewise.
14346 * inet/getaliasname_r.c: Likewise.
14347 * nscd/getgrgid_r.c: Likewise.
14348 * nscd/getgrnam_r.c: Likewise.
14349 * nscd/gethstbyad_r.c: Likewise.
14350 * nscd/gethstbynm3_r.c: Likewise.
14351 * nscd/getpwnam_r.c: Likewise.
14352 * nscd/getpwuid_r.c: Likewise.
14353 * nscd/getsrvbynm_r.c: Likewise.
14354 * nscd/getsrvbypt_r.c: Likewise.
14355 * nscd/gai.c: Likewise.
14357 * configure.in (build_nscd): New substituted variable, set
14358 by --disable-build-nscd and defaults to $use_nscd.
14359 * configure: Regenerated.
14360 * config.make.in (build-nscd): New substituted variable.
14361 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14362 Change conditional to require [$(build-nscd) = yes] as well.
14363 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14366 * configure.in (use_nscd): New substituted variable, set by
14367 --disable-nscd. If enabled, define USE_NSCD.
14368 * configure: Regenerated.
14369 * config.h.in: Add USE_NSCD.
14370 * config.make.in (use-nscd): New substituted variable.
14371 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14372 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14373 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14374 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14375 (CFLAGS-getgrnam_r.c): Likewise.
14376 (CFLAGS-initgroups.c): Likewise.
14377 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14378 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14380 * inet/getnetgrent_r.c
14381 (nscd_setnetgrent): New function, broken out of ...
14382 (setnetgrent): ... here. Call it.
14383 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14384 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14385 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14386 * nscd/Makefile (routines, aux): Move definitions after include of
14387 Makeconfig. Conditionalize on [$(use-nscd) != no].
14388 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14389 Conditionalize on [USE_NSCD].
14390 (is_nscd, nscd_init_cb): Likewise.
14391 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14392 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14393 * nss/nss_db/db-init.c: Likewise.
14394 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14396 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14397 (make_request): Use it.
14398 (cache_valid_p): New function.
14399 (__check_pf): Use it.
14400 * NEWS: Add item for --disable-nscd.
14402 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14404 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14405 to support sed >= 4.2.1-20-ga9bf076.
14406 * configure: Regenerated.
14408 2012-08-22 Roland McGrath <roland@hack.frob.com>
14410 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14411 Conditionalize whole body on [IREL].
14413 2012-08-22 Jeff Law <law@redhat.com>
14416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14417 if the family is PF_UNSPEC.
14419 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14421 * Makerules (lib-version): Rename from V.
14422 (install-lib-nosubdir): Change V to lib-version.
14424 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14427 * powerpc32/power6/wcschr.c: New file.
14428 * powerpc32/power6/wcscpy.c: New file.
14429 * powerpc32/power6/wcsrchr.c: New file.
14430 * powerpc64/power6/wcschr.c: New file.
14431 * powerpc64/power6/wcscpy.c: New file.
14432 * powerpc64/power6/wcsrchr.c: New file.
14434 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14436 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14437 (two_way_short_needle): Use it.
14438 * string/strstr.c (AVAILABLE1_USES_J): Define.
14439 * string/strcasestr.c: Likewise.
14441 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14443 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14446 * NEWS: Add an entry.
14447 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14448 define their defaults.
14449 (two_way_short_needle): Detect end-of-string on-the-fly.
14450 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14451 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14452 * string/bug-strcasestr1.c: New test.
14453 * string/Makefile: Run it.
14455 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14458 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14459 the first character.
14461 2012-08-21 Roland McGrath <roland@hack.frob.com>
14463 * csu/elf-init.c (__libc_csu_irel): Function removed.
14464 * csu/libc-start.c (apply_irel): New function.
14465 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14467 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14469 * sysdeps/unix/sysv/linux/kernel-features.h
14470 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14471 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14472 <kernel-features.h>.
14473 [__NR_fadvise64_64]: Make code unconditional.
14474 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14475 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14476 !__NR_fadvise64_64)]: Likewise.
14477 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14478 !__NR_fadvise64_64))]: Likewise.
14479 [__NR_fadvise64]: Make code unconditional.
14480 [!__NR_fadvise64]: Remove conditional code.
14481 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14482 <kernel-features.h>.
14483 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14485 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14488 not include <kernel-features.h>.
14489 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14491 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14493 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14494 include <kernel-features.h>.
14495 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14497 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14500 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14503 slight instruction rearrangements per scrollpipe analysis.
14504 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14506 2012-08-20 Roland McGrath <roland@hack.frob.com>
14508 * manual/syslog.texi (syslog; vsyslog, closelog):
14509 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14510 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14512 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14513 DSOCAPS to match condition on defining it.
14515 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14517 * sysdeps/unix/sysv/linux/kernel-features.h
14518 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14526 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14527 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14529 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14530 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14532 * sysdeps/unix/sysv/linux/kernel-features.h
14533 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14534 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14536 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14537 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14538 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14539 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14540 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14541 Make code unconditional.
14542 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14543 (__mmap64) [!__NR_mmap2]: Likewise.
14544 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14545 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14546 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14547 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14548 [__NR_mmap2]: Make code unconditional.
14549 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14550 (__mmap64) [!__NR_mmap2]: Likewise.
14552 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14554 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14556 2012-08-18 Andreas Jaeger <aj@suse.de>
14558 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14560 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14562 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14563 * include/unistd.h (__have_sock_cloexec): Likewise.
14564 (__have_pipe2): Likewise.
14565 (__have_dup3): Likewise.
14567 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14570 * include/unistd.h (__have_pipe2): Change define into an extern int.
14571 (__have_dup3): Likewise.
14572 * socket/have_sock_cloexec.c: Include fcntl.h.
14573 (__have_pipe2): New variable.
14574 (__have_dup3): Likewise.
14576 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14578 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14580 2012-08-17 Marek Polacek <polacek@redhat.com>
14582 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14583 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14585 2012-08-17 Roland McGrath <roland@hack.frob.com>
14587 * configure.in: Add AC_SUBST for sysheaders.
14588 * configure: Regenerated.
14589 * config.make.in (sysheaders): New substituted variable.
14591 * sysdeps/unix/mkfifo.c: Moved ...
14592 * sysdeps/posix/mkfifo.c: ... here.
14593 * sysdeps/unix/mkfifoat.c: Moved ...
14594 * sysdeps/posix/mkfifoat.c: ... here.
14596 * sysdeps/unix/utime.c: Moved ...
14597 * sysdeps/posix/utime.c: ... here.
14599 * sysdeps/unix/time.c: Moved ...
14600 * sysdeps/posix/time.c: ... here.
14601 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14602 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14604 * sysdeps/unix/nice.c: Moved ...
14605 * sysdeps/posix/nice.c: ... here.
14607 * sysdeps/unix/alarm.c: Moved ...
14608 * sysdeps/posix/alarm.c: ... here.
14610 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14612 2012-08-17 Jeff Law <law@redhat.com>
14614 * intl/Makefile (codeset_mo): New variable.
14615 ($(codeset_mo)): New target.
14616 (tst-codeset.out): Depend on that. Remove explicit rule.
14617 (tst-gettext3.out, tst-gettext5.out): Likewise.
14618 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14619 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14620 * intl/tst-codeset.sh: Remove.
14621 * intl/tst-gettext3.sh: Likewise.
14622 * intl/tst-gettext5.sh: Likewise.
14624 2012-08-17 Roland McGrath <roland@hack.frob.com>
14626 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14627 * sysdeps/unix/syscalls.list: ... here.
14629 * sysdeps/posix/getaddrinfo.c
14630 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14631 (gaiconf_init, gaiconf_reload): Use them.
14632 [!_STATBUF_ST_NSEC]
14633 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14634 Define using time_t rather than struct timespec.
14636 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14637 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14639 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14641 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14642 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14645 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14646 __libc_cleanup_push argument.
14648 * bits/param.h: New file.
14649 * misc/sys/param.h: New file.
14650 * include/sys/param.h: New file.
14651 * misc/Makefile (headers): Add bits/param.h.
14652 * sysdeps/generic/sys/param.h: File removed.
14653 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14654 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14655 * sysdeps/mach/hurd/bits/param.h: New file.
14656 * sysdeps/mach/hurd/sys/param.h: File removed.
14658 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14661 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14663 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14664 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14667 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14668 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14669 rather than -D_IO_MTSAFE_IO conditionally.
14670 * stdio-common/Makefile (CPPFLAGS): Likewise.
14671 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14672 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14673 Use $(libio-mtsafe).
14674 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14675 of -D_IO_MTSAFE_IO.
14676 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14677 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14678 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14679 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14680 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14681 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14682 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14683 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14684 (CFLAGS-fread_u_chk.c): Likewise.
14685 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14686 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14687 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14688 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14689 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14690 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14691 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14692 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14693 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14695 * libio/Makefile: Test [$(libc-reentrant) = yes]
14696 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14699 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14700 * sysdeps/pthread/configure: File removed.
14701 * sysdeps/pthread/Makeconfig: New file.
14702 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14703 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14705 2012-08-16 Gary Benson <gbenson@redhat.com>
14707 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14708 unmapping the first object in a namespace.
14710 2012-08-16 Roland McGrath <roland@hack.frob.com>
14712 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14713 (__internal_setnetgrent): ... this. Add internal_function to
14714 definition. Add libc_hidden_def.
14715 (setnetgrent): Update caller.
14716 (internal_endnetgrent): Renamed to ...
14717 (__internal_endnetgrent): ... this. Add internal_function to
14718 definition. Add libc_hidden_def.
14719 (endnetgrent): Update caller.
14720 (internal_getnetgrent_r): Renamed to ...
14721 (__internal_getnetgrent_r): ... this. Add internal_function to
14722 definition. Add libc_hidden_def.
14723 (__getnetgrent_r): Update caller.
14724 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14726 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14728 * stdlib/longlong.h: Update from GCC.
14730 2012-08-16 Roland McGrath <roland@hack.frob.com>
14732 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14733 on _QL, which is set by umul_ppmm but never used.
14734 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14735 variables, which are set by GMP macros but never used.
14736 * stdio-common/_itowa.c (_itowa): Likewise.
14737 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14738 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14740 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14742 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14743 struct La_sh_regs is not constant.
14744 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14745 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14746 and struct La_sparc64_regs are not constant.
14748 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14750 * sysdeps/unix/sysv/linux/kernel-features.h
14751 (__ASSUME_POSIX_TIMERS): Remove.
14752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14754 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14755 Make code unconditional.
14756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14757 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14758 Make code unconditional.
14759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14760 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14761 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14763 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14764 Make code unconditional.
14765 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14766 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14767 (__libc_missing_posix_timers): Remove.
14769 2012-08-15 Roland McGrath <roland@hack.frob.com>
14771 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14772 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14774 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14776 * elf/dl-sym.c: Include <stdlib.h>.
14778 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14779 constants, which avoids warnings in 32-bit builds.
14781 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14782 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14784 * misc/lseek.c: File moved to ...
14785 * io/lseek.c: ... here.
14787 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14789 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14790 shifting LEN more than 31 bits at once.
14792 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14795 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14796 segmentation fault for a case of two empty input strings.
14797 * string/test-strncasecmp.c (check1): Renamed to...
14798 (bz12205): ...this.
14799 (bz14195): Add new testcase for two empty input strings and N > 0.
14800 (test_main): Call new testcase, adapt for renamed function.
14802 2012-08-15 Andreas Jaeger <aj@suse.de>
14805 * crypt/md5test2.c: New test, based on test supplied by Serge
14806 Belyshev <belyshev@depni.sinp.msu.ru>.
14807 * crypt/Makefile (xtests): Add md5test-giant..
14808 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14810 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14813 * crypt/md5.c (md5_process_block): Don't assume the buffer
14814 length is less than 2**32.
14815 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14816 length is less than 2**64.
14818 2012-08-15 Roland McGrath <roland@hack.frob.com>
14820 * string/str-two-way.h: Include <sys/param.h>.
14821 (MAX): Macro removed.
14823 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14824 Move #define and #undef of memmove to just before and after
14825 including <string.h>.
14827 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14828 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14829 and after including <string.h>. Move declarations of
14830 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14831 to before #include "string/memmove.c".
14833 * include/dirent.h: Declare __getdirentries.
14835 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14836 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14838 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14840 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14841 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14842 * sysdeps/i386/configure: Regenerated.
14843 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14844 STABS_CURRENT_FILE, and STABS_FUN.
14845 (END): Remove call to STABS_FUN_END.
14846 (STABS_CURRENT_FILE1): Delete.
14847 (STABS_CURRENT_FILE): Likewise.
14848 (STABS_FUN): Likewise.
14849 (STABS_FUN_END): Likewise.
14850 (STABS_FUN2): Likewise.
14851 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14852 * sysdeps/x86_64/configure: Regenerated.
14854 2012-08-14 Roland McGrath <roland@hack.frob.com>
14856 * elf/dl-open.c: Include <atomic.h>.
14857 * elf/dl-lookup.c: Likewise.
14859 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14861 * sysdeps/unix/sysv/linux/kernel-features.h
14862 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14863 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14865 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14867 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14868 condition on __ASSUME_CLONE_THREAD_FLAGS.
14870 2012-08-14 Andreas Jaeger <aj@suse.de>
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14874 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14876 * include/atomic.h (atomic_exchange_and_add): Split into ...
14877 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14880 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14884 2012-08-13 Jeff Law <law@redhat.com>
14886 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14887 null byte in the output string.
14889 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14891 * sysdeps/unix/sysv/linux/kernel-features.h
14892 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14893 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14894 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14895 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14896 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14897 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14898 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14900 2012-08-09 Jeff Law <law@redhat.com>
14903 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14904 When avoid_arena is set, don't retry in the that arena. Pick the
14905 next one, whatever it might be.
14906 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14907 (arena_lock): Pass in new parameter to arena_get2.
14908 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14910 (__libc_malloc): Unify retrying after main arena failure with
14911 __libc_memalign version.
14912 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14914 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14917 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14918 to __redirect_strstr.
14919 (__strstr_sse42): Use typeof __redirect_strstr.
14920 (__strstr_ia32): Likewise.
14921 (__libc_strstr): New prototype.
14922 (strstr): Renamed to ...
14923 (__libc_strstr): This.
14924 (strstr): New strong alias of __libc_strstr.
14925 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14926 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14929 (__libc_time): New prototype.
14930 (time_ifunc): Replace time with __libc_time.
14931 (time): New strong alias and hidden definition of __libc_time.
14932 (__GI_time): Remove strong alias.
14933 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14934 Include <stddef.h>.
14935 (memmove): Redefined to __redirect_memmove.
14936 (__memmove_sse2): Use typeof __redirect_memmove.
14937 (__memmove_ssse3): Likewise.
14938 (__memmove_ssse3_back): Likewise.
14939 (__libc_memmove): New prototype.
14940 (memmove): Renamed to ...
14941 (__libc_memmove): This.
14942 (memmove): New strong alias of __libc_memmove.
14944 2012-08-08 Mark Salter <msalter@redhat.com>
14947 (R_MN10300_TLS_GD): Define.
14948 (R_MN10300_TLS_LD): Likewise.
14949 (R_MN10300_TLS_LDO): Likewise.
14950 (R_MN10300_TLS_GOTIE): Likewise.
14951 (R_MN10300_TLS_IE): Likewise.
14952 (R_MN10300_TLS_LE): Likewise.
14953 (R_MN10300_TLS_DTPMOD): Likewise.
14954 (R_MN10300_TLS_DTPOFF): Likewise.
14955 (R_MN10300_TLS_TPOFF): Likewise.
14956 (R_MN10300_SYM_DIFF): Likewise.
14957 (R_MN10300_ALIGN): Likewise.
14958 (R_MN10300_NUM): Update.
14960 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14962 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14965 2012-08-08 Roland McGrath <roland@hack.frob.com>
14967 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14969 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14970 sysdeps/unix -> sysdeps/posix move.
14971 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14973 2012-08-07 Allan McRae <allan@archlinux.org>
14976 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14977 (SUNOS_CPP): Likewise.
14978 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14980 (open_input): Call CPP using execvp.
14982 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14984 * sysdeps/unix/sysv/linux/kernel-features.h
14985 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14986 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14987 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14988 (__ASSUME_WAITID_SYSCALL): Likewise.
14989 * sysdeps/unix/sysv/linux/dl-execstack.c
14990 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14991 code unconditional.
14992 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14994 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14995 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14996 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14998 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15000 [__ASSUME_WAITID_SYSCALL]: Likewise.
15001 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15003 2012-08-07 Roland McGrath <roland@hack.frob.com>
15005 * sysdeps/unix/closedir.c: Renamed to ...
15006 * sysdeps/posix/closedir.c: ... here.
15007 * sysdeps/unix/dirfd.c: Renamed to ...
15008 * sysdeps/posix/dirfd.c: ... here.
15009 * sysdeps/unix/dirstream.h: Renamed to ...
15010 * sysdeps/posix/dirstream.h: ... here.
15011 * sysdeps/unix/fdopendir.c: Renamed to ...
15012 * sysdeps/posix/fdopendir.c: ... here.
15013 * sysdeps/unix/opendir.c: Renamed to ...
15014 * sysdeps/posix/opendir.c: ... here.
15015 * sysdeps/unix/readdir.c: Renamed to ...
15016 * sysdeps/posix/readdir.c: ... here.
15017 * sysdeps/unix/readdir_r.c: Renamed to ...
15018 * sysdeps/posix/readdir_r.c: ... here.
15019 * sysdeps/unix/rewinddir.c: Renamed to ...
15020 * sysdeps/posix/rewinddir.c: ... here.
15021 * sysdeps/unix/seekdir.c: Renamed to ...
15022 * sysdeps/posix/seekdir.c: ... here.
15023 * sysdeps/unix/telldir.c: Renamed to ...
15024 * sysdeps/posix/telldir.c: ... here.
15025 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15026 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15027 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15028 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15030 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15031 * bits/fcntl.h: ... here.
15033 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15035 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15036 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15037 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15038 (struct flock): Move l_start, l_len to the beginning.
15039 Use __pid_t for l_pid.
15040 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15041 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15042 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15043 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15044 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15045 [__USE_LARGEFILE64] (struct flock64): New type.
15046 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15048 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15049 * bits/dirent.h: ... here.
15051 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15052 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15054 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15057 Change from 2.6.0 to 2.6.16.
15058 * sysdeps/unix/sysv/linux/configure: Regenerated.
15059 * sysdeps/unix/sysv/linux/kernel-features.h
15060 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15061 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15063 (__ASSUME_UTIMES): Likewise.
15064 (__ASSUME_CLONE_STOPPED): Remove.
15065 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15066 architectures, not kernel version.
15067 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15068 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15069 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15070 (__ASSUME_WAITID_SYSCALL): Likewise.
15071 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15072 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15073 * README: State 2.6.16 as minimum Linux kernel version. Do not
15074 refer to older versions.
15076 2012-08-06 Roland McGrath <roland@hack.frob.com>
15078 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15079 Define alphasort64 as an alias.
15080 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15081 Define versionsort64 as an alias.
15082 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15083 Define scandir64 as an alias.
15084 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15085 Define scandirat64 as an alias.
15086 * dirent/alphasort64.c (alphasort64):
15087 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15088 * dirent/versionsort64.c: Likewise.
15089 * dirent/scandir64.c: Likewise.
15090 * dirent/scandirat64.c: Likewise.
15091 * sysdeps/wordsize-64/alphasort.c: File removed.
15092 * sysdeps/wordsize-64/alphasort64.c: File removed.
15093 * sysdeps/wordsize-64/scandir.c: File removed.
15094 * sysdeps/wordsize-64/scandir64.c: File removed.
15095 * sysdeps/wordsize-64/scandirat.c: File removed.
15096 * sysdeps/wordsize-64/scandirat64.c: File removed.
15097 * sysdeps/wordsize-64/versionsort.c: File removed.
15098 * sysdeps/wordsize-64/versionsort64.c: File removed.
15099 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15100 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15101 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15103 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15108 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15109 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15110 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15111 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15112 [defined __arch64__ || defined __sparcv9]
15113 (__INO_T_MATCHES_INO64_T): New macro.
15114 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15115 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15116 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15117 * sysdeps/unix/sysv/linux/bits/dirent.h
15118 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15119 (_DIRENT_MATCHES_DIRENT64): New macro.
15121 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15122 Define lockf64 as an alias.
15123 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15124 Define fseeko64 as an alias.
15125 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15126 Define ftello64 as an alias.
15127 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15128 Define _IO_fgetpos64 and fgetpos64 as aliases.
15129 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15130 Define _IO_fsetpos64 and fsetpos64 as aliases.
15131 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15132 Conditionalize body on this.
15133 * libio/fseeko64.c: Likewise.
15134 * libio/ftello64.c: Likewise.
15135 * libio/iofgetpos64.c: Likewise.
15136 * libio/iofsetpos64.c: Likewise.
15137 * sysdeps/wordsize-64/lockf.c: File removed.
15138 * sysdeps/wordsize-64/lockf64.c: File removed.
15139 * sysdeps/wordsize-64/fseeko.c: File removed.
15140 * sysdeps/wordsize-64/fseeko64.c: File removed.
15141 * sysdeps/wordsize-64/ftello.c: File removed.
15142 * sysdeps/wordsize-64/ftello64.c: File removed.
15143 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15144 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15145 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15146 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15147 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15148 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15149 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15150 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15151 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15152 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15153 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15155 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15156 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15158 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15160 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15162 [defined __arch64__ || defined __sparcv9]
15163 (__OFF_T_MATCHES_OFF64_T): New macro.
15164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15165 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15166 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15167 (__OFF_T_MATCHES_OFF64_T): New macro.
15169 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15171 * stdlib/secure-getenv.c (__secure_getenv): Replace
15172 GLIBC_2_16 with GLIBC_2_17.
15174 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15176 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15177 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15179 2012-08-03 David S. Miller <davem@davemloft.net>
15181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15183 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15185 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15187 (__ASSUME_CORRECT_SI_PID): Likewise.
15188 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15189 (__ASSUME_TMPFS_NAME): Likewise.
15190 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15191 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15192 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15193 (HAVE_AUX_SECURE): Make definition unconditional.
15194 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15195 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15197 2012-08-03 Roland McGrath <roland@hack.frob.com>
15199 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15200 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15201 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15202 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15203 __eloop_threshold instead of SYMLOOP_MAX.
15205 * sysdeps/generic/eloop-threshold.h: New file.
15206 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15208 * elf/chroot_canon.c (chroot_canon): Likewise.
15210 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15214 Change to 2.6.0 everywhere.
15215 * sysdeps/unix/sysv/linux/configure: Regenerated.
15216 * sysdeps/unix/sysv/linux/kernel-features.h
15217 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15218 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15220 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15221 (__ASSUME_FUTEX_REQUEUE): Remove.
15222 (__ASSUME_STATFS64): Define unconditionally.
15223 (__ASSUME_AT_SECURE): Likewise.
15224 (__ASSUME_CORRECT_SI_PID): Likewise.
15225 (__ASSUME_TGKILL): Define without depending on kernel version for
15227 (__ASSUME_UTIMES): Likewise.
15228 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15230 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15231 (__ASSUME_TMPFS_NAME): Likewise.
15232 * README: Update reference to Linux kernel versions.
15234 2012-08-02 Marek Polacek <polacek@redhat.com>
15237 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15238 libc_cv_asm_type_prefix with %.
15239 * configure: Regenerated.
15240 * include/libc-symbols.h: Remove comment about
15241 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15242 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15243 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15244 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15245 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15246 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15247 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15248 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15249 * elf/tst-unique2mod1.c: Likewise.
15250 * elf/tst-unique1mod2.c: Likewise.
15251 * elf/tst-unique1mod1.c: Likewise.
15252 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15253 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15254 Replace ASM_TYPE_DIRECTIVE with .type.
15255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15256 * sysdeps/i386/sysdep.h: Likewise.
15257 * sysdeps/x86_64/sysdep.h: Likewise.
15258 * sysdeps/sh/sysdep.h: Likewise.
15259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15260 Do not define ASM_TYPE_DIRECTIVE.
15261 * sysdeps/powerpc/sysdep.h: Likewise.
15262 * sysdeps/powerpc/powerpc32/sysdep.h:
15263 Replace ASM_TYPE_DIRECTIVE with .type.
15264 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15265 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15266 * sysdeps/i386/fpu/e_powf.S: Likewise.
15267 * sysdeps/i386/fpu/e_expl.S: Likewise.
15268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15269 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15270 * sysdeps/i386/fpu/e_pow.S: Likewise.
15271 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15272 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15273 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15274 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15275 * sysdeps/i386/fpu/e_log2.S: Likewise.
15276 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15277 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15278 * sysdeps/i386/fpu/e_powl.S: Likewise.
15279 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15280 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15281 * sysdeps/i386/fpu/e_logl.S: Likewise.
15282 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15283 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15284 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15285 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15286 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15287 * sysdeps/i386/fpu/e_log.S: Likewise.
15288 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15289 * sysdeps/i386/fpu/e_logf.S: Likewise.
15290 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15292 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15293 * sysdeps/i386/fpu/e_log10.S: Likewise.
15294 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15295 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15296 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15297 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15299 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15300 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15301 * sysdeps/i386/i686/strtok.S: Likewise.
15302 * sysdeps/i386/i386-mcount.S: Likewise.
15303 * sysdeps/i386/strtok.S: Likewise.
15304 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15305 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15307 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15308 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15309 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15310 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15311 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15312 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15313 * sysdeps/x86_64/_mcount.S: Likewise.
15314 * sysdeps/x86_64/strtok.S: Likewise.
15315 * sysdeps/sh/_mcount.S: Likewise.
15317 2012-08-01 Roland McGrath <roland@hack.frob.com>
15319 * libio/iofopen.c: Include <fcntl.h>.
15320 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15321 (_IO_fopen64, fopen64): Define as aliases.
15322 * libio/iofopen64.c: Include <fcntl.h>.
15323 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15324 Conditionalize body on this.
15325 * sysdeps/wordsize-64/iofopen.c: File removed.
15326 * sysdeps/wordsize-64/iofopen64.c: File removed.
15328 2012-08-01 Marek Polacek <polacek@redhat.com>
15330 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15331 Use dlfcn directly instead of a variable.
15332 (binfmt-subdir): Do not define.
15335 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15337 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15338 Remove all definitions.
15339 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15340 <kernel-features.h>.
15341 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15342 (miss_F_GETOWN_EX): Remove all definitions.
15343 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15345 [!__ASSUME_FCNTL64]: Remove conditional code.
15346 [__ASSUME_FCNTL64]: Make code unconditional.
15347 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15348 <kernel-features.h>.
15349 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15350 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15351 (lockf64) [__NR_fcntl64]: Make code unconditional.
15352 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15354 * sysdeps/unix/sysv/linux/kernel-features.h
15355 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15356 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15357 Make code unconditional.
15358 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15359 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15361 [__NR_vfork]: Make code unconditional.
15362 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15363 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15365 [__NR_vfork]: Make code unconditional.
15366 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15367 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15369 2012-08-01 Roland McGrath <roland@hack.frob.com>
15371 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15372 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15374 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15375 Define mkstemp64 as an alias.
15376 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15377 Define mkstemps64 as an alias.
15378 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15379 Define mkostemp64 as an alias.
15380 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15381 Define mkostemps64 as an alias.
15382 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15383 Conditionalize body on this.
15384 * misc/mkostemp64.c: Likewise.
15385 * misc/mkostemps64.c: Likewise.
15386 * misc/mkstemps64.c: Likewise.
15387 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15388 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15389 * sysdeps/wordsize-64/mkostemp.c: File removed.
15390 * sysdeps/wordsize-64/mkstemp.c: File removed.
15391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15392 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15393 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15394 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15397 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15398 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15399 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15400 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15402 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15403 compat_symbol macros from <shlib-compat.h> rather than the underlying
15404 default_symbol_version and symbol_version macros, so that DEFAULT
15405 lines in shlib-versions are respected.
15406 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15408 2012-08-01 Florian Weimer <fweimer@redhat.com>
15410 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15411 Declare with warn_unused_result.
15412 (setgid, setregid, setegid, setresgid): Likewise.
15413 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15415 * WUR-REPORT: Remove set*id functions.
15417 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15419 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15421 2012-07-31 Roland McGrath <roland@hack.frob.com>
15424 * include/sys/socket.h (__libc_accept, __libc_accept4):
15425 Add attribute_hidden.
15426 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15428 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15430 * inet/getnetgrent_r.c (setup): Likewise.
15432 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15434 2012-07-31 David S. Miller <davem@davemloft.net>
15436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15438 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15441 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15442 value between 1.0 and 2.0 and smaller part has absolute value less
15444 * math/s_clog10.c (__clog10): Likewise.
15445 * math/s_clog10f.c (__clog10f): Likewise.
15446 * math/s_clog10l.c (__clog10l): Likewise.
15447 * math/s_clogf.c (__clogf): Likewise.
15448 * math/s_clogl.c (__clogl): Likewise.
15449 * math/libm-test.inc (clog_test): Add more tests.
15450 (clog10_test): Likewise.
15451 * sysdeps/i386/fpu/libm-test-ulps: Update.
15452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15454 2012-07-31 Florian Weimer <fweimer@redhat.com>
15456 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15457 Exit with zero in case no suitable GID is found, and write a
15458 message to standard error.
15460 2012-07-30 Roland McGrath <roland@hack.frob.com>
15462 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15464 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15465 (MAXPATHLEN): Removed.
15466 (NOGROUP, NODEV): New macros.
15467 (setbit, clrbit, isset, isclr): New macros.
15468 (howmany, roundup, powerof2): New macros.
15469 (DEV_BSIZE): New macro.
15471 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15472 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15474 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15475 definition on [!__NO_LONG_DOUBLE_MATH].
15477 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15478 PTR_MANGLE and PTR_DEMANGLE.
15480 * socket/accept4.c (accept4): Rename to __libc_accept4.
15481 Define accept4 as a weak alias.
15483 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15484 on [_DIRENT_HAVE_D_TYPE].
15485 * io/ftw.c (ftw_dir): Likewise.
15487 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15489 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15491 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15492 Use the BSD numbers rather than the arbitrary ones we had.
15493 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15494 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15495 (SIGXCPU, SIGXFSZ): New macros.
15498 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15499 initializer on [_LIBC_REENTRANT].
15501 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15502 definitions inside [_POSIX_MAPPED_FILES].
15504 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15506 * dirent/opendir.c: Include <fcntl.h>.
15508 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15509 (__libc_getspecific): Likewise.
15510 (__libc_key_create): Likewise.
15512 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15513 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15514 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15515 (tmpfile64): Define as alias.
15516 * sysdeps/wordsize-64/tmpfile.c: File removed.
15517 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15518 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15519 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15521 * stdio-common/vfscanf.c: Include <stdbool.h>.
15522 * nss/makedb.c: Likewise.
15523 * stdio-common/_i18n_number.h: Likewise.
15524 * argp/argp-help.c: Likewise.
15525 * posix/wordexp.c: Likewise.
15526 * sysdeps/posix/spawni.c: Likewise.
15527 * nss/nss_files/files-initgroups.c: Likewise.
15528 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15529 * nss/nss_files/files-initgroups.c: Likewise.
15530 * nss/nss_db/db-netgrp.c: Likewise.
15531 * nss/nss_db/db-initgroups.c: Likewise.
15532 * io/fchmodat.c: Include <sys/stat.h>.
15534 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15535 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15537 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15540 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15541 Add multiple inclusion protection.
15543 2012-07-27 David S. Miller <davem@davemloft.net>
15545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15547 2012-07-27 Gary Benson <gbenson@redhat.com>
15550 * elf/rtld.c: Include <stap-probe.h>.
15551 (dl_main): Added static probes "init_start" and "init_complete".
15552 * elf/dl-load.c: Include <stap-probe.h>.
15553 (lose): Take new parameter "nsid".
15554 Added static probe "map_failed".
15555 (_dl_map_object_from_fd): Pass namespace id to lose.
15556 Added static probe "map_start".
15557 (open_verify): Pass namespace id to lose.
15558 * elf/dl-open.c: Include <stap-probe.h>.
15559 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15560 and "reloc_complete".
15561 * elf/dl-close.c: Include <stap-probe.h>.
15562 (_dl_close_worker): Added static probes "unmap_start" and
15564 * elf/rtld-debugger-interface.txt: New file documenting the above.
15566 2012-07-26 Roland McGrath <roland@hack.frob.com>
15568 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15569 rather than a string variable.
15570 * sunrpc/rpc_main.c (h_output): Likewise.
15571 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15573 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15575 * inet/check_native.c: New file.
15577 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15580 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15581 if larger part has absolute value 1.0.
15582 * math/s_clog10.c (__clog10): Likewise.
15583 * math/s_clog10f.c (__clog10f): Likewise.
15584 * math/s_clog10l.c (__clog10l): Likewise.
15585 * math/s_clogf.c (__clogf): Likewise.
15586 * math/s_clogl.c (__clogl): Likewise.
15587 * math/libm-test.inc (clog_test): Add more tests.
15588 (clog10_test): Likewise.
15589 * sysdeps/i386/fpu/libm-test-ulps: Update.
15590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15592 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15593 (pltexit): Likewise.
15594 (La_regs): Likewise.
15595 (La_retval): Likewise.
15596 (int_retval): Likewise.
15597 Update #error for removed macros to refer only to definitions in
15599 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15601 (pltexit): Likewise.
15602 (La_regs): Likewise.
15603 (La_retval): Likewise.
15604 (int_retval): Likewise.
15605 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15607 (pltexit): Likewise.
15608 (La_regs): Likewise.
15609 (La_retval): Likewise.
15610 (int_retval): Likewise.
15611 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15613 (pltexit): Likewise.
15614 (La_regs): Likewise.
15615 (La_retval): Likewise.
15616 (int_retval): Likewise.
15617 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15619 (pltexit): Likewise.
15620 (La_regs): Likewise.
15621 (La_retval): Likewise.
15622 (int_retval): Likewise.
15623 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15625 (pltexit): Likewise.
15626 (La_regs): Likewise.
15627 (La_retval): Likewise.
15628 (int_retval): Likewise.
15629 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15631 (pltexit): Likewise.
15632 (La_regs): Likewise.
15633 (La_retval): Likewise.
15634 (int_retval): Likewise.
15635 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15636 macro definitions in tst-audit.h.
15637 * sysdeps/i386/tst-audit.h: New file.
15638 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15639 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15640 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15641 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15642 * sysdeps/sh/tst-audit.h: Likewise.
15643 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15644 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15645 * sysdeps/x86_64/tst-audit.h: Likewise.
15647 2012-07-26 Andreas Jaeger <aj@suse.de>
15649 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15652 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15653 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15654 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15656 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15658 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15660 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15663 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15665 (si_call_addr, si_syscall, si_arch): Define new macro.
15666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15668 (si_call_addr, si_syscall, si_arch): Define new marcro.
15669 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15671 (si_call_addr, si_syscall, si_arch): Define new macro.
15672 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15674 (si_call_addr, si_syscall, si_arch): Define new macro.
15676 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15679 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15680 Change to 2.4.21 where previously 2.4.1.
15681 * sysdeps/unix/sysv/linux/configure: Regenerated.
15682 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15683 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15684 Linux kernel version.
15685 (__ASSUME_STD_AUXV): Remove.
15686 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15688 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15689 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15690 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15691 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15692 (__ASSUME_NETLINK_SUPPORT): Likewise.
15693 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15694 (__no_netlink_support): Remove conditional definition.
15695 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15697 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15698 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15699 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15700 (if_nameindex_ioctl): Remove.
15701 (if_nameindex_netlink): Do not handle __no_netlink_support.
15702 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15704 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15705 Remove conditional code.
15706 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15708 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15710 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15711 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15712 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15714 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15715 [!__ASSUME_STD_AUXV]: Remove conditional code.
15716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15717 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15718 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15720 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15721 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15723 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15725 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15726 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15728 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15730 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15733 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15736 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15737 code unconditional.
15738 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15740 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15742 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15745 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15747 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15750 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15751 code unconditional.
15752 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15754 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15756 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15759 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15760 code unconditional.
15761 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15763 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15765 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15768 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15770 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15771 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15772 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15773 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15774 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15775 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15776 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15777 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15778 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15779 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15780 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15781 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15782 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15783 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15784 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15785 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15786 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15787 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15788 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15790 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15791 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15792 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15794 2012-07-25 Florian Weimer <fweimer@redhat.com>
15796 * Versions.def: Add GLIBC_2.17.
15797 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15798 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15799 Introduce __libc_secure_getenv.
15800 * stdlib/Versions (2.17): Add secure_getenv
15801 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15802 * stdlib/secure-getenv.c: Rename __secure_getenv to
15803 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15804 symbol __secure_getenv for GLIBC_2.0.
15805 * stdlib/tst-secure-getenv.c: New.
15806 * stdlib/Makefile (tests): Add testcase.
15807 * manual/startup.texi (Environment Access): Document
15809 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15810 __libc_secure_getenv.
15811 * inet/ruserpass.c (ruserpass): Likewise.
15812 * malloc/mtrace.c (mtrace): Likewise.
15813 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15814 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15815 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15816 * sysdeps/posix/tempname.c: Likewise. Evaluate
15817 HAVE_SECURE_GETENV.
15818 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15819 __secure_getenv to __libc_secure_getenv.
15820 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15833 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15835 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15836 (struct La_i86_retval): Likewise.
15837 (struct La_x86_64_regs): Likewise.
15838 (struct La_x86_64_retval): Likewise.
15839 (struct La_x32_regs): Likewise.
15840 (struct La_x32_retval): Likewise.
15841 (struct La_ppc32_regs): Likewise.
15842 (struct La_ppc32_retval): Likewise.
15843 (struct La_ppc64_regs): Likewise.
15844 (struct La_ppc64_retval): Likewise.
15845 (struct La_sh_regs): Likewise.
15846 (struct La_sh_retval): Likewise.
15847 (struct La_s390_32_regs): Likewise.
15848 (struct La_s390_32_retval): Likewise.
15849 (struct La_s390_64_regs): Likewise.
15850 (struct La_s390_64_retval): Likewise.
15851 (struct La_sparc32_regs): Likewise.
15852 (struct La_sparc32_retval): Likewise.
15853 (struct La_sparc64_regs): Likewise.
15854 (struct La_sparc64_retval): Likewise.
15855 (struct audit_ifaces): Remove architecture-specific pltenter and
15857 * sysdeps/i386/ldsodefs.h: New file.
15858 * sysdeps/powerpc/ldsodefs.h: Likewise.
15859 * sysdeps/s390/ldsodefs.h: Likewise.
15860 * sysdeps/sh/ldsodefs.h: Likewise.
15861 * sysdeps/sparc/ldsodefs.h: Likewise.
15862 * sysdeps/x86_64/ldsodefs.h: Likewise.
15864 2012-07-25 Marek Polacek <polacek@redhat.com>
15867 * math/libm-test.inc (yn_test): Add another test.
15868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15869 to ERANGE when the result is +-Inf.
15870 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15871 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15872 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15873 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15875 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15877 * conform/data/time.h-data (NULL): Use macro-constant. Require
15879 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15881 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15883 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15885 * configure.in <sysdeps resolving>: Correct printing
15887 * configure: Regenerate.
15889 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15891 * math/w_ilogb.c: Include <limits.h>.
15892 * math/w_ilogbl.c: Likewise.
15894 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15896 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15897 va_copy. Document allowing for unavailable va_copy only as
15898 pre-C99 compatibility.
15899 * manual/string.texi (Copying and Concatenation): Use va_copy
15900 instead of __va_copy in concat example.
15902 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15904 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15905 (__sendto): Use create_address_port. Initialize APORT and deallocate
15908 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15909 with O_NOLINK passed to __file_name_lookup.
15911 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15912 with O_NOLINK passed to __file_name_lookup.
15914 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15915 negative N or less than NGIDS.
15917 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15918 type to string_t. Set ERANGE as errno and return it if NAME is not big
15919 enough. Use memcpy instead of strncpy.
15921 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15923 * elf/Makefile (check-data): Remove.
15924 (localplt.data): New vpath directive.
15925 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15926 instead of $(check-data).
15927 * scripts/data/localplt-generic.data: Move to ...
15928 * sysdeps/generic/localplt.data: ... here.
15929 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15930 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15931 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15934 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15937 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15940 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15943 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15946 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15950 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15952 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15953 PPC32 and PPC64 files.
15954 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15955 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15957 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15959 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15960 __makecontext_ret to ...
15961 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15962 ... here and call exit if uc_link is NULL. New file.
15963 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15964 __makecontext_ret.S.
15965 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15966 __makecontext_ret to ...
15967 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15968 ... here and call exit if uc_link is NULL. New file.
15969 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15970 __makecontext_ret.S.
15972 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15974 * elf/elf.h (R_390_IRELATIVE): New definition.
15975 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15976 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15977 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15978 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15979 (elf_machine_lazy_rel): Likewise.
15980 * sysdeps/s390/dl-irel.h: New file.
15981 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15982 * sysdeps/s390/s390-64/memset.S: New asm code.
15983 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15984 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15985 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15986 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15987 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15988 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15989 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15990 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15991 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15992 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15993 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15994 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15995 * sysdeps/s390/s390-32/memset.S: New asm code.
15996 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15998 2012-07-17 Marek Polacek <polacek@redhat.com>
16001 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16002 * sysdeps/s390/s390-64/configure.in: Likewise.
16003 * sysdeps/sparc/configure.in: Likewise.
16004 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16005 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16006 * sysdeps/i386/configure.in: Likewise.
16007 * sysdeps/x86_64/configure.in: Likewise.
16008 * sysdeps/sh/configure.in: Likewise.
16009 * sysdeps/s390/s390-32/configure: Regenerated.
16010 * sysdeps/s390/s390-64/configure: Likewise.
16011 * sysdeps/x86_64/configure: Likewise.
16012 * sysdeps/sh/configure: Likewise.
16013 * sysdeps/powerpc/powerpc64/configure: Likewise.
16014 * sysdeps/powerpc/powerpc32/configure: Likewise.
16015 * sysdeps/sparc/configure: Likwise.
16016 * sysdeps/i386/configure: Likewise.
16018 * elf/dl-open.c: Comment fixes.
16020 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16022 * Makefile [CXX] (check-data): Remove.
16023 [CXX] (c++-types.data): New vpath directive.
16024 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16025 vpath. Do not allow for C++ type data being missing.
16026 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16027 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16028 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16029 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16030 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16031 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16032 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16035 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16038 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16041 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16044 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16047 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16050 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16053 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16056 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16057 definitions to architecture-specific files.
16058 (TLS_IE): Likewise.
16059 (TLS_LD): Likewise.
16060 (TLS_GD): Likewise.
16061 * sysdeps/i386/tls-macros.h: New file.
16062 * sysdeps/powerpc/tls-macros.h: Likewise.
16063 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16064 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16065 * sysdeps/sh/tls-macros.h: Likewise.
16066 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16067 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16068 * sysdeps/x86_64/tls-macros.h: Likewise.
16070 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16073 zero value for regular exit case.
16075 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16076 (__start_context): Preserve zero value for regular exit case.
16078 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16079 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16081 * manual/setjmp.texi (setcontext): Clarify normal process
16082 termination when uc_link is the null pointer.
16083 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16086 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16088 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16089 preprocessor. Test for each exception mask separately.
16091 2012-07-16 Andreas Jaeger <aj@suse.de>
16093 * po/ru.po: Update from translation team.
16095 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16097 * conform/data/string.h-data (NULL): Use macro-constant. Require
16099 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16100 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16101 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16102 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16105 2012-07-13 Andreas Jaeger <aj@suse.de>
16107 * po/fr.po: Update from translation team.
16109 2012-07-12 Marek Polacek <polacek@redhat.com>
16112 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16113 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16116 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16120 Change to 2.4.1 where previously 2.4.0.
16121 * sysdeps/unix/sysv/linux/configure: Regenerated.
16122 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16123 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16125 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16126 (__ASSUME_AT_CLKTCK): Remove.
16127 (__ASSUME_AT_PAGESIZE): Likewise.
16128 (__ASSUME_AT_XID): Likewise.
16129 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16130 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16131 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16133 (HAVE_AUX_PAGESIZE): Likewise.
16134 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16135 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16136 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16138 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16142 the temporary buffer used to invoke __gethostbyname2_r,
16143 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16144 host_data / struct gaih_addrtuple.
16145 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16146 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16147 header file nss/nsswitch.h.
16148 * nss/nsswitch.h (global scope): Add definition of implementation
16149 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16150 resolv/nss_dns/dns-host.c).
16152 2012-07-11 Andreas Jaeger <aj@suse.de>
16154 * po/fr.po: Update from translation team.
16156 * po/sv.po: Update from translation team
16157 * po/fr.po: Another update from translation team.
16159 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16161 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16162 for subnormals or multiply small sinh result by itself.
16163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16166 2012-07-11 David S. Miller <davem@davemloft.net>
16168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16170 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16173 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16174 (INTERNAL_MARK): Shift it here.
16176 2012-07-10 Marek Polacek <polacek@redhat.com>
16179 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16180 libc_cv_asm_global_directive with .globl.
16181 * configure: Regenerated.
16182 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16184 * sysdeps/i386/configure: Regenerated.
16185 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16187 * sysdeps/x86_64/configure: Regenerated.
16188 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16189 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16190 * elf/tst-unique2mod2.c: Likewise.
16191 * elf/tst-unique2mod1.c: Likewise.
16192 * elf/tst-unique1mod2.c: Likewise.
16193 * elf/tst-unique1mod1.c: Likewise.
16194 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16195 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16197 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16198 * sysdeps/mach/sysdep.h: Likewise.
16199 * sysdeps/i386/sysdep.h: Likewise.
16200 * sysdeps/i386/i386-mcount.S: Likewise.
16201 * sysdeps/x86_64/_mcount.S: Likewise.
16202 * sysdeps/x86_64/sysdep.h: Likewise.
16203 * sysdeps/sh/_mcount.S: Likewise.
16204 * sysdeps/sh/sysdep.h: Likewise.
16205 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16206 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16207 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16209 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16210 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16211 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16212 * locale/localeinfo.h: Likewise.
16213 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16214 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16216 2012-07-09 Roland McGrath <roland@hack.frob.com>
16219 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16221 * manual/message.texi (The Uniforum approach): Likewise.
16222 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16223 (glibc iconv Implementation): Likewise.
16225 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16228 * math/s_clog.c (__clog): Avoid scaling a value down where that
16229 could result in underflow.
16230 * math/s_clog10.c (__clog10): Likewise.
16231 * math/s_clog10f.c (__clog10f): Likewise.
16232 * math/s_clog10l.c (__clog10l): Likewise.
16233 * math/s_clogf.c (__clogf): Likewise.
16234 * math/s_clogl.c (__clogl): Likewise.
16235 * math/libm-test.inc (clog_test): Add more tests.
16236 (clog10_test): Likewise.
16237 * sysdeps/i386/fpu/libm-test-ulps: Update.
16238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16240 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16243 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16244 by 7 not 8 to examine high bit of fractional part.
16247 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16248 for call to __mcount_internal.
16249 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16250 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16251 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16253 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16256 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16257 approximation for values within 0x1p-13f of an odd multiple of
16259 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16260 exception. Add more tests.
16261 * sysdeps/i386/fpu/libm-test-ulps: Update.
16264 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16265 inputs and return -1 for them. Do not check for +Inf in case not
16266 reachable for +Inf.
16267 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16268 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16269 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16270 and return -1 for them. Do not check for +Inf in case not
16271 reachable for +Inf.
16272 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16275 and return -1 for them. Do not check for +Inf in case not
16276 reachable for +Inf.
16277 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16278 spurious underflow.
16279 * sysdeps/i386/fpu/libm-test-ulps: Update.
16280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16282 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16284 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16286 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16290 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16291 could result in spurious underflow. Scale down values above
16292 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16293 * math/s_csqrtf.c (__csqrtf): Likewise.
16294 * math/s_csqrtl.c (__csqrtl): Likewise.
16295 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16296 spurious underflow.
16297 * sysdeps/i386/fpu/libm-test-ulps: Update.
16298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16300 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16302 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16304 * catgets/xopen-msg.awk: New file.
16305 * catgets/xopen-msg.sed: Removed.
16307 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16309 * intl/po2test.awk: New file.
16310 * intl/po2test.sed: Removed.
16312 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16315 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16316 or multiply small sinh result by itself.
16317 * math/s_ctanf.c (__ctanf): Likewise.
16318 * math/s_ctanh.c (__ctanh): Likewise.
16319 * math/s_ctanhf.c (__ctanhf): Likewise.
16320 * math/s_ctanhl.c (__ctanhl): Likewise.
16321 * math/s_ctanl.c (__ctanl): Likewise.
16322 * math/libm-test.inc (ctan_test_tonearest): New function.
16323 (ctan_test_towardzero): Likewise.
16324 (ctan_test_downward): Likewise.
16325 (ctan_test_upward): Likewise.
16326 (ctanh_test_tonearest): Likewise.
16327 (ctanh_test_towardzero): Likewise.
16328 (ctanh_test_downward): Likewise.
16329 (ctanh_test_upward): Likewise.
16330 (main): Call these new functions.
16331 * sysdeps/i386/fpu/libm-test-ulps: Update.
16332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16334 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16336 * .gitignore: Delete /ports entry.
16338 2012-07-03 Andreas Jaeger <aj@suse.de>
16340 * po/bg.po: Update from translation team.
16341 * po/cs.po: Likewise.
16342 * po/de.po: Likewise.
16343 * po/hr.po: Likewise.
16344 * po/nl.pl: Likewise.
16345 * po/pl.po: Likewise.
16346 * po/vi.po: Likewise.
16348 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16350 * Makeconfig [!+link] (+link-before-libc): New variable.
16351 [!+link] (+link-after-libc): Likewise.
16352 [!+link] (+link-tests): Likewise.
16353 [!+link] (+link): Define in terms of $(+link-before-libc) and
16354 $(+link-after-libc).
16355 [!+link-static] (+link-static-before-libc): New variable.
16356 [!+link-static] (+link-static-after-libc): Likewise.
16357 [!+link-static] (+link-static-tests): Likewise.
16358 [!+link-static] (+link-static): Define in terms of
16359 $(+link-static-before-libc) and $(+link-static-after-libc).
16360 [build-shared] (link-libc-before-gnulib): New variable.
16361 [build-shared] (link-libc-tests): Likewise.
16362 [build-shared] (link-libc): Define in terms of
16363 $(link-libc-before-gnulib).
16364 [!build-shared] (link-libc-tests): New variable.
16365 (link-libc-static-tests): New variable.
16366 [!gnulib] (gnulib-arch): New variable.
16367 [!gnulib] (gnulib-tests): Likewise.
16368 [!gnulib] (static-gnulib-arch): Likewise.
16369 [!gnulib] (static-gnulib-tests): Likewise.
16370 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16371 Define with "=" instead of ":=".
16372 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16373 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16374 * Rules (binaries-all-notests): New variable.
16375 (binaries-all-tests): Likewise.
16376 (binaries-static-notests): Likewise.
16377 (binaries-static-tests): Likewise.
16378 (binaries-all): Define using $(binaries-all-notests) and
16379 $(binaries-all-tests).
16380 (binaries-static): Define using $(binaries-static-notests) and
16381 $(binaries-static-tests).
16382 (binaries-shared-tests): New variable.
16383 (binaries-shared-notests): Likewise.
16384 (binaries-shared): Remove variable.
16385 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16386 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16387 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16388 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16389 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16390 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16391 * elf/Makefile (sln-modules): New variable.
16392 (extra-objs): Add $(sln-modules:=.o).
16393 (ldconfig-modules): Add static-stubs.
16394 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16395 * elf/static-stubs.c: New file.
16398 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16399 by 7 not 8 to examine high bit of fractional part. Use volatile
16400 variables when splitting into final array of floats if
16401 __FLT_EVAL_METHOD__ != 0.
16402 * math/libm-test.inc (cos_test): Add another test.
16403 (sin_test): Likewise.
16404 * sysdeps/i386/fpu/libm-test-ulps: Update.
16407 * math/libm-test.inc (cosh_test): Add more tests.
16409 * version.h (RELEASE): Set to "development".
16410 (VERSION): Set to "2.16.90".
16412 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16414 * NEWS: Update copyright. Remove last-updated date.
16415 Mention math library bug fixes and timezone data changes.
16416 * README: Mention GNU/Hurd, x32, and HPPA support status.
16418 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16420 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16422 2012-06-27 Andreas Jaeger <aj@suse.de>
16424 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16426 2012-06-25 Andreas Jaeger <aj@suse.de>
16428 * sysdeps/s390/fpu/libm-test-ulps: Update.
16430 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16431 Thomas Schwinge <thomas@codesourcery.com>
16433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16434 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16438 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16440 * sysdeps/mach/start.c: Remove file.
16441 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16442 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16443 * sysdeps/sh/init-first.c: Likewise.
16445 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16446 registers for frame unwinding purposes, add CFI directives.
16447 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16449 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16452 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16453 __fortify_fail returning.
16454 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16456 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16457 sysdeps/sh/____longjmp_chk.S.
16458 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16459 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16460 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16461 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16463 * sysdeps/sh/abort-instr.h: New file.
16464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16465 process in case exit returns.
16467 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16468 initialize the GOT register before use.
16470 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16471 calculation of ARGC > 4.
16473 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16474 meaningful names to some local labels.
16476 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16477 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16479 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16480 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16481 (__arch_compare_and_exchange_val_16_acq): Likewise.
16482 (__arch_compare_and_exchange_val_32_acq): Likewise.
16483 (atomic_exchange_and_add): Fix gUSA sequence.
16484 (atomic_add): Likewise.
16485 (atomic_add_negative): Likewise.
16486 (atomic_add_zero): Likewise.
16487 (atomic_bit_test_set): Likewise.
16489 2012-06-22 Andreas Schwab <schwab@redhat.com>
16492 * include/link.h (struct link_map): Add l_free_initfini.
16493 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16495 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16496 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16497 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16500 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16502 * configure.in: Use AC_LANG_SOURCE.
16503 * configure: Regenerate.
16505 2012-06-22 Roland McGrath <roland@hack.frob.com>
16507 * configure.in (libc_cv_localstatedir): New substituted variable.
16508 * configure: Regenerated.
16509 * config.make.in (localstatedir): New variable, substituted from
16510 libc_cv_localstatedir.
16511 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16512 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16513 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16514 * sysdeps/gnu/configure: Regenerated.
16516 2012-06-21 Jeff Law <law@redhat.com>
16519 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16520 free. Simplify list management for _LIBC case.
16522 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16526 Clear sign bit of 64-bit integer value before comparing against
16529 * sysdeps/mach/configure: Regenerated.
16531 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16534 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16536 2012-06-21 Jeff Law <law@redhat.com>
16539 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16540 uint16_t for elements in the "seen" array to avoid char overflows.
16541 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16542 * elf/dl-open.c (dl_open_worker): Likewise.
16544 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16546 * scripts/list-sources.sh: Scan PORTS for translations.
16547 * po/libc.pot: Regenerated.
16549 2012-06-21 Andreas Jaeger <aj@suse.de>
16552 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16554 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16555 * bits/byteswap-16.h (__bswap_16): Likewise.
16556 * bits/byteswap.h (__bswap_constant_16): Likewise.
16558 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16561 * sysdeps/i386/fpu_control.h: Removed.
16562 * sysdeps/x86_64/fpu_control.h: Moved to ...
16563 * sysdeps/x86/fpu_control.h: Here.
16565 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16566 (_FPU_SETCW): Likewise.
16568 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16571 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16572 * sysdeps/x86/fpu/bits/mathinline.h: This.
16573 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16577 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16578 functions if __x86_64__ is defined.
16580 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16582 * string/endian.h: Add !__ASSEMBLER__ condition for including
16583 conversion interfaces.
16585 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16588 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16589 of ABS(x) in calculating zero to negative powers other than odd
16591 * math/libm-test.inc (pow_test): Add more tests.
16593 2012-06-15 Andreas Jaeger <aj@suse.de>
16595 * manual/contrib.texi (Contributors): Update entry of Liubov
16596 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16599 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16601 * string/string.h: Add __wur to GNU version of strerror_r.
16603 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16606 * string/Makefile (tests): Add tst-strtok_r.
16607 * string/tst-strtok_r.c: New file.
16608 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16609 RAX_LP/RDX_LP on SAVE_PTR.
16611 2012-06-14 Roland McGrath <roland@hack.frob.com>
16613 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16615 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16617 * libm_test.inc (csqrt_test): Allow more spurious underflow
16619 (j0_test): Likewise.
16620 (j1_test): Likewise.
16621 (y0_test): Likewise.
16622 (y1_test): Likewise.
16624 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16626 * po/Makefile (libc.pot): Use UTF-8 charset.
16628 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16631 Suppress sign-conversion warning from FD_SET.
16632 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16633 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16634 not unsigned long int.
16635 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16637 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16641 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16642 __extern_always_inline instead of __extern_inline.
16643 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16644 (__signbit): Likewise.
16645 (__signbitl): Support C++ namespace.
16646 (lrintf): New inline function.
16648 (llrintf): Likewise.
16649 (llrint): Likewise.
16659 (floorf): Likewise.
16660 (nearbyint): Likewise.
16661 (nearbyintf): Likewise.
16663 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16666 non-default versions.
16668 2012-06-11 Roland McGrath <roland@hack.frob.com>
16671 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16673 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16675 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16676 (FE_UPWARD, FE_DOWNWARD): Don't define.
16677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16678 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16680 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16682 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16683 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16685 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16687 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16689 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16690 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16692 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16695 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16696 * sysdeps/i386/fpu/Implies: New file.
16697 * sysdeps/x86_64/fpu/Implies: Likewise.
16698 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16699 * sysdeps/x86/fpu/bits/fenv.h: This.
16701 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16704 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16707 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16708 character 0xffff that matches the last element of the
16711 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16716 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16719 values higher than 25.6283.
16721 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16724 subnormal exponent extraction and add some __builtin_expect.
16725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16726 Fix for subnormal mantissa calculation.
16728 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16730 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16731 cpu2 is -1 and errno is not ENOSYS.
16733 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16736 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16737 * sysdeps/x86/bits/string.h: This.
16738 * sysdeps/x86_64/bits/string.h: Removed.
16740 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16741 if not compiling for x86-64, but compiling for >= i486.
16743 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16744 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16746 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16747 New macro from Linux kernel 3.4.0.
16748 (FP_XSTATE_MAGIC2): Likewise.
16749 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16750 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16751 (struct _fpx_sw_bytes): New struct.
16752 (struct _xsave_hdr): Likewise.
16753 (struct _ymmh_state): Likewise.
16754 (struct _xstate): Likewise.
16756 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16757 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16759 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16761 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16763 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16765 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16766 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16767 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16768 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16770 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16773 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16774 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16775 (sysdep_headers): Include sys/platform/ppc.h.
16776 * sysdeps/powerpc/test-gettimebase.c: Test for
16777 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16778 * manual/Makefile (appendices): Include platform.texi.
16779 * manual/contrib.texi (Contributors): Update @node pointers.
16780 * manual/maint.texi (Maintenance): Likewise.
16781 (Platform): New node.
16782 * manual/platform.texi: New file. Document the new features.
16784 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16785 Jakub Jelinek <jakub@redhat.com>
16788 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16789 where __builtin_expect is unavailable.
16791 2012-06-03 David S. Miller <davem@davemloft.net>
16793 * stdlib/longlong.h: Updated from GCC.
16795 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16798 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16799 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16802 (GLIBC_2.16): Likewise.
16804 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16806 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16808 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16811 (default-abi): New variable.
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16813 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16815 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16817 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16819 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16822 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16823 definition. Document in comment.
16825 2012-06-01 David S. Miller <davem@davemloft.net>
16827 * stdlib/longlong.h: Updated from GCC.
16829 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16832 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16833 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16834 sys/debugreg.h sys/io.h here.
16835 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16836 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16838 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16839 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16840 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16841 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16842 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16843 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16846 Define only if __x86_64__ is defined.
16848 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16851 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16852 Use int64_t for variable i.
16853 * math/libm-test.inc (fmod_test): Add more tests.
16855 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16856 z computation is not scheduled after fetestexcept.
16857 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16858 Use math_force_eval instead of asm to ensure calculation scheduled
16859 before exception test.
16860 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16861 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16863 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16866 computation is not scheduled after fetestexcept.
16868 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16871 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16872 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16874 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16876 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16877 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16879 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16882 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16884 (__WCHAR_MIN): Support __WORDSIZE == 64.
16885 (__WCHAR_MAX): Likewise.
16887 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16888 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16892 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16895 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16896 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16898 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16899 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16901 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16902 Defined to 1 if __x86_64__ isn't defined.
16903 (_STAT_VER_LINUX_OLD): New.
16904 (st_atime): Remove duplicate.
16905 (st_mtime): Likewise.
16906 (st_ctime): Likewise.
16908 2012-05-31 David S. Miller <davem@davemloft.net>
16910 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16913 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16915 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16919 * elf/dl-reloc.c: Include <_itoa.h>.
16920 (_dl_reloc_bad_type): Remove use of INTUSE.
16921 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16922 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16923 * stdio-common/psiginfo.c (psiginfo): Likewise.
16924 * stdio-common/psignal.c (psignal): Likewise.
16925 * string/strsignal.c (strsignal): Likewise.
16926 * include/signal.h (_sys_siglist): Declare hidden proto.
16927 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16928 INTVARDEF with libc_hidden_data_def.
16929 * stdio-common/itoa-udigits.c: Likewise.
16930 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16931 (_itoa_lower_digits_internal): Remove declaration.
16932 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16933 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16934 (_sys_sigabbrev_internal): Remove aliases.
16935 (_sys_siglist): Define hidden alias.
16937 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16942 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16945 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16946 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16948 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16949 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16950 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16951 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16952 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16953 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16955 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16956 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16957 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16959 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16967 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16969 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16971 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16972 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16974 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16975 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16976 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16978 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16979 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16981 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16982 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16984 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16986 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16988 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16989 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16991 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16993 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16994 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16995 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16997 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16999 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17001 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17003 * math/math.h (M_El): Use two more decimal places.
17004 (M_LOG2El): Likewise.
17005 (M_LOG10El): Likewise.
17006 (M_LN2l): Likewise.
17007 (M_LN10l): Likewise.
17009 (M_PI_2l): Likewise.
17010 (M_PI_4l): Likewise.
17011 (M_1_PIl): Likewise.
17012 (M_2_PIl): Likewise.
17013 (M_2_SQRTPIl): Likewise.
17014 (M_SQRT2l): Likewise.
17015 (M_SQRT1_2l): Likewise.
17017 2012-05-31 David S. Miller <davem@davemloft.net>
17019 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17020 values between float registers.
17021 * sysdeps/sparc/sparc64/memset.S: Likewise.
17022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17024 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17026 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17027 -D_FORTIFY_SOURCE=1.
17028 (CPPFLAGS-tst-longjmp_chk.c): Define.
17029 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17030 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17031 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17032 CFLAGS-tst-wchar-h.c.
17034 2012-05-31 Marek Polacek <polacek@redhat.com>
17037 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17038 __endmntent_internal): Remove declaration.
17039 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17040 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17041 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17043 2012-05-30 David S. Miller <davem@davemloft.net>
17045 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17046 (___Q_simulate_exceptions): Use real FP ops rather than writing
17048 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17051 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17054 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17055 * sysdeps/x86/bits/xtitypes.h: This.
17057 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17058 * sysdeps/x86/bits/wordsize.h: This.
17060 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17061 * sysdeps/x86/bits/huge_vall.h: This.
17063 * sysdeps/i386/bits/select.h: Removed.
17064 * sysdeps/x86_64/bits/select.h: Renamed to ...
17065 * sysdeps/x86/bits/select.h: This.
17067 * sysdeps/i386/bits/setjmp.h: Removed.
17068 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17069 * sysdeps/x86/bits/setjmp.h: This.
17071 * sysdeps/i386/bits/mathdef.h: Removed.
17072 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17073 * sysdeps/x86/bits/mathdef.h: This.
17075 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17078 * include/sys/socket.h (__connect_internal)
17079 (__libc_sa_len_internal): Remove declaration.
17080 (__connect, __libc_sa_len): Declare hidden_proto.
17081 (SA_LEN): Remove use of INTUSE.
17082 * socket/connect.c: Add libc_hidden_def.
17083 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17084 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17085 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17087 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17089 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17090 of adding _internal alias.
17092 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17095 * sysdeps/i386/bits/link.h: Removed.
17096 * sysdeps/i386/bits/linkmap.h: Likewise.
17097 * sysdeps/x86_64/bits/link.h: Renamed to ...
17098 * sysdeps/x86/bits/link.h: This.
17099 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17100 * sysdeps/x86/bits/linkmap.h: This.
17102 * sysdeps/i386/bits/endian.h: Removed.
17103 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17104 * sysdeps/x86/bits/endian.h: This.
17106 * sysdeps/i386/bits/byteswap.h: Removed.
17107 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17108 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17109 * sysdeps/x86/bits/byteswap.h: This.
17110 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17111 * sysdeps/x86/bits/byteswap-16.h: This.
17112 * sysdeps/i386/Implies: Add x86.
17113 * sysdeps/x86_64/Implies: Likewise.
17115 2012-05-30 David S. Miller <davem@davemloft.net>
17117 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17118 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17119 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17120 (FP_TRAPPING_EXCEPTIONS): Define.
17121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17122 (FP_TRAPPING_EXCEPTIONS): Define.
17123 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17124 subnormals only when inexact has been signalled or underflow
17125 exceptions are enabled.
17126 (_FP_PACK_CANONICAL): Likewise.
17128 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17131 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17132 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17134 2012-05-30 Richard Henderson <rth@twiddle.net>
17136 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17137 with #ifndef NOT_IN_libc.
17139 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17140 marked to avoid plt entry.
17142 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17145 * Makeconfig (default-abi): New macro.
17146 (abi-includes): Likewise.
17147 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17148 $(abi-$(default-abi)-lib-soname) for soname if defined.
17149 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17151 * Makefile (installed-stubs): Likewise.
17152 * include/stubs-biarch.h: Removed.
17153 * scripts/lib-names.awk: Only handle one library at a time.
17154 * scripts/soversions.awk: Remove WORDSIZE support.
17155 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17157 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17159 (syscall-list-default-condition): Likewise.
17160 (syscall-list-default-condition): Likewise.
17161 (syscall-list-includes): Likewise.
17162 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17163 syscall-list-* with abi-*. Handle undefined abi-variants.
17164 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17165 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17166 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17167 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17168 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17169 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17171 (syscall-list-32-options): Likewise.
17172 (syscall-list-32-condition): Likewise.
17173 (syscall-list-64-options): Likewise.
17174 (syscall-list-64-condition): Likewise.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17177 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17180 (abi-64-ld-soname): New macro.
17181 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17182 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17185 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17186 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17188 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17190 * sysdeps/unix/sysv/linux/kernel-features.h
17191 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17192 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17193 include <kernel-features.h>.
17194 [!__NR_ftruncate64]: Remove conditional code.
17195 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17196 [__NR_ftruncate64]: Make code unconditional.
17197 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17198 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17199 include <kernel-features.h>.
17200 [!__NR_ftruncate64]: Remove conditional code.
17201 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17202 [__NR_ftruncate64]: Make code unconditional.
17203 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17205 include <kernel-features.h>.
17206 [!__NR_ftruncate64]: Remove conditional code.
17207 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17208 [__NR_ftruncate64]: Make code unconditional.
17209 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17211 include <kernel-features.h>.
17212 [!__NR_ftruncate64]: Remove conditional code.
17213 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17214 [__NR_ftruncate64]: Make code unconditional.
17215 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17217 * configure.in (libc_cv_fpie): Weaken to a compile test using
17218 LIBC_TRY_CC_OPTION.
17219 * configure: Regenerated.
17221 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17236 2012-05-27 David S. Miller <davem@davemloft.net>
17238 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17240 (__Q_simulate_exceptions): Return void. Change to simulate
17241 exceptions by writing into the %fsr.
17242 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17243 (__Qp_handle_exceptions): Likewise.
17245 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17246 __Qp_handle_exceptions.
17247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17248 __Qp_handle_exceptions.
17249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17250 as unused and give dummy FP_RND_NEAREST initializer.
17251 (FP_INHIBIT_RESULTS): Define.
17252 (___Q_simulate_exceptions): Update declaration.
17253 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17255 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17256 as unused and give dummy FP_RND_NEAREST initializer.
17257 (__Qp_handle_exceptions): Update declaration.
17258 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17261 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17263 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17264 the temporary FPU control word.
17265 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17266 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17268 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17269 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17270 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17271 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17272 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17273 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17274 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17277 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17279 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17282 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17284 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17285 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17286 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17287 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17289 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17290 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17293 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17295 * po/h.po: Update from translation team.
17297 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17299 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17301 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17302 handling of denormals.
17303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17304 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17305 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17312 2012-05-26 Marek Polacek <polacek@redhat.com>
17315 * math/libm-test.inc (fma_test): Don't always expect underflow
17318 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17321 * elf/tst-execstack.c: Include stackinfo.h.
17322 (do_test): Adjust test case to ensure that pthread_getattr_np
17323 behaviour remains the same after marking stack executable.
17325 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17327 * sysdeps/unix/sysv/linux/kernel-features.h
17328 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17329 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17331 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17332 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17333 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17335 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17336 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17338 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17340 * configure.in: Define the default includes to being none.
17341 * configure: Regenerated.
17343 2012-05-25 Roland McGrath <roland@hack.frob.com>
17345 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17346 * sysdeps/x86_64/setjmp.S: Likewise.
17347 * sysdeps/i386/bsd-setjmp.S: Likewise.
17348 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17349 * sysdeps/i386/setjmp.S: Likewise.
17350 * sysdeps/i386/__longjmp.S: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17352 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17354 * include/stap-probe.h: New file.
17355 * configure.in: Handle --enable-systemtap.
17356 * configure: Regenerated.
17357 * config.h.in (USE_STAP_PROBE): New #undef.
17358 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17359 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17360 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17362 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17365 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17366 to 2.4.0 where earlier.
17367 * sysdeps/unix/sysv/linux/configure: Regenerated.
17368 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17369 <kernel-features.h>.
17370 [__ASSUME_32BITUIDS]: Make code unconditional.
17371 [!__ASSUME_32BITUIDS]: Remove conditional code.
17372 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17373 <kernel-features.h>.
17374 [__ASSUME_32BITUIDS]: Make code unconditional.
17375 [!__ASSUME_32BITUIDS]: Remove conditional code.
17376 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17384 <kernel-features.h>.
17385 [__ASSUME_32BITUIDS]: Make code unconditional.
17386 [!__ASSUME_32BITUIDS]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17388 <kernel-features.h>.
17389 [__ASSUME_32BITUIDS]: Make code unconditional.
17390 [!__ASSUME_32BITUIDS]: Remove conditional code.
17391 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17392 <kernel-features.h>.
17393 [__ASSUME_32BITUIDS]: Make code unconditional.
17394 [!__ASSUME_32BITUIDS]: Remove conditional code.
17395 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17396 <kernel-features.h>.
17397 [__ASSUME_32BITUIDS]: Make code unconditional.
17398 [!__ASSUME_32BITUIDS]: Remove conditional code.
17399 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17400 <kernel-features.h>.
17401 [__ASSUME_32BITUIDS]: Make code unconditional.
17402 [!__ASSUME_32BITUIDS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17404 <kernel-features.h>.
17405 [__ASSUME_32BITUIDS]: Make code unconditional.
17406 [!__ASSUME_32BITUIDS]: Remove conditional code.
17407 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17408 <kernel-features.h>.
17409 [__ASSUME_32BITUIDS]: Make code unconditional.
17410 [!__ASSUME_32BITUIDS]: Remove conditional code.
17411 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17412 <kernel-features.h>.
17413 [__ASSUME_32BITUIDS]: Make code unconditional.
17414 [!__ASSUME_32BITUIDS]: Remove conditional code.
17415 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17416 <kernel-features.h>.
17417 [__ASSUME_32BITUIDS]: Make code unconditional.
17418 [!__ASSUME_32BITUIDS]: Remove conditional code.
17419 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17420 <kernel-features.h>.
17421 [__NR_setresgid] (__setresgid): Do not declare.
17422 [__ASSUME_32BITUIDS]: Make code unconditional.
17423 [!__ASSUME_32BITUIDS]: Remove conditional code.
17424 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17425 <kernel-features.h>.
17426 [__NR_setresuid] (__setresuid): Do not declare.
17427 [__ASSUME_32BITUIDS]: Make code unconditional.
17428 [!__ASSUME_32BITUIDS]: Remove conditional code.
17429 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17430 <kernel-features.h>.
17431 [__ASSUME_32BITUIDS]: Make code unconditional.
17432 [!__ASSUME_32BITUIDS]: Remove conditional code.
17433 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17434 <kernel-features.h>.
17435 [__ASSUME_32BITUIDS]: Make code unconditional.
17436 [!__ASSUME_32BITUIDS]: Remove conditional code.
17437 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17438 <kernel-features.h>.
17439 [__ASSUME_32BITUIDS]: Make code unconditional.
17440 [!__ASSUME_32BITUIDS]: Remove conditional code.
17441 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17442 <kernel-features.h>.
17443 [__ASSUME_32BITUIDS]: Make code unconditional.
17444 [!__ASSUME_32BITUIDS]: Remove conditional code.
17445 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17446 <kernel-features.h>.
17447 [__ASSUME_32BITUIDS]: Make code unconditional.
17448 [!__ASSUME_32BITUIDS]: Remove conditional code.
17449 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17450 <kernel-features.h>.
17451 [__ASSUME_32BITUIDS]: Make code unconditional.
17452 [!__ASSUME_32BITUIDS]: Remove conditional code.
17453 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17454 <kernel-features.h>.
17455 [__ASSUME_32BITUIDS]: Make code unconditional.
17456 [!__ASSUME_32BITUIDS]: Remove conditional code.
17457 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17458 <kernel-features.h>.
17459 [__ASSUME_32BITUIDS]: Make code unconditional.
17460 [!__ASSUME_32BITUIDS]: Remove conditional code.
17461 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17462 <kernel-features.h>.
17463 [__ASSUME_32BITUIDS]: Make code unconditional.
17464 [!__ASSUME_32BITUIDS]: Remove conditional code.
17465 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17466 <kernel-features.h>.
17467 [__ASSUME_32BITUIDS]: Make code unconditional.
17468 [!__ASSUME_32BITUIDS]: Remove conditional code.
17469 * sysdeps/unix/sysv/linux/kernel-features.h
17470 (__ASSUME_SETRESUID_SYSCALL): Remove.
17471 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17472 (__ASSUME_32BITUIDS): Likewise.
17473 (__ASSUME_LDT_WORKS): Likewise.
17474 (__ASSUME_O_DIRECTORY): Likewise.
17475 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17476 architecture but not kernel version.
17477 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17478 (__ASSUME_MMAP2_SYSCALL): Likewise.
17479 (__ASSUME_STAT64_SYSCALL): Likewise.
17480 (__ASSUME_IPC64): Likewise.
17481 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17482 <kernel-features.h>.
17483 [__ASSUME_32BITUIDS]: Make code unconditional.
17484 [!__ASSUME_32BITUIDS]: Remove conditional code.
17485 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17486 <kernel-features.h>.
17487 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17488 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17489 132096]: Remove conditional code.
17490 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17491 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17492 <kernel-features.h>.
17493 [__ASSUME_32BITUIDS]: Make code unconditional.
17494 [!__ASSUME_32BITUIDS]: Remove conditional code.
17495 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17496 <kernel-features.h>.
17497 [__ASSUME_32BITUIDS]: Make code unconditional.
17498 [!__ASSUME_32BITUIDS]: Remove conditional code.
17499 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17500 <kernel-features.h>.
17501 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17503 (__setresgid): Do not declare.
17504 [__ASSUME_32BITUIDS]: Make code unconditional.
17505 [!__ASSUME_32BITUIDS]: Remove conditional code.
17506 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17507 <kernel-features.h>.
17508 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17510 (__setresuid): Do not declare.
17511 [__ASSUME_32BITUIDS]: Make code unconditional.
17512 [!__ASSUME_32BITUIDS]: Remove conditional code.
17513 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17514 <kernel-features.h>.
17515 [__ASSUME_32BITUIDS]: Make code unconditional.
17516 [!__ASSUME_32BITUIDS]: Remove conditional code.
17517 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17518 <kernel-features.h>.
17519 [__ASSUME_32BITUIDS]: Make code unconditional.
17520 [!__ASSUME_32BITUIDS]: Remove conditional code.
17522 2012-05-25 Richard Henderson <rth@twiddle.net>
17524 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17525 dl_hwcap to ifunc resolver.
17526 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17528 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17529 dl_hwcap to ifunc resolver.
17530 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17532 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17535 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17536 for |x| <= 2**-26, not 2**-57.
17537 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17540 2012-05-24 Jeff Law <law@redhat.com>
17542 * stdio-common/Makefile (tests): Add bug25.
17543 * stdio-common/bug25.c: New test.
17545 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17548 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17549 multiple of MALLOC_ALIGNMENT in size.
17550 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17552 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17554 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17556 (FILENAME_MAX): Use macro-int-constant.
17557 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17558 (_IOFBF): Use macro-int-constant.
17559 (_IOLBF): Likewise.
17560 (_IONBF): Likewise.
17561 (SEEK_CUR): Likewise.
17562 (SEEK_END): Likewise.
17563 (SEEK_SET): Likewise.
17564 (TMP_MAX): Likewise.
17565 (EOF): Use macro-int-constant. Require < 0.
17566 (NULL): Use macro-constant. Require == 0.
17567 (stdin): Require type to be FILE *.
17568 (stdout): Likewise.
17569 (stderr): Likewise.
17570 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17571 macro-int-constant.
17572 (EXIT_SUCCESS): Likewise.
17573 (NULL): Use macro-constant. Require == 0.
17574 (RAND_MAX): Use macro-int-constant.
17575 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17576 [C99-based standards] (strtof): Require function.
17577 [C99-based standards] (strtold): Likewise.
17578 [C99-based standards] (strtoll): Likewise.
17579 [C99-based standards] (strtoull): Likewise.
17580 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17581 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17582 [ISO || ISO99 || ISO11] (math.h): Likewise.
17583 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17584 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17587 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17590 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17591 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17592 * intl/dgettext.c (DCGETTEXT): Likewise.
17593 * intl/gettext.c (DCGETTEXT): Likewise.
17594 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17595 * posix/regex_internal.h (gettext): Likewise.
17596 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17597 Remove declaration.
17598 * include/argz.h (__argz_count_internal)
17599 (__argz_stringify_internal): Remove declaration.
17600 (__argz_count, __argz_stringify): Declare hidden proto.
17601 * intl/dcgettext.c: Remove use of INTDEF.
17602 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17603 * string/argz-stringify.c: Likewise.
17604 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17605 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17606 Declare hidden proto.
17607 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17608 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17609 Declare hidden proto.
17610 * include/stdio.h (__asprintf_internal): Don't declare.
17611 (__asprintf): Don't define as macro. Declare hidden proto.
17612 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17613 (__fsetlocking): Declare hidden proto.
17614 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17615 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17617 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17618 (_IO_setlinebuf): Remove use of INTUSE.
17619 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17620 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17621 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17622 Remove declaration.
17623 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17624 (_IO_do_flush): Remove use of INTUSE.
17625 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17626 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17627 (_IO_adjust_column, _IO_least_wmarker)
17628 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17629 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17630 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17631 (_IO_default_doallocate, _IO_wdefault_doallocate)
17632 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17633 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17634 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17635 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17636 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17637 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17638 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17639 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17640 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17641 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17642 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17643 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17644 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17646 (_IO_flush_all_internal, _IO_adjust_column_internal)
17647 (_IO_default_uflow_internal, _IO_default_finish_internal)
17648 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17649 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17650 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17651 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17652 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17653 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17654 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17655 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17656 (_IO_file_close_internal, _IO_file_close_it_internal)
17657 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17658 (_IO_file_init_internal, _IO_file_attach_internal)
17659 (_IO_file_fopen_internal, _IO_file_read_internal)
17660 (_IO_file_sync_internal, _IO_file_seek_internal)
17661 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17662 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17663 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17664 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17665 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17666 (_IO_list_all_internal, _IO_link_in_internal)
17667 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17668 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17669 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17670 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17671 (_IO_do_write_internal, _IO_padn_internal)
17672 (_IO_getline_info_internal, _IO_getline_internal)
17673 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17674 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17675 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17676 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17677 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17678 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17679 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17680 with libc_hidden_ver, remove use of INTUSE.
17681 * libio/genops.c: Likewise.
17682 * libio/freopen.c: Likewise.
17683 * libio/freopen64.c: Likewise.
17684 * libio/iofclose.c: Likewise.
17685 * libio/iofdopen.c: Likewise.
17686 * libio/iofflush.c: Likewise.
17687 * libio/iofflush_u.c: Likewise.
17688 * libio/iofgets.c: Likewise.
17689 * libio/iofgets_u.c: Likewise.
17690 * libio/iofopen.c: Likewise.
17691 * libio/iofopncook.c: Likewise.
17692 * libio/iofread.c: Likewise.
17693 * libio/iofread_u.c: Likewise.
17694 * libio/ioftell.c: Likewise.
17695 * libio/iofwrite.c: Likewise.
17696 * libio/iogetline.c: Likewise.
17697 * libio/iogets.c: Likewise.
17698 * libio/iogetwline.c: Likewise.
17699 * libio/iopadn.c: Likewise.
17700 * libio/iopopen.c: Likewise.
17701 * libio/ioseekoff.c: Likewise.
17702 * libio/ioseekpos.c: Likewise.
17703 * libio/iosetbuffer.c: Likewise.
17704 * libio/iosetvbuf.c: Likewise.
17705 * libio/ioungetc.c: Likewise.
17706 * libio/ioungetwc.c: Likewise.
17707 * libio/iovdprintf.c: Likewise.
17708 * libio/iovsprintf.c: Likewise.
17709 * libio/iovsscanf.c: Likewise.
17710 * libio/memstream.c: Likewise.
17711 * libio/obprintf.c: Likewise.
17712 * libio/oldfileops.c: Likewise.
17713 * libio/oldiofclose.c: Likewise.
17714 * libio/oldiofdopen.c: Likewise.
17715 * libio/oldiofopen.c: Likewise.
17716 * libio/oldiopopen.c: Likewise.
17717 * libio/oldstdfiles.c: Likewise.
17718 * libio/putc.c: Likewise.
17719 * libio/setbuf.c: Likewise.
17720 * libio/setlinebuf.c: Likewise.
17721 * libio/stdfiles.c: Likewise.
17722 * libio/strops.c: Likewise.
17723 * libio/vasprintf.c: Likewise.
17724 * libio/vscanf.c: Likewise.
17725 * libio/vsnprintf.c: Likewise.
17726 * libio/vswprintf.c: Likewise.
17727 * libio/wfiledoalloc.c: Likewise.
17728 * libio/wfileops.c: Likewise.
17729 * libio/wgenops.c: Likewise.
17730 * libio/wmemstream.c: Likewise.
17731 * libio/wstrops.c: Likewise.
17732 * libio/__fpurge.c: Likewise.
17733 * libio/__fsetlocking.c: Likewise.
17734 * assert/assert.c: Likewise.
17735 * debug/fgets_chk.c: Likewise.
17736 * debug/fgets_u_chk.c: Likewise.
17737 * debug/fread_chk.c: Likewise.
17738 * debug/fread_u_chk.c: Likewise.
17739 * debug/gets_chk.c: Likewise.
17740 * debug/obprintf_chk.c: Likewise.
17741 * debug/vasprintf_chk.c: Likewise.
17742 * debug/vdprintf_chk.c: Likewise.
17743 * debug/vsnprintf_chk.c: Likewise.
17744 * debug/vsprintf_chk.c: Likewise.
17745 * malloc/mtrace.c: Likewise.
17746 * misc/error.c: Likewise.
17747 * misc/syslog.c: Likewise.
17748 * stdio-common/asprintf.c: Likewise.
17749 * stdio-common/fxprintf.c: Likewise.
17750 * stdio-common/getw.c: Likewise.
17751 * stdio-common/isoc99_fscanf.c: Likewise.
17752 * stdio-common/isoc99_scanf.c: Likewise.
17753 * stdio-common/isoc99_vfscanf.c: Likewise.
17754 * stdio-common/isoc99_vscanf.c: Likewise.
17755 * stdio-common/isoc99_vsscanf.c: Likewise.
17756 * stdio-common/printf-prs.c: Likewise.
17757 * stdio-common/printf_fp.c: Likewise.
17758 * stdio-common/printf_fphex.c: Likewise.
17759 * stdio-common/printf_size.c: Likewise.
17760 * stdio-common/putw.c: Likewise.
17761 * stdio-common/scanf.c: Likewise.
17762 * stdio-common/sprintf.c: Likewise.
17763 * stdio-common/tmpfile.c: Likewise.
17764 * stdio-common/vfprintf.c: Likewise.
17765 * stdio-common/vfscanf.c: Likewise.
17766 * stdlib/strfmon_l.c: Likewise.
17767 * sunrpc/openchild.c: Likewise.
17768 * sunrpc/xdr_stdio.c: Likewise.
17769 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17770 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17772 2012-05-24 Roland McGrath <roland@hack.frob.com>
17774 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17776 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17777 in the third column, to generate for the shared library an IFUNC
17778 that uses _dl_vdso_vsym.
17779 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17780 * Makeconfig (object-suffixes-noshared): New variable.
17782 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17783 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17784 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17785 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17788 * include/sys/time.h (__gettimeofday): Remove macro.
17789 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17790 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17792 (__gettimeofday): Add libc_hidden_def.
17793 (gettimeofday): Add libc_hidden_weak.
17794 * sysdeps/mach/gettimeofday.c: Likewise.
17795 * sysdeps/posix/gettimeofday.c: Likewise.
17796 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17797 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17799 (__gettimeofday_internal): Remove strong_alias.
17800 (__gettimeofday): Add libc_hidden_def.
17801 (gettimeofday): Add libc_hidden_weak.
17802 * sysdeps/unix/syscalls.list (gettimeofday):
17803 Remove __gettimeofday_internal alias.
17805 2012-05-24 Daniel Jacobowitz <drow@false.org>
17806 H.J. Lu <hongjiu.lu@intel.com>
17809 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17810 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17811 (largebin_index_32_big): New.
17812 (largebin_index): Use it for 16-byte alignment.
17813 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17814 correction with front_misalign.
17816 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17844 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17845 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17847 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17851 * math/libm-test.inc (exp_test): Add test from bug 14036.
17852 (pow_test): Add test from bug 10846.
17854 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17856 (special_function): Do not include flags in test name.
17857 (parse_args): Likewise.
17858 * sysdeps/i386/fpu/libm-test-ulps: Update.
17859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17861 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17864 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17866 * math/libm-test.inc ("Philosophy"): Update comment about
17868 (UNDERFLOW_EXCEPTION): New macro.
17869 (UNDERFLOW_EXCEPTION_OK): Likewise.
17870 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17871 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17872 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17873 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17874 (INVALID_EXCEPTION_OK): Update value.
17875 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17876 (OVERFLOW_EXCEPTION_OK): Likewise.
17877 (IGNORE_ZERO_INF_SIGN): Likewise.
17878 (test_exceptions): Handle underflow exceptions.
17879 (acos_test): Update for underflow exception expectations.
17880 (cexp_test): Likewise.
17881 (clog_test): Likewise.
17882 (clog10_test): Likewise.
17883 (csqrt_test): Likewise.
17884 (ctan_test): Likewise.
17885 (ctanh_test): Likewise.
17886 (exp_test): Likewise.
17887 (exp10_test): Likewise.
17888 (exp2_test): Likewise.
17889 (expm1_test): Likewise.
17890 (fma_test): Likewise.
17891 (j0_test): Likewise.
17892 (jn_test): Likewise.
17893 (nexttoward_test): Likewise.
17894 (pow_test): Likewise.
17895 (scalbn_test): Likewise.
17896 (scalbln_test): Likewise.
17897 (tan_test): Likewise.
17898 (y1_test): Likewise.
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17902 2012-05-23 David S. Miller <davem@davemloft.net>
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17905 (__libc_sigaction): Remove unused local variables.
17907 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17909 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17911 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17913 mktime: avoid signed integer overflow
17914 * time/mktime.c (__mktime_internal): Do not mishandle the case
17915 where diff == INT_MIN.
17917 mktime: simplify computation of average
17918 * time/mktime.c (ranged_convert): Use new time_t_avg function
17919 instead of rolling our own (probably-slower) code.
17921 mktime: do not assume signed right shift propagates sign bit
17922 * time/mktime.c (isdst_differ): New static function.
17923 (__mktime_internal): No need to normalize tm_isdst now.
17924 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17927 mktime: merge another wrapv change from gnulib
17928 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17929 from some compilers.
17931 mktime: remove incorrect attempt at unusual arithmetics
17932 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17933 The code didn't really work on such machines anyway.
17934 (TYPE_MINIMUM): Assume two's complement.
17935 (twos_complement_arithmetic): Verify that long_int and time_t
17936 are two's complement (or unsigned, in the latter case).
17938 mktime: check signed shifts on long_int and time_t, too
17939 * time/mktime.c (SHR): Check that shifts work as desired
17940 on the types long_int and time_t too, as SHR is used on
17943 mktime: do not assume 'long' is wide enough
17944 * time/mktime.c (verify): Move decl up.
17945 (long_int): New type.
17946 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17947 to remove assumption in the code that 'long' is wide enough to
17948 store year values. This assumption is not true on x32 and on
17949 some non-glibc platforms.
17951 mktime: merge wrapv change from gnulib
17952 * time/mktime.c (WRAPV): New macro.
17953 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17954 (guess_time_tm, __mktime_internal): Do not assume that signed
17955 integer overflow wraps around; modern compilers generate code
17956 where this assumption is no longer valid.
17958 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17960 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17961 Replace "jmp L(pseudo_end)" with "ret".
17962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17965 2012-05-23 Andreas Jaeger <aj@suse.de>
17967 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17968 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17970 2012-05-23 Andreas Jaeger <aj@suse.de>
17971 Maximilian Attems <max@stro.at>
17973 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17976 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17978 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17979 code so that pseudo_end is just ret and the stack pointer is
17980 correct also for static library in error case.
17982 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17984 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17985 move to syscalls.list.
17986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17991 * manual/install.texi (Running make install): Do not mention Linux
17992 kernel version for which pt_chown is not needed.
17993 (Linux): Do not mention problems with nscd with 2.0 kernels.
17994 * INSTALL: Regenerated.
17996 2012-05-23 Andreas Jaeger <aj@suse.de>
17998 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17999 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18001 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18002 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18003 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18004 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18005 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18006 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18007 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18008 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18010 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18011 * sysdeps/unix/sysv/linux/bits/in.h
18012 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18014 2012-05-22 Roland McGrath <roland@hack.frob.com>
18016 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18017 (PREPARE_VERSION): Just use assert instead, it will be elided
18018 under [NDEBUG] anyway.
18020 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18022 * sysdeps/unix/sysv/linux/Makefile: Include
18023 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18024 (sysdep_routines): Remove sysctl.
18025 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18026 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18027 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18029 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18031 2012-05-22 Andreas Jaeger <aj@suse.de>
18033 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18034 that pseudo_end is just ret and the stack pointer is correct also
18035 for static library in error case.
18037 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18040 * nss/nsswitch.c (defconfig_entries): New variable.
18041 (__nss_database_lookup): Don't leak defconfig entries.
18042 (nss_parse_service_list): Don't leak on error paths.
18043 (free_database_entries): New function.
18044 (free_defconfig): New function.
18045 (free_mem): Move common code to free_database_entries.
18047 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18049 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18051 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18053 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18054 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18057 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18058 (INTERNAL_SYSCALL_TYPES): Likewise.
18059 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18060 (LOAD_REGS_TYPES_[1-6]): Likewise.
18061 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18062 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18064 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18066 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18067 copysignl for GLIBC_2_0.
18068 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18069 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18071 logbl for GLIBC_2_0.
18072 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18073 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18075 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18078 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18080 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18083 * time/mktime.c: Update copyright years.
18085 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18087 mktime: merge comment-quoting-style change from gnulib
18088 * time/mktime.c: Quote 'like this' in comments.
18089 The GNU coding standards suggest that we no longer quote `like this',
18090 as "`" and "'" are typically rendered asymmetrically nowadays.
18091 The typical gnulib style is to quote 'like this' when quoting
18092 code, and "like this" when quoting English.
18094 * time/mktime.c (compile-command): Add "-I.".
18096 mktime: merge mktime-internal.h change from gnulib
18097 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18099 mktime: merge time_r change from gnulib
18100 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18102 mktime: merge DEBUG change from gnulib
18103 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18104 case system <time.h> has a #define.
18106 mktime: merge <sys/types.h> change from gnulib
18107 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18108 since <time.t> is now guaranteed to define time_t.
18110 mktime: merge HAVE_CONFIG_H change from gnulib
18111 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18113 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18118 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18120 (struct rusage): Use anonymous union to pad each field to
18123 2012-05-21 David S. Miller <davem@davemloft.net>
18125 * Makefules (o-iterator): Remove .s cases.
18126 (compile-command.s): Delete.
18127 (COMPILE.s): Delete.
18128 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18130 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18132 * configure.in (libc_cv_predef_stack_protector): Only consider
18133 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18134 * configure: Regenerated.
18136 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18139 New macro. Use R*LP on int and pointer.
18140 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18141 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18142 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18143 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18145 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18146 [__WORDSIZE_TIME64_COMPAT32] instead of
18147 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18148 (struct utmp): Likewise.
18149 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18150 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18152 (__WORDSIZE_TIME64_COMPAT32): This.
18153 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18154 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18155 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18156 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18157 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18158 (__WORDSIZE_TIME64_COMPAT32): New macro.
18160 2012-05-21 Andreas Jaeger <aj@suse.de>
18162 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18163 only if [SHARED]. Add prototype for __wcschr_ia32.
18165 2012-05-21 Roland McGrath <roland@hack.frob.com>
18167 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18168 of %rbp unmolested in the jmp_buf while mangling the low bits.
18169 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18170 unmolested high bits of %rbp while demangling the low bits.
18171 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18173 2012-05-21 Andreas Jaeger <aj@suse.de>
18175 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18176 * sunrpc/svc_simple.c: Use it for registerrpc.
18177 * sunrpc/xcrypt.c: Use it for passwd2des.
18179 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18181 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18183 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18184 Don't define if [__SYSCALL_WORDSIZE != 32].
18185 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18188 2012-05-21 Bruno Haible <bruno@clisp.org>
18189 Andreas Jaeger <aj@suse.de>
18191 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18192 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18193 inptr and inend for must_buffer_ch.
18194 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18195 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18196 * stdio-common/Makefile (tests): Remove bug15.
18197 (bug15-ENV): Remove macro.
18198 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18201 2012-05-19 Andreas Jaeger <aj@suse.de>
18202 Roland McGrath <roland@hack.frob.com>
18204 * manual/contrib.texi: Completely rewritten. It contains now an
18205 alphabetical list of contributors and their contributions.
18207 2012-05-21 Richard Henderson <rth@twiddle.net>
18209 * misc/getauxval.c (__getauxval): Use unsigned long int.
18210 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18211 (getauxval): Use unsigned long int.
18213 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18215 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18217 2012-05-21 Roland McGrath <roland@hack.frob.com>
18219 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18220 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18221 __alignof__ (long double).
18223 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18227 2012-05-20 Richard Henderson <rth@twiddle.net>
18229 * misc/getauxval.c: New file.
18230 * misc/sys/auxv.h: New file.
18231 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18232 (routines): Add getauxval.
18233 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18234 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18235 * elf/dl-sysdep.c (_dl_auxv): Remove.
18236 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18237 * elf/dl-support.c (_dl_auxv): New variable.
18238 (_dl_aux_init): Initialize it.
18239 * manual/startup.texi (Auxiliary Vector): New node.
18240 * sysdeps/generic/bits/hwcap.h: New file.
18241 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18242 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18243 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18244 * sysdeps/sparc/sysdep.h: ... here. Include it.
18245 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18258 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18262 2012-05-19 David S. Miller <davem@davemloft.net>
18264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18266 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18269 * math/s_ccosh.c: Include <float.h>
18270 (__ccosh): Avoid internal overflow calculating sinh and cosh
18271 values before multiplying by sin and cos values.
18272 * math/s_ccoshf.c: Likewise.
18273 * math/s_ccoshl.c: Likewise.
18274 * math/s_csin.c: Likewise.
18275 * math/s_csinf.c: Likewise.
18276 * math/s_csinl.c: Likewise.
18277 * math/s_csinh.c: Likewise.
18278 * math/s_csinhf.c: Likewise.
18279 * math/s_csinhl.c: Likewise.
18280 * math/libm-test.inc (ccos_test): Add more tests.
18281 (ccosh_test): Likewise.
18282 (csin_test): Likewise.
18283 (csinh_test): Likewise.
18284 * sysdeps/i386/fpu/libm-test-ulps: Update.
18285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18287 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18289 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18290 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18292 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18294 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18297 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18298 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18299 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18300 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18301 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18302 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18303 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18304 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18305 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18306 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18307 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18308 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18309 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18310 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18311 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18312 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18313 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18314 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18315 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18316 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18317 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18318 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18319 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18320 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18321 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18322 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18323 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18324 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18325 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18326 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18328 2012-05-18 Andreas Jaeger <aj@suse.de>
18330 * csu/.gitignore: Delete.
18332 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18334 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18335 (timex): Use __syscall_slong_t.
18337 2012-05-18 Andreas Jaeger <aj@suse.de>
18338 Carlos O'Donell <carlos_odonell@mentor.com>
18340 * manual/install.texi (Configuring and compiling): Update
18341 description about files modified in the source directory.
18342 * INSTALL: Regenerated.
18344 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18346 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18347 value. Use "or" to set return value to -1.
18348 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18349 negate return value.
18351 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18353 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18354 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18355 failure if the compiler has Graphite support disabled.
18356 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18358 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18359 CFLAGS-memmove.c): Likewise.
18360 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18363 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18365 * sysdeps/x86_64/x32/_itoa.h: New file.
18367 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18368 getdents system call only if kernel and user dirents have the
18369 same d_ino and d_off.
18371 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18372 LLONG_MAX != LONG_MAX.
18373 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18374 (_fitoa_word): Likewise.
18376 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18382 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18383 include <bits/wordsize.h>. Check __x86_64__ instead of
18385 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18386 if __x86_64__ is defined. Use anonymous union on fpstate.
18388 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18391 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18393 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18394 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18395 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18396 Refer to _rtld_local_ro instead of _rtld_global_ro.
18397 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18399 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18401 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18403 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18404 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18405 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18407 * sysdeps/powerpc/powerpc32/dl-machine.c
18408 (__elf_machine_runtime_setup) [PROF]: Don't reference
18411 2012-05-18 Andreas Jaeger <aj@suse.de>
18413 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18414 function only available for GCCs before 3.4 since GCC 3.4
18415 introduced a builtin.
18417 (llrintf): Likewise.
18418 (llrint): Likewise.
18425 (nearbyint): Likewise.
18426 (nearbyintf): Likewise.
18430 (floorf): Likewise.
18432 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18434 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18435 on both fields and cast pointer to __syscall_ulong_t.
18437 * bits/types.h (__fsword_t): New type.
18438 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18439 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18441 (__FSWORD_T_TYPE): Likewise.
18442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18443 (__FSWORD_T_TYPE): Likewise.
18444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18445 (__FSWORD_T_TYPE): Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18447 (__FSWORD_T_TYPE): Likewise.
18448 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18449 __SWORD_TYPE with __fsword_t.
18450 (statfs64): Likewise.
18452 2012-05-17 David S. Miller <davem@davemloft.net>
18454 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18456 2012-05-17 Andreas Jaeger <aj@suse.de>
18458 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18461 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18463 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18465 2012-05-17 Andreas Jaeger <aj@suse.de>
18467 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18470 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18472 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18474 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18476 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18477 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18479 2012-05-17 Andreas Jaeger <aj@suse.de>
18480 Carlos O'Donell <carlos_odonell@mentor.com>
18483 * sysdeps/x86_64/multiarch/init-arch.h
18484 (bit_YMM_Usable): Rename to...
18485 (bit_AVX_Usable): ... this.
18486 (bit_FMA4_Usable): New macro.
18487 (bit_XMM_state): New macro.
18488 (bit_YMM_state): New macro.
18489 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18490 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18491 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18492 (CPUID_OSXSAVE): New macro.
18493 (CPUID_AVX): New macro.
18494 (CPUID_FMA4): New macro.
18495 (index_YMM_Usable): Rename to...
18496 (index_AVX_Usable): ... this.
18497 (HAS_AVX): Use HAS_ARCH_FEATURE.
18498 (HAS_FMA4): Likewise.
18499 (HAS_YMM_USABLE): Remove.
18500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18501 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18503 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18504 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18505 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18506 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18507 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18509 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18511 * math/libm-test.c: Support platforms without multiple rounding modes.
18512 * math/bug-nextafter.c: Support platforms without FP exceptions.
18513 * math/bug-nexttoward.c: Likewise.
18514 * math/test-fenv.c: Likewise.
18515 * math/test-misc.c: Likewise.
18516 * stdlib/bug-getcontext.c: Likewise.
18518 2012-05-17 Andreas Jaeger <aj@suse.de>
18520 * manual/examples/search.c (critter_cmp): Change signature to
18522 * manual/string.texi (Collation Functions): Likewise.
18524 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18526 * bits/types.h: Fold copyright years.
18527 * bits/typesizes.h: Likewise.
18528 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18531 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18532 * time/time.h: Likewise.
18534 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18537 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18538 in instead of returning them. Return void.
18539 (__libc_mallinfo): Accumulate over all arenas.
18540 (__malloc_stats): Adjust for change in int_mallinfo interface.
18542 2012-05-16 Roland McGrath <roland@hack.frob.com>
18545 * configure.in (NM): Add AC_CHECK_TOOL for it.
18546 (libc_extra_cflags): New substituted variable.
18547 Check for -fstack-protector being used implicitly.
18548 * configure: Regenerated.
18549 * config.make.in (config-extra-cflags): New variable,
18550 gets @libc_extra_cflags@.
18551 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18554 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18555 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18556 * configure: Regenerated.
18557 * config.make.in (CPPUNDEFS): New substituted variable.
18558 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18559 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18560 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18562 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18564 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18565 (mq_attr): Use __syscall_slong_t.
18567 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18569 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18570 Check __x86_64__ instead of __WORDSIZE.
18571 (_STAT_VER_LINUX): Likewise.
18572 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18573 __syscall_ulong_t and __syscall_slong_t.
18574 (stat64): Likewise.
18576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18578 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18580 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18582 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18584 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18586 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18589 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18590 include <bits/wordsize.h>. Check __x86_64__ instead of
18592 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18594 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18596 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18597 include <bits/wordsize.h>. Check __x86_64__ instead of
18599 (user_regs_struct): Use "__extension__ unsigned long long"
18600 instead of "unsigned long" if __x86_64__ is defined.
18601 (user): Likewise. Pad after pointer field if __ILP32__ is
18604 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18606 * configure.in (makeinfo): Require version 4.5 or later. Allow
18608 * configure: Regenerated.
18609 * manual/install.texi (texinfo): Increase version requirement to
18611 * INSTALL: Regenerated.
18613 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18615 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18617 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18619 * sysdeps/x86_64/x32/ffs.c: New file.
18621 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18623 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18624 defined. Use __syscall_ulong_t.
18625 (shminfo): Use __syscall_ulong_t.
18626 (shm_info): Likewise.
18628 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18631 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18633 (msgqnum_t): Use __syscall_ulong_t.
18634 (msglen_t): Likewise.
18635 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18638 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18641 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18643 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18644 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18646 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18649 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18650 include <bits/wordsize.h>. Check __x86_64__ instead of
18653 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18654 "unsigned long long int" if __x86_64__ is defined.
18655 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18657 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18658 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18659 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18661 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18663 (GET_PC): Cast to uintptr_t first.
18664 (GET_FRAME): Likewise.
18665 (GET_STACK): Likewise.
18667 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18668 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18669 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18670 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18671 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18672 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18673 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18674 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18675 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18676 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18677 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18678 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18679 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18680 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18681 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18683 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18686 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18687 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18689 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18694 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18697 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18699 * Makerules (+depfiles): Also collect depfiles from .oS in
18701 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18702 .oS, $(libnldbl-routines)).
18704 * Makerules (native-compile-mkdep-flags): Define.
18705 * sunrpc/Makefile (extra-objs): Add $(addprefix
18706 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18707 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18708 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18709 calling $(make-target-directory).
18711 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18713 * bits/types.h (__snseconds_t): Removed.
18714 * time/time.h (struct timespec): Replace __snseconds_t with
18716 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18717 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18720 (__SNSECONDS_T_TYPE): Likewise.
18721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18722 (__SNSECONDS_T_TYPE): Likewise.
18723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18724 (__SNSECONDS_T_TYPE): Likewise.
18726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18728 * sysdeps/mach/hurd/bits/typesizes.h
18729 (__SYSCALL_SLONG_TYPE): New macro.
18730 (__SYSCALL_ULONG_TYPE): Likewise.
18732 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18734 * bits/types.h (__syscall_slong_t): New type.
18735 (__syscall_ulong_t): Likewise.
18737 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18738 (__SYSCALL_ULONG_TYPE): Likewise.
18739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18740 (__SYSCALL_SLONG_TYPE): Likewise.
18741 (__SYSCALL_ULONG_TYPE): Likewise.
18742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18743 (__SYSCALL_SLONG_TYPE): Likewise.
18744 (__SYSCALL_ULONG_TYPE): Likewise.
18745 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18746 (__SYSCALL_SLONG_TYPE): Likewise.
18747 (__SYSCALL_ULONG_TYPE): Likewise.
18749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18752 Add sigaltstack-offsets.sym.
18753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18754 <sigaltstack-offsets.h>.
18755 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18756 longjmp_msg pointer.
18757 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18758 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18760 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18762 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18764 * elf/stackguard-macros.h: Remove file.
18765 * sysdeps/generic/stackguard-macros.h: New file.
18766 * sysdeps/i386/stackguard-macros.h: Likewise.
18767 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18768 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18769 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18770 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18771 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18772 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18773 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18774 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18775 <elf/stackguard-macros.h>.
18778 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18779 __aligned__ in attribute.
18780 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18781 (gregset_t): Likewise.
18783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18785 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18786 * sysdeps/x86_64/64/Implies-after: Here. New file.
18787 * sysdeps/x86_64/x32/Implies-after: New file.
18789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18791 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18792 and access return value for _dl_profile_fixup. Use R10_LP to
18795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18797 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18801 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18802 * sysdeps/x86_64/x32/sysdep.h: New file.
18804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18806 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18807 * sysdeps/x86_64/setjmp.S: Likewise.
18809 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18811 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18812 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18813 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18815 remove unused global constant.
18817 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18819 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18820 include of <not-cancel.h>.
18822 2012-05-15 Roland McGrath <roland@hack.frob.com>
18824 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18826 2012-05-15 Jeff Law <law@redhat.com>
18827 Andreas Jaeger <aj@suse.de>
18830 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18832 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18833 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18834 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18835 code changing __hst_map_handle.map.
18837 2012-05-15 Roland McGrath <roland@hack.frob.com>
18839 * configure.in (sysnames): Look for Implies-before and Implies-after
18841 * configure: Regenerated.
18843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18845 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18846 8-byte data alignment with LP_SIZE alignment.
18848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18850 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18855 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18859 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18860 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18861 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18863 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18865 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18867 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18868 (stackinfo_sub_sp): Likewise.
18870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18887 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18891 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18892 into R11_LP and load __x86_64_shared_cache_size_half into
18895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18897 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18900 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18904 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18908 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18909 powerpc32/power7/fpu/s_logb.c via #include.
18910 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18911 powerpc32/power7/fpu/s_logbf.c via #include.
18912 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18913 powerpc32/power7/fpu/s_logbl.c via #include.
18915 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18917 * README.libm: Remove file.
18919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18921 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18922 count for x32. Use R*_LP and omit operand-size suffix.
18924 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18926 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18927 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18928 * sysdeps/x86_64/x32/shlib-versions: New file.
18930 2012-05-14 Roland McGrath <roland@hack.frob.com>
18932 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18933 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18934 Use _dl_fatal_printf instead.
18936 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18938 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18939 set if not set by the user. Do not allow for being unset.
18940 * sysdeps/unix/sysv/linux/configure: Regenerated.
18942 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18944 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18945 the `q' suffix from lea and replace .quad with ASM_ADDR.
18947 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18949 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18950 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18952 (PTR_DEMANGLE): Likewise.
18954 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18956 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18958 (ASM_ADDR): Likewise.
18959 (RAX_LP): Likewise.
18960 (RBP_LP): Likewise.
18961 (RBX_LP): Likewise.
18962 (RCX_LP): Likewise.
18963 (RDI_LP): Likewise.
18964 (RSI_LP): Likewise.
18965 (RSP_LP): Likewise.
18968 (R10_LP): Likewise.
18969 (R10_LP): Likewise.
18970 (R11_LP): Likewise.
18971 (R12_LP): Likewise.
18972 (R13_LP): Likewise.
18973 (R14_LP): Likewise.
18974 (R15_LP): Likewise.
18976 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18978 * sysdeps/x86_64/x32/dl-machine.h: New file.
18980 2012-05-14 Andreas Jaeger <aj@suse.de>
18982 * manual/Makefile (subdir): Remove export of subdir.
18983 (all): Remove target.
18984 (.PHONY): Remove all from list.
18985 (mkinstalldirs): Remove.
18986 (.PHONY): Remove installdirs from list.
18987 ($(inst_infodir)/libc.info): Use make-target-directory.
18988 (installdirs): Remove.
18989 (subdir_%): Remove.
18990 (glibc-targets): Remove.
18993 ($(objpfx)stubs ../po/manual.pot): Remove.
18994 ($(objpfx)stamp%): Remove.
18995 (make-target-directory): Remove.
18996 (subdir_install): Remove.
18997 (routines): Remove.
19004 * manual/.gitignore: Remove, it's not needed anymore.
19005 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19007 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19009 (texis): Renamed to $(objpfx)texis.
19010 (texis-path): New, contains path to generated files.
19011 (chapters.%): Use texis-path for complete path, add extra argument
19013 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19014 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19015 (summary,texi, stamp-summary): Use complete path of
19016 files. Generate files in build dir.
19017 (dir-add.texi): Build in build dir.
19018 (libm-err.texi,stamp-libm-err): Likewise.
19019 (version.texi, stamp-version): Likewise.
19020 (.%c.texi): Likewise.
19021 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19022 (mostlyclean): Remove target.
19023 (realclean): Remove target.
19024 (generated): Add new variable with contents from mostlyclean and
19025 realclean, remove entries duplicated in common-mostlyclean, add
19026 stamp-libm-err and stamp-version.
19027 (generated-dirs): Add libc directory.
19028 ($(inst_infodir)/libc.info): Install files from build dir.
19030 * manual/install.texi (Configuring and compiling): Adjust since
19031 the info files are not part of the tar ball anymore.
19033 2012-05-14 Andreas Jaeger <aj@suse.de>
19035 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19038 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19041 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19042 to 2.2.0 where earlier.
19043 * sysdeps/unix/sysv/linux/configure: Regenerated.
19044 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19045 Remove conditional code.
19046 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19047 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19048 Remove conditional code.
19049 [!__NR_lchown]: Likewise.
19050 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19051 [__NR_lchown]: Likewise.
19052 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19053 comment referencing __ASSUME_LCHOWN_SYSCALL.
19054 * sysdeps/unix/sysv/linux/i386/sigaction.c
19055 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19056 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19057 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19058 Remove conditional code.
19059 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19060 (__protocol_available): Remove #if 0 code.
19061 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19063 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19064 * sysdeps/unix/sysv/linux/kernel-features.h
19065 (__ASSUME_GETCWD_SYSCALL): Don't define.
19066 (__ASSUME_REALTIME_SIGNALS): Likewise.
19067 (__ASSUME_PREAD_SYSCALL): Likewise.
19068 (__ASSUME_PWRITE_SYSCALL): Likewise.
19069 (__ASSUME_POLL_SYSCALL): Likewise.
19070 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19071 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19073 (__ASSUME_SIOCGIFNAME): Don't define.
19074 (__ASSUME_MSG_NOSIGNAL): Likewise.
19075 (__ASSUME_SENDFILE): Define unconditionally.
19076 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19077 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19079 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19080 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19081 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19082 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19083 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19084 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19085 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19087 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19090 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19096 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19099 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19102 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19108 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19110 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19111 Remove conditional code.
19112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19113 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19114 Remove conditional code.
19115 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19116 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19117 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19118 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19119 Remove conditional code.
19120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19121 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19122 Remove conditional code.
19123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19124 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19125 Remove conditional code.
19126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19127 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19128 Remove conditional code.
19129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19130 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19131 Remove conditional code.
19132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19133 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19134 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19136 * sysdeps/unix/sysv/linux/sigaction.c
19137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19139 * sysdeps/unix/sysv/linux/sigpending.c
19140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19142 * sysdeps/unix/sysv/linux/sigprocmask.c
19143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19145 * sysdeps/unix/sysv/linux/sigsuspend.c
19146 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19147 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19148 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19149 (__libc_missing_rt_sigs): Remove.
19150 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19151 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19152 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19153 Remove conditional code.
19154 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19155 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19157 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19158 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19159 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19160 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19162 2012-05-14 Andreas Jaeger <aj@suse.de>
19164 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19165 it's not used in glibc.
19166 (__coshm1): Likewise.
19167 (__acosh1p): Likewise.
19170 * manual/string.texi (Copying and Concatenation): Add missing
19171 variable in concat example.
19172 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19178 __builtin_clzl with __builtin_clzll.
19180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19183 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19186 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19188 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19189 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19190 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19191 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19193 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19195 * NEWS: Update ia64 info.
19197 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19199 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19202 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19204 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19205 * sysdeps/unix/syscalls.list (dup3): Likewise.
19206 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19207 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19209 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19211 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19212 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19214 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19216 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19218 (TLS_IE): Use mov/add instead of movq/addq to load thread
19220 (TLS_GD_PREFIX): New.
19223 2012-05-11 David S. Miller <davem@davemloft.net>
19225 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19226 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19227 (_FPU_SETCW): Likewise.
19229 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19231 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19232 is 32-byte aligned.
19234 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19237 * iconvdata/gb18030.c: Update tables.
19238 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19239 characters specially.
19240 (BODY for TO_LOOP): Add encoding of missing ranges.
19242 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19245 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19246 * sysdeps/mach/hurd/dup3.c: Likewise.
19247 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19248 * sysdeps/powerpc/memmove.c:: Likewise.
19250 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19253 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19255 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19257 * elf/elf.h (R_X86_64_RELATIVE64): New.
19258 (R_X86_64_NUM): Updated.
19259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19260 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19261 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19262 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19263 tst-quad1pie tst-quad2pie
19264 (modules-names): Add tst-quadmod1 tst-quadmod2.
19265 ($(objpfx)tst-quad1): New dependency.
19266 ($(objpfx)tst-quad2): Likewise.
19267 ($(objpfx)tst-quad1pie): Likewise.
19268 ($(objpfx)tst-quad2pie): Likewise.
19269 * sysdeps/x86_64/tst-quad1.c: New file.
19270 * sysdeps/x86_64/tst-quad1pie.c: New file.
19271 * sysdeps/x86_64/tst-quad2.c: Likewise.
19272 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19273 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19274 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19275 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19276 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19280 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19281 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19282 * streams/stropts.h (t_scalar_t): Define type.
19284 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19285 (_PATH_PRESERVE): Set to "/var/lib".
19286 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19288 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19291 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19292 if __dir_mkfile succeeded.
19294 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19295 checking for _hurd_dtablesize. Unlock it right after having
19296 finished _hurd_dtable allocation.
19298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19300 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19301 * sysdeps/mach/hurd/configure: Regenerated.
19302 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19303 special-casing to...
19304 * sysdeps/gnu/configure.in: ... this new file.
19305 * sysdeps/unix/sysv/linux/configure: Regenerated.
19306 * sysdeps/gnu/configure: New generated file.
19308 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19309 for Linux: use nsec instead of usec, as well as:
19310 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19311 members of type struct timespec.
19312 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19314 (struct stat64): Likewise.
19315 (_STATBUF_ST_NSEC): New macro.
19316 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19318 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19319 __strtoul_internal rather than strtoul.
19321 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19323 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19326 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19328 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19329 which preserves existing values.
19330 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19332 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19334 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19335 TIMEOUT values. Return EINVAL for NFDS values either negative or
19336 greater than FD_SETSIZE.
19338 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19340 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19341 allocated, call __vm_protect to finish enabling the existing space, and
19342 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19343 allocate the remainder.
19345 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19347 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19348 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19350 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19352 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19353 sysdeps/mach/hurd/readlink.c.
19355 * posix/tst-sysconf.c (posix_options): Only use
19356 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19357 _POSIX_SYNCHRONIZED_IO when they are defined
19358 * sysdeps/mach/hurd/bits/posix_opt.h:
19359 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19360 (_XOPEN_REALTIME): Undefine macro.
19361 (_XOPEN_REALTIME_THREADS): Undefine macro.
19362 (_XOPEN_SHM): Undefine macro.
19363 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19365 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19367 (_POSIX_ASYNC_IO): Undefine macro.
19368 (_POSIX_PRIORITIZED_IO): Undefine macro.
19369 (_POSIX_SPIN_LOCKS): Define macro to -1.
19371 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19372 SA_NODEFER, SA_RESETHAND.
19373 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19374 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19379 * elf/Makefile (pldd-modules): Define unconditionally.
19381 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19383 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19387 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19388 Return ENOENT when name is empty.
19389 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19393 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19395 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19399 Fix mlock in all cases except non-readable pages.
19400 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19401 instead of VM_PROT_ALL as parameter to __vm_wire function.
19403 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19404 (__mkdir): When path is `/', just fail with EEXIST.
19405 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19409 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19410 <sys/uio.h> (for writev).
19411 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19412 and <sys/param.h> (for MIN).
19414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19416 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19417 REQUESTED_TIME. Properly set the remaining time and return EINTR
19420 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19422 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19423 Depend on against $(link-rpcuserlibs).
19425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19427 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19428 (__libc_stack_end): Do not use attribute_relro.
19429 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19430 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19431 to libthread-provided value.
19432 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19438 * bits/libc-lock.h (__libc_once_get): New macro.
19439 * sysdeps/mach/bits/libc-lock.h: Likewise.
19440 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19442 instead of using implementation details.
19444 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19445 * libio/freopen.c: Likewise.
19446 * libio/freopen64.c: Likewise.
19447 * misc/syslog.c: Likewise.
19448 * nscd/connections.c: Likewise.
19449 * nscd/netgroupcache.c: Likewise.
19450 * sysdeps/posix/getcwd.c: Likewise.
19452 2012-05-10 Roland McGrath <roland@hack.frob.com>
19454 * math/w_ilogbf.c: Add #include <limits.h>.
19456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19458 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19459 path instead of returning without unlocking.
19461 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19462 immediate-write ioctls.
19463 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19467 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19468 __builtin_frame_address instead of making assumptions about the
19469 location of the return address relative to DATA. Force early load of
19470 the return address.
19471 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19472 __builtin_frame_address.
19475 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19476 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19477 implement dup3 and do some further code clean-ups.
19478 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19479 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19481 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19483 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19485 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19486 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19487 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19488 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19489 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19492 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19493 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19494 when handler == SIG_ERR, not when handler != SIG_ERR.
19496 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19498 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19499 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19502 accept4 for GNU Hurd.
19503 * include/sys/socket.h (__libc_accept4): New prototype.
19504 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19505 to implement __libc_accept4.
19506 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19508 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19510 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19511 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19512 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19513 signal-defines.sym.
19515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19517 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19519 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19521 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19522 assertion on O_CLOEXEC flag.
19523 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19524 * hurd/intern-fd.c: Likewise.
19525 * hurd/port2fd.c: Likewise.
19527 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19530 * bits/in.h (IPV6_PKTINFO): Define new macro.
19531 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19533 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19538 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19539 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19540 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19543 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19544 * math/libm-test.inc (logb_test) : Additional logb tests.
19546 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19547 Andreas Jaeger <aj@suse.de>
19549 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19550 * configure: Regenerated.
19551 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19552 * config.make.in (link-obsolete-rpc): New substituted variable.
19553 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19554 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19555 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19556 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19557 so that libc.a contains the symbols.
19558 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19559 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19560 * sunrpc/auth_none.c: Likewise.
19561 * sunrpc/auth_unix.c: Likewise.
19562 * sunrpc/authdes_prot.c: Likewise.
19563 * sunrpc/authuxprot.c: Likewise.
19564 * sunrpc/clnt_gen.c: Likewise.
19565 * sunrpc/clnt_perr.c: Likewise.
19566 * sunrpc/clnt_raw.c: Likewise.
19567 * sunrpc/clnt_simp.c: Likewise.
19568 * sunrpc/clnt_tcp.c: Likewise.
19569 * sunrpc/clnt_udp.c: Likewise.
19570 * sunrpc/clnt_unix.c: Likewise.
19571 * sunrpc/des_crypt.c: Likewise.
19572 * sunrpc/des_soft.c: Likewise.
19573 * sunrpc/get_myaddr.c: Likewise.
19574 * sunrpc/key_call.c: Likewise.
19575 * sunrpc/key_prot.c: Likewise.
19576 * sunrpc/netname.c: Likewise.
19577 * sunrpc/pm_getmaps.c: Likewise.
19578 * sunrpc/pm_getport.c: Likewise.
19579 * sunrpc/pmap_clnt.c: Likewise.
19580 * sunrpc/pmap_prot.c: Likewise.
19581 * sunrpc/pmap_prot2.c: Likewise.
19582 * sunrpc/pmap_rmt.c: Likewise.
19583 * sunrpc/publickey.c: Likewise.
19584 * sunrpc/rpc_cmsg.c: Likewise.
19585 * sunrpc/rpc_common.c: Likewise.
19586 * sunrpc/rpc_dtable.c: Likewise.
19587 * sunrpc/rpc_prot.c: Likewise.
19588 * sunrpc/rpc_thread.c: Likewise.
19589 * sunrpc/rtime.c: Likewise.
19590 * sunrpc/svc.c: Likewise.
19591 * sunrpc/svc_auth.c: Likewise.
19592 * sunrpc/svc_raw.c: Likewise.
19593 * sunrpc/svc_run.c: Likewise.
19594 * sunrpc/svc_tcp.c: Likewise.
19595 * sunrpc/svc_udp.c: Likewise.
19596 * sunrpc/svc_unix.c: Likewise.
19597 * sunrpc/svcauth_des.c: Likewise.
19598 * sunrpc/xcrypt.c: Likewise.
19599 * sunrpc/xdr.c: Likewise.
19600 * sunrpc/xdr_array.c: Likewise.
19601 * sunrpc/xdr_float.c: Likewise.
19602 * sunrpc/xdr_intXX_t.c: Likewise.
19603 * sunrpc/xdr_mem.c: Likewise.
19604 * sunrpc/xdr_rec.c: Likewise.
19605 * sunrpc/xdr_ref.c: Likewise.
19606 * sunrpc/xdr_sizeof.c: Likewise.
19607 * sunrpc/xdr_stdio.c: Likewise.
19609 2012-05-10 Roland McGrath <roland@hack.frob.com>
19611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19612 change. Update copyright years.
19614 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19616 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19618 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19619 Joseph Myers <joseph@codesourcery.com>
19620 Paul Pluzhnikov <ppluzhnikov@google.com>
19623 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19625 [cross-compiling] (extra-libs): Likewise.
19626 [cross-compiling] (extra-libs-others): Likewise.
19627 [cross-compiling] (librpcsvc-routines): Likewise.
19628 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19629 [cross-compiling] (omit-deps): Likewise.
19630 (sunrpc-CPPFLAGS): New variable.
19631 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19632 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19633 (cross-rpcgen-objs): New variable.
19634 (extra-objs): Append $(cross-rpcgen-objs).
19635 ($(cross-rpcgen-objs)): New rule.
19636 ($(objpfx)cross-rpcgen): Likewise.
19637 (rpcgen-cmd): Define to use $(built-program-file). Expand
19639 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19640 ($(objpfx)x%.stmp): Likewise.
19641 * sunrpc/proto.h [IS_IN_build] (_): Define.
19642 [IS_IN_build] (_libc_intl_domainname): Likewise.
19644 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19647 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19648 and R_X86_64_TPOFF64.
19650 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19652 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19653 sysdeps/unix/sysv/syscalls.list.
19656 * sysdeps/unix/sysv/syscalls.list: Remove file.
19658 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19661 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19662 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19663 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19664 (__LC_IDENTIFICATION): Make these macros useful in #if
19665 expressions, as required by C99.
19667 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19669 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19670 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19673 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19675 * stdlib/longlong.h: Updated from GCC.
19677 2012-05-09 Andreas Jaeger <aj@suse.de>
19679 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19680 default is first entry.
19681 (run_mode): Set type.
19682 (main): Remove informal message about syslog.
19683 (options): Fix typo.
19686 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19689 (llrintf): Likewise.
19690 (llrint): Likewise.
19693 (nearbyint): Likewise.
19694 (nearbyintf): Likewise.
19696 2012-05-09 Andreas Jaeger <aj@suse.de>
19697 Pedro Alves <palves@redhat.com>
19699 * nscd/nscd.c (run_mode): Use enum.
19700 (main): Cleanup coding style issue.
19702 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19703 Andreas Jaeger <aj@suse.de>
19705 * nscd/nscd.c (go_background): Replaced with...
19706 (run_mode): ... this.
19707 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19708 (options): Add -F --foreground.
19709 (main): Implement it.
19710 (parse_opt): Parse it.
19712 2012-05-09 Andreas Jaeger <aj@suse.de>
19715 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19716 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19717 -Wconversion warning.
19718 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19721 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19723 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19725 (LC_ALL): Use macro-int-constant.
19726 (LC_COLLATE): Likewise.
19727 (LC_CTYPE): Likewise.
19728 (LC_MESSAGES): Likewise.
19729 (LC_MONETARY): Likewise.
19730 (LC_NUMERIC): Likewise.
19731 (LC_TIME): Likewise.
19732 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19733 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19734 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19735 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19737 [C99-based standards] (float_t): Expect type.
19738 [C99-based standards] (double_t): Expect type.
19739 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19741 [C99-based standards] (HUGE_VALL): Likewise.
19742 [C99-based standards] (INFINITY): Likewise.
19743 [C99-based standards] (NAN): Likewise.
19744 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19745 [C99-based standards] (FP_NAN): Likewise.
19746 [C99-based standards] (FP_NORMAL): Likewise.
19747 [C99-based standards] (FP_SUBNORMAL): Likewise.
19748 [C99-based standards] (FP_ZERO): Likewise.
19749 [C99-based standards] (FP_FAST_FMA): Use
19750 optional-macro-int-constant. Specify type. Require == 1.
19751 [C99-based standards] (FP_FAST_FMAF): Likewise.
19752 [C99-based standards] (FP_FAST_FMAL): Likewise.
19753 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19754 [C99-based standards] (FP_ILOGBNAN): Likewise.
19755 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19757 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19758 [C99-based standards] (math_errhandling): Specify type.
19759 [ISO99 || ISO11] (signgam): Do not allow.
19760 [non-C99-based standards] (copysignf): Do not allow.
19761 [non-C99-based standards] (exp2f): Likewise.
19762 [non-C99-based standards] (log2f): Likewise.
19763 [non-C99-based standards] (modff): Allow.
19764 [non-C99-based standards] (erff): Do not allow.
19765 [non-C99-based standards] (erfcf): Likewise.
19766 [non-C99-based standards] (gammaf): Likewise.
19767 [non-C99-based standards] (hypotf): Likewise.
19768 [non-C99-based standards] (j0f): Likewise.
19769 [non-C99-based standards] (j1f): Likewise.
19770 [non-C99-based standards] (jnf): Likewise.
19771 [non-C99-based standards] (lgammaf): Likewise.
19772 [non-C99-based standards] (tgammaf): Likewise.
19773 [non-C99-based standards] (y0f): Likewise.
19774 [non-C99-based standards] (y1f): Likewise.
19775 [non-C99-based standards] (ynf): Likewise.
19776 [non-C99-based standards] (isnanf): Likewise.
19777 [non-C99-based standards] (acoshf): Likewise.
19778 [non-C99-based standards] (asinhf): Likewise.
19779 [non-C99-based standards] (atanhf): Likewise.
19780 [non-C99-based standards] (cbrtf): Likewise.
19781 [non-C99-based standards] (expm1f): Likewise.
19782 [non-C99-based standards] (ilogbf): Likewise.
19783 [non-C99-based standards] (log1pf): Likewise.
19784 [non-C99-based standards] (logbf): Likewise.
19785 [non-C99-based standards] (nextafterf): Likewise.
19786 [non-C99-based standards] (remainderf): Likewise.
19787 [non-C99-based standards] (rintf): Likewise.
19788 [non-C99-based standards] (scalbf): Likewise.
19789 [non-C99-based standards] (copysignl): Likewise.
19790 [non-C99-based standards] (exp2l): Likewise.
19791 [non-C99-based standards] (log2l): Likewise.
19792 [non-C99-based standards] (modfl): Allow.
19793 [non-C99-based standards] (erfl): Do not allow.
19794 [non-C99-based standards] (erfcl): Likewise.
19795 [non-C99-based standards] (gammal): Likewise.
19796 [non-C99-based standards] (hypotl): Likewise.
19797 [non-C99-based standards] (j0l): Likewise.
19798 [non-C99-based standards] (j1l): Likewise.
19799 [non-C99-based standards] (jnl): Likewise.
19800 [non-C99-based standards] (lgammal): Likewise.
19801 [non-C99-based standards] (tgammal): Likewise.
19802 [non-C99-based standards] (y0l): Likewise.
19803 [non-C99-based standards] (y1l): Likewise.
19804 [non-C99-based standards] (ynl): Likewise.
19805 [non-C99-based standards] (isnanl): Likewise.
19806 [non-C99-based standards] (acoshl): Likewise.
19807 [non-C99-based standards] (asinhl): Likewise.
19808 [non-C99-based standards] (atanhl): Likewise.
19809 [non-C99-based standards] (cbrtl): Likewise.
19810 [non-C99-based standards] (expm1l): Likewise.
19811 [non-C99-based standards] (ilogbl): Likewise.
19812 [non-C99-based standards] (log1pl): Likewise.
19813 [non-C99-based standards] (logbl): Likewise.
19814 [non-C99-based standards] (nextafterl): Likewise.
19815 [non-C99-based standards] (remainderl): Likewise.
19816 [non-C99-based standards] (rintl): Likewise.
19817 [non-C99-based standards] (scalbl): Likewise.
19818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19819 [non-C99-based standards] (FP_*): Do not allow.
19820 [C99-based standards] (FP_*): Change to
19821 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19822 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19824 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19825 (SIG_ERR): Likewise.
19826 [X/Open-based standards] (SIG_HOLD): Likewise.
19827 (SIG_IGN): Likewise.
19828 (SIGABRT): Use macro-int-constant. Specify type. Require
19830 (SIGFPE): Likewise.
19831 (SIGILL): Likewise.
19832 (SIGINT): Likewise.
19833 (SIGSEGV): Likewise.
19834 (SIGTER): Likewise.
19835 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19836 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19837 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19838 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19839 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19840 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19841 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19842 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19843 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19844 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19845 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19846 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19847 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19848 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19849 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19850 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19851 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19852 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19853 [X/Open-based standards] (SIGTRAP): Likewise.
19854 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19855 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19856 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19857 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19858 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19861 2012-05-08 Ian Wienand <ianw@vmware.com>
19864 * time/tzset.c (__tzset_parse_tz): Update default rules for
19865 daylight time changes in the Energy Policy Act of 2005.
19867 2012-05-09 Andreas Jaeger <aj@suse.de>
19870 * elf/ldconfig.c (parse_conf): Change string to make clear that
19871 ldconfig only issued a warning if ld.so.conf does not exist.
19873 2012-05-08 David S. Miller <davem@davemloft.net>
19875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19876 movxtod instead of popping the value on the stack.
19878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19880 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19882 * config.h.in: Add HAVE_ARM_PCS_VFP.
19884 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19887 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19888 checking but the checks are disabled for any reason.
19890 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19892 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19893 and ELF64_R_TYPE with ELFW(R_TYPE).
19895 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19897 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19898 (ulimit): Likewise.
19900 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19901 (settimeofday): Likewise.
19903 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19905 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19906 a struct th_u2 inside the union, and move tu_block/tu_code into
19907 a new th_u3 union of tu_block/tu_code inside of that. Move
19908 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19909 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19910 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19911 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19912 (th_stuff): Change to th_u1.tu_stuff.
19914 (th_msg): Change to th_u1.th_u2.tu_data.
19916 2012-05-07 David S. Miller <davem@davemloft.net>
19918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19921 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19922 (SETUP_PIC_REG): Use it.
19923 (SETUP_PIC_REG_LEAF): Use it.
19925 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19929 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19931 (EXPL_FINITE): Likewise.
19932 (FLDLOG): Likewise.
19933 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19934 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19938 (EXPL_FINITE): Likewise.
19939 (FLDLOG): Likewise.
19940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19941 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19943 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19944 test of -max_value argument for long double.
19945 * sysdeps/i386/fpu/libm-test-ulps: Update.
19946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948 2012-05-06 David S. Miller <davem@davemloft.net>
19950 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19951 quad soft-float symbols whose references which are compiler
19953 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19955 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19959 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19961 (EXPL_FINITE): Likewise.
19962 (FLDLOG): Likewise.
19965 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19966 Adjust comments for base varying.
19967 (__expl_finite): Change alias to EXPL_FINITE.
19968 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19970 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19971 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19972 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19973 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19974 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19976 (EXPL_FINITE): Likewise.
19977 (FLDLOG): Likewise.
19980 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19981 Adjust comments for base varying.
19982 (__expl_finite): Change alias to EXPL_FINITE.
19983 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19988 * math/libm-test.inc (check_float_internal): Correct ulp
19989 calculation for subnormal expected results.
19991 2012-05-06 Andreas Jaeger <aj@suse.de>
19993 * Makeconfig (+math-flags): New, set to -frounding-math.
19994 (+cflags): Add +math-flags so that all of glibc gets compiled with
19997 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19999 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20001 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20007 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20008 (__ieee754_expl): Allow for and saturate large arguments.
20009 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20010 (u_threshold): Likewise.
20011 (__exp): Call __ieee754_exp before checking for overflow and
20013 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20014 (u_threshold): Likewise.
20015 (__expf): Call __ieee754_expf before checking for overflow and
20017 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20018 (u_threshold): Likewise.
20019 (__expl): Call __ieee754_expl before checking for overflow and
20021 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20022 (__ieee754_expl): Allow for and saturate large arguments.
20023 * math/libm-test.inc (exp_test): Add another test. Do not allow
20024 missing overflow exception on overflow.
20025 (expm1_test): Do not allow missing overflow exception on overflow.
20027 * sysdeps/i386/fpu/e_expl.c: Move to ...
20028 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20029 rather than using inline asm.
20030 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20031 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20032 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20034 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20037 (signal): Likewise.
20041 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20043 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20044 sysdeps/unix/common/syscalls.list.
20045 (fchmod): Likewise.
20046 (fchown): Likewise.
20047 (ftruncate): Likewise.
20048 (getrusage): Likewise.
20049 (gettimeofday): Likewise.
20050 (setpgid): Likewise.
20051 (setregid): Likewise.
20052 (setreuid): Likewise.
20053 (sigaction): Likewise.
20054 (truncate): Likewise.
20055 (vhangup): Likewise.
20056 * sysdeps/unix/common/syscalls.list: Remove file.
20057 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20058 * sysdeps/unix/sysv/linux/Implies: Likewise.
20060 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20062 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20064 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20068 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20071 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20074 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20077 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20080 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20083 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20086 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20090 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20094 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20097 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20101 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20105 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20107 * sysdeps/unix/common/bits/dirent.h: Remove file.
20108 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20110 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20111 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20112 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20113 * sysdeps/unix/bsd/isatty.c: Likewise.
20114 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20115 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20116 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20118 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20121 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20122 long double comparison inaccuracies.
20123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20126 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20128 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20131 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20135 nonzero digits before rounding a hex value.
20136 * stdlib/tst-strtod.c (tests): Add another test.
20138 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20140 * sysdeps/s390/fpu/libm-test-ulps: Update.
20142 2012-05-03 Andreas Jaeger <aj@suse.de>
20144 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20145 does not get optimized out.
20146 (malloc_opt_barrier): New.
20148 2012-05-03 Andreas Jaeger <aj@suse.de>
20149 Roland McGrath <roland@hack.frob.com>
20151 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20152 intermediate file deletion.
20153 (generated): Add .symlist files.
20155 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20158 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20159 Redirect under this condition.
20160 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20161 [__USE_GNU] (__dprintf_chk): Not under this condition.
20162 [__USE_GNU] (__vdprintf_chk): Likewise.
20163 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20164 under this condition.
20165 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20166 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20167 [__USE_XOPEN2K8] (vdprintf): Likewise.
20168 [__USE_GNU] (__dprintf_chk): Not under this condition.
20169 [__USE_GNU] (__vdprintf_chk): Likewise.
20170 [__USE_GNU] (dprintf): Likewise.
20171 [__USE_GNU] (vdprintf): Likewise.
20173 2012-05-03 Roland McGrath <roland@hack.frob.com>
20175 * elf/Makefile (common-generated): Set this instead of generated for
20176 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20177 $(all-built-dso)-derived lists.
20179 2012-05-03 Andreas Jaeger <aj@suse.de>
20181 * sysdeps/i386/fpu/libm-test-ulps: Update.
20184 * FAQ.in: Likewise.
20185 * scripts/gen-FAQ.pl: Likewise.
20186 * manual/install.texi (Installation): Point to online location of
20188 * Makefile (files-for-dist): Remove FAQ.
20191 2012-05-02 Allan McRae <allan@archlinux.org>
20193 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20194 (LDFLAGS-reldepmod5.so): Likewise.
20195 (LDFLAGS-reldep6mod1.so): Likewise.
20196 (LDFLAGS-reldep6mod4.so): Likewise.
20197 (LDFLAGS-reldep8mod3.so): Likewise.
20198 (LDFLAGS-unload4mod1.so): Likewise.
20199 (LDFLAGS-unload4mod2.so): Likewise.
20200 (LDFLAGS-tst-initorder): Likewise.
20201 (LDFLAGS-tst-initordera2.so): Likewise.
20202 (LDFLAGS-tst-initordera3.so): Likewise.
20203 (LDFLAGS-tst-initordera4.so): Likewise.
20204 (LDFLAGS-tst-initorderb2.so): Likewise.
20205 (LDFLAGS-noload): Likewise.
20206 (LDFLAGS-next): Likewise.
20207 (LDFLAGS-order2mod1.so): Likewise.
20208 (LDFLAGS-order2mod2.so): Likewise.
20209 (LDFLAGS-tst-initorder2): Likewise.
20210 (LDFLAGS-tst-initorder2a.so): Likewise.
20211 (LDFLAGS-tst-initorder2b.so): Likewise.
20212 (LDFLAGS-tst-initorder2c.so): Likewise.
20213 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20215 2012-05-02 David S. Miller <davem@davemloft.net>
20217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20219 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20222 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20224 2012-05-02 Andreas Jaeger <aj@suse.de>
20226 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20227 since we manipulate rounding mode.
20228 (CPPFLAGS-test-idouble.c): Likewise.
20229 (CPPFLAGS-test-ifloat.c): Likewise.
20230 (CFLAGS-test-ldouble.c): Likewise.
20231 (CFLAGS-test-double.c): Likewise.
20232 (CFLAGS-test-float.c): Likewise.
20233 (CFLAGS-test-misc.c): Likewise.
20234 (CFLAGS-test-test-fenv.c): Likewise.
20236 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20241 comparisons to determine direction to adjust input.
20243 2012-05-01 Roland McGrath <roland@hack.frob.com>
20245 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20246 output to the target.
20248 * scripts/localplt.awk: New file.
20249 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20250 (check-localplt-CFLAGS): Variable removed.
20251 ($(all-built-dso:=.jmprel)): New static pattern rule.
20252 (generated): Add those targets.
20253 (localplt-built-dso): New variable.
20254 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20256 * elf/check-localplt.c: File removed.
20258 * scripts/check-execstack.awk: New file.
20259 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20260 (check-execstack-CFLAGS): Variable removed.
20261 ($(objpfx)check-execstack.h): Target removed.
20262 ($(objpfx)execstack-default): New target.
20263 (generated): Add that instead of check-execstack.h.
20264 ($(all-built-dso:=.phdr)): New static pattern rule.
20265 (generated): Add those targets.
20266 * elf/check-execstack.c: File removed.
20268 * scripts/check-textrel.awk: New file.
20269 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20270 (check-textrel-CFLAGS): Variable removed.
20271 (all-built-dso): Use := to define.o
20272 ($(all-built-dso:=.dyn)): New static pattern rule.
20273 (generated): Add those targets.
20274 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20275 * config.make.in (READELF): New substituted variable.
20276 * elf/check-textrel.c: File removed.
20278 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20280 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20282 * conform/data/ctype.h-data [C99-based standards] (isblank):
20284 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20285 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20287 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20288 Specify type. Require positive value.
20289 (EILSEQ): Likewise.
20290 (ERANGE): Likewise.
20291 [ISO || POSIX] (EILSEQ): Do not expect.
20292 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20293 Specify type. Require positive value.
20294 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20298 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20302 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20303 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20304 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20306 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20309 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20310 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20315 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20317 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20318 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20333 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20334 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20335 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20336 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20337 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20338 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20339 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20340 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20341 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20342 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20343 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20344 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20345 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20346 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20347 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20348 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20349 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20350 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20351 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20352 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20353 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20354 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20355 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20356 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20357 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20358 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20359 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20360 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20361 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20362 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20363 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20364 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20365 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20366 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20367 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20368 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20369 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20370 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20372 (FLT_ROUNDS): Expect as macro, not constant.
20373 (FLT_MANT_DIG): Use macro-int-constant.
20374 (DBL_MANT_DIG): Likewise.
20375 (LDBL_MANT_DIG): Likewise.
20376 (FLT_DIG): Likewise.
20377 (DBL_DIG): Likewise.
20378 (LDBL_DIG): Likewise.
20379 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20380 (DBL_MIN_EXP): Likewise.
20381 (LDBL_MIN_EXP): Likewise.
20382 (FLT_MAX_EXP): Use macro-int-constant.
20383 (DBL_MAX_EXP): Likewise.
20384 (LDBL_MAX_EXP): Likewise.
20385 (FLT_MAX_10_EXP): Likewise.
20386 (DBL_MAX_10_EXP): Likewise.
20387 (LDBL_MAX_10_EXP): Likewise.
20388 (FLT_MAX): Use macro-constant.
20389 (DBL_MAX): Likewise.
20390 (LDBL_MAX): Likewise.
20391 (FLT_EPSILON): Use macro-constant. Give upper bound.
20392 (DBL_EPSILON): Likewise.
20393 (LDBL_EPSILON): Likewise.
20394 (FLT_MIN): Likewise.
20395 (DBL_MIN): Likewise.
20396 (LDBL_MIN): Likewise.
20397 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20398 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20399 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20400 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20401 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20402 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20403 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20404 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20405 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20406 [ISO11] (FLT_TRUE_MIN): Likewise.
20407 [ISO11] (LDBL_TRUE_MIN): Likewise.
20408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20409 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20410 (SCHAR_MIN): Use macro-int-constant. Specify type.
20411 (SCHAR_MAX): Likewise.
20412 (UCHAR_MAX): Likewise.
20413 (CHAR_MIN): Likewise.
20414 (CHAR_MAX): Likewise.
20415 (MB_LEN_MAX): Use macro-int-constant.
20416 (SHRT_MIN): Use macro-int-constant. Specify type.
20417 (SHRT_MAX): Likewise.
20418 (USHRT_MAX): Likewise.
20419 (INT_MAX): Likewise.
20420 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20422 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20424 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20426 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20427 bound negative. Suffix upper bound with "L".
20428 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20430 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20432 [C99-based standards] (LLONG_MAX): Likewise.
20433 [C99-based standards] (ULLONG_MAX): Likewise.
20434 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20436 [ISO11] (max_align_t): Require type.
20437 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20439 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20440 from $CFLAGS, without defining away __attribute__ calls.
20441 (checknamespace): Use $CFLAGS_namespace.
20443 * conform/conformtest.pl (@keywords): Only include C99 keywords
20444 for standards based on C99 or C11.
20446 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20448 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20451 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20452 usability of symbols in #if.
20454 * conform/conformtest.pl: If macro or constant types start
20455 "promoted:", expect the symbol to be of the following type
20456 promoted by the integer promotions.
20458 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20459 in one place. Also handle "macro-constant".
20461 * conform/conformtest.pl: Only accept expected macro values with
20462 "==". Parse all "macro" lines in one place.
20463 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20465 * conform/conformtest.pl: Handle braced types on "constant" lines
20466 instead of handling "typed-constant".
20467 * conform/data/signal.h-data: Use "constant" instead of
20470 * conform/conformtest.pl: Handle "optional-" at start of lines in
20471 one place rather than duplicating several cases. Handle each
20472 format of "macro" line with initial "optional-".
20474 * conform/conformtest.pl: Only accept expected constant or
20475 optional-constant values with "==". Parse all "constant" lines in
20476 one place. Parse all "optional-constant" lines in one place.
20477 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20478 * conform/data/fmtmsg.h-data: Likewise.
20479 * conform/data/netinet/in.h-data: Likewise.
20480 * conform/data/tar.h-data: Likewise.
20481 * conform/data/limits.h-data: Use "==" form on "constant" and
20482 "optional-constant" lines.
20484 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20485 Use -std=c99 for XOPEN2K.
20486 (@knownproblems): Remove.
20487 (newtoken): Don't check %isknown.
20489 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20490 Do not expect macro.
20491 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20503 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20504 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20521 [XPG3] (acosh): Likewise.
20522 [XPG3] (asinh): Likewise.
20523 [XPG3] (atanh): Likewise.
20524 [XPG3] (cbrt): Likewise.
20525 [XPG3] (expm1): Likewise.
20526 [XPG3] (ilogb): Likewise.
20527 [XPG3] (log1p): Likewise.
20528 [XPG3] (logb): Likewise.
20529 [XPG3] (nextafter): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20532 [XPG3] (remainder): Likewise.
20533 [XPG3] (rint): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20541 [UNIX98 || XOPEN2K] (scalb): Expect.
20542 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20543 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20644 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20645 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20646 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20647 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20648 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20649 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20650 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20651 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20652 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20653 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20654 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20655 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20656 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20657 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20658 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20659 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20660 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20661 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20662 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20663 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20664 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20665 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20666 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20667 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20668 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20669 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20670 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20671 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20672 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20673 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20674 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20675 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20676 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20677 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20678 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20680 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20681 _XOPEN_SOURCE_EXTENDED for XPG4.
20683 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20685 * Makeconfig (localtime): Remove variable.
20686 (inst_localtime-file): Likewise.
20688 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20709 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20713 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20714 comparisons to determine direction to adjust input.
20715 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20716 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20717 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20724 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20726 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20728 * math/libm-test.inc (nexttoward_test): Add more tests.
20730 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20733 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20734 in version GLIBC_2.1, not GLIBC_2.0.
20735 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20738 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20741 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20743 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20744 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20745 * math/libm-test.inc (acos_test): Add more tests.
20746 (asin_test): Likewise.
20747 * sysdeps/i386/fpu/libm-test-ulps: Update.
20748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20751 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20753 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20754 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20755 * math/libm-test.inc (acos_test_tonearest): New function.
20756 (acos_test_towardzero): Likewise.
20757 (acos_test_downward): Likewise.
20758 (acos_test_upward): Likewise.
20759 (asin_test_tonearest): Likewise.
20760 (asin_test_towardzero): Likewise.
20761 (asin_test_downward): Likewise.
20762 (asin_test_upward): Likewise.
20763 (main): Call the new functions.
20764 * sysdeps/i386/fpu/libm-test-ulps: Update.
20765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20769 * math/e_exp10.c: Include <float.h>.
20770 (__ieee754_exp10): Handle underflow here rather than multiplying
20771 large negative argument by M_LN10.
20772 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20774 * math/e_exp10l.c: Include <float.h>.
20775 (__ieee754_exp10l): Handle underflow here rather than multiplying
20776 large negative argument by M_LN10l.
20777 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20778 spurious overflow exception on underflow.
20780 2012-04-29 Marek Polacek <polacek@redhat.com>
20782 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20783 (__fortify_function): New macro.
20784 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20785 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20786 __extern_always_inline.
20787 * libio/bits/stdio2.h: Likewise.
20788 * libio/bits/stdio.h: Likewise.
20789 * string/string.h: Likewise.
20790 * string/bits/string3.h: Likewise.
20791 * include/stdio.h: Likewise.
20792 * stdlib/bits/stdlib.h: Likewise.
20793 * stdlib/stdlib.h: Likewise.
20794 * rt/bits/mqueue2.h: Likewise.
20795 * rt/mqueue.h: Likewise.
20796 * posix/bits/unistd.h: Likewise.
20797 * posix/unistd.h: Likewise.
20798 * io/bits/poll2.h: Likewise.
20799 * io/bits/fcntl2.h: Likewise.
20800 * io/fcntl.h: Likewise.
20801 * io/sys/poll.h: Likewise.
20802 * misc/bits/syslog.h: Likewise.
20803 * misc/bits/syslog-ldbl.h: Likewise.
20804 * misc/sys/syslog.h: Likewise.
20805 * socket/bits/socket2.h: Likewise.
20806 * socket/sys/socket.h: Likewise.
20807 * debug/tst-chk1.c: Likewise.
20808 * wcsmbs/bits/wchar2.h: Likewise.
20809 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20810 * wcsmbs/wchar.h: Likewise.
20812 2012-04-29 Andreas Jaeger <aj@suse.de>
20814 * Makerules (tests): Remove enable-check-abi protection.
20815 (check-abi-warn): Remove.
20816 (check-abi-%): Remove check-abi-warn usage.
20818 * configure.in: Remove check-abi configure option.
20819 * configure: Regenerated.
20820 * config.make.in (enable-check-abi): Remove.
20822 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20825 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20826 double functions to double *_finite functions.
20829 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20830 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20832 * stdio-common/Makefile (tests): Add tst-sprintf3.
20833 * stdio-common/tst-sprintf3.c: New file.
20835 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20836 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20838 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20840 * conform/conformtest.pl: Remove duplicate typed-constant
20843 2012-04-28 David S. Miller <davem@davemloft.net>
20845 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20846 (check-abi-%): Remove AWK script prerequisite and explicit
20848 (check-abi): Rewrite to just diff the symlist with the abilist.
20849 (config-tls, config-abi-config): Delete, no longer used.
20850 (update-abi-%): Remove AWK script and explicit abilist directory.
20851 (update-abi): Rewrite to simply compare and conditionally copy the
20852 symlist and the sysdep abilist file. Remove update-abi-config
20854 * abilist/ld.abilist: Remove.
20855 * abilist/libBrokenLocale.abilist: Remove.
20856 * abilist/libanl.abilist: Remove.
20857 * abilist/libcrypt.abilist: Remove.
20858 * abilist/libdl.abilist: Remove.
20859 * abilist/librt.abilist: Remove.
20860 * abilist/libthread_db.abilist: Remove.
20861 * abilist/libutil.abilist: Remove.
20862 * scripts/extract-abilist.awk: Remove.
20863 * scripts/merge-abilist.awk: Remove.
20864 * sysdeps/generic/libcidn.abilist: New file.
20865 * sysdeps/generic/libnss_compat.abilist: New file.
20866 * sysdeps/generic/libnss_db.abilist: New file.
20867 * sysdeps/generic/libnss_dns.abilist: New file.
20868 * sysdeps/generic/libnss_files.abilist: New file.
20869 * sysdeps/generic/libnss_hesiod.abilist: New file.
20870 * sysdeps/generic/libnss_nis.abilist: New file.
20871 * sysdeps/generic/libnss_nisplus.abilist: New file.
20872 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20873 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20874 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20877 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20878 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20879 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20880 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20881 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20882 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20883 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20884 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20886 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20887 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20888 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20889 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20891 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20892 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20893 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20894 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20895 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20896 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20898 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20899 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20900 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20902 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20913 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20915 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21005 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21006 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21007 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21010 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21011 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21012 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21013 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21014 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21015 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21016 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21017 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21018 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21070 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21072 * conform/conformtest.pl: Fix typo in handling typed-constant from
21075 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21077 * README: Cut down references to pre-2.6 Linux kernels and
21078 Linuxthreads. Update lists of configurations in libc and ports
21079 and sort alphabetically. Say "or newer" with Linux kernel version
21082 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21084 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21087 * math/libm-test.inc (logb_test_downward): New test to expose
21088 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21091 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21094 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21096 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21097 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21099 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21101 * sysdeps/unix/i386/brk.S: Remove file.
21102 * sysdeps/unix/i386/dl-brk.S: Likewise.
21103 * sysdeps/unix/i386/pipe.S: Likewise.
21104 * sysdeps/unix/i386/sigreturn.S: Likewise.
21105 * sysdeps/unix/i386/syscall.S: Likewise.
21106 * sysdeps/unix/i386/vfork.S: Likewise.
21107 * sysdeps/unix/i386/wait.S: Likewise.
21109 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21110 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21112 * configure.in (arm*-none*): Do not allow without
21113 --enable-hacker-mode.
21114 (netbsd*): Remove case setting base_os.
21115 (386bsd*): Likewise.
21116 (freebsd*): Likewise.
21119 (sunos*): Likewise.
21120 (ultrix*): Likewise.
21121 (newsos*): Likewise.
21122 (dynix*): Likewise.
21128 (minix*): Likewise.
21129 (irix4*): Likewise.
21130 (irix6*): Likewise.
21131 (solaris[2-9]*): Likewise.
21133 * configure: Regenerated.
21135 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21138 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21139 overflow or cancellation in calculating denominator.
21140 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21142 down expression to avoid unexpected rounding in newer GCCs.
21143 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21145 2012-04-26 David S. Miller <davem@davemloft.net>
21147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21148 long-double compat symbols.
21149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21163 2012-04-25 David S. Miller <davem@davemloft.net>
21165 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21166 HWCAP_* values only after the memory barriers have been defined.
21167 (atomic_full_barrier): Define.
21168 (atomic_read_barrier): Define.
21169 (atomic_write_barrier): Define.
21171 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21173 * shlib-versions: Add libgcc_s version information.
21174 * sysdeps/generic/libgcc_s.h: Remove.
21175 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21177 * sysdeps/gnu/unwind-resume.c: Likewise.
21178 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21180 2012-04-25 David S. Miller <davem@davemloft.net>
21182 * sysdeps/unix/sparc/brk.S: Delete.
21183 * sysdeps/unix/sparc/dl-brk.S: Delete.
21184 * sysdeps/unix/sparc/pipe.S: Delete.
21185 * sysdeps/unix/sparc/sysdep.S: Delete.
21186 * sysdeps/unix/sparc/sysdep.h: Delete.
21187 * sysdeps/unix/sparc/vfork.S: Delete.
21188 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21189 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21191 ret_ERRVAL, r0, r1, MOVE): Define.
21192 (JUMPTARGET): Remove.
21193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21194 sysdeps/unix/sparc/sysdep.h
21195 (ENTRY, END): Remove.
21196 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21198 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21200 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21201 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21204 * timezone/README: Update upstream location and email address for
21206 * timezone/zdump.c: Update from tzcode 2012b.
21207 * timezone/zic.c: Likewise.
21209 * configure.in (libc_cv_as_needed): Remove test.
21210 * configure: Regenerated.
21211 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21212 conditional definition.
21213 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21214 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21215 * config.make.in (have-as-needed): Remove variable.
21217 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21218 Paul Pluzhnikov <ppluzhnikov@google.com>
21220 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21223 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21225 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21226 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21227 * sysdeps/sh/strlen.S: Likewise.
21229 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21231 * sysdeps/unix/fork.S: Remove file.
21232 * sysdeps/unix/i386/fork.S: Likewise.
21233 * sysdeps/unix/sparc/fork.S: Likewise.
21235 * sysdeps/unix/system.c: Remove file.
21236 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21238 * sysdeps/unix/getegid.S: Remove file.
21239 * sysdeps/unix/geteuid.S: Likewise.
21241 2012-04-24 Roland McGrath <roland@hack.frob.com>
21243 * scripts/check-localplt.awk: New file.
21244 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21246 * scripts/data/localplt-generic.data: Add a comment.
21248 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21249 NODE when __dir_mkfile failed.
21250 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21251 Reported by Ludovic Courtès <ludo@gnu.org>.
21253 2012-04-24 Andreas Jaeger <aj@suse.de>
21255 * Makerules (common-clean): Also remove gen-as-const-headers
21258 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21260 * Makerules (native-compile): Do not change working directory for
21261 build. Use $(OUTPUT_OPTION) in command.
21262 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21264 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21267 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21268 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21269 * math/libm-test.inc (floor_test): Add more tests.
21270 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21272 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21274 * sysdeps/unix/getdents.c: Remove file.
21275 * sysdeps/unix/sysv/getdents.c: Likewise.
21276 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21278 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21279 sysdeps/unix/mman/syscalls.list.
21281 (mprotect): Likewise.
21283 (munmap): Likewise.
21284 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21285 * sysdeps/unix/mman/syscalls.list: Remove.
21286 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21288 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21289 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21290 * configure: Regenerated.
21291 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21292 $(libgcc_s_suffix).
21293 * config.make.in (libgcc_s_suffix): Remove variable.
21295 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21297 * sysdeps/unix/sysv/gethostname.c: Move to ...
21298 * sysdeps/posix/gethostname.c: ... here.
21300 * sysdeps/unix/execve.S: Remove file.
21302 * sysdeps/unix/_exit.S: Remove file.
21304 2012-04-23 Andreas Jaeger <aj@suse.de>
21307 * manual/Makefile: Remove make dist support, there's no
21308 need for a stand-alone documentation tar ball.
21309 (TEXI2DVI): Define always, it's not in Makeconfig.
21312 (edition): Removed.
21313 (glibc-doc-$(edition).tar): Removed
21317 (ETAGS): Remove, it's in Makeconfig.
21318 (move-if-change): Remove, it's in Makeconfig.
21320 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21323 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21324 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21325 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21326 (strtod_l, strtof_l, strtold_l): Remove __wur.
21327 It is not necessarily an error to ignore strtol's return value.
21328 One can reliably look at the stored endptr to decide whether
21329 the number had valid syntax.
21331 2012-04-21 Andreas Jaeger <aj@suse.de>
21334 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21336 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21338 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21339 * sysdeps/unix/sysv/Versions: Remove file.
21341 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21346 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21350 version from __vm86.
21352 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21354 * sysdeps/unix/common/lxstat.c: Remove file.
21355 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21357 * sysdeps/unix/sysv/Makefile: Remove file.
21359 * sysdeps/unix/sysv/direct.h: Remove file.
21361 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21362 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21363 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21364 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21365 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21366 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21367 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21369 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21371 * sysdeps/unix/xmknod.c: Remove file.
21372 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21374 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21376 * sysdeps/unix/sysv/i386/time.S: Remove file.
21378 * sysdeps/unix/fxstat.c: Remove file.
21379 * sysdeps/unix/xstat.c: Likewise.
21380 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21382 * sysdeps/unix/sysv/sigaction.c: Remove file.
21384 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21385 (sysdep_headers): Remove variable.
21386 [termio.h not in sysdep_headers] (generated): Likewise.
21387 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21388 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21389 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21390 * sysdeps/unix/sysv/tcflow.c: Likewise.
21391 * sysdeps/unix/sysv/tcflush.c: Likewise.
21392 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21393 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21394 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21395 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21396 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21398 * sysdeps/unix/siglist.c: Remove file.
21400 * sysdeps/unix/getppid.S: Remove file.
21402 * sysdeps/unix/mkdir.c: Remove file.
21403 * sysdeps/unix/rmdir.c: Likewise.
21405 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21407 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21409 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21410 errlist-compat value.
21412 2012-04-18 David S. Miller <davem@davemloft.net>
21414 * sysdeps/generic/memcopy.h (reg_char): Delete.
21415 * debug/strcat_chk.c: Use char, not reg_char.
21416 * debug/strcpy_chk.c: Likewise.
21417 * debug/strncat_chk.c: Likewise.
21418 * debug/strncpy_chk.c: Likewise.
21419 * string/memchr.c: Likewise.
21420 * string/memrchr.c: Likewise.
21421 * string/rawmemchr.c: Likewise.
21422 * string/strcat.c: Likewise.
21423 * string/strchr.c: Likewise.
21424 * string/strchrnul.c: Likewise.
21425 * string/strcmp.c: Likewise.
21426 * string/strcpy.c: Likewise.
21427 * string/strncat.c: Likewise.
21428 * string/strncmp.c: Likewise.
21429 * string/strncpy.c: Likewise.
21431 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21433 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21434 __builtin_memcopy is called when src and dest ranges are known to not
21437 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21439 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21440 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21441 fwd_align_merge macro call.
21442 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21443 bwd_align_merge macro call.
21444 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21446 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21448 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21449 bwd_align_merge macros.
21450 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21451 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21452 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21454 2012-04-18 David S. Miller <davem@davemloft.net>
21456 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21458 2012-04-18 Andreas Jaeger <aj@suse.de>
21461 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21462 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21463 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21465 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21466 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21467 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21469 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21470 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21471 Adjust for changed ldbl-128 files.
21473 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21474 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21475 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21477 2012-04-17 David S. Miller <davem@davemloft.net>
21479 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21481 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21483 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21484 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21485 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21486 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21487 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21488 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21490 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21493 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21494 * math/libm-test.inc: Add ilogb errno and exception tests.
21495 * math/w_ilogb.c: New file: ilogb wrapper.
21496 * math/w_ilogbf.c: New file: ilogbf wrapper.
21497 * math/w_ilogbl.c: New file: ilogbl wrapper.
21498 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21499 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21500 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21501 exception being thrown with 0.0 as argument.
21502 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21503 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21504 exception being thrown with 0.0 as argument.
21505 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21506 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21507 exception being thrown with 0.0 as argument.
21508 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21509 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21510 exception being thrown with 0.0 as argument.
21511 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21512 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21513 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21514 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21515 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21516 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21517 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21518 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21519 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21521 2012-04-17 Petr Baudis <pasky@ucw.cz>
21523 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21526 2012-04-16 Marek Polacek <polacek@redhat.com>
21528 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21530 2012-04-16 Marek Polacek <polacek@redhat.com>
21532 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21533 operands of fdivp instruction.
21535 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21537 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21538 * elf/tst-auditmod3b.c: Likewise.
21539 * elf/tst-auditmod4b.c: Likewise.
21540 * elf/tst-auditmod5b.c: Likewise.
21541 * elf/tst-auditmod6b.c: Likewise.
21542 * elf/tst-auditmod6c.c: Likewise.
21543 * elf/tst-auditmod7b.c: Likewise.
21544 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21545 * sysdeps/x86_64/preconfigure.in: Likewise.
21546 * sysdeps/x86_64/preconfigure: Regenerated.
21548 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21550 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21553 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21556 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21558 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21561 * locale/iso-639.def: Fix gl language name. Spotted by
21564 2012-04-12 Roland McGrath <roland@hack.frob.com>
21567 * libio/libio.h (__io_write_fn): Update comment.
21569 2012-04-12 Petr Baudis <pasky@ucw.cz>
21572 * stdio.texi (Hook Functions): The user provided writer function
21573 is not allowed to return -1.
21575 2012-04-11 David S. Miller <davem@davemloft.net>
21577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21579 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21581 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21582 Add a leading slash to rtkaio.
21584 2012-04-11 Jim Meyering <meyering@redhat.com>
21587 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21588 It is not necessarily an error to ignore fwrite's return
21589 value. One can reliably use ferror to test for errors after
21592 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21594 * bits/types.h (__snseconds_t): New type.
21595 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21597 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21599 (__SNSECONDS_T_TYPE): Likewise.
21600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21601 (__SNSECONDS_T_TYPE): Likewise.
21602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21603 (__SNSECONDS_T_TYPE): Likewise.
21605 2012-04-10 Andreas Jaeger <aj@suse.de>
21608 * manual/time.texi (Processor Time): Return type of times is
21609 elapsed real time since an arbitrary point in the past.
21610 (CPU Time): Move CLK_TCK from here...
21611 (Processor Time): ...to here. Correct description.
21612 * manual/conf.texi (Constants for Sysconf): Correct description of
21615 2012-04-10 David S. Miller <davem@davemloft.net>
21618 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21619 where the is a gap between DT_REL(A) and DT_JMPREL.
21621 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21623 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21624 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21625 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21627 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21629 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21630 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21631 (dl_main): Handle --inhibit-cache.
21632 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21634 * elf/dl-load.c (_dl_map_object): Use it.
21635 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21637 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21640 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21641 (__ieee754_powl): Saturate large exponents rather than testing for
21642 overflow of y*log2(x).
21643 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21644 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21648 * math/s_ctan.c: Include <float.h>.
21649 (__ctan): Avoid internal overflow or cancellation in calculating
21651 * math/s_ctanf.c: Likewise.
21652 * math/s_ctanl.c: Likewise.
21653 * math/s_ctanh.c: Likewise.
21654 * math/s_ctanhf.c: Likewise.
21655 * math/s_ctanhl.c: Likewise.
21656 * math/libm-test.inc (ctan_test): Add more tests.
21657 (ctanh_test): Likewise.
21658 * sysdeps/i386/fpu/libm-test-ulps: Update.
21659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661 2012-04-09 Andreas Jaeger <aj@suse.de>
21664 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21665 is an optional BSD extension.
21668 * manual/stdio.texi (Opening Streams): Document additional fopen
21671 2012-04-09 Roland McGrath <roland@hack.frob.com>
21673 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21674 %eax without telling the compiler.
21676 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21679 * manual/install.texi: Use sourceware.org.
21681 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21684 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21685 (__ieee754_pow): Generate overflow and underflow using huge*huge
21686 and tiny*tiny rather than just returning constant infinity or zero
21687 for large exponents.
21688 * math/libm-test.inc (pow_test): Require overflow exceptions for
21689 applicable cases of large exponents.
21692 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21693 (__ieee754_pow): Use iterative multiplication algorithm only for
21694 integer exponents with absolute value below 1024. Check for odd
21695 integer exponents when using algorithm for real exponents.
21696 * math/libm-test.inc (pow_test): Add more tests.
21697 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21699 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21702 * math/libm-test.inc (exp_test): Do not allow overflow exception
21705 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21708 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21709 instead of __kernel_standard_f.
21711 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21713 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21714 * sysdeps/x86_64/memset_chk.S: Likewise.
21716 2012-04-08 Andreas Jaeger <aj@suse.de>
21719 * manual/startup.texi (Environment Access): Describe return value
21720 for putenv and setenv.
21723 * manual/filesys.texi (Directory Entries): Add description for
21727 * manual/filesys.texi (Directory Entries): Clarify that it's file
21728 system not operating system in the description of DT_UNKNOWN.
21731 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21733 2012-04-08 Stephen Compall <s11@member.fsf.org>
21736 * manual/llio.texi (Opening and Closing Files): Add cross
21737 reference to explain mode argument.
21739 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21741 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21742 * sysdeps/x86_64/memset_chk.S: Likewise.
21744 2012-04-07 David S. Miller <davem@davemloft.net>
21746 * elf/elf.h (R_SPARC_WDISP10): Define.
21747 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21749 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21750 R_SPARC_SIZE64 and R_SPARC_H34.
21752 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21754 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21755 conditions and remove no longer applicable assertion.
21757 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21759 * bits/byteswap.h: Include <features.h>.
21760 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21761 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21763 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21765 * bits/byteswap.h (__bswap_16): Removed.
21766 Include <bits/byteswap-16.h> to get __bswap_16.
21767 * sysdeps/i386/bits/byteswap.h: Likewise.
21768 * sysdeps/s390/bits/byteswap.h: Likewise.
21769 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21770 * bits/byteswap-16.h: New file.
21771 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21772 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21773 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21774 * string/Makefile (headers): Add bits/byteswap-16.h.
21776 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21779 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21781 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21782 * nss/tst-nss-static.c: New.
21784 2012-04-06 Robert Millan <rmh@gnu.org>
21787 * manual/llio.texi (File Position Primitive): lseek
21788 refers to WHENCE when it really means OFFSET.
21790 2012-04-06 Andreas Jaeger <aj@suse.de>
21792 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21793 strncmp declarations.
21795 * abilist/libc.abilist: Add __poll and __ppoll.
21797 2012-04-05 David S. Miller <davem@davemloft.net>
21799 * scripts/check-local-headers.sh: Accept a host triplet in the
21800 path matched by the exclude regexp.
21802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21804 * sysdeps/powerpc/powerpc32/dl-machine.h
21805 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21806 * sysdeps/s390/s390-32/dl-machine.h
21807 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21808 * sysdeps/sparc/sparc32/dl-machine.h
21809 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21810 * sysdeps/sparc/sparc64/dl-machine.h
21811 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21813 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21815 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21816 undefined symbol errors.
21818 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21821 2012-04-05 Michael Matz <matz@suse.de>
21824 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21826 2012-04-05 Andreas Jaeger <aj@suse.de>
21829 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21832 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21834 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21835 which ROUND is no valid rounding mode.
21837 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21839 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21841 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21843 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21845 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21846 an exception using FPU order intentionally.
21848 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21850 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21851 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21852 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21853 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21855 2012-04-05 Simon Josefsson <simon@josefsson.org>
21858 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21859 EINVAL when BUFLEN is too smal.
21861 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21864 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21865 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21867 2012-04-03 Andreas Jaeger <aj@suse.de>
21870 * manual/setjmp.texi (System V contexts): Fix sentence.
21873 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21874 New macro for this case.
21875 [!__GNUC__] (__bswap_64): New inline function for this case.
21876 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21877 * bits/byteswap.h: Likewise.
21878 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21879 ull, guard with __GLIBC_HAVE_LONG_LONG.
21881 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21882 __GLIBC_HAVE_LONG_LONG.
21884 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21885 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21887 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21890 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21891 inptr and inend, rather than using last_ch.
21893 2012-04-02 David S. Miller <davem@davemloft.net>
21895 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21896 * stdio-common/printf-parse.h (read_int): Change return type to
21897 'int', return -1 on INT_MAX overflow.
21898 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21899 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21900 overflows INT_MAX. Check for overflow of in-format-string precision
21901 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21902 SIZE_MAX not INT_MAX for integer overflow test.
21903 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21904 skip the construct in the format string but do not record anything.
21905 * stdio-common/bug22.c: Adjust to test both width/prevision
21906 INT_MAX overflow as well as total length INT_MAX overflow. Check
21907 explicitly for proper errno values.
21909 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21911 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21913 * string/test-strcmp.c [! WIDE]: Likewise.
21914 * time/tst-mktime2.c: Likewise for INT_MAX.
21915 * string/test-string.h: #include <sys/param.h> for MIN.
21917 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21918 * sysdeps/i386/init-first.c (init): Likewise.
21919 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21920 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21921 * sysdeps/sh/init-first.c (init): Likewise.
21923 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21925 * po/ru.po: Update from translation team.
21926 * po/vi.po: Likewise.
21928 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21930 * resolv/nss_dns/dns-host.c: Merge copyright years.
21932 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21935 Optimize memcpy with prefetch if
21936 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21937 src, dst pointers have unequal 16 byte alignments.
21939 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21942 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21943 from a CNAME entry and return the minimum ttl for the query.
21944 (gaih_getanswer_slice): Likewise.
21946 2012-03-30 Jeff Law <law@redhat.com>
21948 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21950 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21951 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21953 * resolv/nss_dns/dns-host.c: Update copyright year.
21955 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21957 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21958 requests to save a system call. Fix check that all bytes are sent.
21960 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21961 comments for sendmmsg.
21963 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21966 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21967 with only 1 character between 0x0041 and 0x01b0.
21968 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21969 * wcsmbs/tst-mbsnrtowcs.c: New file.
21971 2012-03-29 David S. Miller <davem@davemloft.net>
21973 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21974 small copies by hand.
21976 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21979 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21980 _nss_compat_initgroups_dyn): Fall back to malloc/free
21981 for large group memberships.
21983 2012-03-28 David S. Miller <davem@davemloft.net>
21985 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21986 that branches into memcpy.
21987 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21988 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21989 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21990 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21993 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21994 implementation too.
21995 * sysdeps/sparc/mempcpy.S: New file.
21997 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21998 the IFUNC routine in the libc case.
21999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22001 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22002 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22003 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22004 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22005 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22006 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22007 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22008 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22010 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22011 loop to 256 bytes instead of 64 bytes and fix test signedness.
22013 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22014 * sysdeps/sparc/sparc32/Makefile: rather than here...
22015 * sysdeps/sparc/sparc64/Makefile: and here.
22017 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22019 * malloc/mallocbug.c: Avoid warnings about unused variables.
22021 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22024 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22025 in the right place. Discard and retry query if response is
22026 larger than input buffer size.
22028 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22033 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22034 x for large integer exponent.
22035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22036 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22037 sign of result as needed afterwards.
22038 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22039 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22040 result for underflowing pow the same as for overflow.
22041 (__kernel_standard_l): Handle powl overflow and underflow here
22042 rather than calling __kernel_standard.
22043 * math/libm-test.inc (pow_test): Add more tests.
22058 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22059 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22060 (__kernel_standard_l): New function.
22061 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22063 * math/w_acosl.c (__acosl): Likewise.
22064 * math/w_asinl.c (__asinl): Likewise.
22065 * math/w_atan2l.c (__atan2l): Likewise.
22066 * math/w_atanhl.c (__atanhl): Likewise.
22067 * math/w_coshl.c (__coshl): Likewise.
22068 * math/w_exp10l.c (__exp10l): Likewise.
22069 * math/w_exp2l.c (__exp2l): Likewise.
22070 * math/w_fmodl.c (__fmodl): Likewise.
22071 * math/w_hypotl.c (__hypotl): Likewise.
22072 * math/w_j0l.c (__j0l, __y0l): Likewise.
22073 * math/w_j1l.c (__j1l, __y1l): Likewise.
22074 * math/w_jnl.c (__jnl, __ynl): Likewise.
22075 * math/w_lgammal.c (__lgammal): Likewise.
22076 * math/w_log10l.c (__log10l): Likewise.
22077 * math/w_log2l.c (__log2l): Likewise.
22078 * math/w_logl.c (__logl): Likewise.
22079 * math/w_powl.c (__powl): Likewise.
22080 * math/w_remainderl.c (__remainderl): Likewise.
22081 * math/w_scalbl.c (sysv_scalbl): Likewise.
22082 * math/w_sinhl.c (__sinhl): Likewise.
22083 * math/w_sqrtl.c (__sqrtl): Likewise.
22084 * math/w_tgammal.c (__tgammal): Likewise.
22085 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22086 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22087 * math/libm-test.inc (acos_test): Add more tests.
22088 (acosh_test): Likewise.
22089 (asin_test): Likewise.
22090 (atanh_test): Likewise.
22091 (exp_test): Likewise.
22092 (exp10_test): Likewise.
22093 (exp2_test): Likewise.
22094 (expm1_test): Likewise.
22095 (lgamma_test): Likewise.
22096 (log_test): Likewise.
22097 (log10_test): Likewise.
22098 (log1p_test): Likewise.
22099 (log2_test): Likewise.
22100 (pow_test): Do not allow some spurious overflow exceptions.
22101 (sqrt_test): Add more tests.
22102 (tgamma_test): Likewise.
22103 (y0_test): Likewise.
22104 (y1_test): Likewise.
22105 (yn_test): Likewise.
22107 2012-03-27 Anton Blanchard <anton@samba.org>
22109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22112 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22115 2012-03-27 David S. Miller <davem@davemloft.net>
22117 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22119 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22120 have-as-vis3 check.
22122 2012-03-27 Andreas Jaeger <aj@suse.de>
22124 * sysdeps/x86_64/elf/configure.in: Moved to ...
22125 * sysdeps/x86_64/configure.in: ... here.
22126 * sysdeps/x86_64/elf/start.S: Moved to ...
22127 * sysdeps/x86_64/start.S: ... here.
22128 * sysdeps/x86_64/elf/configure: Delete.
22130 * sysdeps/x86_64/configure.in: Merge contents from
22131 sysdeps/i386/configure.in (without i686 check).
22133 * sysdeps/i386/elf/Versions: Merge into ...
22134 * sysdeps/i386/Versions: ... this.
22135 * sysdeps/i386/elf/Versions: Delete file.
22136 * sysdeps/i386/elf/start.S: Moved to ...
22137 * sysdeps/i386/start.S: ...here.
22138 * sysdeps/i386/elf/configure.in: Merge into...
22139 * sysdeps/i386/configure.in: ...here.
22140 * sysdeps/i386/elf/configure.in: Delete file.
22141 * sysdeps/i386/elf/configure: Delete file.
22143 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22144 * debug/backtracesyms.c: ... here.
22145 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22146 * debug/backtracesymsfd.c: ... here.
22147 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22148 * sysdeps/generic/ifunc-sel.h: ... here.
22150 * sysdeps/unix/i386/start.c: Delete file.
22151 * sysdeps/unix/sparc/start.c: Delete file.
22152 * sysdeps/unix/start.c: Delete file.
22154 * sysdeps/sh/elf/configure.in: Moved to ...
22155 * sysdeps/sh/configure.in: ... here.
22156 * sysdeps/sh/elf/start.S: Moved to ...
22157 * sysdeps/sh/start.S: ... here.
22158 * sysdeps/sh/elf/configure: Delete file.
22160 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22161 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22162 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22163 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22164 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22165 * sysdeps/powerpc/powerpc64/start.S: here.
22166 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22167 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22168 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22169 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22170 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22172 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22173 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22174 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22175 * sysdeps/powerpc/powerpc32/start.S: ... here.
22176 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22177 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22178 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22180 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22181 * sysdeps/powerpc/ifunc-sel.h: ... here.
22182 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22183 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22185 * sysdeps/sparc/elf/configure.in: Moved to ...
22186 * sysdeps/sparc/configure.in: ... here.
22187 * sysdeps/sparc/elf/configure: Delete file.
22188 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22189 * sysdeps/sparc/sparc32/start.S: ... here.
22190 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22191 * sysdeps/sparc/sparc64/start.S: ... here.
22192 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22193 * sysdeps/sparc/sparc32/Makefile: ... this.
22194 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22195 * sysdeps/sparc/sparc64/Makefile: ... this.
22197 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22198 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22199 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22200 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22201 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22202 * sysdeps/s390/s390-32/setjmp.S: ... here.
22203 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22204 * sysdeps/s390/s390-32/configure.in: ... here.
22205 * sysdeps/s390/s390-32/elf/configure: Delete file.
22206 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22207 * sysdeps/s390/s390-32/start.S: ... here.
22209 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22210 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22211 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22212 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22213 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22214 * sysdeps/s390/s390-64/setjmp.S: ... here.
22215 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22216 * sysdeps/s390/s390-64/configure.in: ... here
22217 * sysdeps/s390/s390-64/elf/configure: Delete file.
22218 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22219 * sysdeps/s390/s390-64/start.S: ... here.
22220 * sysdeps/s390/s390-64/elf/configure: Delete.
22222 * configure.in: Remove support for elf directories in sysdeps.
22224 * configure: Regenerated.
22225 * sysdeps/i386/configure: Regenerated.
22226 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22227 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22228 * sysdeps/s390/s390-32/configure: Regenerated.
22229 * sysdeps/s390/s390-64/configure: Regenerated.
22230 * sysdeps/sh/configure: Regenerated.
22231 * sysdeps/sparc/configure: Regenerated.
22232 * sysdeps/x86_64/configure: Regenerated.
22234 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22238 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22239 denormal result into account.
22241 2012-03-25 Roland McGrath <roland@hack.frob.com>
22243 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22244 Reported by Allan McRae <allan@archlinux.org>.
22246 2012-03-23 Jeff Law <law@redhat.com>
22248 * nss/getnssent.c (__nss_getent): Fix typo.
22250 2012-03-23 David S. Miller <davem@davemloft.net>
22252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22254 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22256 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22257 to pad to uint64_t for each field.
22258 (dl_tls_index): Replace unsigned long with uint64_t.
22260 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22261 Paul Pluzhnikov <ppluzhnikov@google.com>
22264 * grp/Makefile (otherlibs): Don't set it.
22265 * inet/Makefile (otherlibs): Likewise.
22266 * login/Makefile (otherlibs): Likewise.
22267 * nscd/Makefile (otherlibs): Likewise.
22268 * posix/Makefile (otherlibs): Likewise.
22269 * pwd/Makefile (otherlibs): Likewise.
22270 * rt/Makefile (otherlibs): Likewise.
22271 * sunrpc/Makefile (otherlibs): Likewise.
22272 * nss/Makefile (otherlibs): Likewise.
22273 Add libnss_files to routines and static-only-routines.
22274 ($(objpfx)getent): Remove rule.
22275 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22276 static-only-routines.
22278 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22281 * math/s_cexp.c: Include <float.h>.
22282 (__cexp): Handle exp result overflowing not necessarily
22283 overflowing both real and imaginary parts of result.
22284 * math/s_cexpf.c: Likewise.
22285 * math/s_cexpl.c: Likewise.
22286 * math/libm-test.inc (cexp_test): Add more tests.
22287 * sysdeps/i386/fpu/libm-test-ulps: Update.
22288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22290 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22292 * include/link.h (ELFW): New macro.
22293 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22294 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22296 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22298 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22301 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22303 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22305 (struct La_x32_retval): Likewise.
22307 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22309 * sysdeps/x86_64/preconfigure.in: New file.
22310 * sysdeps/x86_64/preconfigure: New generated file.
22312 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22315 * math/e_exp2l.c: Include <float.h>.
22316 (__ieee754_exp2l): Handle overflow and underflow cases
22317 separately. Only pass fractional part of argument to
22319 * math/libm-test.inc (exp2_test): Add more tests.
22321 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22322 negating x to take absolute value.
22323 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22325 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22328 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22329 computing low part if x was negated.
22330 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22332 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22334 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22335 la_x32_gnu_pltexit.
22336 (pltexit): Cast int_retval to ptrdiff_t.
22337 * elf/tst-auditmod3b.c: Likewise.
22338 * elf/tst-auditmod4b.c: Likewise.
22339 * elf/tst-auditmod5b.c: Likewise.
22340 * elf/tst-auditmod6b.c: Likewise.
22341 * elf/tst-auditmod6c.c: Likewise.
22342 * elf/tst-auditmod7b.c: Likewise.
22344 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22345 and x32_gnu_pltexit.
22347 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22348 __ELF_NATIVE_CLASS.
22349 (La_x32_regs): New macro.
22350 (La_x32_retval): Likewise.
22351 (la_x32_gnu_pltenter): New function prototype.
22352 (la_x32_gnu_pltexit): Likewise.
22354 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22361 * configure.in (libc_cv_cc_nofma): Check for option to disable
22362 generation of FMA instructions.
22363 * configure: Regenerate.
22364 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22365 * sysdeps/ieee754/dbl-64/Makefile: New file.
22366 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22367 Remove brandred-fma4.
22368 (CFLAGS-brandred-fma4.c): Remove.
22369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22375 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22377 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22378 LLONG_MAX != LONG_MAX.
22379 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22380 (_fitoa_word): Likewise.
22381 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22382 LLONG_MAX != LONG_MAX.
22383 * stdio-common/_itowa.h: Include <_itoa.h>.
22384 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22385 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22386 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22387 only if not defined.
22388 (_ITOA_WORD_TYPE): Likewise.
22389 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22390 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22392 2012-03-21 David S. Miller <davem@davemloft.net>
22394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22396 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22398 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22399 of x86_64 when setting libc_cv_slibdir, libdir and
22401 * sysdeps/unix/sysv/linux/configure: Regenerated.
22403 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22405 * manual/lang.texi (Old Varargs): Remove section.
22406 (How Variadic): Update menu.
22407 (va_start): Do not mention varargs.h.
22409 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22410 Joseph Myers <joseph@codesourcery.com>
22412 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22414 * configure: Regenerated.
22416 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22418 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22419 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22422 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22425 * Makefile (files-for-dist): Remove NOTES.
22426 (NOTES): Remove rule.
22427 * README: Don't refer to NOTES.
22428 * manual/creature.texi: Don't include macros.texi.
22429 * manual/intro.texi (creature.texi): Remove comment referring to
22432 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22433 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22434 * configure: Regenerated.
22435 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22436 LIBC_TRY_CC_OPTION.
22437 (libc_cv_as_i686): Likewise.
22438 (libc_cv_cc_avx): Likewise.
22439 (libc_cv_cc_sse2avx): Likewise.
22440 (libc_cv_cc_fma4): Likewise.
22441 (libc_cv_cc_novzeroupper): Likewise.
22442 * sysdeps/i386/configure: Regenerated.
22445 * sysdeps/i386/fpu/s_cexp.S: Remove.
22446 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22447 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22448 * math/libm-test.inc (cexp_test): Add more tests.
22449 * sysdeps/i386/fpu/libm-test-ulps: Update.
22450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22452 2012-03-21 Allan McRae <allan@archlinux.org>
22454 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22456 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22459 * math/w_exp2.c: Do not include <float.h>.
22460 (o_threshold, u_threshold): Remove.
22461 (__exp2): Calculate result before checking finiteness and calling
22463 * math/w_exp2f.c: Likewise.
22464 * math/w_exp2l.c: Likewise.
22465 * math/libm-test.inc (exp2_test): Require overflow exception for
22469 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22470 range of signed 64-bit integers before using fistpll. Remove
22471 checks for whether integers fit in mantissa bits.
22472 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22473 the range of signed 32-bit integers before using fistpl. Remove
22474 checks for whether integers fit in mantissa bits.
22475 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22476 (__ieee754_powl): Test for y outside the range of signed 64-bit
22477 integers before using fistpll. Reduce 64-bit values to 63-bit
22479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22480 divide-by-zero is raised for zero to large negative powers.
22481 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22482 (__ieee754_powl): Test for y outside the range of signed 64-bit
22483 integers before using fistpll. Reduce 64-bit values to 63-bit
22485 * math/libm-test.inc (pow_test): Add more tests.
22487 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22489 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22490 <stdio-common/_itoa.h>.
22491 * debug/segfault.c: Likewise.
22492 * elf/dl-cache.c: Likewise.
22493 * elf/dl-minimal.c: Likewise.
22494 * elf/dl-misc.c: Likewise.
22495 * elf/dl-sysdep.c: Likewise.
22496 * elf/dl-version.c: Likewise.
22497 * elf/rtld.c: Likewise.
22498 * hurd/hurdsock.c: Likewise.
22499 * hurd/lookup-retry.c: Likewise.
22500 * malloc/malloc.c: Likewise.
22501 * malloc/mtrace.c: Likewise.
22502 * nscd/nscd_getgr_r.c: Likewise.
22503 * nscd/nscd_getpw_r.c: Likewise.
22504 * nscd/nscd_getserv_r.c: Likewise.
22505 * posix/getopt_init.c: Likewise.
22506 * posix/wordexp.c: Likewise.
22507 * stdio-common/_itoa.c: Likewise.
22508 * stdio-common/printf_fphex.c: Likewise.
22509 * stdio-common/vfprintf.c: Likewise.
22510 * string/_strerror.c: Likewise.
22511 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22512 * sysdeps/i386/i686/hp-timing.h: Likewise.
22513 * sysdeps/mach/_strerror.c: Likewise.
22514 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22515 * sysdeps/mach/hurd/sethostid.c: Likewise.
22516 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22517 * sysdeps/mach/xpg-strerror.c: Likewise.
22518 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22519 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22520 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22521 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22522 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22523 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22524 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22525 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22526 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22527 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22528 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22529 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22530 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22531 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22532 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22533 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22534 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22535 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22536 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22537 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22538 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22540 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22542 * stdio-common/_itoa.h: Moved to ...
22543 * sysdeps/generic/_itoa.h: Here.
22545 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22547 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22548 instead of "_itoa.h" and "_itowa.h".
22549 * stdio-common/vfprintf.: Likewise.
22551 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22553 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22555 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22556 (__signbit): Likwise.
22557 (llrintf): Likwise.
22560 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22562 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22565 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22567 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22568 OVERFLOW_EXCEPTION_OK.
22569 * math/libm-test.inc ("Philosophy"): Update comment about
22571 (OVERFLOW_EXCEPTION): Define.
22572 (OVERFLOW_EXCEPTION_OK): Likewise.
22573 (INVALID_EXCEPTION_OK): Renumber.
22574 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22575 (IGNORE_ZERO_INF_SIGN): Likewise.
22576 (test_exceptions): Handle FE_OVERFLOW.
22577 (exp10_test): Expect overflow exceptions.
22578 (exp2_test): Likewise.
22579 (expm1_test): Likewise.
22580 (nextafter_test): Likewise.
22581 (pow_test): Likewise.
22582 (scalbn_test): Likewise.
22583 (scalbln_test): Likewise.
22585 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22587 * sysdeps/x86_64/bits/atomic.h
22588 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22590 (atomic_exchange_acq): Likewise.
22591 (__arch_exchange_and_add_body): Likewise.
22592 (__arch_add_body): Likewise.
22593 (atomic_add_negative): Likewise.
22594 (atomic_add_zero): Likewise.
22596 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22598 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22599 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22601 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22603 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22604 Check __x86_64__ instead of __WORDSIZE.
22606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22608 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22610 2012-03-19 David S. Miller <davem@davemloft.net>
22612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22614 * sysdeps/sparc/fpu/fenv_private.h: New file.
22615 * sysdeps/sparc/fpu/math_private.h: Use it.
22616 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22618 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22619 (libc_feholdexcept_setroundl): Remove.
22620 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22622 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22623 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22625 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22627 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22628 int64_t instead of long int.
22629 (INSERT_WORDS64): Likwise.
22631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22633 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22634 _Unwind_GetCFA return to _Unwind_Ptr first.
22636 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22639 * math/s_clog.c: Include <float.h>.
22640 (__clog): Scale large or subnormal inputs.
22641 * math/s_clogf.c: Likewise.
22642 * math/s_clogl.c: Likewise.
22643 * math/s_clog10.c: Include <float.h>.
22644 (M_LOG10_2): Define.
22645 (__clog10): Scale large or subnormal inputs.
22646 * math/s_clog10f.c: Likewise.
22647 * math/s_clog10l.c: Likewise.
22648 * math/libm-test.inc (clog_test): Add more tests.
22649 (clog10_test): Likewise.
22650 * sysdeps/i386/fpu/libm-test-ulps: Update.
22651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22656 * math/libm-test.inc (atan2_test): Add another test.
22658 * Makerules (common-objdir-compile): Remove.
22659 * sysdeps/unix/Makefile (config-generated): Do not add
22660 $(unix-generated) to variable.
22661 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22662 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22664 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22666 [generic bits/local_lim.h] (before-compile): Do not append to
22668 [generic bits/local_lim.h] (common-generated): Likewise.
22669 [generic sys/param.h] (before-compile): Do not append to variable.
22670 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22671 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22672 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22673 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22675 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22676 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22677 [generic sys/param.h] ($(addprefix
22678 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22679 [generic sys/param.h] (common-generated): Do not append to
22681 [generic sys/param.h] (sysdep_headers): Likewise.
22682 [generic bits/errno.h] (before-compile): Do not append to
22684 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22686 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22687 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22688 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22689 [generic bits/errno.h] (common-generated): Do not append to
22691 [generic bits/ioctls.h] (before-compile): Do not append to
22693 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22695 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22696 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22697 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22699 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22700 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22701 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22702 [generic bits/ioctls.h] (common-generated): Do not append to
22704 [generic sys/syscall.h] (syscall.h): Remove variable.
22705 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22707 [generic sys/syscall.h] (before-compile): Do not append to
22709 [generic sys/syscall.h] (common-generated): Likewise.
22710 * sysdeps/unix/errnos-tmpl.c: Remove file.
22711 * sysdeps/unix/errnos.awk: Likewise.
22712 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22713 * sysdeps/unix/ioctls.awk: Likewise.
22714 * sysdeps/unix/mk-local_lim.c: Likewise.
22715 * sysdeps/unix/snarf-ioctls: Likewise.
22717 2012-03-19 Richard Henderson <rth@twiddle.net>
22719 * sysdeps/i386/fpu/fenv_private.h: New file.
22720 * sysdeps/i386/fpu/math_private.h: Use it.
22721 (math_opt_barrier, math_force_eval): Remove.
22722 (libc_feholdexcept_setround_53bit): Remove.
22723 (libc_feupdateenv_53bit): Remove.
22724 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22725 (math_opt_barrier, math_force_eval): Remove.
22726 (libc_feholdexcept): Remove.
22727 (libc_feholdexcept_setround): Remove.
22728 (libc_fetestexcept, libc_fesetenv): Remove.
22729 (libc_feupdateenv_test): Remove.
22730 (libc_feupdateenv, libc_feholdsetround): Remove.
22731 (libc_feresetround): Remove.
22733 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22734 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22736 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22737 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22738 (libc_feupdateenv_testl): New.
22739 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22740 (libc_feupdateenv_testf): New.
22741 (libc_feupdateenv): Use libc_feupdateenv_test.
22742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22743 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22745 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22746 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22747 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22748 (libc_feresetround_noex): New.
22749 (libc_feresetround_noexf): New.
22750 (libc_feresetround_noexl): New.
22751 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22752 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22753 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22754 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22756 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22759 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22760 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22761 SET_RESTORE_ROUND_NOEX.
22762 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22763 SET_RESTORE_ROUND_NOEXF.
22764 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22765 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22766 (libc_feholdsetroundf): New.
22767 (libc_feresetround, libc_feresetroundf): New.
22769 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22770 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22771 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22773 * sysdeps/generic/math_private.h: Include <fenv.h>.
22774 (default_libc_feholdexcept): New.
22775 (default_libc_feholdexcept_setround): New.
22776 (default_libc_fesetenv, default_libc_feupdateenv): New.
22777 (libc_feholdexcept): Only define if undefined.
22778 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22779 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22780 (libc_feholdexcept_setroundl): Likewise.
22781 (libc_feholdexcept_setround_53bit): Likewise.
22782 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22783 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22784 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22785 (libc_feupdateenv_53bit): Likewise.
22786 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22787 (libc_feholdexcept): Convert from macro to inline function.
22788 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22789 (libc_fesetenv, libc_feupdateenv): Likewise.
22791 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22792 not previously defined.
22793 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22794 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22795 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22796 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22797 * sysdeps/ieee754/flt-32/math_private.h: New file.
22798 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22799 math_private.h below SET_FLOAT_WORD.
22800 (__isnan, __isinf_ns, __finite): Remove.
22801 (__isnanf, __isinf_nsf, __finitef): Remove.
22803 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22807 2012-03-17 David S. Miller <davem@davemloft.net>
22810 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22813 2012-03-16 David S. Miller <davem@davemloft.net>
22815 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22819 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22821 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22822 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22823 sysdep_routines when subdir is sysvipc.
22824 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22825 __getshmlba helper.
22827 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22829 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22831 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22834 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22836 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22837 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22838 (__lround): Renamed to ...
22839 (__llround): This. Replace long int with long long int.
22840 Define lround functions as aliases of llround functions.
22841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22845 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22846 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22847 adresses to uintptr_t. Replace "long int" and "unsigned long
22848 int" with "greg_t" on va_arg.
22850 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22852 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22853 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22855 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22856 Move e_machine check before EI_CLASS check. Handle x32
22857 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22858 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22859 SKIP_EM_IA_64 and include
22860 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22862 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22863 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22864 (add_system_dir): New macro.
22866 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22867 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22869 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22880 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22882 * math/w_j0f.c (j0f): Likewise.
22884 * math/w_j0l.c (__j0l): Likewise.
22886 * math/w_j1.c (j1): Likewise.
22888 * math/w_j1f.c (j1f): Likewise.
22890 * math/w_j1l.c (__j1l): Likewise.
22892 * math/w_jn.c (jn): Likewise.
22894 * math/w_jnf.c (jnf): Likewise.
22896 * math/w_jnl.c (__jnl): Likewise.
22898 * math/libm-test.inc (j0_test): Add more tests.
22899 (j1_test): Likewise.
22900 (jn_test): Likewise. Add trailing semicolon to existing test.
22901 (y0_test): Likewise.
22902 (y1_test): Likewise.
22903 * sysdeps/i386/fpu/libm-test-ulps: Update.
22904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22908 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22909 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22910 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22911 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22912 (__tanl): Set errno for infinite argument.
22913 * sysdeps/i386/fpu/mptan.c: Remove.
22914 * sysdeps/i386/fpu/s_tan.S: Likewise.
22915 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22916 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22917 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22918 * math/libm-test.inc (tan_test): Add more tests and enable more
22919 tests for double and long double.
22920 * sysdeps/i386/fpu/libm-test-ulps: Update.
22921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22923 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22925 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22926 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22928 2012-03-16 Roland McGrath <roland@hack.frob.com>
22930 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22931 * configure.in: Use it for both main tree and add-ons.
22932 * configure: Regenerated.
22934 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22936 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22938 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22940 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22944 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22945 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22946 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22947 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22948 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22950 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22952 != 0 for prec == 2.
22953 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22954 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22955 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22956 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22957 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22958 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22959 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22960 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22961 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22962 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22963 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22964 * math/libm-test.inc (cos_test): Add more tests and enable more
22965 tests for long double.
22966 (sin_test): Likewise.
22967 (sincos_test): Likewise.
22968 * sysdeps/i386/fpu/libm-test-ulps: Update.
22969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22971 2012-03-16 David S. Miller <davem@davemloft.net>
22973 * sysdeps/sparc/fpu/math_private.h: New file.
22975 2012-03-15 David S. Miller <davem@davemloft.net>
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22991 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22992 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22994 * sysdeps/sparc/sparc-ifunc.h: New file.
22995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23040 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23042 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23046 2012-03-15 Andreas Jaeger <aj@suse.de>
23049 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23050 ieee754/flt-32 implementation for sin, cos and sincos.
23051 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23052 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23053 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23054 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23055 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23056 ieee754/flt-32 implementation for tan.
23058 * math/libm-test.inc (cos_test): Enable some large input tests for
23060 (sin_test): Likewise.
23061 (sincos_test): Likewise.
23062 (tan_test): Add tests for large input.
23064 * sysdeps/i386/fpu/libm-test-ulps: Update.
23066 2012-03-15 Andreas Jaeger <aj@suse.de>
23069 * math/libm-test.inc (cos_test): Add more test cases.
23070 (sin_test): Likewise.
23071 (sincos_test): Likewise.
23073 2012-03-15 Andreas Jaeger <aj@suse.de>
23076 * math/libm-test.inc (cos_test): Add a test case for large input
23078 (sin_test): Likewise.
23079 (sincos_test): Likewise.
23081 2012-03-15 Andreas Jaeger <aj@suse.de>,
23082 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23086 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23087 * sysdeps/i386/fpu/branred.c: Likewise.
23088 * sysdeps/i386/fpu/dosincos.c: Likewise.
23089 * sysdeps/i386/fpu/mpa.c: Likewise.
23090 * sysdeps/i386/fpu/s_cos.S: Likewise.
23091 * sysdeps/i386/fpu/s_sin.S: Likewise.
23092 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23093 * sysdeps/i386/fpu/sincos32.c: Likewise.
23095 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23097 (libc_feupdateenv_53bit): Define.
23098 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23100 (libc_feupdateenv_53bit): Define.
23102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23103 53 bit (without extend i386 double precision).
23105 * math/libm-test.inc (sincos_test): Add tests for large input.
23109 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23111 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23115 2012-03-15 David S. Miller <davem@davemloft.net>
23117 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23118 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23119 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23120 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23145 fmin/fmax sysdep routines.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23148 2012-03-14 David S. Miller <davem@davemloft.net>
23150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23151 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23155 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23171 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23178 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23227 * sysdeps/sparc/configure.in: New file.
23228 * sysdeps/sparc/configure: Generate.
23229 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23230 * configure: Regenerate.
23231 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23232 * config.make.in (have-as-vis3): New.
23233 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23234 available use -Av9d instead of -Av9a.
23235 * sysdeps/sparc/sparc64/Makefile: Likewise.
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23251 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23252 fzeros/fnegs to load 0x80000000 into a float register instead of
23254 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23256 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23260 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23261 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23262 ($(inst_includedir)/bits/syscall.h): Remove rule.
23263 ($(objpfx)bits/syscall.d): Include instead of
23264 $(objpfx)syscall-list.d.
23265 (generated): Change syscall-list.h and syscall-list.d to
23266 bits/syscall.h and bits/syscall.d.
23268 2012-03-14 Roland McGrath <roland@hack.frob.com>
23271 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23273 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23276 * math/s_csqrt.c: Include <float.h>.
23277 (__csqrt): Scale large or subnormal inputs.
23278 * math/s_csqrtf.c: Likewise.
23279 * math/s_csqrtl.c: Likewise.
23280 * math/libm-test.inc (csqrt_test): Add more tests.
23281 * sysdeps/i386/fpu/libm-test-ulps: Update.
23282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23285 * math/libm-test.inc (hypot_test): Add more tests.
23287 2012-03-13 David S. Miller <davem@davemloft.net>
23290 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23291 double-precision for the calculation instead of scaling.
23293 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23295 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23296 manipulate bits before adding and subtracting TWO52[sx].
23297 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23298 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23300 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23302 2012-03-13 David S. Miller <davem@davemloft.net>
23304 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23305 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23306 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23307 rtld-global-offsets.h
23308 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23310 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23313 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23315 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23316 'err' in the ifdef scope in which it is actually used.
23318 * nss/nss_db/db-init.c: Include string.h
23320 2012-03-12 David S. Miller <davem@davemloft.net>
23322 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23323 masking out of the most significant byte of random value used.
23324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23325 Fix coding style in previous change.
23327 * sysdeps/unix/sysv/linux/kernel-features.h
23328 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23329 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23331 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23334 2012-03-11 David S. Miller <davem@davemloft.net>
23336 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23337 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23338 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23339 for 'resultvar' otherwise things get truncated on 64-bit.
23341 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23342 Fix masking out of the most significant byte of random value used.
23344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23346 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23350 2012-03-09 David S. Miller <davem@davemloft.net>
23352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23353 variables with appropriate CPP guards.
23354 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23355 frame pointer, not the stack pointer. Correct layout comments. Fix test
23356 on resulting framesize and the management of the outregs buffer for pltexit.
23357 Preserve floating point return values across _dl_call_pltexit call.
23358 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23359 framesize and the management of the outregs buffer for pltexit.
23360 Preserve floating point return values across _dl_call_pltexit
23362 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23363 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23364 (print_exit): Fix format string for return register value.
23366 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23368 * sunrpc/Makefile (others): Add rpcgen.
23369 ($(objpfx)rpcgen): Remove special build rule and dependency on
23371 * sunrpc/rpcgen.c: New file.
23373 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23376 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23377 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23378 * sysdeps/i386/crti.S: Likewise.
23379 * sysdeps/i386/crtn.S: Likewise.
23380 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23381 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23382 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23383 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23384 * sysdeps/sh/crti.S: Likewise.
23385 * sysdeps/sh/crtn.S: Likewise.
23386 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23389 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23391 * locale/programs/locfile-kw.gperf: Likewise.
23392 * locale/programs/charmap-kw.h: Regenerated.
23393 * locale/programs/locfile-kw.h: Likewise.
23396 * intl/plural.y: Replace FSF snail mail address with URL.
23397 * intl/plural.c: Regenerated.
23399 2012-03-09 Richard Henderson <rth@twiddle.net>
23401 * include/math_private.h: Remove file.
23402 * math/math_private.h: Move file ...
23403 * sysdeps/generic/math_private.h: ... here.
23405 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23406 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23409 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23410 and <math_private.h>.
23411 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23412 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23413 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23414 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23415 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23416 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23417 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23466 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23468 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23469 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23470 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23478 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23480 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23482 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23483 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23490 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23492 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23494 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23499 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23502 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23504 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23505 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23506 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23507 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23508 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23510 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23511 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23512 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23513 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23514 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23515 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23516 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23524 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23526 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23527 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23529 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23530 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23531 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23533 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23534 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23537 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23538 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23539 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23540 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23541 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23542 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23543 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23544 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23547 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23548 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23550 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23552 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23553 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23554 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23555 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23556 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23557 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23558 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23559 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23560 * sysdeps/ieee754/k_standard.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23638 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23645 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23658 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23665 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23674 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23675 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23676 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23680 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23687 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23688 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23689 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23690 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23691 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23692 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23693 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23694 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23695 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23696 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23698 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23699 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23700 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23701 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23702 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23703 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23704 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23705 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23706 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23707 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23708 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23709 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23710 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23711 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23712 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23714 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23715 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23717 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23718 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23721 * sysdeps/ieee754/s_lib_version.c: Likewise.
23722 * sysdeps/ieee754/s_matherr.c: Likewise.
23723 * sysdeps/ieee754/s_signgam.c: Likewise.
23724 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23726 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23727 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23729 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23730 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23731 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23732 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23733 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23734 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23735 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23736 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23737 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23738 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23739 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23740 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23741 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23742 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23744 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23746 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23748 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23749 * sunrpc/rpc_main.c: Likewise.
23750 * sunrpc/rpc_svcout.c: Likewise.
23752 2012-03-09 David S. Miller <davem@davemloft.net>
23754 * include/math_private.h: New file.
23756 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23758 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23759 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23760 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23761 from <bits/socket_type.h>.
23762 (enum __socket_type): Don't define here.
23763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23765 bits/socket_type.h.
23768 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23769 checking __USE_GNU.
23771 * Makerules ($(inst_includedir)/%.h): New rule.
23772 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23773 (install-others): Remove variable setting.
23774 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23776 2012-03-08 Richard Henderson <rth@twiddle.net>
23778 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23779 from macro to inline function; merge with the
23780 !__LIBC_INTERNAL_MATH_INLINES version.
23781 (__ieee754_sqrtf): Likewise.
23783 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23784 to inline function.
23785 (__rintf, __floor, __floorf): Likewise.
23787 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23788 macro to inline function.
23789 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23791 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23792 not <math/math_private.h>.
23794 2012-03-08 David S. Miller <davem@davemloft.net>
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23798 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23800 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23802 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23804 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23805 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23807 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23809 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23810 be defined individually, they must be defined as a block. Define
23811 S for printing a string instead of hidint the different by using a
23812 macro for adding the 'l'.
23813 * stdio-common/tst-fphex-wide.c: Adjust.
23815 2012-03-07 Marek Polacek <polacek@redhat.com>
23817 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23819 2012-03-08 Marek Polacek <polacek@redhat.com>
23822 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23823 * stdio-common/tst-fphex.c: Define a few macros to make the
23824 test reusable. Use them.
23825 * stdio-common/tst-fphex-wide.c: New file.
23827 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23830 * manual/macros.texi (gnusystems): New macro.
23831 (nongnusystems): Likewise.
23832 (gnulinuxhurdsystems): Likewise.
23833 (gnuhurdsystems): Likewise..
23834 (gnulinuxsystems): Likewise.
23835 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23836 variants of the GNU system, not "GNU system".
23837 * manual/conf.texi: Likewise.
23838 * manual/errno.texi: Likewise. Update example of errno macro
23840 * manual/filesys.texi: Likewise.
23841 (getumask): Document as specific to GNU/Hurd.
23842 * manual/install.texi: Likewise. Reword some references to
23844 * manual/intro.texi: Likewise.
23845 * manual/io.texi: Likewise.
23846 (File Name Portability): Detail which constraints are inapplicable
23847 to all GNU systems and which are only inapplicable to GNU/Hurd.
23848 * manual/job.texi: Likewise.
23849 * manual/llio.texi: Likewise.
23850 (O_NOCTTY): Document as present on GNU/Linux.
23851 * manual/maint.texi: Likewise.
23852 * manual/memory.texi: Likewise.
23853 * manual/pattern.texi: Likewise.
23854 * manual/pipe.texi: Likewise.
23855 * manual/process.texi: Likewise.
23856 * manual/resource.texi: Likewise.
23857 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23859 * manual/setjmp.texi: Likewise.
23860 * manual/signal.texi: Likewise.
23861 * manual/startup.texi: Likewise.
23862 * manual/stdio.texi: Likewise.
23863 * manual/terminal.texi: Likewise.
23864 (ONLCR): Document as POSIX.
23865 (OXTABS): Document availability on GNU/Linux as XTABS.
23866 (ONOEOT): Document availability separately from other bits.
23867 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23868 * manual/time.texi: Likewise.
23869 * manual/users.texi: Likewise.
23870 * INSTALL: Regenerated.
23871 * sysdeps/gnu/errlist.c: Regenerated.
23873 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23874 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23875 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23877 * configure: Regenerated.
23879 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23881 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23882 default includes instead of AC_HEADER_CHECK.
23883 * sysdeps/i386/configure: Regenerated.
23886 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23887 * math/s_cacoshf.c (__cacoshf): Likewise.
23888 * math/s_cacoshl.c (__cacoshl): Likewise.
23889 * math/s_casinh.c (__casinh): Set signs of result from argument.
23890 * math/s_casinhf.c (__casinhf): Likewise.
23891 * math/s_casinhl.c (__casinhl): Likewise.
23892 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23893 (casinh_test): Add more tests.
23894 * sysdeps/i386/fpu/libm-test-ulps: Update.
23895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23897 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23899 * po/zh_TW.po: Update from translation team.
23901 * login/Makefile (distribute): Remove variable.
23902 * catgets/Makefile: Likewise.
23903 * mach/Makefile: Likewise.
23904 * malloc/Makefile: Likewise.
23905 * misc/Makefile: Likewise.
23906 * iconv/Makefile: Likewise.
23907 * nscd/Makefile: Likewise.
23908 * hurd/Makefile: Likewise.
23909 * manual/Makefile: Likewise.
23910 * locale/Makefile: Likewise.
23911 * intl/Makefile: Likewise.
23912 * conform/Makefile: Likewise.
23913 * nss/Makefile: Likewise.
23914 * time/Makefile: Likewise.
23915 * soft-fp/Makefile: Likewise.
23916 * dirent/Makefile: Likewise.
23917 * gmon/Makefile: Likewise.
23918 * po/Makefile: Likewise.
23919 * rt/Makefile: Likewise.
23920 * socket/Makefile: Likewise.
23921 * math/Makefile: Likewise.
23922 * signal/Makefile: Likewise.
23923 * debug/Makefile: Likewise.
23924 * elf/Makefile: Likewise.
23925 * timezone/Makefile: Likewise.
23926 * stdlib/Makefile: Likewise.
23927 * iconvdata/Makefile: Likewise.
23928 * sunrpc/Makefile: Likewise.
23929 * io/Makefile: Likewise.
23930 * argp/Makefile: Likewise.
23931 * inet/Makefile: Likewise.
23932 * hesiod/Makefile: Likewise.
23933 * grp/Makefile: Likewise.
23934 * csu/Makefile: Likewise.
23935 * wctype/Makefile: Likewise.
23936 * crypt/Makefile: Likewise.
23937 * libio/Makefile: Likewise.
23938 * string/Makefile: Likewise.
23939 * nis/Makefile: Likewise.
23940 * resolv/Makefile: Likewise.
23941 * stdio-common/Makefile: Likewise.
23942 * wcsmbs/Makefile: Likewise.
23943 * dlfcn/Makefile: Likewise.
23944 * posix/Makefile: Likewise.
23947 * timezone/Makefile: Don't install timezone files, just the programs
23950 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23952 * nss/databases.def: Add missing gshadow entry.
23954 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23956 2012-03-06 Marek Polacek <polacek@redhat.com>
23959 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23960 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23961 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23962 * stdio-common/tst-long-dbl-fphex.c: New file.
23964 2012-03-06 David S. Miller <davem@davemloft.net>
23966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23967 (set_obp_int): New function.
23968 (get_obp_int): New function.
23969 (__get_clockfreq_via_dev_openprom): Likewise.
23970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23971 Avoid unused variable warnings on 'val' and use builtin_expect.
23972 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23974 (INLINE_CLONE_SYSCALL): Likewise.
23976 2012-03-05 David S. Miller <davem@davemloft.net>
23978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23980 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23985 only for |x| >= 40.
23986 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23988 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23990 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23991 Replace gettimeofday with __vdso_gettimeofday.
23993 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23994 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23995 __vdso_clock_gettime and __vdso_getcpu.
23997 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23998 time with __vdso_time.
24000 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24002 * manual/lang.texi (size_t): Note types to which size_t may be
24003 equivalent with the GNU C Library, but do not describe when
24004 differences between them are significant.
24006 2012-03-05 Andreas Jaeger <aj@suse.de>
24008 * sysdeps/i386/fpu/libm-test-ulps: Update.
24010 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24013 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24014 (__ieee754_pow): Save and restore rounding mode and use
24015 round-to-nearest for main computations.
24016 * math/libm-test.inc (pow_test_tonearest): New function.
24017 (pow_test_towardzero): Likewise.
24018 (pow_test_downward): Likewise.
24019 (pow_test_upward): Likewise.
24020 (main): Call the new functions.
24021 * sysdeps/i386/fpu/libm-test-ulps: Update.
24022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24025 * math/libm-test.inc (cosh_test_tonearest): New function.
24026 (cosh_test_towardzero): Likewise.
24027 (cosh_test_downward): Likewise.
24028 (cosh_test_upward): Likewise.
24029 (sinh_test_tonearest): Likewise.
24030 (sinh_test_towardzero): Likewise.
24031 (sinh_test_downward): Likewise.
24032 (sinh_test_upward): Likewise.
24033 (main): Call the new functions.
24034 * sysdeps/i386/fpu/libm-test-ulps: Update.
24035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24037 2012-03-05 Tom de Vries <tom@codesourcery.com>
24039 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24040 default stack guard is set in last bytes.
24041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24043 2012-03-05 Kees Cook <keescook@chromium.org>
24045 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24048 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24049 possibly allocate from heap instead of stack.
24050 * stdio-common/bug-vfprintf-nargs.c: New file.
24051 * stdio-common/Makefile (tests): Add nargs overflow test.
24053 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24057 2012-03-03 Marek Polacek <polacek@redhat.com>
24059 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24060 * math/math_private.h: Likewise.
24061 * stdlib/tst-strtod.c: Likewise.
24062 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24063 * sysdeps/x86_64/bits/atomic.h: Likewise.
24065 2012-03-02 David S. Miller <davem@davemloft.net>
24067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24072 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24073 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24074 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24076 2012-03-02 Roland McGrath <roland@hack.frob.com>
24079 * manual/examples/README: New file, says the example source files
24080 can be used under GPL>=2.
24081 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24082 line containing just "*/".
24083 * manual/examples/add.c: Add copyright header (GPL>=2).
24084 * manual/examples/argp-ex1.c: Likewise.
24085 * manual/examples/argp-ex2.c: Likewise.
24086 * manual/examples/argp-ex3.c: Likewise.
24087 * manual/examples/argp-ex4.c: Likewise.
24088 * manual/examples/atexit.c: Likewise.
24089 * manual/examples/db.c: Likewise.
24090 * manual/examples/dir.c: Likewise.
24091 * manual/examples/dir2.c: Likewise.
24092 * manual/examples/execinfo.c: Likewise.
24093 * manual/examples/filecli.c: Likewise.
24094 * manual/examples/filesrv.c: Likewise.
24095 * manual/examples/fmtmsgexpl.c: Likewise.
24096 * manual/examples/genpass.c: Likewise.
24097 * manual/examples/inetcli.c: Likewise.
24098 * manual/examples/inetsrv.c: Likewise.
24099 * manual/examples/isockad.c: Likewise.
24100 * manual/examples/longopt.c: Likewise.
24101 * manual/examples/memopen.c: Likewise.
24102 * manual/examples/memstrm.c: Likewise.
24103 * manual/examples/mkfsock.c: Likewise.
24104 * manual/examples/mkisock.c: Likewise.
24105 * manual/examples/mygetpass.c: Likewise.
24106 * manual/examples/pipe.c: Likewise.
24107 * manual/examples/popen.c: Likewise.
24108 * manual/examples/rprintf.c: Likewise.
24109 * manual/examples/search.c: Likewise.
24110 * manual/examples/select.c: Likewise.
24111 * manual/examples/setjmp.c: Likewise.
24112 * manual/examples/sigh1.c: Likewise.
24113 * manual/examples/sigusr.c: Likewise.
24114 * manual/examples/stpcpy.c: Likewise.
24115 * manual/examples/strdupa.c: Likewise.
24116 * manual/examples/strftim.c: Likewise.
24117 * manual/examples/strncat.c: Likewise.
24118 * manual/examples/subopt.c: Likewise.
24119 * manual/examples/swapcontext.c: Likewise.
24120 * manual/examples/termios.c: Likewise.
24121 * manual/examples/testopt.c: Likewise.
24122 * manual/examples/testpass.c: Likewise.
24123 * manual/examples/timeval_subtract.c: Likewise.
24126 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24128 * manual/timeval_subtract.c.texi: ... here, new file.
24130 2012-03-02 David S. Miller <davem@davemloft.net>
24132 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24134 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24137 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24138 (__sin): Save and restore rounding mode and use round-to-nearest
24139 for all computations.
24140 (__cos): Save and restore rounding mode and use round-to-nearest
24141 for all computations.
24142 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24144 (tan): Save and restore rounding mode and use round-to-nearest for
24146 * math/libm-test.inc (cos_test_tonearest): New function.
24147 (cos_test_towardzero): Likewise.
24148 (cos_test_downward): Likewise.
24149 (cos_test_upward): Likewise.
24150 (sin_test_tonearest): Likewise.
24151 (sin_test_towardzero): Likewise.
24152 (sin_test_downward): Likewise.
24153 (sin_test_upward): Likewise.
24154 (tan_test_tonearest): Likewise.
24155 (tan_test_towardzero): Likewise.
24156 (tan_test_downward): Likewise.
24157 (tan_test_upward): Likewise.
24158 (main): Call the new functions.
24159 * sysdeps/i386/fpu/libm-test-ulps: Update.
24160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24163 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24164 small n, then large n, before computing and testing k+n.
24165 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24170 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24171 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24172 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24173 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24178 * math/libm-test.inc (scalbn_test): Add more tests.
24179 (scalbln_test): Likewise.
24181 * manual/filesys.texi (mode_t): Describe constraints on size and
24182 signedness, not exact equivalence to a particular type.
24184 (ino64_t): Likewise.
24186 (nlink_t): Likewise.
24187 (blkcnt_t): Likewise.
24188 (blkcnt64_t): Likewise.
24189 * manual/llio.texi (off_t): Likewise.
24192 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24193 (__ieee754_exp): Save and restore rounding mode and use
24194 round-to-nearest for all computations.
24195 * math/libm-test.inc (exp_test_tonearest): New function.
24196 (exp_test_towardzero): Likewise.
24197 (exp_test_downward): Likewise.
24198 (exp_test_upward): Likewise.
24199 (main): Call the new functions.
24200 * sysdeps/i386/fpu/libm-test-ulps: Update.
24201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24203 2012-03-01 Chris Demetriou <cgd@google.com>
24205 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24206 have predictable order.
24208 2012-03-01 David S. Miller <davem@davemloft.net>
24210 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24212 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24214 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24215 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24217 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24218 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24219 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24221 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24222 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24223 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24224 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24225 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24230 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24233 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24234 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24235 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24236 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24237 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24240 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24241 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24242 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24243 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24244 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24247 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24249 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24250 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24251 * sysdeps/sparc/elf/configure: Regenerated.
24253 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24255 * configure.in (AS, LD): Require binutils 2.20 or later.
24256 * configure: Regenerated.
24257 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24258 as required minimum version.
24259 * INSTALL: Regenerated.
24263 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24264 before squaring exponent.
24265 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24266 bottom long double and 27 bits of top long double before squaring
24268 * math/libm-test.inc (erfc_test): Add more tests.
24269 * sysdeps/i386/fpu/libm-test-ulps: Update.
24270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24273 2012-03-01 Kai Tietz <ktietz@redhat.com>
24275 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24276 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24277 containing bit-fields.
24278 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24279 * soft-fp/single.h (_FP_UNION_S): Likewise.
24280 * soft-fp/double.h (_FP_UNION_D): Likewise.
24282 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24285 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24286 not include ../strcmp.S.
24287 [USE_AS_STRNCASECMP_L]: Likewise.
24288 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24289 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24290 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24291 (__strncasecmp_l_ia32): Define as alias to
24292 __strncasecmp_l_nonascii.
24295 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24296 * sysdeps/i386/fpu/libm-test-ulps: Update.
24297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24299 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24302 2012-02-29 Jeff Law <law@redhat.com>
24304 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24305 out of bounds read.
24307 2012-02-29 Marek Polacek <polacek@redhat.com>
24310 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24311 * elf/Makefile: Add rules to run tst-unused-dep.out.
24313 2012-02-28 David S. Miller <davem@davemloft.net>
24315 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24316 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24322 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24324 * math/libm-test.inc (llround_test): Move one test from
24325 lround_test. Use TEST_f_L in moved test.
24326 (lround_test): Move misplaced test to llround_test. Add testcase
24329 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24331 * sysdeps/x86_64/fpu/e_expf.S: New file.
24332 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24334 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24337 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24338 of remain_len that may cause incomplete multi-byte character and
24340 * posix/bug-regex33.c: New file.
24341 * posix/Makefile (tests): Add bug-regex33.
24343 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24345 * manual/macros.texi: New file.
24346 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24347 * manual/libc.texinfo: Include macros.texi.
24348 * manual/creatute.texi: Likewise.
24349 * manual/install.texi: Likewise.
24350 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24351 @glibcadj{} in references to the GNU C Library.
24352 * manual/charset.texi: Likewise.
24353 * manual/conf.texi: Likewise.
24354 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24355 when not using those macros.
24356 * manual/creature.texi: Likewise.
24357 * manual/crypt.texi: Likewise.
24358 * manual/errno.texi: Likewise.
24359 * manual/filesys.texi: Likewise.
24360 * manual/header.texi: Likewise.
24361 * manual/install.texi: Likewise.
24362 * manual/intro.texi: Likewise.
24363 * manual/io.texi: Likewise.
24364 * manual/job.texi: Likewise.
24365 * manual/lang.texi: Likewise.
24366 * manual/libc.texiinfo: Likewise.
24367 * manual/llio.texi: Likewise.
24368 * manual/locale.texi: Likewise.
24369 * manual/maint.texi: Likewise.
24370 * manual/math.texi: Likewise.
24371 * manual/memory.texi: Likewise.
24372 * manual/message.texi: Likewise.
24373 * manual/nss.texi: Likewise.
24374 * manual/pattern.texi: Likewise.
24375 * manual/process.texi: Likewise.
24376 * manual/resource.texi: Likewise.
24377 * manual/search.texi: Likewise.
24378 * manual/setjmp.texi: Likewise.
24379 * manual/signal.texi: Likewise.
24380 * manual/socket.texi: Likewise.
24381 * manual/startup.texi: Likewise.
24382 * manual/stdio.texi: Likewise.
24383 * manual/string.texi: Likewise.
24384 * manual/sysinfo.texi: Likewise.
24385 * manual/syslog.texi: Likewise.
24386 * manual/terminal.texi: Likewise.
24387 * manual/time.texi: Likewise.
24388 * manual/users.texi: Likewise.
24389 * INSTALL: Regenerated.
24390 * NOTES: Regenerated.
24391 * sysdeps/gnu/errlist.c: Regenerated.
24393 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24395 * include/dirent.h: Include <dirstream.h> before
24398 2012-02-28 David S. Miller <davem@davemloft.net>
24400 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24401 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24402 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24403 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24405 2012-02-27 David S. Miller <davem@davemloft.net>
24407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24409 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24410 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24413 frame pointer instead of stack pointer relative arg slot.
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24415 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24416 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24418 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24421 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24423 2012-02-27 David S. Miller <davem@davemloft.net>
24425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24429 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24430 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24431 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24432 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24434 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24436 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24437 later. Allow versions 5-9.
24438 * configure: Regenerated.
24439 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24440 required minimum version and 4.6 as recommended version. Do not
24441 mention bugs in GCC 2.7 and 2.8.
24442 * INSTALL: Regenerated.
24444 2012-02-27 David S. Miller <davem@davemloft.net>
24446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24450 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24451 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24452 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24453 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24456 manipulate bits before adding and subtracting TWO112[sx].
24457 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24459 2012-02-27 Roland McGrath <roland@hack.frob.com>
24462 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24463 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24464 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24465 being in POSIX, because they are in 1003.1-2008.
24467 * rt/tst-aio.c: Include <fcntl.h>.
24468 * rt/tst-aio7.c: Likewise.
24469 * rt/tst-aio64.c: Likewise.
24471 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24473 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24475 * manual/install.texi (--with-headers): Describe headers as
24476 interface headers, not private headers.
24477 (Specific advice for GNU/Linux systems): Describe use of headers
24478 from "make headers_install", not private headers from older
24480 * INSTALL: Regenerated.
24481 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24483 * sysdeps/unix/sysv/linux/configure: Regenerated.
24485 * manual/llio.texi (fclean): Remove documentation.
24487 * manual/Makefile (libc-texi-generated): New variable. Include
24489 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24490 $(libc-texi-generated), not duplicated list of files.
24491 (version.texi, stamp-version): New rules.
24492 (realclean): Remove $(libc-texi-generated), not individual files
24493 from that list. Do not remove dir-add.texinfo.
24494 * manual/libc.texinfo: Comment out uses of edition numbers and
24495 references to printed manual. Remove last-updated dates.
24496 (EDITION): Comment out.
24498 (VERSION, UPDATED): Remove.
24499 (version.texi): Include.
24501 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24503 * sysdeps/posix/spawni.c: Include <signal.h>.
24504 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24505 * sysdeps/pthread/aio_fsync.c: Likewise.
24507 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24509 * conform/Makefile (tests): Run only when not cross-compiling and
24510 when fast-check is not defined.
24512 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24513 * conform/data/limits.h-data: Fixes for POSIX2008.
24514 * conform/run-conformtest.sh: Run all tests.
24515 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24517 * include/bits/dlfcn.h: Likewise.
24518 * include/langinfo.h: Likewise.
24519 * include/monetary.h: Likewise.
24520 * include/sys/poll.h: Likewise.
24522 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24524 * posix/spawn.h: Define __need_sigset_t.
24525 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24526 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24527 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24528 to get sigevent_t only.
24529 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24530 only for __USE_GNU.
24531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24532 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24533 process_vm_writev only for __USE_GNU.
24534 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24536 * conform/Makefile: For now ignore errors from run-conformtest.
24537 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24538 POSIX to avoid namespace pollution. Don't prepend headers.
24539 * conform/data/aio.h-data: Fixes for POSIX testing.
24540 * conform/data/fcntl.h-data: Likewise.
24541 * conform/data/glob.h-data: Likewise.
24542 * conform/data/grp.h-data: Likewise.
24543 * conform/data/pthread.h-data: Likewise.
24544 * conform/data/pwd.h-data: Likewise.
24545 * conform/data/signal.h-data: Likewise.
24546 * conform/data/spawn.h-data: Likewise.
24547 * conform/data/stdio.h-data: Likewise.
24548 * conform/data/stdlib.h-data: Likewise.
24549 * conform/data/stropts.h-data: Likewise.
24550 * conform/data/sys/mman.h-data: Likewise.
24551 * conform/data/sys/stat.h-data: Likewise.
24552 * conform/data/sys/types.h-data: Likewise.
24553 * conform/data/sys/wait.h-data: Likewise.
24554 * conform/data/time.h-data: Likewise.
24555 * conform/data/unistd.h-data: Likewise.
24556 * conform/data/utime.h-data: Likewise.
24558 * io/sys/stat.h: fchmod was always in POSIX.
24559 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24560 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24561 * rt/aio.h: Define __need_timespec before including <time.h>.
24562 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24563 struct. Add forward declaration of pthread_attr_t and use it in
24565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24566 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24567 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24568 always remove CLK_TCK definition.
24570 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24572 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24574 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24576 * conform/run-conformtest.sh: New file.
24577 * conform/Makefile: Run run-conformtest for tests.
24578 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24581 * conform/data/uchar.h-data: New file.
24582 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24583 * conform/data/arpa/inet.h-data: Likewise.
24584 * conform/data/assert.h-data: Likewise.
24585 * conform/data/complex.h-data: Likewise.
24586 * conform/data/cpio.h-data: Likewise.
24587 * conform/data/ctype.h-data: Likewise.
24588 * conform/data/dirent.h-data: Likewise.
24589 * conform/data/dlfcn.h-data: Likewise.
24590 * conform/data/errno.h-data: Likewise.
24591 * conform/data/fcntl.h-data: Likewise.
24592 * conform/data/float.h-data: Likewise.
24593 * conform/data/fmtmsg.h-data: Likewise.
24594 * conform/data/fnmatch.h-data: Likewise.
24595 * conform/data/ftw.h-data: Likewise.
24596 * conform/data/glob.h-data: Likewise.
24597 * conform/data/grp.h-data: Likewise.
24598 * conform/data/iconv.h-data: Likewise.
24599 * conform/data/inttypes.h-data: Likewise.
24600 * conform/data/langinfo.h-data: Likewise.
24601 * conform/data/libgen.h-data: Likewise.
24602 * conform/data/limits.h-data: Likewise.
24603 * conform/data/locale.h-data: Likewise.
24604 * conform/data/math.h-data: Likewise.
24605 * conform/data/monetary.h-data: Likewise.
24606 * conform/data/mqueue.h-data: Likewise.
24607 * conform/data/ndbm.h-data: Likewise.
24608 * conform/data/net/if.h-data: Likewise.
24609 * conform/data/netdb.h-data: Likewise.
24610 * conform/data/netinet/in.h-data: Likewise.
24611 * conform/data/nl_types.h-data: Likewise.
24612 * conform/data/poll.h-data: Likewise.
24613 * conform/data/pthread.h-data: Likewise.
24614 * conform/data/pwd.h-data: Likewise.
24615 * conform/data/regex.h-data: Likewise.
24616 * conform/data/sched.h-data: Likewise.
24617 * conform/data/search.h-data: Likewise.
24618 * conform/data/semaphore.h-data: Likewise.
24619 * conform/data/setjmp.h-data: Likewise.
24620 * conform/data/signal.h-data: Likewise.
24621 * conform/data/spawn.h-data: Likewise.
24622 * conform/data/stdarg.h-data: Likewise.
24623 * conform/data/stdio.h-data: Likewise.
24624 * conform/data/stdlib.h-data: Likewise.
24625 * conform/data/string.h-data: Likewise.
24626 * conform/data/strings.h-data: Likewise.
24627 * conform/data/stropts.h-data: Likewise.
24628 * conform/data/sys/ipc.h-data: Likewise.
24629 * conform/data/sys/mman.h-data: Likewise.
24630 * conform/data/sys/msg.h-data: Likewise.
24631 * conform/data/sys/resource.h-data: Likewise.
24632 * conform/data/sys/select.h-data: Likewise.
24633 * conform/data/sys/sem.h-data: Likewise.
24634 * conform/data/sys/shm.h-data: Likewise.
24635 * conform/data/sys/socket.h-data: Likewise.
24636 * conform/data/sys/stat.h-data: Likewise.
24637 * conform/data/sys/statvfs.h-data: Likewise.
24638 * conform/data/sys/time.h-data: Likewise.
24639 * conform/data/sys/timeb.h-data: Likewise.
24640 * conform/data/sys/times.h-data: Likewise.
24641 * conform/data/sys/types.h-data: Likewise.
24642 * conform/data/sys/uio.h-data: Likewise.
24643 * conform/data/sys/un.h-data: Likewise.
24644 * conform/data/sys/utsname.h-data: Likewise.
24645 * conform/data/sys/wait.h-data: Likewise.
24646 * conform/data/syslog.h-data: Likewise.
24647 * conform/data/tar.h-data: Likewise.
24648 * conform/data/termios.h-data: Likewise.
24649 * conform/data/utime.h-data: Likewise.
24650 * conform/data/utmpx.h-data: Likewise.
24651 * conform/data/varargs.h-data: Likewise.
24652 * conform/data/wchar.h-data: Likewise.
24653 * conform/data/wctype.h-data: Likewise.
24654 * conform/data/wordexp.h-data: Likewise.
24656 * include/stropts.h: New file.
24657 * include/uchar.h: New file.
24658 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24659 * include/assert.h: Likewise.
24660 * include/ctype.h: Likewise.
24661 * include/dirent.h: Likewise.
24662 * include/dlfcn.h: Likewise.
24663 * include/fcntl.h: Likewise.
24664 * include/fnmatch.h: Likewise.
24665 * include/glob.h: Likewise.
24666 * include/grp.h: Likewise.
24667 * include/libio.h: Likewise.
24668 * include/locale.h: Likewise.
24669 * include/math.h: Likewise.
24670 * include/net/if.h: Likewise.
24671 * include/netdb.h: Likewise.
24672 * include/netinet/in.h: Likewise.
24673 * include/pthread.h: Likewise.
24674 * include/pwd.h: Likewise.
24675 * include/regex.h: Likewise.
24676 * include/sched.h: Likewise.
24677 * include/search.h: Likewise.
24678 * include/setjmp.h: Likewise.
24679 * include/signal.h: Likewise.
24680 * include/stdio.h: Likewise.
24681 * include/stdlib.h: Likewise.
24682 * include/string.h: Likewise.
24683 * include/sys/cdefs.h: Likewise.
24684 * include/sys/mman.h: Likewise.
24685 * include/sys/msg.h: Likewise.
24686 * include/sys/resource.h: Likewise.
24687 * include/sys/select.h: Likewise.
24688 * include/sys/socket.h: Likewise.
24689 * include/sys/stat.h: Likewise.
24690 * include/sys/statvfs.h: Likewise.
24691 * include/sys/time.h: Likewise.
24692 * include/sys/times.h: Likewise.
24693 * include/sys/uio.h: Likewise.
24694 * include/sys/utsname.h: Likewise.
24695 * include/sys/wait.h: Likewise.
24696 * include/termios.h: Likewise.
24697 * include/time.h: Likewise.
24698 * include/ulimit.h: Likewise.
24699 * include/unistd.h: Likewise.
24700 * include/utime.h: Likewise.
24701 * include/wchar.h: Likewise.
24702 * include/wctype.h: Likewise.
24703 * include/wordexp.h: Likewise.
24705 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24707 * time/time.h: TIME_UTC must be a macro.
24708 Make timespec_get available for ISO C11 only as well.
24710 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24712 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24713 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24715 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24717 * configure.in: Use -o not -a in test for unsupported multi-arch.
24719 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24721 * manual/texinfo.tex: Update to version 2012-01-19.16.
24723 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24725 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24727 2012-02-24 Roland McGrath <roland@hack.frob.com>
24730 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24731 * manual/fdl-1.3.texi: New file.
24732 * manual/fdl-1.1.texi: File removed.
24735 * manual/libc.texinfo (FDL_VERSION): New @set.
24736 Use it for mention of FDL in cover text.
24737 (Documentation License): Use it in @include file name.
24739 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24740 Roland McGrath <roland@hack.frob.com>
24743 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24744 not LONG_LONG_MAX and LONG_LONG_MIN.
24745 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24746 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24748 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24750 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24754 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24755 manipulate bits before adding and subtracting TWO23[sx].
24756 * math/libm-test.inc (nearbyint_test): Add more tests.
24758 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24761 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24762 bits before adding and subtracting TWO23[sx].
24763 * math/libm-test.inc (rint_test): Add more tests.
24764 (rint_test_tonearest): Likewise.
24765 (rint_test_towardzero): Likewise.
24766 (rint_test_downward): Likewise.
24767 (rint_test_upward: Likewise.
24769 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24772 * include/stdc-predef.h: New file. Extracted from features.h.
24773 * include/features.h: Include stdc-predef.h.
24774 * Makefile (headers): Add stdc-predef.h.
24775 * CONFORMANCE (Compiler limitations): Update.
24777 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24779 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24781 2012-02-21 David S. Miller <davem@davemloft.net>
24783 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24784 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24786 2012-02-20 David S. Miller <davem@davemloft.net>
24788 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24789 using a normal save/restore sequence, rather than allocating a
24790 dummy stack frame just to store a frame pointer and restore.
24791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24793 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24795 * manual/install.texi: Fix stray word in line-wrapped comment.
24797 2012-02-20 David S. Miller <davem@davemloft.net>
24799 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24800 both binutils and gcc support GOTDATA.
24802 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24803 "rd %pc" in the PIC register setup sequences.
24805 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24806 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24807 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24808 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24809 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24810 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24811 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24812 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24814 (SYSCALL_ERROR_HANDLER): Likewise.
24815 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24816 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24818 (SYSCALL_ERROR_HANDLER): Likewise.
24820 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24821 (HAVE_GCC_GOTDATA): New.
24822 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24823 relocation support in both binutils and gcc.
24824 * sysdeps/sparc/elf/configure: Regenerate.
24826 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24827 * sysdeps/sparc/sparc32/elf/configure: Delete.
24828 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24829 * sysdeps/sparc/sparc64/elf/configure: Delete.
24830 * sysdeps/sparc/elf/configure.in: New file.
24831 * sysdeps/sparc/elf/configure: Generate.
24833 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24834 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24835 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24836 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24837 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24839 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24841 * manual/install.texi: Do not mention specific glibc version
24843 * manual/libc.texinfo (VERSION, UPDATED): Update.
24844 (@copying): Use @copyright{} and range of years.
24846 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24849 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24850 [crti.S not in sysdirs] (generated): Do not append.
24851 [crti.S not in sysdirs] (omit-deps): Likewise.
24852 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24853 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24854 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24855 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24856 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24858 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24859 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24860 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24861 * csu/defs.awk: Remove file.
24862 * sysdeps/generic/initfini.c: Likewise.
24863 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24865 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24868 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24870 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24871 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24872 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24873 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24875 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24877 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24878 (__EPOLL_PACKED): Define to empty if not defined by
24880 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24881 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24884 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24886 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24887 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24889 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24891 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24895 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24897 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24899 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24900 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24901 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24904 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24907 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24909 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24911 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24912 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24914 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24916 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24919 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24921 * math/w_acos.c: Use non-signaling floating-point comparisons.
24922 * math/w_acosf.c: Likewise.
24923 * math/w_acosh.c: Likewise.
24924 * math/w_acoshf.c: Likewise.
24925 * math/w_acoshl.c: Likewise.
24926 * math/w_acosl.c: Likewise.
24927 * math/w_asin.c: Likewise.
24928 * math/w_asinf.c: Likewise.
24929 * math/w_asinl.c: Likewise.
24930 * math/w_atanh.c: Likewise.
24931 * math/w_atanhf.c: Likewise.
24932 * math/w_atanhl.c: Likewise.
24933 * math/w_exp2.c: Likewise.
24934 * math/w_exp2f.c: Likewise.
24935 * math/w_exp2l.c: Likewise.
24936 * math/w_j0.c: Likewise.
24937 * math/w_j0f.c: Likewise.
24938 * math/w_j0l.c: Likewise.
24939 * math/w_j1.c: Likewise.
24940 * math/w_j1f.c: Likewise.
24941 * math/w_j1l.c: Likewise.
24942 * math/w_jn.c: Likewise.
24943 * math/w_jnf.c: Likewise.
24944 * math/w_log.c: Likewise.
24945 * math/w_log10.c: Likewise.
24946 * math/w_log10f.c: Likewise.
24947 * math/w_log10l.c: Likewise.
24948 * math/w_log2.c: Likewise.
24949 * math/w_log2f.c: Likewise.
24950 * math/w_log2l.c: Likewise.
24951 * math/w_logf.c: Likewise.
24952 * math/w_logl.c: Likewise.
24953 * math/w_sqrt.c: Likewise.
24954 * math/w_sqrtf.c: Likewise.
24955 * math/w_sqrtl.c: Likewise.
24956 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24957 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24959 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24960 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24962 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24965 * manual/string.texi (strnlen): Use correct parameter name in
24966 equivalent expression.
24968 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24971 * manual/users.texi (seteuid): Consistently use neweuid for
24974 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24977 * manual/nss.texi (Services in the NSS configuration): Correct
24978 list of services in example configuration file.
24980 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24983 * manual/arith.texi: Remove statements about negative zero
24984 behaving identically to zero.
24986 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24989 * manual/install.texi: Do not document upgrading from libc5.
24991 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24994 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24996 2012-02-18 David S. Miller <davem@davemloft.net>
24998 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24999 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25000 %o7 across the call.
25001 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25004 SETUP_PIC_REG_LEAF.
25005 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25006 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25007 * sysdeps/sparc/crtn.S: Likewise.
25009 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25011 * aout/Makefile: Remove.
25013 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25016 * manual/examples/argp-ex1.c (main): Format definition in GNU
25018 * manual/examples/argp-ex2.c (main): Likewise.
25019 * manual/examples/argp-ex3.c (main): Likewise.
25020 * manual/examples/argp-ex4.c (main): Likewise.
25021 * manual/examples/longopt.c (main): Use new-style prototype
25023 * manual/examples/strncat.c (main): Specify return type and use
25024 (void) for arguments.
25025 * manual/examples/subopt.c (main): Use char **argv argument.
25027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25030 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25033 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25036 * manual/string.texi (strchr): Change when strchrnul is
25039 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25042 * manual/locale.texi (setlocale): Document LOCPATH.
25044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25047 * manual/process.texi (execle): Move @dots{} before last argument.
25049 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25052 * manual/charset.texi (Generic Charset Conversion): Fix typo
25053 (LC_TYPE -> LC_CTYPE).
25055 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25058 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25059 (scalbnf): Likewise.
25060 (scalbnl): Likewise.
25061 (scalbln): Likewise.
25062 (scalblnf): Likewise.
25063 (scalblnl): Likewise.
25064 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25065 (vwarnx): Likewise.
25068 * manual/filesys.texi (telldir): Use braces around return type.
25069 * manual/llio.texi (mmap): Add space after comma.
25070 (mmap64): Likewise.
25071 * manual/math.texi (jn): Use @var{} on parameter names.
25077 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25079 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25081 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25082 (sched_get_priority_max): Likewise.
25083 * manual/signal.texi (sigvec): Add space after comma.
25084 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25086 (if_indextoname): Likewise.
25087 (if_freenameindex): Likewise.
25088 (sendto): Use ',' instead of '.' in prototype.
25089 * manual/startup.texi (syscall): Use @dots{} instead of literal
25091 * manual/stdio.texi (__fpending): Separate initial words of
25092 paragraph from @deftypefun line.
25093 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25095 (vsyslog): Use @var{} on parameter names.
25096 * manual/terminal.texi (stty): Use @var{} on parameter names.
25097 * manual/users.texi (getutmp): Use @var{} on parameter names.
25098 (getutmpx): Likewise.
25100 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25103 * manual/stdio.texi (fopen): Fix typos in description of
25106 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25109 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25110 get clock_id definition.
25112 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25115 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25116 (madvise): Cast every argument to void on its own.
25118 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25121 * manual/startup.texi (Exit Status): Fix typo.
25123 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25126 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25127 * manual/examples/argp-ex2.c: Likewise.
25128 * manual/examples/argp-ex3.c: Likewise.
25130 2012-02-16 Richard Henderson <rth@redhat.com>
25132 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25133 * sysdeps/s390/s390-32/initfini.c: Remove.
25134 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25135 * sysdeps/s390/s390-64/initfini.c: Remove.
25137 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25139 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25140 compiler output for sysdeps/generic/initfini.c.
25141 * sysdeps/sh/elf/initfini.c: Remove file.
25143 2012-02-16 David S. Miller <davem@davemloft.net>
25146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25148 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25149 * sysdeps/sparc/crti.S: New file.
25150 * sysdeps/sparc/crtn.S: New file.
25151 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25152 * sysdeps/sparc/sparc64/Makefile: Likewise.
25154 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25157 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25159 2012-02-15 Roland McGrath <roland@hack.frob.com>
25162 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25164 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25165 (write, read, close): Likewise.
25166 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25168 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25170 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25171 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25172 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25173 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25175 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25179 2012-02-14 Marek Polacek <polacek@redhat.com>
25181 * sysdeps/x86_64/crti.S: New file.
25182 * sysdeps/x86_64/crtn.S: New file.
25183 * sysdeps/x86_64/elf/initfini.c: Remove file.
25185 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25187 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25188 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25189 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25190 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25192 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25196 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25198 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25199 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25200 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25201 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25203 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25207 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25209 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25210 __feraiseexcept instead of feraiseexcept.
25212 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25213 nanosleep invocations.
25214 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25215 strings, and add error checking for a nanosleep invocations.
25217 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25219 Replace FSF snail mail address with URLs, as per GNU coding standards.
25220 Most of the snail mail addresses were wrong anyway, and omitting
25221 them makes the source code easier to maintain. Almost all of the
25222 changes are to license notices and to locale LC_IDENTIFICATION
25223 addresses, except for this one:
25224 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25225 not its snail mail address.
25227 2012-02-09 Richard Henderson <rth@twiddle.net>
25229 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25230 of kernel-features.h.
25232 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25234 2012-02-08 Marek Polacek <polacek@redhat.com>
25236 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25237 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25238 * sysdeps/gnu/_G_config.h: Likewise.
25239 * sysdeps/generic/_G_config.h: Likewise.
25241 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25243 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25247 * sysdeps/powerpc/powerpc32/crti.S: New file.
25248 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25249 * sysdeps/powerpc/powerpc64/crti.S: New file.
25250 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25252 * Makeconfig (have-initfini): Don't set.
25253 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25254 * configure.in (nopic_initfini): Don't substitute.
25255 * config.h.in (HAVE_INITFINI): Don't #undef.
25256 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25257 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25259 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25261 Support crti.S and crtn.S provided directly by architectures.
25262 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25263 [crti.S in sysdirs] (omit-deps): Likewise.
25264 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25265 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25266 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25267 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25268 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25269 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25270 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25271 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25272 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25273 compiler output for sysdeps/generic/initfini.c.
25274 * sysdeps/i386/elf/Makefile: Remove file.
25275 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25277 2012-02-07 Marek Polacek <polacek@redhat.com>
25279 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25280 * sysdeps/gnu/_G_config.h: Likewise.
25281 * sysdeps/mach/hurd/_G_config.h: Likewise.
25283 2012-02-07 Marek Polacek <polacek@redhat.com>
25285 * math/Makefile (tests): Add tst-CMPLX2.
25286 * math/tst-CMPLX2.c: New file.
25288 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25290 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25292 * math/libm-test.inc (jn_test): Add missing L suffix.
25294 2012-02-06 Marek Polacek <polacek@redhat.com>
25296 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25297 * sysdeps/i386/fpu/e_powf.S: Likewise.
25298 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25299 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25300 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25301 * sysdeps/i386/fpu/e_pow.S: Likewise.
25302 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25303 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25304 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25305 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25306 * sysdeps/i386/fpu/e_log2.S: Likewise.
25307 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25308 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25309 * sysdeps/i386/fpu/e_powl.S: Likewise.
25310 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25311 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25312 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25313 * sysdeps/i386/fpu/e_logl.S: Likewise.
25314 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25315 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25316 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25317 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25318 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25319 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25320 * sysdeps/i386/fpu/e_log.S: Likewise.
25321 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25322 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25323 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25324 * sysdeps/i386/fpu/e_logf.S: Likewise.
25325 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25326 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25327 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25328 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25329 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25330 * sysdeps/i386/fpu/e_log10.S: Likewise.
25331 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25332 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25333 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25334 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25335 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25336 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25337 * sysdeps/i386/asm-syntax.h: Likewise.
25338 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25339 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25340 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25341 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25342 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25343 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25344 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25345 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25346 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25347 * sysdeps/powerpc/sysdep.h: Likewise.
25348 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25349 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25351 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25354 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25356 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/i386/sysdep.h: Include <features.h>.
25359 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25362 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25364 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25366 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25369 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25371 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25372 (SETUP_PIC_REG): Use GET_PC_THUNK.
25373 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25376 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25378 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25379 for non-PIC compilation.
25380 (SETUP_PIC_REG): Add .p2align directive.
25381 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25382 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25383 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25384 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25385 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25386 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25388 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25389 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25390 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25391 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25392 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25393 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25394 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25395 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25396 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25397 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25398 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25399 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25400 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25425 * math/tst-CMPLX.c: Include <stdio.h>.
25427 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25429 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25431 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25432 * sysdeps/sparc/bits/mathdef.h: Likewise.
25434 2012-01-31 Marek Polacek <polacek@redhat.com>
25436 * libio/libio.h: Don't define _PARAMS.
25437 * locale/programs/config.h: Don't define PARAMS.
25438 * stdlib/strtol_l.c: Likewise.
25439 (__strtol_l): Remove PARAMS from the prototype.
25441 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25443 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25444 names. Just use the correct names. Remove unnecessary wrapper
25446 * malloc/arena.c: Likewise.
25447 * malloc/hooks.c: Likewise.
25449 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25450 ARENA_TEST says not to. Simplify test for creation of a new arena.
25451 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25453 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25455 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25457 (update_get_addr): New function.
25458 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25459 GET_ADDR_MODULE parameter.
25461 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25463 * crypt/cert.c: Remove __STDC__ conditionals.
25464 * crypt/crypt-entry.c: Likewise.
25465 * crypt/crypt_util.c: Likewise.
25466 * libio/filedoalloc.c: Likewise.
25467 * libio/fileops.c: Likewise.
25468 * libio/genops.c: Likewise.
25469 * libio/iofclose.c: Likewise.
25470 * libio/iofdopen.c: Likewise.
25471 * libio/iofopen.c: Likewise.
25472 * libio/iofopen64.c: Likewise.
25473 * libio/iogetdelim.c: Likewise.
25474 * libio/iopopen.c: Likewise.
25475 * libio/obprintf.c: Likewise.
25476 * libio/oldfileops.c: Likewise.
25477 * libio/oldiofclose.c: Likewise.
25478 * libio/oldiofdopen.c: Likewise.
25479 * libio/oldiofopen.c: Likewise.
25480 * libio/oldiopopen.c: Likewise.
25481 * libio/wfiledoalloc.c: Likewise.
25482 * libio/wgenops.c: Likewise.
25483 * locale/programs/xmalloc.c: Likewise.
25484 * misc/syslog.c: Likewise.
25485 * stdio-common/xbug.c: Likewise.
25486 * string/memchr.c: Likewise.
25487 * string/memcmp.c: Likewise.
25488 * string/memrchr.c: Likewise.
25489 * string/rawmemchr.c: Likewise.
25490 * sysdeps/posix/getcwd.c: Likewise.
25491 * time/strftime_l.c: Likewise.
25493 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25495 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25496 * config.make.in (config-cflags-sse2avx): Define.
25497 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25500 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25502 * scripts/config.guess: Update from upstream config git repository.
25503 * scripts/config.sub: Likewise.
25505 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25507 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25509 (R_TILEPRO_*, R_TILEGX_*): New macros.
25511 * scripts/firstversions.awk: Fix bug in version range handling.
25513 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25515 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25517 * include/sys/epoll.h: New file.
25518 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25521 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25523 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25524 Avoid unnecessary __WORDSIZE == 64 test.
25525 (fmaxf): Use VEX format if possible.
25530 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25531 * math/math_private.h: Remove libc_fegetround* and
25533 * sysdeps/i386/configure.in: Check for -msse2avx.
25534 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25535 also if SSE2AVX is defined.
25536 Remove libc_fegetround* and libc_fesetround*.
25537 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25538 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25539 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25541 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25542 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25543 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25544 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25545 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25547 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25549 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25551 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25555 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25558 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25560 * Makeconfig (libm): Define.
25561 * elf/Makefile: Add rules to build and run tst-relsort1.
25562 * elf/tst-relsort1.c: New file.
25563 * elf/tst-relsort1mod1.c: New file.
25564 * elf/tst-relsort1mod2.c: New file.
25566 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25568 * math/s_ldexp.c: Remove __STDC__ conditionals.
25569 * math/s_ldexpf.c: Likewise.
25570 * math/s_ldexpl.c: Likewise.
25571 * math/s_nextafter.c: Likewise.
25572 * math/s_nexttowardf.c: Likewise.
25573 * math/s_significand.c: Likewise.
25574 * math/s_significandf.c: Likewise.
25575 * math/s_significandl.c: Likewise.
25576 * math/w_jnl.c: Likewise.
25577 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25578 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25579 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25580 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25581 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25591 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25593 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25594 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25596 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25599 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25601 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25607 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25608 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25609 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25611 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25612 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25614 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25615 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25616 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25617 * sysdeps/ieee754/k_standard.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25679 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25684 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25693 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25697 * sysdeps/ieee754/s_matherr.c: Likewise.
25698 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25699 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25703 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25705 * crypt/md5.h: Remove __STDC__ conditionals.
25706 * libio/libioP.h: Likewise.
25707 * locale/programs/config.h: Likewise.
25708 * sysdeps/generic/sysdep.h: Likewise.
25709 * sysdeps/i386/asm-syntax.h: Likewise.
25710 * sysdeps/s390/asm-syntax.h: Likewise.
25711 * sysdeps/unix/sysdep.h: Likewise.
25712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25715 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25717 * libio/libio.h: Remove __STDC__ conditionals.
25718 * malloc/obstack.h: Likewise.
25719 * math/complex.h: Likewise.
25720 * math/math.h: Likewise.
25721 * sysdeps/generic/_G_config.h: Likewise.
25722 * sysdeps/gnu/_G_config.h: Likewise.
25723 * sysdeps/mach/hurd/_G_config.h: Likewise.
25724 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25725 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25726 * sysdeps/sparc/bits/mathdef.h: Likewise.
25728 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25731 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25732 Clean up HAS_* macros.
25733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25734 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25736 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25738 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25739 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25740 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25741 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25744 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25746 * elf/tst-unique3.cc (gets): Remove declaration.
25747 * elf/tst-unique3lib.cc (gets): Likewise.
25748 * elf/tst-unique3lib2.cc (gets): Likewise.
25749 * elf/tst-unique4.cc (gets): Likewise.
25751 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25753 * include/stdio.h: Add C++ protection. Add gets declarations and
25755 * debug/tst-chk1.c: Don't declare gets here.
25756 * stdio-common/tst-gets.c: Likewise.
25758 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25760 * posix/glob: Remove directory.
25762 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25764 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25766 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25768 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25769 of the non-standard EPFNOSUPPORT.
25771 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25773 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25774 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25775 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25777 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25779 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25781 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25783 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25785 * nscd/grpcache.c (cache_addgr): Likewise.
25786 * nscd/hstcache.c (cache_addhst): Likewise.
25787 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25788 * nscd/pwdcache.c (cache_addpw): Likewise.
25789 * nscd/servicescache.c (cache_addserv): Likewise.
25791 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25793 * malloc/malloc.c: Various cleanups.
25794 * malloc/hooks.c: Likewise.
25796 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25797 * stdlib/bug-fmtmsg1.c: New file.
25799 * stdlib/fmtmsg.c (init): Add missing unlock.
25800 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25802 2012-01-12 Marek Polacek <polacek@redhat.com>
25804 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25807 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25809 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25810 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25811 macro to ensure uniqueness of label name.
25812 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25813 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25815 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25817 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25819 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25820 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25824 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25826 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25828 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25829 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25830 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25832 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25834 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25835 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25839 * math/bits/math-finite.h: Add ldexp support.
25841 2012-01-10 Marek Polacek <polacek@redhat.com>
25843 * locale/programs/localedef.h (show_archive_content): Add noreturn
25846 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25848 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25850 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25852 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25854 * io/Makefile (headers): Add bits/poll2.h.
25856 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25859 typo #include statement.
25861 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25863 * include/sys/cdefs.h: Define __attribute_alloc_size.
25864 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25865 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25866 * elf/pldd.c: Likewise.
25867 * iconv/iconv_charmap.c: Likewise.
25868 * iconv/iconvconfig.c: Likewise.
25869 * iconv/strtab.c: Likewise.
25870 * locale/programs/locale.c: Likewise.
25871 * locale/programs/localedef.h: Likewise.
25872 * locale/programs/simple-hash.c: Likewise.
25873 * nscd/nscd.h: Likewise.
25874 * nss/makedb.c: Likewise.
25875 * sysdeps/generic/ldconfig.h: Likewise.
25876 * locale/programs/localedef.c: Remove xmalloc prototype.
25877 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25879 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25881 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25884 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25886 * math/Makefile (tests): Add tst-CMPLX.
25887 * math/tst-CMPLX.c: New file.
25889 * math/complex.h (CMPLXL): Fix typo.
25891 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25892 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25894 * debug/tst-chk1.c: Add poll and ppoll tests.
25895 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25896 * include/sys/poll.h: Add hidden proto for ppoll.
25897 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25898 * sysdeps/mach/hurd/ppoll.c: Likewise.
25899 * io/ppoll.c: Likewise.
25900 * debug/poll_chk.c: New file.
25901 * debug/ppoll_chk.c: New file.
25902 * include/bits/poll2.h: New file.
25903 * io/bits/poll2.h: New file.
25906 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25908 * configure.in: static is always set to yes. Remove.
25909 * config.make.in: Don't set build-static.
25910 * Makeconfig: Remove use of build-static.
25911 * dlfcn/Makefile: Likewise.
25912 * elf/Makefile: Likewise.
25913 * math/Makefile: Likewise.
25914 * misc/Makefile: Likewise.
25915 * nptl/Makefile: Likewise.
25916 * sysdeps/mach/hurd/Makefile: Likewise.
25918 * configure.in: PWD_P is not used anymore.
25919 * config.make.in: Remove PWD_P entry.
25921 * configure.in: Remove last remnants of RANLIB.
25922 No need to check for signed size_t anymore.
25923 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25925 Remove __builtin_expect test because we require at least gcc 3.4.
25926 * aclocal.m4: Likewise.
25928 * wcsmbs/mbrtoc16.c: Implement using towc function.
25929 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25930 * wcsmbs/wcsmbsload.c: Likewise.
25931 * iconv/gconv_simple.c: Likewise.
25932 * iconv/gconv_int.h: Likewise.
25933 * iconv/gconv_builtin.h: Likewise.
25934 * iconv/iconv_prog.c: Remove CHAR16 handling.
25936 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25938 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25940 * configure.in: Remove --with-elf and --enable-bounded options.
25941 Dont set base_machine for ia64. More non-ELF conditions removed.
25942 Remove testing and setting of leading underscore information.
25943 * config.make.in (build-bounded): Set to no.
25944 * config.h.in: Remove NO_UNDERSCORES entry.
25945 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25947 * csu/start.c: Remove !NO_UNDERSCORE code.
25948 * locale/localeinfo.h: Likewise.
25949 * sysdeps/generic/machine-gmon.h: Likewise.
25950 * sysdeps/generic/sysdep.h: Likewise.
25951 * sysdeps/i386/sysdep.h: Likewise.
25952 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25953 * sysdeps/mach/sysdep.h: Likewise.
25954 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25955 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25956 * sysdeps/sh/sysdep.h: Likewise.
25957 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25958 * sysdeps/unix/i386/sysdep.S: Likewise.
25959 * sysdeps/unix/sparc/start.c: Likewise.
25960 * sysdeps/unix/sparc/sysdep.S: Likewise.
25961 * sysdeps/unix/sparc/sysdep.h: Likewise.
25962 * sysdeps/unix/start.c: Likewise.
25963 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25964 * sysdeps/x86_64/sysdep.h: Likewise.
25966 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25969 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25971 * argp/argp-fmtstream.h: Use const instead __const.
25972 * argp/argp.h: Likewise.
25973 * assert/assert.h: Likewise.
25974 * bits/fenv.h: Likewise.
25975 * bits/sched.h: Likewise.
25976 * bits/sigset.h: Likewise.
25977 * bits/sigthread.h: Likewise.
25978 * catgets/nl_types.h: Likewise.
25979 * conform/data/pthread.h-data: Likewise.
25980 * crypt/crypt-private.h: Likewise.
25981 * crypt/crypt.h: Likewise.
25982 * crypt/crypt_util.c: Likewise.
25983 * ctype/ctype.h: Likewise.
25984 * debug/execinfo.h: Likewise.
25985 * debug/mbsnrtowcs_chk.c: Likewise.
25986 * debug/mbsrtowcs_chk.c: Likewise.
25987 * debug/wcsnrtombs_chk.c: Likewise.
25988 * debug/wcsrtombs_chk.c: Likewise.
25989 * debug/wcstombs_chk.c: Likewise.
25990 * dirent/dirent.h: Likewise.
25991 * dlfcn/dlfcn.h: Likewise.
25992 * elf/neededtest4.c: Likewise.
25993 * grp/grp.h: Likewise.
25994 * gshadow/gshadow.h: Likewise.
25995 * iconv/gconv.h: Likewise.
25996 * iconv/gconv_int.h: Likewise.
25997 * iconv/gconv_simple.c: Likewise.
25998 * iconv/iconv.h: Likewise.
25999 * iconv/loop.c: Likewise.
26000 * iconv/skeleton.c: Likewise.
26001 * include/aio.h: Likewise.
26002 * include/aliases.h: Likewise.
26003 * include/argz.h: Likewise.
26004 * include/arpa/inet.h: Likewise.
26005 * include/assert.h: Likewise.
26006 * include/dirent.h: Likewise.
26007 * include/dlfcn.h: Likewise.
26008 * include/execinfo.h: Likewise.
26009 * include/fcntl.h: Likewise.
26010 * include/fenv.h: Likewise.
26011 * include/glob.h: Likewise.
26012 * include/grp.h: Likewise.
26013 * include/libintl.h: Likewise.
26014 * include/mntent.h: Likewise.
26015 * include/netdb.h: Likewise.
26016 * include/pwd.h: Likewise.
26017 * include/rpc/netdb.h: Likewise.
26018 * include/sched.h: Likewise.
26019 * include/search.h: Likewise.
26020 * include/shadow.h: Likewise.
26021 * include/signal.h: Likewise.
26022 * include/stdio.h: Likewise.
26023 * include/stdlib.h: Likewise.
26024 * include/string.h: Likewise.
26025 * include/sys/socket.h: Likewise.
26026 * include/sys/stat.h: Likewise.
26027 * include/sys/statfs.h: Likewise.
26028 * include/sys/statvfs.h: Likewise.
26029 * include/sys/syslog.h: Likewise.
26030 * include/sys/time.h: Likewise.
26031 * include/sys/uio.h: Likewise.
26032 * include/time.h: Likewise.
26033 * include/unistd.h: Likewise.
26034 * include/utmp.h: Likewise.
26035 * include/wchar.h: Likewise.
26036 * include/wctype.h: Likewise.
26037 * inet/aliases.h: Likewise.
26038 * inet/arpa/inet.h: Likewise.
26039 * inet/netinet/ether.h: Likewise.
26040 * inet/netinet/in.h: Likewise.
26041 * intl/libintl.h: Likewise.
26042 * io/bits/fcntl2.h: Likewise.
26043 * io/fcntl.h: Likewise.
26044 * io/ftw.h: Likewise.
26045 * io/sys/poll.h: Likewise.
26046 * io/sys/stat.h: Likewise.
26047 * io/sys/statfs.h: Likewise.
26048 * io/sys/statvfs.h: Likewise.
26049 * io/utime.h: Likewise.
26050 * libio/bits/stdio.h: Likewise.
26051 * libio/bits/stdio2.h: Likewise.
26052 * libio/libio.h: Likewise.
26053 * libio/libioP.h: Likewise.
26054 * libio/stdio.h: Likewise.
26055 * locale/lc-ctype.c: Likewise.
26056 * locale/locale.h: Likewise.
26057 * login/utmp.h: Likewise.
26058 * malloc/arena.c: Likewise.
26059 * malloc/malloc.c: Likewise.
26060 * malloc/malloc.h: Likewise.
26061 * malloc/mcheck.c: Likewise.
26062 * malloc/mtrace.c: Likewise.
26063 * math/bits/mathcalls.h: Likewise.
26064 * math/fenv.h: Likewise.
26065 * math/math_private.h: Likewise.
26066 * misc/bits/error.h: Likewise.
26067 * misc/bits/syslog.h: Likewise.
26068 * misc/err.h: Likewise.
26069 * misc/error.h: Likewise.
26070 * misc/fstab.h: Likewise.
26071 * misc/mntent.h: Likewise.
26072 * misc/regexp.h: Likewise.
26073 * misc/search.h: Likewise.
26074 * misc/sgtty.h: Likewise.
26075 * misc/sys/mman.h: Likewise.
26076 * misc/sys/syslog.h: Likewise.
26077 * misc/sys/uio.h: Likewise.
26078 * misc/sys/xattr.h: Likewise.
26079 * misc/ttyent.h: Likewise.
26080 * nis/rpcsvc/ypclnt.h: Likewise.
26081 * nss/nss.h: Likewise.
26082 * posix/bits/unistd.h: Likewise.
26083 * posix/fnmatch.h: Likewise.
26084 * posix/glob.h: Likewise.
26085 * posix/sched.h: Likewise.
26086 * posix/spawn.h: Likewise.
26087 * posix/sys/wait.h: Likewise.
26088 * posix/unistd.h: Likewise.
26089 * posix/wordexp.h: Likewise.
26090 * pwd/pwd.h: Likewise.
26091 * resolv/netdb.h: Likewise.
26092 * resource/sys/resource.h: Likewise.
26093 * rt/aio.h: Likewise.
26094 * rt/bits/mqueue2.h: Likewise.
26095 * rt/mqueue.h: Likewise.
26096 * shadow/shadow.h: Likewise.
26097 * signal/signal.h: Likewise.
26098 * socket/send.c: Likewise.
26099 * socket/sendto.c: Likewise.
26100 * socket/sys/socket.h: Likewise.
26101 * stdio-common/printf.h: Likewise.
26102 * stdlib/bits/stdlib.h: Likewise.
26103 * stdlib/fmtmsg.h: Likewise.
26104 * stdlib/monetary.h: Likewise.
26105 * stdlib/stdlib.h: Likewise.
26106 * stdlib/ucontext.h: Likewise.
26107 * streams/stropts.h: Likewise.
26108 * string/argz.h: Likewise.
26109 * string/bits/string2.h: Likewise.
26110 * string/string.h: Likewise.
26111 * string/strings.h: Likewise.
26112 * sunrpc/rpc/auth.h: Likewise.
26113 * sunrpc/rpc/auth_des.h: Likewise.
26114 * sunrpc/rpc/clnt.h: Likewise.
26115 * sunrpc/rpc/netdb.h: Likewise.
26116 * sunrpc/rpc/pmap_clnt.h: Likewise.
26117 * sunrpc/rpc/xdr.h: Likewise.
26118 * sysdeps/generic/inttypes.h: Likewise.
26119 * sysdeps/generic/net/if.h: Likewise.
26120 * sysdeps/generic/sys/swap.h: Likewise.
26121 * sysdeps/gnu/net/if.h: Likewise.
26122 * sysdeps/gnu/utmpx.h: Likewise.
26123 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26124 * sysdeps/i386/i486/bits/string.h: Likewise.
26125 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26126 * sysdeps/s390/bits/string.h: Likewise.
26127 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26128 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26129 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26130 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26131 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26132 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26133 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26134 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26135 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26136 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26137 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26138 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26139 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26140 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26141 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26142 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26143 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26146 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26148 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26149 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26150 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26151 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26152 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26153 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26154 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26155 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26156 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26157 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26158 * sysvipc/sys/ipc.h: Likewise.
26159 * sysvipc/sys/msg.h: Likewise.
26160 * sysvipc/sys/sem.h: Likewise.
26161 * sysvipc/sys/shm.h: Likewise.
26162 * termios/termios.h: Likewise.
26163 * time/sys/time.h: Likewise.
26164 * time/time.h: Likewise.
26165 * wcsmbs/bits/wchar2.h: Likewise.
26166 * wcsmbs/uchar.h: Likewise.
26167 * wcsmbs/wchar.h: Likewise.
26168 * wctype/wctype.h: Likewise.
26171 * Makeconfig: Remove all but ELF support including AIX support.
26172 * Makerules: Likewise.
26173 * config.h.in: Likewise.
26174 * config.make.in: Likewise.
26175 * configure: Likewise.
26176 * configure.in: Likewise.
26177 * csu/Makefile: Likewise.
26178 * csu/version.c: Likewise.
26179 * debug/Makefile: Likewise.
26180 * dlfcn/Makefile: Likewise.
26181 * elf/Makefile: Likewise.
26182 * extra-lib.mk: Likewise.
26183 * iconv/Makefile: Likewise.
26184 * include/libc-symbols.h: Likewise.
26185 * include/shlib-compat.h: Likewise.
26186 * resolv/Makefile: Likewise.
26187 * resolv/res_libc.c: Likewise.
26188 * rt/Makefile: Likewise.
26189 * sysdeps/i386/asm-syntax.h: Likewise.
26190 * sysdeps/i386/sysdep.h: Likewise.
26191 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26192 * sysdeps/mach/sysdep.h: Likewise.
26193 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26194 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26195 * sysdeps/s390/asm-syntax.h: Likewise.
26196 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26197 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26198 * sysdeps/sh/sysdep.h: Likewise.
26199 * sysdeps/unix/sparc/sysdep.h: Likewise.
26200 * sysdeps/wordsize-32/divdi3.c: Likewise.
26201 * sysdeps/x86_64/sysdep.h: Likewise.
26203 * argp/Versions: Remove _argp_unlock_xxx.
26206 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26207 * abilist/libBrokenLocale.abilist: Likewise.
26208 * abilist/libanl.abilist: Likewise.
26209 * abilist/libc.abilist: Likewise.
26210 * abilist/libcrypt.abilist: Likewise.
26211 * abilist/libdl.abilist: Likewise.
26212 * abilist/libm.abilist: Likewise.
26213 * abilist/libnsl.abilist: Likewise.
26214 * abilist/libpthread.abilist: Likewise.
26215 * abilist/libresolv.abilist: Likewise.
26216 * abilist/librt.abilist: Likewise.
26217 * abilist/libthread_db.abilist: Likewise.
26218 * abilist/libutil.abilist: Likewise.
26219 * abilist/libnss_db.abilist: New file.
26221 * scripts/abilist.awk: Add support for indirect functions.
26223 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26225 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26227 * shlib-versions: Remove entries for ports architectures.
26229 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26231 * elf/stackguard-macros.h: Remove support for IA-64.
26232 * elf/tst-auditmod1.c: Likewise.
26233 * sysdeps/generic/ldsodefs.h: Likewise.
26235 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26236 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26240 * configure.in: Remove --enable-omitfp support.
26242 * config.make.in: Likewise.
26243 * Makeconfig: Likewise.
26244 * manual/install.texi: Likewise.
26246 In case anyone cares, the IA-64 architecture could move to ports.
26247 * sysdeps/ia64/*: Removed.
26248 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26249 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26252 * configure.in: Remove entries for unsupported architectures.
26255 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26256 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26258 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26259 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26260 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26261 fall back to using wcrtomb.
26262 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26263 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26265 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26266 * wcsmbs/tst-c16c32-1.c: New file.
26268 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26271 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26273 * elf/tst-unique3.cc: Add explicit declaration of gets.
26274 * elf/tst-unique3lib.cc: Likewise.
26275 * elf/tst-unique3lib2.cc: Likewise.
26276 * elf/tst-unique4.cc: Likewise.
26278 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26280 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26283 * assert/assert.h (static_assert): Don't define for C++.
26284 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26285 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26287 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26289 * iconv/loop.c (single loop): Fix assertion in storing of
26292 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26294 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26296 * posix/getconf.c: Update copyright year.
26297 * nss/getent.c: Likewise.
26298 * nss/makedb.c: Likewise.
26299 * iconv/iconvconfig.c: Likewise.
26300 * iconv/iconv_prog.c: Likewise.
26301 * elf/ldconfig.c: Likewise.
26302 * elf/pldd.c: Likewise.
26303 * elf/sotruss.ksh: Likewise.
26304 * catgets/gencat.c: Likewise.
26305 * csu/version.c: Likewise.
26306 * elf/ldd.bash.in: Likewise.
26307 * elf/sprof.c (print_version): Likewise.
26308 * locale/programs/locale.c: Likewise.
26309 * locale/programs/localedef.c: Likewise.
26310 * login/programs/pt_chown.c: Likewise.
26311 * nscd/nscd.c (print_version): Likewise.
26312 * debug/xtrace.sh: Likewise.
26313 * malloc/memusage.sh: Likewise.
26314 * malloc/mtrace.pl: Likewise.
26315 * debug/catchsegv.sh: Likewise.
26317 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26319 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26322 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26325 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26326 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26328 * iconv/gconv_int.h: Likewise.
26329 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26330 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26331 from libc for GLIBC_2.16.
26332 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26333 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26334 * wcsmbs/uchar.h: Really define mbstate_t.
26335 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26336 * wcsmbs/c16rtomb.c: New file.
26337 * wcsmbs/mbrtoc16.c: New file.
26338 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26339 for C/POSIX locale.
26340 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26341 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26343 * wcsmbs/wchar.h: Add missing __restrict.
26345 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26348 * time/Makefile (routines): Add timespec_get.
26349 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26350 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26351 timespec for ISO C11.
26352 * time/timespec_get.c: New file.
26353 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26354 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26357 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26358 * stdlib/stdlib.h: Declare aligned_alloc.
26359 * Versions.def: Add GLIBC_2.16 for libc.
26360 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26363 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26366 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26370 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26373 * assert/assert.h (static_assert): Define.
26375 * version.h: Update for 2.16 development version.
26378 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26381 * version.h (RELEASE): Bump for 2.15 release.
26382 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26384 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26385 Patch by Marek Polacek <mpolacek@redhat.com>.
26387 * bits/byteswap.h: Protect long long constants with __extension__.
26388 * sysdeps/i386/bits/byteswap.h: Likewise.
26389 * sysdeps/ia64/bits/byteswap.h: Likewise.
26390 * sysdeps/s390/bits/byteswap.h: Likewise.
26391 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26393 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26397 destination buffer.
26398 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26400 2011-12-23 Marek Polacek <polacek@redhat.com>
26402 * elf/dl-addr.c (determine_info): Add inline keyword.
26403 * elf/tst-auditmod4b.c (check_avx): Likewise.
26404 * elf/tst-auditmod6b.c (check_avx): Likewise.
26405 * elf/tst-auditmod6c.c (check_avx): Likewise.
26406 * elf/tst-auditmod7b.c (check_avx): Likewise.
26408 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26410 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26413 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26416 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26417 processing for last bytes.
26419 2011-08-06 Bruno Haible <bruno@clisp.org>
26422 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26423 U+0385, not to U+1FEE.
26426 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26427 entry for U+00A5 U+0301.
26429 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26432 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26433 buffer for the output is too small.
26435 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26439 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26440 SSE flags if possible.
26442 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26446 processing for last bytes.
26448 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26450 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26451 (syscall-list-default-options, syscall-list-default-condition)
26452 (syscall-list-includes): Define.
26453 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26454 list of ABIs and options and #if conditions for each ABI. Do not
26455 handle common syscalls between ABIs specially.
26456 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26458 (syscall-list-variants, syscall-list-32bit-options)
26459 (syscall-list-32bit-condition, syscall-list-64bit-options)
26460 (syscall-list-64bit-condition): Define.
26461 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26462 (syscall-list-variants, syscall-list-32bit-options)
26463 (syscall-list-32bit-condition, syscall-list-64bit-options)
26464 (syscall-list-64bit-condition): Define.
26465 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26467 (syscall-list-variants, syscall-list-32bit-options)
26468 (syscall-list-32bit-condition, syscall-list-64bit-options)
26469 (syscall-list-64bit-condition): Define.
26470 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26472 (syscall-list-variants, syscall-list-32bit-options)
26473 (syscall-list-32bit-condition, syscall-list-64bit-options)
26474 (syscall-list-64bit-condition): Define.
26476 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26478 * locale/iso-639.def: Add brx entry.
26481 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26482 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26484 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26485 __feraiseexcept_renamed.
26487 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26490 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26491 EPOLLET with unsigned values.
26492 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26495 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26496 to large cancellation.
26497 * math/s_cacoshf.c: Likewise.
26498 * math/s_cacoshl.c: Likewise.
26500 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26504 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26505 * math/s_cacoshf.c: Likewise.
26506 * math/s_cacoshl.c: Likewise.
26508 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26511 * iconv/gconv.h: Define __GCONV_SWAP.
26512 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26513 * iconvdata/utf-16.c: Likewise.
26514 * iconvdata/utf-32.c: Likewise.
26516 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26519 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26520 numerator after shifting it by one limb.
26522 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26524 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26525 under [__USE_EXTERN_INLINES].
26527 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26530 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26532 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26534 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26535 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26537 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26538 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26539 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26540 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26541 for strncasecmp/strncasecmp_l compilation.
26542 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26543 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26545 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26548 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26551 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26554 * time/tzfile.c (__tzfile_read): Check values from file header.
26556 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26558 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26559 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26560 * powerpc/powerpc32/dl-start.S: Likewise.
26561 * powerpc/powerpc32/elf/start.S: Likewise.
26562 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26563 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26564 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26565 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26566 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26567 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26568 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26569 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26570 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26571 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26572 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26573 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26574 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26575 * powerpc/powerpc32/memset.S: Likewise.
26576 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26577 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26578 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26579 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26580 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26581 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26582 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26583 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26584 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26585 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26586 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26587 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26588 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26590 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26592 * math/libm-test.inc: Added more nearbyint tests.
26593 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26594 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26596 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26598 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26600 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26603 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26605 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26606 Add wcscpy-ssse3 wcscpy-c.
26607 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26608 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26609 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26610 * sysdeps/x86_64/wcschr.S: New file.
26611 * sysdeps/x86_64/wcsrchr.S: New file.
26612 * string/test-strcmp.c: Remove checking of wcscmp function for
26614 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26615 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26616 wcsrchr-sse2 wcsrchr-c.
26617 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26618 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26619 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26620 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26621 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26622 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26623 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26624 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26625 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26626 * wcsmbc/wcschr.c (WCSCHR): New macro.
26628 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26630 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26631 * wcsmbs/test-wcsrchr.c: New file.
26632 * string/test-strrchr.c: Add wcsrchr support.
26634 * wcsmbs/test-wcscpy.c: New file.
26635 * string/test-strcpy.c: Add wcscpy support.
26638 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26640 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26643 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26646 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26648 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26651 Minor optimizations.
26653 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26654 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26655 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26657 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26659 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26660 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26661 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26662 for gcc to avoid warnings.
26663 * inet/Makefile (tests): Add tst-checks.
26664 * inet/tst-checks.c: New file.
26666 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26669 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26672 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26673 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26675 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26677 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26679 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26682 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26684 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26686 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26687 conditional on GCC version.
26688 (__arch_compare_and_exchange_val_8_acq)
26689 (__arch_compare_and_exchange_val_16_acq)
26690 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26691 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26692 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26694 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26696 * sysdeps/sh/backtrace.c: New file.
26698 2011-12-02 Andreas Schwab <schwab@redhat.com>
26700 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26703 2011-12-01 Andreas Schwab <schwab@redhat.com>
26705 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26706 falling back to utime.
26708 2011-11-30 Andreas Schwab <schwab@redhat.com>
26710 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26711 expectations for float.
26713 2011-11-29 Andreas Schwab <schwab@redhat.com>
26715 * locale/weight.h (findidx): Add parameter len.
26716 * locale/weightwc.h (findidx): Likewise.
26717 * posix/fnmatch_loop.c (FCT): Adjust caller.
26718 * posix/regcomp.c (build_equiv_class): Likewise.
26719 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26720 * posix/regexec.c (check_node_accept_bytes): Likewise.
26721 * string/strcoll_l.c (STRCOLL): Likewise.
26722 * string/strxfrm_l.c (STRXFRM): Likewise.
26724 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26726 * Makefile.in: Remove CVSOPT handling.
26727 * configure.in: Remove use of AC_REVISION.
26728 * iconvdata/Makefile (distribute): No need to filter out CVS.
26729 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26732 2011-11-16 Andreas Schwab <schwab@redhat.com>
26734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26735 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26736 [USE_AS_STRNCASECMP_L]: Likewise.
26737 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26738 NO_TLS_DIRECT_SEG_REFS.
26739 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26740 Fix argument offsets for non-PIC.
26741 [USE_AS_STRNCASECMP_L]: Likewise.
26742 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26743 NO_TLS_DIRECT_SEG_REFS.
26745 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26747 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26749 * locale/loadlocale.c (_nl_load_locale): Likewise.
26751 2011-11-15 Andreas Schwab <schwab@redhat.com>
26753 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26754 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26755 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26756 (SYSCALL_GETTIME): Set errno on error.
26758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26759 count references to noai6ai_cached.
26761 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26763 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26765 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26766 FD_CLOEXEC for /proc/self/maps.
26768 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26769 FD_CLOEXEC for /proc/meminfo.
26771 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26774 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26775 FD_CLOEXEC for given file.
26777 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26779 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26780 FD_CLOEXEC for /etc/hosts.
26781 (_gethtent): Likewise.
26783 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26785 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26786 cancellation and set FD_CLOEXEC for /etc/netgroup.
26788 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26789 reading /etc/publickey.
26791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26792 allow cancellation when reading /etc/group.
26794 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26796 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26798 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26799 when using data file.
26801 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26803 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26804 (write_nis_obj): Use "c" and "e" in fopen.
26806 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26808 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26810 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26812 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26814 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26817 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26819 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26821 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26823 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26824 file parsing and set FD_CLOEXEC.
26826 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26828 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26830 2011-11-14 Andreas Schwab <schwab@redhat.com>
26832 * malloc/arena.c (arena_get2): Don't call reused_arena when
26833 _int_new_arena failed.
26835 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26837 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26838 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26839 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26840 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26841 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26843 to compile strcasecmp and strncasecmp.
26844 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26845 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26849 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26851 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26852 locale-defines.sym to gen-as-const-headers.
26853 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26854 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26856 to compile strcasecmp and strncasecmp.
26857 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26858 strcasecmp_l and strncasecmp_l.
26859 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26860 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26861 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26862 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26863 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26864 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26865 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26866 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26867 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26868 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26869 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26871 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26873 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26874 result of SYSDEP_GETTIME_CPU to retval.
26875 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26876 parameter list to macro. Remove trailing semicolon. Adjust users.
26878 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26881 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26883 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26885 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26886 from unused variable.
26888 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26890 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26893 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26896 * sunrpc/rpc_prot.c (rejected): Fix case value.
26898 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26899 unsigned long long int to avoid warnings in shift.
26901 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26903 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26906 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26907 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26908 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26910 * nis/nis_table.c (nis_list): Use variable of correct type for
26911 result of __follow_path call.
26913 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26915 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26916 of math functions ceil, trunc, floor, round, and sqrt, when
26917 avaliable on the platform.
26918 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26920 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26921 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26922 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26924 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26926 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26929 2011-11-11 Roland McGrath <roland@hack.frob.com>
26931 * include/unistd.h: Fix __readlink return type.
26932 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26934 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26936 * stdlib/ucontext.h: Undo last change for makecontext.
26938 2011-11-11 Andreas Schwab <schwab@redhat.com>
26940 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26942 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26943 * setjmp/setjmp.h: Mark functions as non-leaf.
26944 * setjmp/bits/setjmp2.h: Likewise.
26945 * stdlib/ucontext.h: Likewise.
26947 2011-11-10 Andreas Schwab <schwab@redhat.com>
26949 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26950 (reused_arena): Don't check arena limit.
26951 (arena_get2): Atomically check arena limit.
26953 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26955 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26956 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26961 2011-11-07 Andreas Schwab <schwab@redhat.com>
26963 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26964 handler when locking.
26966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26967 Fix size of allocated buffer.
26969 2011-11-04 Andreas Schwab <schwab@redhat.com>
26972 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26973 declarations for long double functions.
26974 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26976 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26978 2011-11-03 Andreas Schwab <schwab@redhat.com>
26980 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26983 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26986 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26988 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26990 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26992 * include/alloca.h (stackinfo_alloca_round): Define.
26993 (extend_alloca): Use it.
26994 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26995 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26998 * scripts/check-local-headers.sh: Ignore libaudit.h.
27000 * nscd/Makefile (extra-objs): Make recursively expanded.
27002 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27004 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27005 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27007 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27008 * posix/tst-rfc3484-2.c: Likewise.
27009 * posix/tst-rfc3484-3.c: Likewise.
27011 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27013 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27015 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27016 process_vm_writev from libc using GLIBC_2.15 version.
27018 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27020 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27022 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27025 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27028 * nss/getent.c (initgroups_keys): Show error message in case no group
27031 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27032 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27033 __bump_nl_timestamp.
27034 * nscd/connections (nscd_init): When host database is served open
27035 netlink socket and request notification about configuration changes.
27036 (main_loop_poll): Track netlink file descriptor and bump timestamp
27037 in case data becomes available.
27038 (main_loop_epoll): Likewise.
27039 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27040 (database_pers_head): Add extra_data fileds.
27041 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27042 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27043 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27045 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27046 in6ai data, call __free_in6ai.
27047 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27048 Add -DHAVE_NETLINK.
27049 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27050 interface information. Reuse previous data if netlink timestamp
27052 (__bump_nl_timestamp): New function.
27053 (__free_in6ai): New function.
27055 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27058 close_not_cancel_no_status here.
27059 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27061 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27064 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27067 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27068 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27069 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27071 2011-07-03 Andreas Jaeger <aj@suse.de>
27074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27075 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27076 * math/libm-test.inc (sin_test): Add test case.
27078 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27081 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27082 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27084 * elf/chroot_canon.c (chroot_canon): Cleanups.
27086 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27089 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27090 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27092 * string/test-strchr.c: Make usable for strchrnul testing.
27093 * string/test-strchrnul.c: New file.
27094 * string/Makefile (strop-tests): Add strchrnul.
27096 * po/it.po: Update from translation team.
27097 * po/es.po: Likewise.
27099 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27102 the three constants needed as parameters. Drop the others.
27103 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27104 __m128i_strloadu_tolower.
27105 Create and initialize variable zero and use it in all the places
27106 where _mm_setzero_si128 was used.
27108 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27109 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27110 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27111 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27113 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27114 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27115 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27116 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27117 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27118 __mpranred, __mptan.
27119 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27120 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27121 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27122 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27123 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27124 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27126 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27127 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27129 2011-10-28 Andreas Schwab <schwab@redhat.com>
27131 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27132 redefine if SHARED.
27133 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27136 wide char related routines to wcsmbs subdir.
27138 2011-10-27 Andreas Schwab <schwab@redhat.com>
27141 * misc/sys/cdefs.h (__THROWNL): Define.
27142 * posix/unistd.h: Use __THREADNL instead of __THREAD
27143 for memory synchronization functions.
27145 2011-10-26 Roland McGrath <roland@hack.frob.com>
27148 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27150 * manual/stdio.texi (Obstack Streams): Node removed.
27152 2011-10-26 Andreas Schwab <schwab@redhat.com>
27154 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27156 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27158 * math/math_private.h (math_force_eval): Allow non-addressable
27160 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27162 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27164 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27165 file is not needed.
27167 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27168 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27170 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27171 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27172 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27173 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27174 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27176 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27177 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27178 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27179 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27180 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27181 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27182 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27183 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27184 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27185 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27186 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27187 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27188 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27189 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27190 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27191 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27192 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27193 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27194 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27196 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27197 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27199 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27200 place. Use VEX encoding when compiling for AVX.
27202 2011-10-25 Andreas Schwab <schwab@redhat.com>
27204 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27205 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27207 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27209 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27211 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27212 useless if() expression.
27213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27222 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27224 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27226 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27228 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27229 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27230 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27231 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27233 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27235 2011-10-25 Andreas Schwab <schwab@redhat.com>
27237 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27239 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27241 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27243 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27244 .text section. Avoid duplicate constants.
27245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27247 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27253 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27254 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27255 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27257 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27258 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27259 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27261 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27262 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27265 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27266 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27267 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27269 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27270 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27271 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27272 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27273 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27274 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27275 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27276 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27277 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27278 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27279 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27280 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27281 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27283 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27284 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27285 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27287 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27288 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27289 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27291 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27293 * sysdeps/x86_64/dla.h: Move to ...
27294 * sysdeps/x86_64/fpu/dla.h: ...here.
27295 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27296 situations. Use __builtin_fma only for gcc 4.6 and up.
27298 * config.make.in: Add have-mfma4 entry.
27299 * configure.in: Substitute libc_cv_cc_fma4.
27300 * math/Makefile (dbl-only-routines): Add sincostab.
27301 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27302 Use __sincostab not sincos.
27303 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27305 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27308 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27310 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27311 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27312 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27313 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27315 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27316 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27318 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27319 define aliases when function name is a macro.
27320 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27321 sysdeps/ieee754/dbl-64/sincos.tbl.
27322 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27323 fma4-enabled routines.
27324 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27325 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27326 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27327 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27328 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27329 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27331 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27332 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27333 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27334 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27335 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27336 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27337 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27338 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27339 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27340 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27341 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27342 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27343 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27344 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27345 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27346 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27347 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27349 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27355 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27366 2011-10-24 Andreas Schwab <schwab@redhat.com>
27368 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27370 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27372 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27374 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27378 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27379 Remove unused variable magic_bits.
27380 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27382 * string/strnlen.c: Define and use STRNLEN macro.
27383 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27384 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27385 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27386 * wcsmbs/wcslen.c: Define and use WCSLEN.
27387 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27388 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27389 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27390 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27391 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27392 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27393 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27395 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27398 strnlen-sse2-no-bsf.
27399 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27401 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27402 Add strnlen support.
27403 (USE_AS_STRNLEN): New macro.
27404 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27405 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27406 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27407 * sysdeps/x86_64/wcslen.S: New file.
27409 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27412 XMM-moves are used for copying on small sizes.
27414 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27416 * wcsmbs/Makefile (strop-tests): Add wcschr.
27417 * wcsmbs/test-wcschr.c: New file.
27418 * string/test-strchr.c: Update.
27419 Add wcschr support.
27422 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27424 * wcsmbs/Makefile (strop-tests): Add wcslen.
27425 * wcsmbs/test-wcslen.c: New file.
27426 * string/test-strlen.c: Update.
27427 Add wcslen support.
27430 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27432 * po/it.po: Update from translation team.
27434 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27436 * sysdeps/x86_64/wcscmp.S: Update.
27437 Fix wrong comparison semantics.
27438 wcscmp shall use signed comparison not unsigned.
27439 Don't use substraction to avoid overflow bug.
27440 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27441 * wcsmbc/wcscmp.c: Likewise.
27442 * string/test-strcmp.c: Likewise.
27443 Add new tests to check cases with negative values.
27445 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27447 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27448 * sysdeps/x86_64/dla.h: ...here. New file.
27449 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27454 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27459 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27462 __ynl_finite aliases.
27464 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27468 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27470 [DLA_FMA] (EMULV): Use DLA_FMA.
27471 [DLA_FMA] (MUL12): Use EMULV.
27472 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27473 that are not needed.
27474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27482 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27484 * math/s_nan.c: Undef __nan.
27485 * math/s_nanf.c: Undef __nanf.
27486 * math/s_nanl.c: Undef __nanl.
27487 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27490 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27492 * math/s_catan.c: Add branch predictions.
27493 * math/s_catanf.c: Likewise.
27494 * math/s_catanh.c: Likewise.
27495 * math/s_catanhf.c: Likewise.
27496 * math/s_catanhl.c: Likewise.
27497 * math/s_catanl.c: Likewise.
27498 * math/s_cexp.c: Likewise.
27499 * math/s_cexpf.c: Likewise.
27500 * math/s_cexpl.c: Likewise.
27501 * math/s_clog.c: Likewise.
27502 * math/s_clog10.c: Likewise.
27503 * math/s_clog10f.c: Likewise.
27504 * math/s_clog10l.c: Likewise.
27505 * math/s_clogf.c: Likewise.
27506 * math/s_clogl.c: Likewise.
27507 * math/s_csqrt.c: Likewise.
27508 * math/s_csqrtf.c: Likewise.
27509 * math/s_csqrtl.c: Likewise.
27510 * math/s_ctanf.c: Likewise.
27511 * math/s_ctanh.c: Likewise.
27512 * math/s_ctanhf.c: Likewise.
27513 * math/s_ctanhl.c: Likewise.
27514 * math/s_ctanl.c: Likewise.
27516 * math/math_private.h: Define __nan, __nanf, __nanl.
27517 * math/s_cacosh.c: Include <math_private.h>.
27518 * math/s_cacoshl.c: Likewise.
27519 * math/s_casinh.c: Likewise.
27520 * math/s_casinhf.c: Likewise.
27521 * math/s_casinhl.c: Likewise.
27522 * math/s_ccos.c: Rely entire on ccosh.
27523 * math/s_ccosf.c: Rely entire on ccoshf.
27524 * math/s_ccosl.c: Rely entirely on ccoshl.
27525 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27526 Remove tests for FE_INVALID.
27527 * math/s_ccoshf.c: Likewise.
27528 * math/s_ccoshl.c: Likewise.
27529 * math/s_csin.c: Likewise.
27530 * math/s_csinf.c: Likewise.
27531 * math/s_csinh.c Likewise.
27532 * math/s_csinhf.c: Likewise.
27533 * math/s_csinhl.c: Likewise.
27534 * math/s_csinl.c: Likewise.
27535 * math/s_ctan.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27537 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27538 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27540 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27543 compilation problems.
27545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27548 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27550 * sysdeps/i386/configure.in: Test for -mfma4 option.
27551 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27552 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27553 COMMON_CPUID_INDEX_80000001.
27554 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27555 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27556 use it if FMA3 is not supported.
27557 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27559 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27560 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27562 2011-10-20 Andreas Schwab <schwab@redhat.com>
27565 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27566 it would create a cycle with a link time dependency.
27568 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27570 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27572 * string/Makefile (strop-tests): Add rawmemchr.
27573 * string/test-rawmemchr.c: New file.
27575 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27577 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27578 when compiling str{,n}casecmp and when AVX is available. Hook up
27579 new optimized code in initializers.
27581 2011-10-19 Andreas Schwab <schwab@redhat.com>
27583 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27584 __feraiseexcept instead of feraiseexcept.
27586 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27588 * math/math_private.h: Define defaults for libc_fetestexcept and
27590 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27591 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27592 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27593 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27594 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27595 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27596 libc_fetestexcept and libc_feupdateenv.
27598 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27599 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27600 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27601 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27602 libc_feholdexcept_setround.
27604 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27605 Add s_nearbyint-c and s_nearbyintf-c.
27606 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27607 nearbyintf inlines.
27608 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27609 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27610 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27611 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27613 * math/math_private.h: Define defaults for libc_fegetround,
27614 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27615 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27616 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27617 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27618 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27619 standard functions.
27620 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27621 Remove comments and hacks for old compiler versions.
27622 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27623 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27624 libc_feholdexceptl.
27626 2011-10-18 Andreas Schwab <schwab@redhat.com>
27628 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27629 (__feraiseexcept_renamed): Add __NTH.
27630 (feraiseexcept): Add __NTH. Rename local variables to fix
27631 namespace violations.
27633 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27635 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27637 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27639 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27640 recently added interfaces.
27641 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27643 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27644 about macro parameter expansion.
27646 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27647 __NO_MATH_INLINES is defined. Cleanups.
27649 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27650 and __floorf is target has SSE4.1.
27651 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27652 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27653 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27654 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27656 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27658 (floorf): Likewise.
27660 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27662 2011-10-17 Andreas Schwab <schwab@redhat.com>
27664 * misc/sys/cdefs.h: Fix last change.
27666 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27669 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27671 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27673 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27674 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27675 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27680 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27681 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27682 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27683 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27684 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27685 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27686 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27687 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27688 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27689 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27690 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27691 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27692 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27693 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27694 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27696 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27697 ceil, ceilf, floor, floorf.
27699 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27700 Perform IRELATIVE relocations last.
27702 * elf/do-rel.h: Add another parameter nrelative, replacing the
27703 local variable with the same name. Change name of the function
27704 to end in Rel or Rela (uppercase).
27705 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27706 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27707 elf_dynamic_do_##reloc function.
27709 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27711 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27712 is sufficient, at least on modern CPUs.
27714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27716 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27717 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27719 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27721 * math/bits/math-finite.h: Add entries for exp.
27722 * math/e_expl.c: Add __*_finite alias.
27723 * sysdeps/i386/fpu/e_exp.S: Likewise.
27724 * sysdeps/i386/fpu/e_expf.S: Likewise.
27725 * sysdeps/i386/fpu/e_expl.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27727 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27731 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27732 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27734 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27735 is sufficient, at least on modern CPUs.
27737 * ctype/ctype-info.c (__ctype_init): Define.
27738 * include/ctype.h (__ctype_init): Declare.
27739 (__ctype_b_loc): The variable is always initialized.
27740 (__ctype_toupper_loc): Likewise.
27741 (__ctype_tolower_loc): Likewise.
27742 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27743 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27745 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27747 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27749 * configure.in: Also look in $cxxmachine/include for C++ system
27752 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27754 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27755 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27756 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27757 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27758 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27759 (USE_AS_WMEMCMP): New macro.
27761 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27762 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27763 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27764 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27766 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27767 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27768 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27769 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27770 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27771 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27772 (USE_AS_WMEMCMP): New macro.
27773 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27774 * sysdeps/string/test-memcmp.c: Update.
27775 Fix simple_wmemcmp.
27777 * wcsmbs/wmemcmp.c: Update.
27778 (WMEMCMP): New macro.
27781 2011-10-12 Andreas Jaeger <aj@suse.de>
27784 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27786 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27788 * libio/iofwide.c (do_length): Avoid warning.
27790 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27792 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27794 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27796 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27797 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27798 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27799 * sysdeps/i386/i686/fpu/e_log.S: New file.
27800 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27801 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27803 * ctype/ctype.h: Add support for inlined isXXX functions when
27804 compiling C++ code.
27806 2011-10-14 Andreas Schwab <schwab@redhat.com>
27808 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27810 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27812 2011-10-13 Roland McGrath <roland@hack.frob.com>
27815 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27817 2011-10-13 Andreas Schwab <schwab@redhat.com>
27819 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27820 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27823 * sysdeps/x86_64/memrchr.S: Check for zero size.
27825 * string/stratcliff.c: Add memrchr tests.
27827 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27830 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27831 rawmemchr-sse2 rawmemchr-sse2-bsf.
27832 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27833 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27834 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27835 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27836 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27837 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27838 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27839 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27840 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27841 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27842 * string/memrchr.c (MEMRCHR): New macro.
27844 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27846 Add integration with gcc's -ffinite-math-only and optimize wrapper
27848 * Versions.def: Define GLIBC_2.15 version for libm.
27849 * math/Makefile (headers): Add bits/math-finite.h.
27850 * math/bits/math-finite.h: New file.
27851 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27852 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27853 * math/e_acoshl.c: Add __*_finite alias.
27854 * math/e_acosl.c: Likewise.
27855 * math/e_asinl.c: Likewise.
27856 * math/e_atan2l.c: Likewise.
27857 * math/e_atanhl.c: Likewise.
27858 * math/e_coshl.c: Likewise.
27859 * math/e_exp10.c: Likewise.
27860 * math/e_exp10f.c: Likewise.
27861 * math/e_exp10l.c: Likewise.
27862 * math/e_exp2l.c: Likewise.
27863 * math/e_fmodl.c: Likewise.
27864 * math/e_gammal_r.c: Likewise.
27865 * math/e_hypotl.c: Likewise.
27866 * math/e_j0l.c: Likewise.
27867 * math/e_j1l.c: Likewise.
27868 * math/e_jnl.c: Likewise.
27869 * math/e_lgammal_r.c: Likewise.
27870 * math/e_log10l.c: Likewise.
27871 * math/e_log2l.c: Likewise.
27872 * math/e_logl.c: Likewise.
27873 * math/e_powl.c: Likewise.
27874 * math/e_sinhl.c: Likewise.
27875 * math/e_sqrtl.c: Likewise.
27876 * math/e_scalb.c: Completely rewritten and optimized.
27877 * math/e_scalbf.c: Likewise.
27878 * math/e_scalbl.c: Likewise.
27879 * math/w_acos.c: Likewise.
27880 * math/w_acosf.c: Likewise.
27881 * math/w_acosl.c: Likewise.
27882 * math/w_acosh.c: Likewise.
27883 * math/w_acoshf.c: Likewise.
27884 * math/w_acoshl.c: Likewise.
27885 * math/w_asin.c: Likewise.
27886 * math/w_asinf.c: Likewise.
27887 * math/w_asinl.c: Likewise.
27888 * math/w_atan2.c: Likewise.
27889 * math/w_atan2f.c: Likewise.
27890 * math/w_atan2l.c: Likewise.
27891 * math/w_atanh.c: Likewise.
27892 * math/w_atanhf.c: Likewise.
27893 * math/w_atanhl.c: Likewise.
27894 * math/w_exp10.c: Likewise.
27895 * math/w_exp10f.c: Likewise.
27896 * math/w_exp10l.c: Likewise.
27897 * math/w_fmod.c: Likewise.
27898 * math/w_fmodf.c: Likewise.
27899 * math/w_fmodl.c: Likewise.
27900 * math/w_j0.c: Likewise.
27901 * math/w_j0f.c: Likewise.
27902 * math/w_j0l.c: Likewise.
27903 * math/w_j1.c: Likewise.
27904 * math/w_j1f.c: Likewise.
27905 * math/w_j1l.c: Likewise.
27906 * math/w_jn.c: Likewise.
27907 * math/w_jnf.c: Likewise.
27908 * math/w_log.c: Likewise.
27909 * math/w_logf.c: Likewise.
27910 * math/w_logl.c: Likewise.
27911 * math/w_log10.c: Likewise.
27912 * math/w_log10f.c: Likewise.
27913 * math/w_log10l.c: Likewise.
27914 * math/w_log2.c: Likewise.
27915 * math/w_log2f.c: Likewise.
27916 * math/w_log2l.c: Likewise.
27917 * math/w_pow.c: Likewise.
27918 * math/w_powf.c: Likewise.
27919 * math/w_powl.c: Likewise.
27920 * math/w_remainder.c: Likewise.
27921 * math/w_remainderf.c: Likewise.
27922 * math/w_remainderl.c: Likewise.
27923 * math/w_scalb.c: Likewise.
27924 * math/w_scalbf.c: Likewise.
27925 * math/w_scalbl.c: Likewise.
27926 * math/w_sqrt.c: Likewise.
27927 * math/w_sqrtf.c: Likewise.
27928 * math/w_sqrtl.c: Likewise.
27929 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27930 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27932 * math/math_private.h: Declare __kernel_standard_f.
27933 * math/w_cosh.c: Remove cruft and optimize a bit.
27934 * math/w_coshf.c: Likewise.
27935 * math/w_coshl.c: Likewise.
27936 * math/w_exp2.c: Likewise.
27937 * math/w_exp2f.c: Likewise.
27938 * math/w_exp2l.c: Likewise.
27939 * math/w_hypot.c: Likewise.
27940 * math/w_hypotf.c: Likewise.
27941 * math/w_hypotl.c: Likewise.
27942 * math/w_lgamma.c: Likewise.
27943 * math/w_lgamma_r.c: Likewise.
27944 * math/w_lgammaf.c: Likewise.
27945 * math/w_lgammaf_r.c: Likewise.
27946 * math/w_lgammal.c: Likewise.
27947 * math/w_lgammal_r.c: Likewise.
27948 * math/w_sinh.c: Likewise.
27949 * math/w_sinhf.c: Likewise.
27950 * math/w_sinhl.c: Likewise.
27951 * math/w_tgamma.c: Likewise.
27952 * math/w_tgammaf.c: Likewise.
27953 * math/w_tgammal.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27955 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27956 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27957 Minor optimizations. Pretty printing. Remove cruft.
27958 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27959 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27960 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27961 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27962 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27963 * sysdeps/i386/fpu/e_asin.S: Likewise.
27964 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27965 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27966 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27967 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27968 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27970 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27971 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27972 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27973 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27974 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27975 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27976 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27977 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27978 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27979 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27980 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27981 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27982 * sysdeps/i386/fpu/e_log.S: Likewise.
27983 * sysdeps/i386/fpu/e_log10.S: Likewise.
27984 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27985 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27986 * sysdeps/i386/fpu/e_log2.S: Likewise.
27987 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27988 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27989 * sysdeps/i386/fpu/e_logf.S: Likewise.
27990 * sysdeps/i386/fpu/e_logl.S: Likewise.
27991 * sysdeps/i386/fpu/e_pow.S: Likewise.
27992 * sysdeps/i386/fpu/e_powf.S: Likewise.
27993 * sysdeps/i386/fpu/e_powl.S: Likewise.
27994 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27995 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27996 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27997 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27998 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27999 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28000 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28001 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28002 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28024 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28025 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28026 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28027 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28028 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28029 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28030 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28031 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28032 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28033 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28034 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28035 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28036 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28037 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28038 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28039 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28040 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28041 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28042 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28043 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28044 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28045 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28049 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28053 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28054 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28055 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28056 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28058 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28059 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28060 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28064 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28068 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28080 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28083 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28086 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28088 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28091 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28094 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28095 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28096 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28097 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28098 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28099 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28100 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28101 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28102 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28103 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28104 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28105 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28106 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28107 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28108 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28109 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28110 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28111 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28112 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28113 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28114 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28115 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28116 (__isnanf): Likewise.
28117 (__isinf_ns): Likewise.
28118 (__isinf_nsf): Likewise.
28119 (__finite): Likewise.
28120 (__finitef): Likewise.
28121 (__ieee754_sqrt): Define as macro.
28122 (__ieee754_sqrtf): Define as macro.
28123 (__ieee754_sqrtl): Define as macro.
28124 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28126 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28127 __FINITE_MATH_ONLY__ consistent.
28128 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28130 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28132 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28135 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28137 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28139 * po/ja.po: Update from translation team.
28141 2011-10-08 Roland McGrath <roland@hack.frob.com>
28143 * locale/programs/locarchive.c (prepare_address_space): New function.
28144 (create_archive, enlarge_archive, open_archive): Use it.
28146 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28147 inside [SHARED], where it is used.
28149 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28151 * nss/getent.c (netgroup_keys): Remove unused variable.
28152 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28154 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28156 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28157 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28159 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28160 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28161 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28162 * math/Makefile (libm-calls): Add s_isinf_ns.
28163 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28164 * math/multc3.c: Likewise.
28165 * math/s_casin.c: Likewise.
28166 * math/s_casinf.c: Likewise.
28167 * math/s_casinl.c: Likewise.
28168 * math/s_ccos.c: Likewise.
28169 * math/s_ccosf.c: Likewise.
28170 * math/s_ccosl.c: Likewise.
28171 * math/s_ctan.c: Likewise.
28172 * math/s_ctanf.c: Likewise.
28173 * math/s_ctanh.c: Likewise.
28174 * math/s_ctanhf.c: Likewise.
28175 * math/s_ctanhl.c: Likewise.
28176 * math/s_ctanl.c: Likewise.
28177 * math/w_fmod.c: Likewise.
28178 * math/w_fmodf.c: Likewise.
28179 * math/w_fmodl.c: Likewise.
28180 * math/w_remainder.c: Likewise.
28181 * math/w_remainderf.c: Likewise.
28182 * math/w_remainderl.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28184 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28187 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28188 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28189 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28190 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28192 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28194 * stdio-common/printf_fphex.c: Likewise.
28195 * stdio-common/printf_size.c: Likewise.
28197 * math/e_exp10.c: Include math_private.h using <...> not "...".
28198 * math/e_exp10f.c: Likewise.
28199 * math/e_exp10l.c: Likewise.
28200 * math/e_exp2l.c: Likewise.
28201 * math/e_j0l.c: Likewise.
28202 * math/e_j1l.c: Likewise.
28203 * math/e_jnl.c: Likewise.
28204 * math/e_lgammal_r.c: Likewise.
28205 * math/e_rem_pio2l.c: Likewise.
28206 * math/e_scalb.c: Likewise.
28207 * math/e_scalbf.c: Likewise.
28208 * math/e_scalbl.c: Likewise.
28209 * math/k_cosl.c: Likewise.
28210 * math/k_sinl.c: Likewise.
28211 * math/k_tanl.c: Likewise.
28212 * math/s_cacoshf.c: Likewise.
28213 * math/s_catan.c: Likewise.
28214 * math/s_catanf.c: Likewise.
28215 * math/s_catanh.c: Likewise.
28216 * math/s_catanhf.c: Likewise.
28217 * math/s_catanhl.c: Likewise.
28218 * math/s_catanl.c: Likewise.
28219 * math/s_ccosh.c: Likewise.
28220 * math/s_ccoshf.c: Likewise.
28221 * math/s_ccoshl.c: Likewise.
28222 * math/s_cexp.c: Likewise.
28223 * math/s_cexpf.c: Likewise.
28224 * math/s_cexpl.c: Likewise.
28225 * math/s_clog.c: Likewise.
28226 * math/s_clog10.c: Likewise.
28227 * math/s_clog10f.c: Likewise.
28228 * math/s_clog10l.c: Likewise.
28229 * math/s_clogf.c: Likewise.
28230 * math/s_clogl.c: Likewise.
28231 * math/s_csin.c: Likewise.
28232 * math/s_csinf.c: Likewise.
28233 * math/s_csinh.c: Likewise.
28234 * math/s_csinhf.c: Likewise.
28235 * math/s_csinhl.c: Likewise.
28236 * math/s_csinl.c: Likewise.
28237 * math/s_csqrt.c: Likewise.
28238 * math/s_csqrtf.c: Likewise.
28239 * math/s_csqrtl.c: Likewise.
28240 * math/s_ctan.c: Likewise.
28241 * math/s_ctanf.c: Likewise.
28242 * math/s_ctanh.c: Likewise.
28243 * math/s_ctanhf.c: Likewise.
28244 * math/s_ctanhl.c: Likewise.
28245 * math/s_ctanl.c: Likewise.
28246 * math/s_ldexp.c: Likewise.
28247 * math/s_ldexpf.c: Likewise.
28248 * math/s_ldexpl.c: Likewise.
28249 * math/s_significand.c: Likewise.
28250 * math/s_significandf.c: Likewise.
28251 * math/s_significandl.c: Likewise.
28252 * math/w_acos.c: Likewise.
28253 * math/w_acosf.c: Likewise.
28254 * math/w_acosh.c: Likewise.
28255 * math/w_acoshf.c: Likewise.
28256 * math/w_acoshl.c: Likewise.
28257 * math/w_acosl.c: Likewise.
28258 * math/w_asin.c: Likewise.
28259 * math/w_asinf.c: Likewise.
28260 * math/w_asinl.c: Likewise.
28261 * math/w_atan2.c: Likewise.
28262 * math/w_atan2f.c: Likewise.
28263 * math/w_atan2l.c: Likewise.
28264 * math/w_atanh.c: Likewise.
28265 * math/w_atanhf.c: Likewise.
28266 * math/w_atanhl.c: Likewise.
28267 * math/w_cosh.c: Likewise.
28268 * math/w_coshf.c: Likewise.
28269 * math/w_coshl.c: Likewise.
28270 * math/w_dremf.c: Likewise.
28271 * math/w_exp10.c: Likewise.
28272 * math/w_exp10f.c: Likewise.
28273 * math/w_exp10l.c: Likewise.
28274 * math/w_exp2.c: Likewise.
28275 * math/w_exp2f.c: Likewise.
28276 * math/w_fmod.c: Likewise.
28277 * math/w_fmodf.c: Likewise.
28278 * math/w_fmodl.c: Likewise.
28279 * math/w_hypot.c: Likewise.
28280 * math/w_hypotf.c: Likewise.
28281 * math/w_hypotl.c: Likewise.
28282 * math/w_j0.c: Likewise.
28283 * math/w_j0f.c: Likewise.
28284 * math/w_j0l.c: Likewise.
28285 * math/w_j1.c: Likewise.
28286 * math/w_j1f.c: Likewise.
28287 * math/w_j1l.c: Likewise.
28288 * math/w_jn.c: Likewise.
28289 * math/w_jnf.c: Likewise.
28290 * math/w_jnl.c: Likewise.
28291 * math/w_lgamma.c: Likewise.
28292 * math/w_lgamma_r.c: Likewise.
28293 * math/w_lgammaf.c: Likewise.
28294 * math/w_lgammaf_r.c: Likewise.
28295 * math/w_lgammal.c: Likewise.
28296 * math/w_lgammal_r.c: Likewise.
28297 * math/w_log.c: Likewise.
28298 * math/w_log10.c: Likewise.
28299 * math/w_log10f.c: Likewise.
28300 * math/w_log10l.c: Likewise.
28301 * math/w_log2.c: Likewise.
28302 * math/w_log2f.c: Likewise.
28303 * math/w_log2l.c: Likewise.
28304 * math/w_logf.c: Likewise.
28305 * math/w_logl.c: Likewise.
28306 * math/w_pow.c: Likewise.
28307 * math/w_powf.c: Likewise.
28308 * math/w_powl.c: Likewise.
28309 * math/w_remainder.c: Likewise.
28310 * math/w_remainderf.c: Likewise.
28311 * math/w_remainderl.c: Likewise.
28312 * math/w_scalb.c: Likewise.
28313 * math/w_scalbf.c: Likewise.
28314 * math/w_scalbl.c: Likewise.
28315 * math/w_sinh.c: Likewise.
28316 * math/w_sinhf.c: Likewise.
28317 * math/w_sinhl.c: Likewise.
28318 * math/w_sqrt.c: Likewise.
28319 * math/w_sqrtf.c: Likewise.
28320 * math/w_sqrtl.c: Likewise.
28321 * math/w_tgamma.c: Likewise.
28322 * math/w_tgammaf.c: Likewise.
28323 * math/w_tgammal.c: Likewise.
28325 * po/ja.po: Update from translation team.
28327 2011-09-29 Andreas Jaeger <aj@suse.de>
28330 * sunrpc/netname.c (netname2host): Fix logic.
28334 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28336 * math/w_remainder.c (__remainder): Likewise.
28337 * math/w_remainderf.c (__remainderf): Likewise.
28338 * math/libm-test.inc (remainder_test): Add test cases.
28340 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28342 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28345 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28347 * string/test-memcmp.c: Avoid unncessary #defines.
28348 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28350 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28352 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28353 Use new sse2 version for core i3 - i7 as it's faster
28354 than sse42 version.
28355 (bit_Prefer_PMINUB_for_stringop): New.
28356 * sysdeps/x86_64/rawmemchr.S: Update.
28357 Replace with faster SSE2 version.
28358 * sysdeps/x86_64/memrchr.S: New file.
28359 * sysdeps/x86_64/memchr.S: Update.
28360 Replace with faster SSE2 version.
28362 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28364 * elf/dl-load.c (lose): Add cast to avoid warning.
28366 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28368 * po/ca.po: Update from translation team.
28370 * inet/getnetgrent_r.c: Hook up nscd.
28371 * nscd/Makefile (routines): Add nscd_netgroup.
28372 (nscd-modules): Add netgroupcache.
28373 (CFLAGS-netgroupcache.c): Define.
28374 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28375 (cache_search): Add const to second parameter.
28376 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28378 (dbs): Add netgrdb entry.
28379 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28380 (verify_persistent_db): Handle netgrdb.
28381 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28382 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28384 (netgroup_response_header): Define.
28385 (innetgroup_response_header): Define.
28386 (datahead): Add netgroup_response_header and innetgroup_response_header
28388 * nscd/nscd.conf: Add entries for netgroup cache.
28389 * nscd/nscd.h (dbtype): Add netgrdb.
28390 (_PATH_NSCD_NETGROUP_DB): Define.
28391 (netgroup_iov_disabled): Declare.
28392 (xmalloc, xcalloc, xrealloc): Move declarations here.
28393 (cache_search): Adjust prototype.
28394 Add netgroup-related prototypes.
28395 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28396 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28397 (__nscd_innetgr): Declare.
28398 * nscd/selinux.c (perms): Use access_vector_t as element type and
28399 add netgroup-related initializers.
28400 * nscd/netgroupcache.c: New file.
28401 * nscd/nscd_netgroup.c: New file.
28402 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28403 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28404 For four parameters use innetgr.
28405 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28406 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28407 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28408 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28410 * nscd/connections.c (register_traced_file): Don't register file
28411 for disabled databases.
28413 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28415 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28417 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28418 from tree and freeing node.
28420 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28422 * nss/nsswitch.c (__nss_database_lookup): Handle
28423 nss_parse_service_list out of memory case.
28425 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28427 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28428 out of memory case.
28430 2011-10-04 Andreas Schwab <schwab@redhat.com>
28432 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28433 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28435 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28436 elf_machine_rela, elf_machine_lazy_rel.
28437 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28438 (ELF_DYNAMIC_DO_REL): Likewise.
28439 (ELF_DYNAMIC_DO_RELA): Likewise.
28440 (ELF_DYNAMIC_RELOCATE): Likewise.
28441 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28442 to ELF_DYNAMIC_DO_REL.
28443 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28444 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28445 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28447 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28448 skip_ifunc, don't call ifunc function if non-zero.
28449 (elf_machine_rela): Likewise.
28450 (elf_machine_lazy_rel): Likewise.
28451 (elf_machine_lazy_rela): Likewise.
28452 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28453 (elf_machine_lazy_rel): Likewise.
28454 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28456 (elf_machine_lazy_rel): Likewise.
28457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28459 (elf_machine_lazy_rel): Likewise.
28460 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28461 (elf_machine_lazy_rel): Likewise.
28462 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28463 (elf_machine_lazy_rel): Likewise.
28464 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28465 (elf_machine_lazy_rel): Likewise.
28466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28467 (elf_machine_lazy_rel): Likewise.
28468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28469 (elf_machine_lazy_rel): Likewise.
28470 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28471 (elf_machine_lazy_rel): Likewise.
28473 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28475 * nss/nss_files/files-init.c (_nss_files_init): Use static
28476 initialization for all the *_traced_file variables.
28478 2011-09-28 Andreas Schwab <schwab@redhat.com>
28480 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28482 2011-09-27 Roland McGrath <roland@hack.frob.com>
28485 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28487 2011-09-27 Andreas Schwab <schwab@redhat.com>
28489 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28490 Reread the line before reparsing it.
28492 2011-09-26 Andreas Schwab <schwab@redhat.com>
28494 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28496 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28497 Maxim Kuvyrkov <maxim@codesourcery.com>
28498 Joseph Myers <joseph@codesourcery.com>
28500 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28501 if needed for __stack_chk_guard.
28503 2011-09-19 Roland McGrath <roland@hack.frob.com>
28505 * sysdeps/posix/spawni.c (script_execute): Always define it.
28506 It will be optimized away if unused.
28507 (maybe_script_execute): New function.
28508 (__spawni): Call it.
28510 * Makerules: Don't include tls.make.
28511 (config-tls): Always set to thread.
28512 * tls.make.c: File removed.
28514 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28516 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28517 * config.make.in (CPPFLAGS-config): New substituted variable.
28519 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28521 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28524 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28525 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28527 2011-09-15 Roland McGrath <roland@hack.frob.com>
28529 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28530 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28532 (CALL_FAIL): Likewise.
28533 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28534 (CALL_FAIL): Macro removed.
28535 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28537 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28539 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28540 for __FINITE_MATH_ONLY__ == 1.
28542 2011-09-15 Andreas Schwab <schwab@redhat.com>
28544 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28545 __ieee754_sqrt instead of sqrt.
28546 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28547 __ieee754_sqrtf instead of sqrtf.
28548 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28549 __floorf instead of floorf.
28550 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28551 __floorf, __truncf instead of floorf, truncf.
28553 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28555 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28557 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28558 __extern_always_inline.
28559 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28562 2011-09-14 Andreas Schwab <schwab@redhat.com>
28564 * elf/rtld.c (dl_main): Also relocate in dependency order when
28565 doing symbol dependency testing.
28567 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28569 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28570 Always define `refsym'.
28572 2011-09-13 Andreas Schwab <schwab@redhat.com>
28574 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28575 (__FD_ELT): Renamed from __FDELT.
28576 * misc/bits/select2.h (__FD_ELT): Likewise.
28577 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28578 __FD_MASK instead of __FDELT, __FDMASK.
28579 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28581 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28584 * elf/Makefile (gen-ldd): Fix pattern.
28586 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28587 (init_tls): Likewise.
28589 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28593 2011-09-12 Andreas Schwab <schwab@redhat.com>
28595 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28596 `struct cmsghdr *' instead of `void *'.
28597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28600 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28602 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28604 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28605 ldd_rewrite_script.
28607 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28609 * configure.in: Remove --with-tls option.
28610 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28611 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28612 out in case it is missing.
28613 * sysdeps/ia64/elf/configure.in: Likewise.
28614 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28615 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28616 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28617 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28618 * sysdeps/sh/elf/configure.in: Likewise.
28619 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28620 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28621 * sysdeps/x86_64/elf/configure.in: Likewise.
28622 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28623 * sysdeps/mach/hurd/tls.h: Likewise.
28626 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28629 * configure.in: Fix use of AC_INIT.
28631 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28633 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28635 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28637 * malloc/hooks.c: Likewise.
28640 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28641 variables statically.
28642 (narenas): Initialize.
28643 (list_lock): Initialize.
28644 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28645 initializtion of main_arena and list_lock. Small cleanups.
28646 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28647 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28648 Add initializers to main_arena and mp_.
28649 (malloc_state): Remove pagesize member. Change all users to use
28652 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28653 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28654 is always initialized.
28656 * malloc/malloc.c: Removed unused configurations and dead code.
28657 * malloc/arena.c: Likewise.
28658 * malloc/hooks.c: Likewise.
28659 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28661 * include/tls.h: Removed. USE___THREAD must always be defined.
28662 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28663 * elf/dl-libc.c: Likewise.
28664 * elf/dl-tsd.c: Likewise.
28665 * include/errno.h: Likewise.
28666 * include/netdb.h: Likewise.
28667 * include/resolv.h: Likewise.
28668 * inet/herrno-loc.c: Likewise.
28669 * inet/herrno.c: Likewise.
28670 * malloc/arena.c: Likewise.
28671 * malloc/hooks.c: Likewise.
28672 * malloc/malloc.c: Likewise.
28673 * resolv/res-state.c: Likewise.
28674 * resolv/res_libc.c: Likewise.
28675 * sysdeps/i386/dl-machine.h: Likewise.
28676 * sysdeps/ia64/dl-machine.h: Likewise.
28677 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28678 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28679 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28680 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28681 * sysdeps/sh/dl-machine.h: Likewise.
28682 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28683 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28684 * sysdeps/unix/i386/sysdep.S: Likewise.
28685 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28686 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28691 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28695 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28696 * sysdeps/x86_64/dl-machine.h: Likewise.
28697 * tls.make.c: Likewise.
28699 * configure.in: Remove --with-__thread option. Make tests for
28700 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28701 tls_model attribute fail if no support is available. Remove
28703 * Makeconfig: Adjust for dropped configure option. All features are
28705 * Makerules: Likewise.
28706 * Versions.def: Likewise.
28707 * argp/argp-fmtstream.c: Likewise.
28708 * argp/argp-fmtstream.h: Likewise.
28709 * argp/argp-help.c: Likewise.
28710 * assert/assert.c: Likewise.
28711 * config.h.in: Likewise.
28712 * config.make.in: Likewise.
28713 * configure: Likewise.
28714 * configure.in: Likewise.
28715 * csu/Versions: Likewise.
28716 * csu/init.c: Likewise.
28717 * elf/tst-audit2.c: Likewise.
28718 * elf/tst-tls10.c: Likewise.
28719 * elf/tst-tls10.h: Likewise.
28720 * elf/tst-tls11.c: Likewise.
28721 * elf/tst-tls12.c: Likewise.
28722 * elf/tst-tls14.c: Likewise.
28723 * elf/tst-tlsmod11.c: Likewise.
28724 * elf/tst-tlsmod12.c: Likewise.
28725 * elf/tst-tlsmod13.c: Likewise.
28726 * elf/tst-tlsmod13a.c: Likewise.
28727 * elf/tst-tlsmod14a.c: Likewise.
28728 * elf/tst-tlsmod15b.c: Likewise.
28729 * elf/tst-tlsmod16a.c: Likewise.
28730 * elf/tst-tlsmod16b.c: Likewise.
28731 * elf/tst-tlsmod7.c: Likewise.
28732 * elf/tst-tlsmod8.c: Likewise.
28733 * elf/tst-tlsmod9.c: Likewise.
28734 * gmon/gmon.c: Likewise.
28735 * grp/fgetgrent_r.c: Likewise.
28736 * grp/putgrent.c: Likewise.
28737 * hurd/fopenport.c: Likewise.
28738 * include/libc-symbols.h: Likewise.
28739 * include/tls.h: Likewise.
28740 * intl/gettextP.h: Likewise.
28741 * intl/loadinfo.h: Likewise.
28742 * locale/global-locale.c: Likewise.
28743 * locale/localeinfo.h: Likewise.
28744 * mach/devstream.c: Likewise.
28745 * malloc/arena.c: Likewise.
28746 * malloc/set-freeres.c: Likewise.
28747 * misc/err.c: Likewise.
28748 * misc/getttyent.c: Likewise.
28749 * misc/mntent_r.c: Likewise.
28750 * posix/getopt.c: Likewise.
28751 * posix/wordexp.c: Likewise.
28752 * pwd/fgetpwent_r.c: Likewise.
28753 * resolv/Versions: Likewise.
28754 * resolv/res_hconf.c: Likewise.
28755 * shadow/fgetspent_r.c: Likewise.
28756 * shadow/putspent.c: Likewise.
28757 * stdio-common/printf_fphex.c: Likewise.
28758 * stdio-common/tmpfile.c: Likewise.
28759 * stdlib/abort.c: Likewise.
28760 * stdlib/fmtmsg.c: Likewise.
28761 * sunrpc/auth_unix.c: Likewise.
28762 * sunrpc/clnt_perr.c: Likewise.
28763 * sunrpc/clnt_tcp.c: Likewise.
28764 * sunrpc/clnt_udp.c: Likewise.
28765 * sunrpc/clnt_unix.c: Likewise.
28766 * sunrpc/openchild.c: Likewise.
28767 * sunrpc/svc_simple.c: Likewise.
28768 * sunrpc/svc_tcp.c: Likewise.
28769 * sunrpc/svc_udp.c: Likewise.
28770 * sunrpc/svc_unix.c: Likewise.
28771 * sunrpc/xdr.c: Likewise.
28772 * sunrpc/xdr_array.c: Likewise.
28773 * sunrpc/xdr_rec.c: Likewise.
28774 * sunrpc/xdr_ref.c: Likewise.
28775 * sunrpc/xdr_stdio.c: Likewise.
28777 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28779 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28781 2011-07-03 Andreas Jaeger <aj@suse.de>
28783 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28784 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28785 regenerate with gen-libm-tests.pl.
28787 2010-05-12 Petr Baudis <pasky@suse.cz>
28790 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28791 around j0() zero points by switching to j1().
28792 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28797 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28799 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28804 Patch in part by Pavel Roskin <proski@gnu.org>.
28807 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28809 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28810 Free memory block if necessary.
28813 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28814 be NULL. Don't lock in this case.
28816 2011-09-09 Roland McGrath <roland@hack.frob.com>
28818 * elf/elf.h (ELFOSABI_GNU): New macro.
28819 (ELFOSABI_LINUX): Define to that.
28821 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28823 * string/strncat.c (strncat): Undef the symbol in case it has been
28824 defined in bits/string.h.
28826 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28828 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28830 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28833 2011-08-17 Andreas Jaeger <aj@suse.de>
28835 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28837 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28838 Ian Lance Taylor <iant@google.com>
28840 * math/libm-test.inc (lround_test): New testcase.
28841 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28843 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28845 * Makefile: Remove support for automatic cvs check-ins.
28846 * Makerules: Likewise.
28847 * config.make.in: Likewise.
28848 * configure.in: Likewise.
28849 * intl/Makefile: Likewise.
28850 * locale/Makefile: Likewise.
28851 * po/Makefile: Likewise.
28852 * posix/Makefile: Likewise.
28853 * sysdeps/gnu/Makefile: Likewise.
28854 * sysdeps/mach/hurd/Makefile: Likewise.
28855 * sysdeps/sparc/sparc32/Makefile: Likewise.
28858 * posix/Makefile (bug-regex32-ENV): Define.
28859 Patch by John Stanley <jpsinthemix@verizon.net>.
28861 * misc/Makefile (headers): Add bits/select2.h.
28862 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28863 * misc/bits/select2.h: New file.
28864 * include/bits/select2.h: New file.
28865 * debug/Makefile (routines): Add fdelt_chk.
28866 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28867 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28869 * debug/fdelt_chk.c: New file.
28871 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28872 * wcsmbs/test-wmemcmp.c: Likewise.
28873 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28874 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28876 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28878 * string/Makefile (strop-tests): Add memcmp.
28879 * string/test-wmemcmp.c: New file.
28880 * string/test-memcmp.c: Add wmemcmp support.
28882 2011-09-08 Roland McGrath <roland@hack.frob.com>
28885 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28888 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28889 garbage value in a __mach_port_mod_refs call in the cases of the
28890 task-self and thread-self ports.
28892 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28894 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28896 2011-09-08 Andreas Schwab <schwab@redhat.com>
28898 * elf/dl-load.c (lose): Check for non-null L.
28900 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28902 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28904 * elf/dl-libc.c (dlerror_run): Pass back error code from
28908 * elf/dl-load.c (lose): Free l_origin if it is valid.
28910 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28912 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28915 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28916 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28917 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28919 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28921 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28922 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28923 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28924 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28925 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28926 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28927 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28928 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28929 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28930 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28932 2011-08-15 Alan Modra <amodra@gmail.com>
28935 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28936 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28937 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28938 ppc_mcount to static-only-routines.
28939 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28941 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28942 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28944 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28946 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28947 for finite and infinity parameters.
28949 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28952 and add nop instructions for throughput optimization.
28953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28955 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28958 aligned copy for power7 with vector-scalar instructions.
28959 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28961 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28966 2011-09-07 Andreas Schwab <schwab@redhat.com>
28969 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28972 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28974 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28975 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28976 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28977 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28980 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28982 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28983 Forgot to demangle the pointer.
28985 * sysdeps/i386/sysdep.h: Define atom_text_section.
28986 * sysdeps/x86_64/sysdep.h: Likewise.
28987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28988 section with atom_text_section.
28989 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28990 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28991 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28993 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28996 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28997 already be defined. Change to take two parameters and don't assign
28998 result to variable. Adjust all users.
28999 Define INTERNAL_GETTIME if not already defined.
29000 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29003 HAVE_CLOCK_GETTIME_VSYSCALL.
29004 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29007 gettimeofday vsyscall, just use time.
29009 2011-09-06 Andreas Schwab <schwab@redhat.com>
29011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29014 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29016 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29020 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29021 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29022 syscall if possible.
29024 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29026 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29027 e_ident. Don't pass to find_mapsXX.
29028 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29030 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29033 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29034 * sysdeps/x86_64/multiarch/strchr.S: Update.
29035 Check bit_slow_BSF bit.
29036 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29037 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29038 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29040 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29043 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29045 (tryshell): Define.
29046 (__spawni): Change last parameter to be flag. Test
29047 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29048 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29049 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29050 * posix/spawni.c: Likewise.
29051 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29052 * posix/spawnp.c: Likewise. Change normal version to use
29053 SPAWN_XFLAGS_USE_PATH.
29054 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29055 SPAWN_XFLAGS_TRY_SHELL.
29058 * posix/glob.h: Remove gcc 1.x support.
29061 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29063 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29066 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29068 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29069 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29070 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29071 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29072 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29075 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29077 * sysdeps/x86_64/wcscmp.S: New file.
29079 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29080 wcscmp-c wcscmp-sse2
29081 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29082 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29083 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29084 * wcsmbs/wcscmp.c: Allow renaming.
29086 2011-09-05 David S. Miller <davem@davemloft.net>
29088 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29089 stack slot, rather than the struct return pointer slot.
29090 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29091 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29093 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29095 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29097 * po/ja.po: Update from translation team.
29100 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29101 kernel in 64-bit binaries.
29103 2011-09-01 David S. Miller <davem@davemloft.net>
29105 * elf/elf.h (HWCAP_SPARC_*): Move to..
29106 * sysdeps/sparc/sysdep.h: this new file and add new values.
29107 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29108 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29109 _DL_HWCAP_COUNT to 24.
29110 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29112 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29113 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29114 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29116 instead of magic constants.
29117 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29119 2011-08-31 David S. Miller <davem@davemloft.net>
29121 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29122 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29123 Reimplement to do errno handling inline.
29124 (SYSCALL_ERROR_HANDLER): New macro.
29125 (__SYSCALL_STRING): Do not do errno handling in asm.
29126 (__CLONE_SYSCALL_STRING): Delete.
29127 (__INTERNAL_SYSCALL_STRING): Delete.
29128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29129 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29130 (PSEUDO): Reimplement to do errno handling inline.
29131 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29132 (SYSCALL_ERROR_HANDLER): New macro.
29133 (__SYSCALL_STRING): Do not do errno handling in asm.
29134 (__CLONE_SYSCALL_STRING): Delete.
29135 (__INTERNAL_SYSCALL_STRING): Delete.
29136 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29137 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29139 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29140 (inline_syscall*): Add 'err' argument.
29141 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29142 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29143 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29144 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29146 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29147 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29149 2011-08-30 Andreas Schwab <schwab@redhat.com>
29151 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29153 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29155 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29158 2011-08-24 David S. Miller <davem@davemloft.net>
29160 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29162 2011-08-24 Andreas Schwab <schwab@redhat.com>
29164 * elf/Makefile: Add rules to build and run unload8 test.
29165 * elf/unload8.c: New file.
29166 * elf/unload8mod1.c: New file.
29167 * elf/unload8mod1x.c: New file.
29168 * elf/unload8mod2.c: New file.
29169 * elf/unload8mod3.c: New file.
29171 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29174 2011-08-23 David S. Miller <davem@davemloft.net>
29176 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29177 subtract stack bias.
29178 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29179 %sp not %fp in calculations.
29180 (_JMPBUF_UNWINDS_ADJ): Likewise.
29182 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29183 (aio_suspend): Call it to force an exception region around the
29184 AIO_MISC_WAIT() invocation.
29186 2011-08-23 Andreas Schwab <schwab@redhat.com>
29188 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29191 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29193 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29195 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29196 and <dl-machine.h>.
29197 (Elf64_FuncDesc): Remove.
29199 2011-08-22 David S. Miller <davem@davemloft.net>
29201 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29202 sigaltstack check, add missing cfi directives.
29203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29204 missing cfi directives, and sigaltstack handling.
29206 2011-08-16 Andreas Schwab <schwab@redhat.com>
29209 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29210 object is seen twice.
29211 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29213 * elf/Makefile (distribute): Add tst-initorder2.c.
29214 (tests): Add tst-initorder2.
29215 (modules-names): Add tst-initorder2a tst-initorder2b
29216 tst-initorder2c tst-initorder2d. Add rules to build them.
29217 ($(objpfx)tst-initorder2.out): New rule.
29218 * elf/tst-initorder2.c: New file.
29219 * elf/tst-initorder2.exp: New file.
29221 2011-08-22 Andreas Schwab <schwab@redhat.com>
29223 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29225 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29226 dependencies back to end of function.
29228 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29229 $(elfobjdir)/ld.so.
29231 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29233 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29234 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29236 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29237 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29238 of __vdso_gettimeofday.
29239 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29240 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29242 (_libc_vdso_platform_setup): Remove initialization of
29243 __vdso_gettimeofday and __vdso_time.
29245 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29247 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29248 and fgetc_unlocked.
29249 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29252 * elf/dl-open.c (add_to_global): Report additions to the global scope
29253 for LD_DEBUG=scopes.
29254 (dl_open_worker): Also print scope of newly loaded dependencies.
29255 (_dl_show_scope): Indicate if there is no scope.
29258 * stdio-common/Makefile (tests): Add bug24.
29259 * stdio-common/bug24.c: New file.
29261 2011-08-19 Andreas Jaeger <aj@suse.de>
29264 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29265 non-existant file when using close-on-exec mode.
29267 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29270 the very first instruction.
29272 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29273 the CFI state in the end.
29274 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29275 inclusion of dl-trampoline.h.
29276 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29278 2011-08-19 Andreas Schwab <schwab@redhat.com>
29280 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29281 expectations for long double.
29283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29284 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29286 2011-08-14 David S. Miller <davem@davemloft.net>
29288 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29289 artificual limit depends upon the system page size.
29291 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29293 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29294 * resolv/Makefile: Define CFLAGS-libresolv.
29296 2011-08-17 Andreas Schwab <schwab@redhat.com>
29298 * nss/makedb.c (compute_tables): Make variables used in nested
29301 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29303 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29304 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29305 if buffer was too small.
29307 * elf/pldd.c (main): Attach to all threads in the process.
29308 Rewrite /proc handling to use *at functions.
29310 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29312 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29313 specifies first scope to show.
29314 (dl_open_worker): Update callers. Move printing scope of new
29315 object to before the relocation.
29316 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29317 * sysdeps/generic/ldsodefs.h: Update declaration.
29319 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29320 string for the scope number.
29322 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29324 * nscd/servicescache.c (cache_addserv): Make sure written is always
29327 2011-08-14 Roland McGrath <roland@hack.frob.com>
29329 * sysdeps/i386/i486/bits/atomic.h
29330 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29331 statement expression, so as to suppress "set but not used" warning.
29332 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29334 * string/strncat.c (STRNCAT): Use prototype definition.
29336 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29337 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29339 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29340 (localedef-modules): Add localedef.
29341 (locale-modules): Add locale.
29343 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29344 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29345 to avoid a warning.
29347 2011-08-14 David S. Miller <davem@davemloft.net>
29349 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29350 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29352 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29354 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29355 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29356 * elf/rtld.c (dl_main): Set l_name of vDSO.
29357 Call _dl_show_scope when DL_DEBUG_SCOPES.
29358 (process_dl_debug): Recognize scopes flag and also set it for all.
29359 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29360 Declare _dl_show_scope.
29362 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29363 (do_dlopen): Pass caller_dlopen to dl_open.
29364 (__libc_dlopen_mode): Initialize caller_dlopen.
29366 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29367 of libc. Make tolower call locale-independent. Optimize a bit by
29368 using isdigit instead of isalnum.
29369 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29371 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29373 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29374 was a dependency or dynamically loaded.
29376 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29378 * intl/l10nflist.c: Allow architecture-specific pop function.
29379 * sysdeps/x86_64/l10nflist.c: New file.
29381 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29384 2011-08-10 Andreas Schwab <schwab@redhat.com>
29386 * include/dirent.h: Add libc_hidden_proto for scandirat and
29387 scandirat64. Don't declare __scandirat64.
29388 * dirent/scandirat.c: Add libc_hidden_def.
29389 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29390 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29392 2011-08-10 David S. Miller <davem@davemloft.net>
29394 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29397 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29398 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29400 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29402 * Versions.def [libc]: Add GLIBC_2.15.
29403 * dirent/Makefile (routines): Add scandirat and scandirat64.
29404 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29406 * dirent/dirent.h: Declare scandirat and scandirat64.
29407 * dirent/scandirat.c: New file.
29408 * dirent/scandirat64.c: New file.
29409 * sysdeps/wordsize-64/scandirat.c: New file.
29410 * sysdeps/wordsize-64/scandirat64.c: New file.
29411 * dirent/opendir.c: Define opendirat.
29412 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29414 * dirent/scandir64.c: Adjust for scandir.c change.
29415 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29416 __scandirat64, and __scandir_cancel_handler.
29417 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29418 additional parameter and use openat instead of open (outside of ld.so).
29419 Add new __opendir as wrapper around __opendirat.
29420 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29421 here without requiring old scandirat implementation.
29423 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29425 * dirent/scandir.c (cancel_handler): Renamed to
29426 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29427 defined. Adjust users.
29428 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29431 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29433 * string/test-string.h (IMPL): Use __STRING to expand name and then
29436 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29439 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29441 * string/Makefile: Update.
29442 (strop-tests): Append strncat.
29443 * string/test-wcscmp.c: New file.
29444 New comprehensive test for wcscmp.
29445 * string/test-strcmp.c: Update.
29446 (WIDE): New define.
29448 2011-07-22 Andreas Schwab <schwab@redhat.com>
29450 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29453 2011-07-26 Andreas Schwab <schwab@redhat.com>
29455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29456 encoding to ACE if AI_IDN.
29458 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29461 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29463 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29465 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29466 Fix overflow bug in strncat.
29467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29469 * string/test-strncat.c: Update.
29470 Add new tests for checking overflow bugs.
29472 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29475 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29476 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29477 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29478 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29479 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29480 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29481 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29482 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29485 (USE_AS_STRCAT): Define.
29486 Add strcat and strncat support.
29487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29489 2011-07-25 Andreas Schwab <schwab@redhat.com>
29491 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29492 __n bigger than INT_MAX+1.
29493 (__strncmp_g): Likewise.
29495 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29497 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29498 * libio/stido.h: Likewise.
29500 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29505 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29508 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29509 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29512 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29517 (_dl_x86_64_save_sse): Likewise.
29519 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29521 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29523 (_dl_x86_64_save_sse): Likewise.
29525 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29527 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29529 2011-07-21 Andreas Schwab <schwab@redhat.com>
29531 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29533 (_dl_x86_64_save_sse): Use correct AVX check.
29535 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29537 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29538 bug in strncpy/strncat.
29539 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29541 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29543 * string/tester.c (test_strcat): Add tests for different alignments
29544 of source and destination.
29545 (test_strncat): Likewise.
29547 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29550 * posix/glob.c (glob): Check passed in values before using them in
29551 expressions to avoid some overflows.
29552 (glob_in_dir): Likewise.
29555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29556 check for AVX enablement so that we don't crash with old kernels and
29558 * elf/tst-audit4.c: Add same checks here.
29559 * elf/tst-audit6.c: Likewise.
29561 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29563 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29565 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29567 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29569 * po/cs.po: Update from translation team.
29570 * po/bg.po: Likewise.
29572 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29574 * misc/sys/cdefs.h: Add support for const attribute.
29575 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29576 to gnu_dev_{major,minor,makedev} functions.
29578 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29580 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29582 2011-07-20 Andreas Schwab <schwab@redhat.com>
29584 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29587 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29590 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29591 register in order to avoid conflicts with the soft frame pointer
29592 being held in r11 when necessary.
29593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29594 (INTERNAL_VSYSCALL_NCS): Likewise.
29596 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29598 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29599 * elf/dl-fini.c (_dl_fini): Adjust caller.
29600 * elf/dl-close.c (_dl_close_worker): Likewise.
29601 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29603 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29605 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29606 "aux_cache->nlibs < 0".
29608 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29609 in the reload-count case.
29611 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29614 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29615 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29616 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29617 * sysdeps/x86_64/multiarch/strcat.S: New file.
29618 * sysdeps/x86_64/multiarch/strncat.S: New file.
29619 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29620 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29621 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29622 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29623 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29624 (USE_AS_STRCAT): Define.
29625 Add strcat and strncat support.
29626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29628 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29629 * string/strncat.c: Update.
29630 (USE_AS_STRNCAT): Define.
29631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29632 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29634 * sysdeps/x86_64/multiarch/init-arch.h
29635 (bit_Prefer_PMINUB_for_stringop): New.
29636 (index_Prefer_PMINUB_for_stringop): Likewise.
29637 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29638 bit_Prefer_PMINUB_for_stringop.
29640 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29642 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29644 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29645 of casting of buffer.
29646 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29647 buffer32 and buffer64.
29648 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29649 writes instead of casting of buffer.
29650 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29652 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29655 2011-07-19 Andreas Schwab <schwab@redhat.com>
29657 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29659 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29661 * nscd/nscd.c (termination_handler): Don't do anything for a database
29662 if it has not yet been initialized.
29664 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29666 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29668 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29670 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29672 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29674 * po/nl.po: Update from translation team.
29675 * po/sv.po: Likewise.
29677 2011-07-16 Roland McGrath <roland@hack.frob.com>
29679 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29680 now disallowed by GCC.
29682 * configure.in (use-default-link): Default to yes if a test -shared
29683 link meets our qualifications.
29684 * configure: Regenerated.
29686 * config.make.in (output-format): New variable.
29687 * configure.in: Check for ld --print-output-format support.
29688 * configure: Regenerated.
29689 * Makerules ($(common-objpfx)format.lds)
29690 [$(output-format) != unknown]: Just use $(output-format),
29691 instead of the linker-script munging.
29693 2011-07-14 Roland McGrath <roland@hack.frob.com>
29695 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29696 of $(common-objpfx)shlib.lds.
29697 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29699 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29700 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29702 * configure.in (-z relro check): Adjust test code to add a large
29703 writable data section after it.
29704 * configure: Regenerated.
29706 2011-07-11 Roland McGrath <roland@hack.frob.com>
29708 * configure.in (-z relro check): Fix test code to make the variable
29710 * configure: Regenerated.
29712 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29714 * nscd/nscd.h (struct traced_file): Define.
29715 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29716 elements. Add traced_files.
29717 (inotify_fd): Declare.
29718 (register_traced_file): Declare.
29719 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29720 (inotify_fd): Export.
29721 (resolv_conf_descr): Remove.
29722 (nscd_init): Move inotify descriptor creation to main.
29723 Don't register files for notification here.
29724 (register_traced_file): New function.
29725 (invalidate_cache): Don't use reset_res to determine whether to call
29726 res_init, go through the list of registered files.
29727 (main_loop_poll): The inotify descriptors are now stored in the
29728 structures for the traced files.
29729 (main_loop_epoll): Likewise
29730 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29731 to __nss_disable_nscd.
29732 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29733 for a database anymore. Check the records for all the registered
29735 * nss/Makefile (libnss_files-routines): Add files-init.
29736 (libnss_db-routines): Add db-init.
29737 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29738 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29739 * nss/nss_db/db-init.c: New file.
29740 * nss/nss_files/files-init.c: New file.
29741 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29742 __nss_lookup_function.
29743 (__nss_lookup_function): Call nss_load_library.
29744 (nss_load_all_libraries): New function.
29745 (__nss_disable_nscd): Take parameter with callback function for files
29746 to register. Set is_nscd. Load all the DSOs for the NSS modules
29747 used for the cached services.
29748 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29749 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29750 options for features to all the files in nscd.
29752 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29754 2011-07-10 Roland McGrath <roland@hack.frob.com>
29756 * csu/elf-init.c (__libc_csu_init): Comment typo.
29758 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29760 * po/pl.po: Update from translation team.
29761 * po/ja.po: Likewise.
29762 * po/ru.po: Likewise.
29763 * po/ko.po: Likewise.
29764 * po/fr.po: Likewise.
29766 2011-07-09 Roland McGrath <roland@hack.frob.com>
29768 * configure.in (.ctors/.dtors header and trailer check):
29769 Use an empirical test on a built program.
29770 * configure: Regenerated.
29772 * configure.in (-z relro check): Use an empirical test on a built DSO.
29773 Detect, but do not require, on ia64.
29774 * configure: Regenerated.
29776 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29777 Update tests that use readelf to use $READELF instead.
29778 * configure: Regenerated.
29780 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29782 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29783 if the result is not used.
29785 2011-07-05 Andreas Jaeger <aj@suse.de>
29788 * stdlib/tst-strtod.c: Add testcase.
29790 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29792 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29793 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29794 The latter has a higher limit. Take additional parameter to pass to
29796 (__pathconf): Pass file to __statfs_link_max.
29797 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29799 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29803 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29807 (__statfs_filesize_max): Likewise.
29808 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29810 2011-07-05 Andreas Jaeger <aj@suse.de>
29812 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29814 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29816 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29818 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29821 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29823 * Makefile (strop-tests): Add strncat.
29824 * string/test-strncat.c: New file.
29826 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29828 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29830 2011-06-21 Andreas Jaeger <aj@suse.de>
29832 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29833 Copy rule from iconvdata/Makefile.
29835 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29838 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29839 but no long options are defined, just return 'W'.
29841 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29844 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29846 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29848 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29850 (innetgr): Likewise.
29852 2011-07-05 Roland McGrath <roland@hack.frob.com>
29854 * config.make.in (install_root): Default to $(DESTDIR).
29856 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29858 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29860 2011-07-02 Roland McGrath <roland@hack.frob.com>
29862 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29864 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29865 containing directory rather than embedding absolute directory names.
29867 * scripts/check-local-headers.sh: Rewritten using awk.
29868 Match by word, not by line. Print error messages for matches.
29869 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29871 * Makerules [shlib-lds-flags empty]:
29872 ($(common-objpfx)libc_pic.opts): New target.
29873 ($(common-objpfx)libc_pic.os.clean): New target.
29874 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29876 * config.make.in (OBJCOPY): New variable.
29877 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29878 * configure: Regenerated.
29880 * config.make.in (use-default-link): New variable.
29881 * configure.in (use_default_link): Grok --with-default-link to set it.
29882 * configure: Regenerated.
29883 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29884 (shlib-lds, shlib-lds-flags): Define to empty.
29886 * Makerules (shlib-lds): New variable.
29887 (shlib-lds-flags): New variable.
29888 (build-shlib, build-moduile, build-module-asneeded): Use it.
29889 ($(common-objpfx)libc.so): Use $(shlib-lds).
29890 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29891 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29893 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29894 DT_FLAGS/DT_FLAGS_1 with zero flags.
29896 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29897 linker script munging.
29899 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29901 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29903 * crypt/sha512.c (sha512_process_block): Perform total addition using
29904 128-bit if possible.
29905 (__sha512_finish_ctx): Likewise.
29906 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29908 * crypt/sha256.c (SWAP64): Define.
29909 (sha256_process_block): Perform total addition using 64-bit if
29911 (__sha256_finish_ctx): Likewise.
29913 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29915 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29917 * nscd/hstcache.c (cache_addhst): Likewise.
29918 * nscd/grpcache.c (cache_addgr): Likewise.
29919 * nscd/aicache.c (addhstaiX): Likewise
29920 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29922 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29924 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29925 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29926 * nscd/hstcache.c (cache_addhst): Likewise.
29927 * nscd/grpcache.c (cache_addgr): Likewise.
29928 * nscd/aicache.c (addhstaiX): Likewise
29930 2011-07-01 Andreas Schwab <schwab@redhat.com>
29932 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29933 domain only when needed.
29935 2011-06-30 Andreas Schwab <schwab@redhat.com>
29937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29938 is always restored.
29940 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29942 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29943 are re-adding the entry.
29944 * nscd/servicescache.c (cache_addserv): Likewise.
29946 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29948 * sysdeps/generic/dl-irel.h: fix protection against multiple
29950 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29952 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29955 * malloc/memusage.sh: Fix quoting in message.
29956 * debug/xtrace.sh: Likewise.
29958 * configure.in: Remove support for --experimental-malloc option, make
29960 * config.make.in: Likewise.
29961 * malloc/Makefile: Likewise.
29963 2011-06-27 Andreas Schwab <schwab@redhat.com>
29965 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29966 two-byte characters.
29968 2011-06-27 Roland McGrath <roland@hack.frob.com>
29970 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29971 AC_CACHE_CHECK invocation.
29972 * configure: Regenerated.
29974 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29976 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29979 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29980 bit from old_res_options.
29982 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29984 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29985 value type for setfct.
29987 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29990 __gettimeofday instead of gettimeofday.
29992 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29994 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29996 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29998 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30000 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30003 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30006 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30007 strcpy-sse2-unaligned strncpy-sse2-unaligned
30008 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30009 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30010 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30011 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30012 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30013 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30014 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30015 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30016 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30017 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30018 (STRCPY): Support SSE2 and SSSE3 versions.
30020 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30023 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30024 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30025 kernels which artificially limit size of requests.
30027 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30030 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30031 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30032 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30033 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30034 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30035 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30036 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30039 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30040 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30041 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30042 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30043 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30045 Enable unaligned load optimization for Intel Core i3, i5 and i7
30047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30049 (index_Fast_Unaligned_Load): Define.
30050 (HAS_FAST_UNALIGNED_LOAD): Define.
30052 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30054 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30056 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30060 until it is clear that the information is realy needed.
30061 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30063 2011-06-22 Andreas Schwab <schwab@redhat.com>
30065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30067 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30070 /sys/devices/system/cpu/online if it is usable.
30072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30073 reading the information from the /proc filesystem to once a second.
30075 2011-06-21 Andreas Jaeger <aj@suse.de>
30077 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30078 NULL after inclusion of kernel headers.
30080 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30082 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30083 calls to internal_setent.
30086 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30087 addresses using gethostbyname4_r ignore IPv4 addresses.
30089 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30090 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30092 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30094 2011-06-20 David S. Miller <davem@davemloft.net>
30096 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30098 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30100 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30101 (elf_irel): Use it.
30102 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30103 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30104 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30105 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30106 * sysdeps/x86_64/dl-irel.h: Likewise.
30108 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30109 * elf/dl-sym.c: Likewise.
30111 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30113 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30114 need to dereference resplen2.
30116 2011-06-14 Andreas Schwab <schwab@redhat.com>
30118 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30120 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30122 * Makeconfig: Define vardbdir and inst_vardbdir.
30123 * nss/Makefile: Add rules to install db-Makefile.
30125 * nss/nss_db/db-XXX.c: Cleanup.
30127 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30128 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30130 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30131 * nss/makedb.c: Implement -g option to specify that value strings
30132 are generated and should not be added to table iterated over for
30134 * nss/nss_db/db-initgroups.c: New file.
30136 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30139 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30140 (internal_getgrouplist): Adjust to name change.
30141 Update use_initgroups_entry if this is not the first call.
30142 * nss/databases.def: Add initgroups entry.
30144 * nss/makedb.c (compute_tables): Check result of multiple hash table
30145 sizes to minimize maximum chain length.
30147 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30149 * Versions.def: Add entry for libnss_db.
30150 * shlib-versions: Likewise.
30151 * nss/Makefile: Add rules to build libnss_db.
30152 * nss/Versions: Add libnss_db information. Organize libnss_files
30154 * nss/db-Makefile: Add gshadow support. Change rules for the new
30155 makedb progra. Some minor improvements to generate smaller files.
30156 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30158 * nss/makedb.c: ...here.
30159 Improve database format to be smaller and require less memory at
30161 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30163 * nss/nss_db/db-netgrp.c: Likewise.
30164 * nss/nss_db/db-open.c: Likewise.
30165 * nss/nss_files/flies-XXX.x: Adjust comments.
30166 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30167 * nss/nss_files/files-grp.c: Likewise.
30168 * nss/nss_files/files-hosts.c: Likewise.
30169 * nss/nss_files/files-network.c: Likewise.
30170 * nss/nss_files/files-proto.c: Likewise.
30171 * nss/nss_files/files-pwd.c: Likewise.
30172 * nss/nss_files/files-rpc.c: Likewise.
30173 * nss/nss_files/files-service.c: Likewise.
30174 * nss/nss_files/files-sgrp.c: Likewise.
30175 * nss/nss_files/files-spwd.c: Likewise.
30176 * nss/nss_db/db-alias.c: Removed.
30177 * nss/nss_db/dummy-db.h: Removed.
30179 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30181 * nss/makedb.c: Rewritten to not use database library.
30182 * nss/Makefile: Update to build new makedb program.
30184 2011-06-14 Andreas Jaeger <aj@suse.de>
30186 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30187 memset declaration.
30189 2011-06-10 Andreas Schwab <schwab@redhat.com>
30191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30194 2011-06-10 Roland McGrath <roland@hack.frob.com>
30196 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30197 * elf/Makefile ($(objpfx)ld.so): Likewise.
30199 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30200 Don't list ld.so twice in dependencies.
30202 * posix/bug-regex31.c: Include <stdlib.h>.
30204 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30206 * nis/nss_compat/compat-spwd.c
30207 (getspent_next_nss_netgr): Remove unused variable.
30208 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30210 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30211 nonmembers" output to use the right array.
30213 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30215 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30217 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30218 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30219 * catgets/gencat.c (read_input_file): Likewise.
30220 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30222 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30223 variable definition inside #if's controlling its use.
30225 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30227 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30229 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30231 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30234 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30236 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30237 * configure: Regenerated.
30239 * Makerules: Revert last change.
30240 * elf/Makefile: Likewise.
30242 2011-06-09 Roland McGrath <roland@hack.frob.com>
30244 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30245 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30246 (reloc-link): Likewise.
30248 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30250 * elf/Makefile: Add rules to build pldd.
30251 * elf/pldd.c: New file.
30252 * elf/pldd-xx.c: New file.
30254 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30256 * version.h: Update for 2.15 development version.
30258 2011-06-07 David S. Miller <davem@davemloft.net>
30260 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30263 elf_machine_lazy_rel): Likewise.
30264 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30265 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30266 elf_machine_lazy_rel): Likewise.
30267 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30268 dl_hwcap via passed in argument.
30269 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30272 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30274 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30276 2011-06-06 Roland McGrath <roland@hack.frob.com>
30279 * manual/fdl-1.1.texi: New file, verbatim from:
30280 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30281 * manual/lgpl-2.1.texi: New file, verbatim from:
30282 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30283 * manual/Makefile (licenses): New variable, list those new file names.
30285 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30287 * manual/fdl.texi: File removed.
30288 * manual/lesser.texi: File removed.
30289 * manual/libc.texinfo (Copying, Documentation License):
30290 Use new @include file names, put @appendix directive before @include.
30292 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30295 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30296 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30297 (mq_open): Add __NTH.
30299 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30302 Assume Intel Core i3/i5/i7 processor if AVX is available.
30304 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30309 2011-05-31 Andreas Schwab <schwab@redhat.com>
30311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30312 memory. Use alloca_account. Fix memory leak when retrying.
30314 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30316 * version.h (RELEASE): Bump for 2.14 release.
30317 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30319 * config.make.in (RANLIB): Remove entry.
30321 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30323 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30324 (libc.pot): Work around missing support for .ksh extension in xgettext.
30327 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30328 if both request failed.
30329 (send_dg): In case of server errors clear resplen or *resplen2.
30332 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30333 when there are multiple maps.
30334 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30335 (_dl_fini): Remove test here.
30337 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30339 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30342 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30343 bit from old_res_options.
30344 (gaih_inet): Likewise.
30347 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30350 * resolv/res_init.c (res_setoptions): Make the code more compact.
30353 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30357 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30359 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30362 * malloc/malloc.h: Declare malloc hook variables as volatile.
30364 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30368 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30369 raise in the comment.
30370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30372 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30374 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30377 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30378 grow the buffers more if it already has to be sufficient.
30379 (build_wcs_upper_buffer): Likewise.
30380 * posix/regexec.c (check_matching): Likewise.
30381 (clean_state_log_if_needed): Likewise.
30382 (extend_buffers): Don't enlarge buffers beyond size of the input
30384 Patches mostly by Emil Wojak <emil@wojak.eu>.
30385 * posix/bug-regex32.c: New file.
30386 * posix/Makefile (tests): Add bug-regex32.
30388 * locale/findlocale.c (_nl_find_locale): Return right away if
30389 _nl_explode_name failed.
30390 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30392 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30394 * debug/xtrace.sh: Unify messages.
30395 * malloc/memusage.sh: Likewise.
30398 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30399 time symbol from vDSO. Substitute with vsyscall if not available.
30400 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30403 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30404 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30405 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30406 Add sendmmsg and internal_sendmmsg.
30407 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30408 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30411 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30412 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30413 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30415 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30418 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30419 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30421 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30425 * iconvdata/Makefile (tests): Add bug-iconv9.
30426 * iconvdata/bug-iconv9.c: New file.
30428 2011-05-27 Andreas Schwab <schwab@redhat.com>
30431 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30433 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30435 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30436 (struct user_regs_struct): Change intcs field back to cs.
30438 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30440 * po/ja.po: Update from translation team.
30442 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30445 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30446 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30448 2011-05-20 Andreas Schwab <schwab@redhat.com>
30450 * stdlib/longlong.h: Update from GCC.
30452 2011-05-23 Andreas Schwab <schwab@redhat.com>
30454 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30456 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30457 Add parameter name.
30458 (__sysconf): Pass it down.
30460 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30463 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30466 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30467 add in in __libc_use_alloca calls. Adjust callers.
30468 (glob): Use malloc in some situations.
30470 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30471 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30474 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30476 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30477 and CLOCK_BOOTTIME_ALARM.
30480 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30483 * string/_strerror.c (__strerror_r): Print negative errors as signed
30487 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30488 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30489 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30491 * configure.in: Fix typo in redirection and correct removal of test
30492 files in two cases.
30495 * locale/setlocale.c (new_composite_name): Fix test to check for
30496 identical name of all categories.
30499 * libio/filedoalloc.c (local_isatty): New function.
30500 (_IO_file_doallocate): Use local_isatty.
30501 * stdio-common/perror.c (perror): In case a new stream is used
30502 forward the stream error.
30503 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30506 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30511 * include/alloca.h (extend_alloca_account): Define.
30514 * posix/regex.h: Fix comments with documentation of user-accessible
30515 fields after compilation and describe correct free'ing of pattern
30516 after re_compile_pattern.
30517 Patch by Reuben Thomas <rrt@sc3d.org>.
30519 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30521 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30522 and -mno-altivec to prevent the compiler from using Altivec and/or
30523 VSX instructions when the corresponding registers are not available.
30525 2011-05-19 Andreas Schwab <schwab@redhat.com>
30527 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30529 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30531 * libio/freopen.c (freopen): Use __dup2, not dup2.
30532 * libio/freopen64.c (freopen64): Likewise.
30534 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30537 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30538 * math/Makefile (tests): Add test-powl.
30539 (CFLAGS-test-powl.c): Define.
30540 * math/test-powl.c: New file.
30542 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30544 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30546 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30549 * iconvdata/gb18030.c: Update to GB18020-2005.
30551 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30553 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30554 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30555 Patch by Aharon Robbins <arnold@skeeve.com>.
30558 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30562 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30563 through underflows.
30566 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30567 point to strings before performing equality test for error_one_per_line
30571 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30574 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30575 (struct user_fpregs_struct): Avoid __uint*_t types.
30578 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30579 symbol info. Use it instead of calling _dl_addr locally.
30580 (lock_and_info): New function.
30581 (tr_freehook): Call lock_and_info and pass symbol info as additional
30582 parameter to tr_where.
30583 (tr_mallochook): Likewise.
30584 (tr_reallochook): Likewise.
30585 (tr_memalignhook): Likewise.
30587 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30588 used and couldn't be at all thread-safe.
30590 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30592 * libio/freopen.c (freopen): Don't close old file descriptor
30593 before the new one is opened. Instead dup the new file descriptor
30594 to the old one after the new stream is created.
30595 * libio/freopen64.c (freopen64): Likewise.
30596 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30597 * libio/fileops.c (_IO_new_file_close_it): Handle new
30598 _IO_FLAGS2_NOCLOSE flag.
30599 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30600 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30601 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30602 _IO_FLAGS2_NOCLOSE flag.
30603 * include/unistd.h: Add hidden_proto for dup3.
30604 Define __have_dup3.
30605 * io/dup3.c: Define hidden symbol.
30606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30609 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30610 when an incomplete long option is used.
30611 * posix/tst-getopt_long1.c: New file.
30612 * posix/Makefile (tests): Add tst-getopt_long1.
30615 * scripts/config.guess: Update from autoconf-2.68.
30616 * scripts/config.sub: Likewise.
30619 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30621 (has_cpuclock): ...this. New function.
30622 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30623 macro here based on has_cpuclock code.
30626 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30627 First byte (not low byte) is now always NUL.
30628 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30631 Use non-cancelable interfaces.
30634 * locale/iso-639.def: Add entry for Sorani.
30637 * include/stdlib.h: Move include protection to the right place.
30638 Define abort_msg_s. Declare __abort_msg with it.
30639 * stdlib/abort.c (__abort_msg): Adjust type.
30640 * assert/assert.c (__assert_fail_base): New function. Majority
30641 of code from __assert_fail. Allocate memory for __abort_msg with
30643 (__assert_fail): Now call __assert_fail_base.
30644 * assert/assert-perr.c: Remove bulk of implementation. Use
30645 __assert_fail_base.
30646 * include/assert.hL Declare __assert_fail_base.
30647 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30649 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30651 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30655 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30656 until all modules are registered in the DTV.
30657 * elf/Makefile: Add rules to build and run tst-tls19.
30658 * elf/tst-tls19.c: New file.
30659 * elf/tst-tls19mod1.c: New file.
30660 * elf/tst-tls19mod2.c: New file.
30661 * elf/tst-tls19mod3.c: New file.
30662 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30665 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30669 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30670 two-byte sequence errors.
30671 * iconvdata/Makefile (tests): Add bug-iconv8.
30672 * iconvdata/bug-iconv8.c: New file.
30675 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30678 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30681 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30682 (dummy_getcfa): New function.
30683 (init): Get _Unwind_GetCFA address, use dummy if not found.
30684 (backtrace_helper): In recursion check, also check whether CFA changes.
30685 (__backtrace): Completely initialize arg.
30687 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30688 storing incomplete byte sequence in state object. Avoid testing for
30689 guaranteed too small input if we know there is enough data available.
30691 2011-05-11 Andreas Schwab <schwab@redhat.com>
30693 * Makeconfig (+link-pie): Indent.
30694 * Rules (binaries-pie): Define if $(have-fpie) and
30696 (binaries-shared): Also filter out $(binaries-pie).
30697 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30698 * nscd/Makefile (others-pie): Add nscd.
30699 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30700 ($(objpfx)nscd): Remove command override.
30701 * login/Makefile (others-pie): Add pt_chown.
30702 ($(objpfx)pt_chown): Remove command override.
30703 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30704 remove command overrides.
30706 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30708 * libio/tst_putwc.c: Fix error messages.
30711 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30712 currently writing and seek to current position when not.
30713 * libio/Makefile (tests): Add bug-fclose1.
30714 * libio/bug-fclose1.c: New file.
30716 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30719 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30720 don't set DF_1_NODELETE here.
30721 (do_lookup_x): When entering new entry test for copy relocation
30722 and if necessary set DF_1_NODELETE flag.
30723 * elf/tst-unique4.cc: New file.
30724 * elf/tst-unique4.h: New file.
30725 * elf/tst-unique4lib.cc: New file.
30726 * elf/Makefile: Add rules to build and run tst-unique4.
30727 Patch by Piotr Bury <pbury@goahead.com>.
30729 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30732 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30735 * misc/mntent_r.c (addmntent): Flush the stream after the output
30738 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30739 (is_trusted_path_normalize): Skip initial colon. Append slash
30740 to empty buffer. Duplicate is_trusted_path code but allow
30741 constructed patch to be prefix.
30742 (is_dst): Allow $ORIGIN followed by /.
30743 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30744 Correct testing of result of is_trusted_path_normalize
30745 (decompose_rpath): Fix warning.
30747 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30750 * grp/initgroups.c (internal_getgrouplist): When we found the service
30751 list through the initgroups entry in nsswitch.conf do not always
30752 continue on a successful lookup. Don't always use the
30753 __nss_group_database value if it is set.
30754 * nss/nsswitch.conf (initgroups): Change action for successful db
30755 lookup to continue for compatibility.
30757 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30760 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30762 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30764 * iconvdata/tst-tables.sh: Likewise.
30765 * iconvdata/cp770.c: New file.
30766 * iconvdata/cp771.c: New file.
30767 * iconvdata/cp772.c: New file.
30768 * iconvdata/cp773.c: New file.
30769 * iconvdata/cp774.c: New file.
30770 * iconvdata/testdata/CP770: New file.
30771 * iconvdata/testdata/CP770..UTF8: New file.
30772 * iconvdata/testdata/CP771: New file.
30773 * iconvdata/testdata/CP771..UTF8: New file.
30774 * iconvdata/testdata/CP772: New file.
30775 * iconvdata/testdata/CP772..UTF8: New file.
30776 * iconvdata/testdata/CP773: New file.
30777 * iconvdata/testdata/CP773..UTF8: New file.
30778 * iconvdata/testdata/CP774: New file.
30779 * iconvdata/testdata/CP774..UTF8: New file.
30781 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30783 * iconvdata/gen-8bit-gap.sh: Likewise.
30784 * iconvdata/gen-8bit.sh: Likewise.
30786 * locale/iso-639.def: Add ary entry.
30789 * locale/C-translit.h.in: Add U20A1 transliteration.
30792 * locale/iso-639.def: Add wae entry.
30793 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30796 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30800 * locale/C-translit.h.in: Add entry for U20B9.
30801 Patch by pravin.d.s@gmail.com.
30803 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30806 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30807 ENAMETOOLONG use generic getcwd.
30808 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30809 in rtld. Use *stat64.
30810 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30811 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30812 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30813 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30814 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30815 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30816 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30817 __fstatat64 macros.
30818 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30819 * dirent/rewinddir.c: Add libc_hidden_def.
30820 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30821 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30823 * include/dirent.h (__alloc_dir): Add flags parameter.
30824 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30825 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30827 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30828 from fdopendir if O_CLOEXEC is already set.
30830 2011-03-15 Alan Modra <amodra@gmail.com>
30832 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30833 l_tls_firstbyte_offset non-zero. Save padding offset in
30834 l_tls_firstbyte_offset for later use.
30835 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30836 freeing static tls block.
30838 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30840 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30841 where #ifdef was intended. The intent is to prevent ARG_MAX from
30842 being defined by the kernel headers.
30844 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30847 * resolv/resolv.h: Define RES_NOTLDQUERY.
30848 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30849 no-tld-query and set RES_NOTLDQUERY.
30850 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30851 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30852 modern BIND to search name as TLD unless forbidden.
30854 2011-05-07 Petr Baudis <pasky@suse.cz>
30855 Ulrich Drepper <drepper@gmail.com>
30858 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30859 (is_trusted_path): ...to here.
30860 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30861 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30862 using is_trusted_path_normalize() in setuid scripts.
30864 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30866 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30867 __BEGIN/__END_DECLS.
30869 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30872 NSS_STATUS_NOTFOUND if no record was found.
30874 2011-05-05 Andreas Schwab <schwab@redhat.com>
30876 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30877 (headers-not-in-tirpc): Remove rpc/netdb.h
30878 * resolv/netdb.h: Revert last change.
30880 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30882 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30883 circular dependency between libgcc.a and libc.a.
30885 2011-05-05 Andreas Schwab <schwab@redhat.com>
30887 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30888 * nis/Makefile: Don't install rpcsvc/*.
30889 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30890 instead of <rpc/types.h>.
30891 (MAXHOSTNAMELEN): Define.
30893 2011-05-03 Andreas Schwab <schwab@redhat.com>
30895 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30897 2011-04-28 Maciej Babinski <mbabinski@google.com>
30900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30901 gethostbyname4_r when IPv6 results are possible.
30903 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30906 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30907 _PC_PIPE_BUF handling.
30909 2011-04-30 Bruno Haible <bruno@clisp.org>
30912 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30913 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30915 * inet/getnameinfo.c (getnameinfo): Likewise.
30917 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30919 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30920 to groups setting in database lookup.
30921 * nss/nsswitch.conf: Add initgroups entry.
30923 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30926 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30928 Patch by Eric Blake <eblake@redhat.com>.
30930 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30932 * sunrpc/Makefile (need-export-routines): Add svc_run.
30933 (routines): Remove svc_run.
30934 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30935 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30936 * sunrpc/svc_run.c (svc_run): Likewise.
30937 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30939 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30941 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30942 problem in reallocation in last patch.
30944 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30946 * sunrpc/Makefile: Move inclusion of Rules.
30948 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30950 * nss/nss_files/files-initgroups.c: New file.
30951 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30952 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30953 _nss_files_initgroups_dyn.
30955 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30957 * elf/elf.h (R_ARM_IRELATIVE): Define.
30959 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30961 * po/ru.po: Update from translation team.
30963 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30965 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30968 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30971 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30972 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30973 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30974 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30977 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30979 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30981 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30982 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30985 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30988 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30990 * stdlib/bug-getcontext.c: New file.
30991 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30993 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30995 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30996 instructions into .machine "z9-109".
30997 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30998 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31000 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31002 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31003 between environment variables and auxiliary vector.
31005 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31007 * Makefile: Add rules to build linkobj/libc.so.
31008 * include/libc-symbols.h: Define libc_hidden_nolink.
31009 * include/rpc/auth.h: Mark functions which are to be hidden.
31010 * include/rpc/auth_des.h: Likewise.
31011 * include/rpc/auth_unix.h: Likewise.
31012 * include/rpc/clnt.h: Likewise.
31013 * include/rpc/des_crypt.h: Likewise.
31014 * include/rpc/key_prot.h: Likewise.
31015 * include/rpc/pmap_clnt.h: Likewise.
31016 * include/rpc/pmap_prot.h: Likewise.
31017 * include/rpc/pmap_rmt.h: Likewise.
31018 * include/rpc/rpc_msg.h: Likewise.
31019 * include/rpc/svc.h: Likewise.
31020 * include/rpc/svc_auth.h: Likewise.
31021 * include/rpc/xdr.h: Likewise.
31022 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31023 * nss/Makefile: Likewise.
31024 * sunrpc/Makefile: Don't install headers. Build library with normal
31025 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31026 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31027 for the compat linking library. Remove use of INTDEF/INTUSE.
31028 * sunrpc/auth_none.c: Likewise.
31029 * sunrpc/auth_unix.c: Likewise.
31030 * sunrpc/authdes_prot.c: Likewise.
31031 * sunrpc/authuxprot.c: Likewise.
31032 * sunrpc/clnt_gen.c: Likewise.
31033 * sunrpc/clnt_perr.c: Likewise.
31034 * sunrpc/clnt_raw.c: Likewise.
31035 * sunrpc/clnt_simp.c: Likewise.
31036 * sunrpc/clnt_tcp.c: Likewise.
31037 * sunrpc/clnt_udp.c: Likewise.
31038 * sunrpc/clnt_unix.c: Likewise.
31039 * sunrpc/des_crypt.c: Likewise.
31040 * sunrpc/des_soft.c: Likewise.
31041 * sunrpc/get_myaddr.c: Likewise.
31042 * sunrpc/key_call.c: Likewise.
31043 * sunrpc/key_prot.c: Likewise.
31044 * sunrpc/netname.c: Likewise.
31045 * sunrpc/pm_getmaps.c: Likewise.
31046 * sunrpc/pm_getport.c: Likewise.
31047 * sunrpc/pmap_clnt.c: Likewise.
31048 * sunrpc/pmap_prot.c: Likewise.
31049 * sunrpc/pmap_prot2.c: Likewise.
31050 * sunrpc/pmap_rmt.c: Likewise.
31051 * sunrpc/publickey.c: Likewise.
31052 * sunrpc/rpc_cmsg.c: Likewise.
31053 * sunrpc/rpc_common.c: Likewise.
31054 * sunrpc/rpc_dtable.c: Likewise.
31055 * sunrpc/rpc_prot.c: Likewise.
31056 * sunrpc/rpc_thread.c: Likewise.
31057 * sunrpc/rtime.c: Likewise.
31058 * sunrpc/svc.c: Likewise.
31059 * sunrpc/svc_auth.c: Likewise.
31060 * sunrpc/svc_authux.c: Likewise.
31061 * sunrpc/svc_raw.c: Likewise.
31062 * sunrpc/svc_run.c: Likewise.
31063 * sunrpc/svc_simple.c: Likewise.
31064 * sunrpc/svc_tcp.c: Likewise.
31065 * sunrpc/svc_udp.c: Likewise.
31066 * sunrpc/svc_unix.c: Likewise.
31067 * sunrpc/svcauth_des.c: Likewise.
31068 * sunrpc/xcrypt.c: Likewise.
31069 * sunrpc/xdr.c: Likewise.
31070 * sunrpc/xdr_array.c: Likewise.
31071 * sunrpc/xdr_float.c: Likewise.
31072 * sunrpc/xdr_intXX_t.c: Likewise.
31073 * sunrpc/xdr_mem.c: Likewise.
31074 * sunrpc/xdr_rec.c: Likewise.
31075 * sunrpc/xdr_ref.c: Likewise.
31076 * sunrpc/xdr_sizeof.c: Likewise.
31077 * sunrpc/xdr_stdio.c: Likewise.
31079 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31082 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31083 * sysdeps/ia64/dl-tls.h: Likewise.
31084 * sysdeps/powerpc/dl-tls.h: Likewise.
31085 * sysdeps/s390/dl-tls.h: Likewise.
31086 * sysdeps/sh/dl-tls.h: Likewise.
31087 * sysdeps/sparc/dl-tls.h: Likewise.
31088 * sysdeps/x86_64/dl-tls.h: Likewise.
31089 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31091 2011-03-14 Andreas Schwab <schwab@redhat.com>
31093 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31094 rpath element also skip the following colon.
31095 (expand_dynamic_string_token): Add is_path parameter and pass
31096 down to DL_DST_REQUIRED and _dl_dst_substitute.
31097 (decompose_rpath): Call expand_dynamic_string_token with
31098 non-zero is_path. Ignore empty rpaths.
31099 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31102 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31107 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31110 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31111 Patch by Filipe David Manana <fdmanana@apache.org>.
31113 2011-04-07 Andreas Schwab <schwab@redhat.com>
31115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31116 Maintain aligned stack.
31117 (CHECK_RSP): Remove unused macro.
31119 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31121 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31122 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31124 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31126 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31128 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31130 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31133 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31134 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31135 * sysdeps/x86_64/memmove.c: New file.
31136 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31137 (memcpy): Renamed to ...
31138 (__new_memcpy): This.
31139 (memcpy): Provide GLIBC_2_14 memcpy.
31140 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31141 (memcpy): Provide GLIBC_2_2_5 memcpy.
31143 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31146 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31148 2011-03-30 Andreas Schwab <schwab@redhat.com>
31150 * misc/syncfs.c: New file.
31151 * misc/Makefile (routines): Add syncfs.
31152 * posix/unistd.h: Declare syncfs.
31153 * sysdeps/unix/syscalls.list: Add syncfs.
31155 2011-04-01 Andreas Schwab <schwab@redhat.com>
31157 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31160 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31163 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31164 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31165 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31167 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31170 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31171 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31173 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31175 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31177 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31178 sync_file_range.c with -fexceptions.
31179 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31180 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31181 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31182 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31183 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31184 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31186 sync_file_range as cancellation point
31187 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31188 now a wrapper around __call_sync_file_range with cancellation handling.
31189 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31190 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31191 function name to __call_sync_file_range.
31192 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31193 Add call_sync_file_range.
31195 2011-04-01 Andreas Schwab <schwab@redhat.com>
31197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31200 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31202 * iconv/iconv.h: Fix typo in comment.
31203 * io/fcntl.h: Likewise.
31204 * libio/stdio.h: Likewise.
31205 * posix/spawn.h: Likewise.
31206 * posix/unistd.h: Likewise.
31207 * stdlib/stdlib.h: Likewise.
31208 * time/time.h: Likewise.
31209 * wcsmbs/wchar.h: Likewise.
31211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31212 open_by_handle): Add.
31213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31214 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31215 Augment a few comments.
31216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31217 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31221 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31224 * io/fcntl.h (AT_EMPTY_PATH): Define.
31226 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31228 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31229 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31230 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31232 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31233 * Versions.def: Add GLIBC_2.14.
31234 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31237 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31239 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31241 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31243 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31246 * string/test-strncmp.c (do_page_test): New function.
31247 (check2): Likewise.
31248 (test_main): Call check2.
31249 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31251 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31255 Handle cache information in CPU leaf 4.
31256 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31258 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31261 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31262 character representation.
31263 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31265 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31267 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31268 END(__isnan) to END(__isnanf) to match function entry point/label
31269 EALIGN(__isnanf,...).
31271 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31273 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31275 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31278 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31279 copy from the symbol referenced in the relocation to initialize the
31281 Patch by Piotr Bury <pbury@goahead.com>.
31282 * elf/Makefile: Add rules to build and tst-unique3.
31283 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31284 * elf/tst-unique3.cc: New file.
31285 * elf/tst-unique3.h: New file.
31286 * elf/tst-unique3lib.cc: New file.
31287 * elf/tst-unique3lib2.cc: New file.
31289 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31291 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31293 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31294 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31297 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31299 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31300 to-be-loaded object along a path to loader is ld.so.
31302 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31303 Ulrich Drepper <drepper@gmail.com>
31305 * sysdeps/x86_64/memset.S: After aligning destination, code
31306 branches to different locations depending on the value of
31307 misalignment, when multiarch is enabled. Fix this.
31309 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31311 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31312 Set _x86_64_preferred_memory_instruction for AMD processsors.
31313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31314 Set bit_Prefer_SSE_for_memop for AMD processors.
31316 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31318 * libio/fmemopen.c (fmemopen): Optimize a bit.
31320 2011-03-03 Andreas Schwab <schwab@redhat.com>
31322 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31324 2011-03-03 Roland McGrath <roland@redhat.com>
31326 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31328 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31330 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31331 __bzero_ultra1 instead of __memset_ultra1.
31333 2011-02-23 Andreas Schwab <schwab@redhat.com>
31334 Ulrich Drepper <drepper@gmail.com>
31337 * include/link.h (struct link_map): Add l_orig_initfini.
31338 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31339 returning unsuccessfully.
31340 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31341 close of a file loaded at startup, restore the original l_initfini
31343 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31344 list, store the pointer.
31345 * elf/Makefile ($(objpfx)noload-mem): New rule.
31346 (noload-ENV): Define.
31347 (tests): Add $(objpfx)noload-mem.
31348 * elf/noload.c: Include <memcheck.h>.
31349 (main): Call mtrace. Close all opened handles.
31351 2011-02-17 Andreas Schwab <schwab@redhat.com>
31354 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31355 dependencies are missing.
31357 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31359 Fix __if_freereq crash: Unlike the generic version which uses free,
31361 * sysdeps/mach/hurd/ifreq.h: New file.
31363 2011-01-27 Petr Baudis <pasky@suse.cz>
31364 Ulrich Drepper <drepper@gmail.com>
31367 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31368 to extend_alloca().
31369 * stdio-common/bug23.c: New file.
31370 * stdio-common/Makefile (tests): Add bug23.
31372 2010-09-28 Andreas Schwab <schwab@redhat.com>
31373 Ulrich Drepper <drepper@gmail.com>
31376 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31377 before performing relro protection. At old place add assertion
31378 to make sure nothing changed.
31380 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31381 Glauber de Oliveira Costa <glommer@gmail.com>
31383 * elf/elf.h: Add new ARM TLS relocs.
31385 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31388 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31390 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31392 * sysdeps/wordsize-64/tst-writev.c: New file.
31394 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31396 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31397 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31398 insns in _dl_start to prevent a TOC reference before relocs are
31401 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31404 * Makeconfig: Remove RANLIB definition.
31405 * Makerules: Don't use RANLIB.
31406 * aclocal.m4: Remove ranlib test.
31407 * configure.in: No need to check for ranlib.
31408 * elf/rtld-Rules: Don't use RANLIB.
31410 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31412 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31414 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31415 inclusion protection macro.
31417 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31418 SIGRTMIN and SIGRTMAX and print information in that case only when
31419 SIGRTMIN is defined.
31421 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31423 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31424 arginfo fn returning -1.
31426 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31427 and thousands string is zero terminated.
31429 2011-02-03 Andreas Schwab <schwab@redhat.com>
31431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31432 sysdeps/unix/sysv/linux/bits/socket.h.
31434 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31436 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31437 (__CPU_COUNT): Remove old macros.
31438 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31439 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31440 (__CPU_ALLOC, __CPU_FREE): Add macros.
31441 (__sched_cpualloc, __sched_cpufree): Add declarations.
31443 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31445 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31446 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31447 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31448 (readdhstai): Return value of addhstaiX call.
31449 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31450 (addgrbyX): Return value returned by cache_addgr.
31451 (readdgrbyname): Return value returned by addgrbyX.
31452 (readdgrbygid): Likewise.
31453 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31454 (addpwbyX): Return value returned by cache_addpw.
31455 (readdpwbyname): Return value returned by addhstbyX.
31456 (readdpwbyuid): Likewise.
31457 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31458 (addservbyX): Return value returned by cache_addserv.
31459 (readdservbyname): Return value returned by addservbyX:
31460 (readdservbyport): Likewise.
31461 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31462 (addhstbyX): Return value returned by cache_addhst.
31463 (readdhstbyname): Return value returned by addhstbyX.
31464 (readdhstbyaddr): Likewise.
31465 (readdhstbynamev6): Likewise.
31466 (readdhstbyaddrv6): Likewise.
31467 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31468 (readdinitgroups): Return value returned by addinitgroupsX.
31469 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31470 (prune_cache): Keep track of timeout value of re-added entries.
31471 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31472 * nscd/nscd.h: Adjust prototypes of readd* functions.
31474 2011-02-04 Roland McGrath <roland@redhat.com>
31476 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31477 (nis_stats): Likewise.
31478 * nis/nis_modify.c (nis_modify): Likewise.
31479 * nis/nis_remove.c (nis_remove): Likewise.
31480 * nis/nis_add.c (nis_add): Likewise.
31482 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31484 * posix/fnmatch_loop.c: Add some consts.
31486 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31488 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31491 * config.make.in (config-cflags-novzeroupper): Define.
31492 * configure.in: Substitute libc_cv_cc_novzeroupper.
31493 * elf/Makefile (AVX-CFLAGS): Define.
31494 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31495 (CFLAGS-tst-auditmod4a.c): Likewise.
31496 (CFLAGS-tst-auditmod4b.c): Likewise.
31497 (CFLAGS-tst-auditmod6b.c): Likewise.
31498 (CFLAGS-tst-auditmod6c.c): Likewise.
31499 (CFLAGS-tst-auditmod7b.c): Likewise.
31500 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31502 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31504 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31505 function to the callback.
31506 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31508 2011-02-02 Andreas Schwab <schwab@redhat.com>
31510 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31513 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31516 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31518 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31520 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31523 * elf/Makefile: Add rules to build and run new test.
31524 * elf/tst-initorder.c: New file.
31525 * elf/tst-initorder.exp: New file.
31526 * elf/tst-initordera1.c: New file.
31527 * elf/tst-initordera2.c: New file.
31528 * elf/tst-initordera3.c: New file.
31529 * elf/tst-initordera4.c: New file.
31530 * elf/tst-initorderb1.c: New file.
31531 * elf/tst-initorderb2.c: New file.
31532 * elf/tst-order-a1.c: New file.
31533 * elf/tst-order-a2.c: New file.
31534 * elf/tst-order-a3.c: New file.
31535 * elf/tst-order-a4.c: New file.
31536 * elf/tst-order-b1.c: New file.
31537 * elf/tst-order-b2.c: New file.
31538 * elf/tst-order-main.c: New file.
31539 New test case by George Gensure <werkt0@gmail.com>.
31541 2010-10-01 Andreas Schwab <schwab@redhat.com>
31543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31544 decoding ACE if AI_CANONIDN.
31546 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31548 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31550 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31552 * version.h (RELEASE): Bump for 2.13 release.
31553 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31555 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31557 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31559 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31560 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31561 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31562 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31564 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31566 * posix/getconf.c: Update copyright year.
31567 * catgets/gencat.c: Likewise.
31568 * csu/version.c: Likewise.
31569 * debug/catchsegv.sh: Likewise.
31570 * debug/xtrace.sh: Likewise.
31571 * elf/ldconfig.c: Likewise.
31572 * elf/ldd.bash.in: Likewise.
31573 * elf/sprof.c (print_version): Likewise.
31574 * iconv/iconv_prog.c: Likewise.
31575 * iconv/iconvconfig.c: Likewise.
31576 * locale/programs/locale.c: Likewise.
31577 * locale/programs/localedef.c: Likewise.
31578 * malloc/memusage.sh: Likewise.
31579 * malloc/mtrace.pl: Likewise.
31580 * nscd/nscd.c (print_version): Likewise.
31581 * nss/getent.c: Likewise.
31583 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31584 PF_CAIF, and PF_ALG.
31585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31587 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31589 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31590 (modules-names): Use them.
31591 (ifunc-test-modules, ifunc-pie-tests): Define.
31592 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31593 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31594 (test-extras): Likewise.
31595 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31596 $(compile-command.c).
31597 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31598 (all-built-dso): Define.
31599 (check-textrel.out, check-execstack.out): Depend on it.
31601 * configure.in: Don't override --enable-multi-arch.
31603 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31606 * nscd/hstcache.c (tryagain): Define.
31607 (cache_addhst): Return tryagain not notfound for temporary errors.
31608 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31611 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31614 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31615 to make the syscall.
31616 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31619 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31620 and fall back to matching as normal character if the string ends before
31621 the matching ']' is found. This is what POSIX requires.
31622 * posix/testfnm.c: Adjust test result.
31623 * posix/globtest.sh: Adjust test result. Add new test.
31624 * posix/tst-fnmatch.input: Likewise.
31625 * posix/tst-fnmatch2.c: Add new test.
31627 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31629 * elf/Makefile (check-execstack): Revert last change. Depend on
31631 (check-execstack.h): New target.
31632 (generated): Add check-execstack.h.
31633 * elf/check-execstack.c: Include "check-execstack.h".
31634 (main): Revert last change.
31635 (handle_file): Return zero if GNU_STACK is absent and
31636 DEFAULT_STACK_PERMS doesn't include PF_X.
31638 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31640 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31641 in child fails because the descriptor is already closed.
31642 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31643 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31644 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31647 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31651 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31652 temporary buffer used to handle multi lookups locally.
31653 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31655 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31657 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31660 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31662 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31663 alignment for SSE2.
31665 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31668 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31669 characters. When rounding increased number of integer digits recompute
31671 * stdio-common/tst-grouping.c: New file.
31672 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31674 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31676 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31677 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31679 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31681 * bits/select.h: Likewise.
31683 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31685 * po/ja.po: Update from translation team.
31687 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31690 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31691 implementation just like for lxstat, fxstatat, et al.
31693 2010-12-27 Jim Meyering <meyering@redhat.com>
31696 * posix/regexec.c (build_trtable): Return failure indication upon
31697 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31699 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31702 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31703 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31704 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31705 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31708 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31711 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31712 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31714 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31716 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31717 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31718 script has SORT_BY_INIT_PRIORITY.
31719 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31720 NO_CTORS_DTORS_SECTIONS is defined.
31721 * elf/soinit.c: Likewise.
31722 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31723 NO_CTORS_DTORS_SECTIONS is defined.
31724 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31725 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31726 * sysdeps/sh/init-first.c: Likewise.
31727 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31729 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31731 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31732 always use the slow path.
31734 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31736 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31737 similar rule which adds the sysdep directories to the header search in
31738 order to pick up the correct platform stackinfo.h.
31739 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31740 perform test if it is, otherwise return successfully without testing.
31741 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31742 DEFAULT_STACK_PERMS define in stackinfo.h.
31743 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31744 defined in stackinfo.h.
31745 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31746 DEFAULT_STACK_PERMS defined in stackinfo.h.
31747 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31748 * sysdeps/ia64/stackinfo.h: Likewise.
31749 * sysdeps/s390/stackinfo.h: Likewise.
31750 * sysdeps/sh/stackinfo.h: Likewise.
31751 * sysdeps/sparc/stackinfo.h: Likewise.
31752 * sysdeps/x86_64/stackinfo.h: Likewise.
31753 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31754 PF_X for powerpc64. Retain PF_X for powerpc32.
31756 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31758 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31760 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31761 GETDENTS_64BIT_ALIGNED.
31763 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31765 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31767 2010-12-10 Andreas Schwab <schwab@redhat.com>
31769 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31772 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31773 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31775 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31776 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31778 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31781 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31784 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31786 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31788 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31790 * po/it.po: Update from translation team.
31792 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31797 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31799 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31801 2010-11-24 Andreas Schwab <schwab@redhat.com>
31803 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31805 (gaih_getanswer_slice): Likewise.
31807 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31811 2010-05-31 Petr Baudis <pasky@suse.cz>
31814 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31815 silently even in the chroot mode.
31817 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31819 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31820 last patch a bit. Pretty printing
31822 2010-05-31 Petr Baudis <pasky@suse.cz>
31825 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31826 initialization of skip_initgroups_dyn.
31828 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31831 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31833 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31835 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31837 2010-11-11 Andreas Schwab <schwab@redhat.com>
31839 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31840 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31841 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31842 ($(objpfx)tst-fnmatch-mem): New rule.
31843 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31844 * posix/tst-fnmatch.c (main): Call mtrace.
31846 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31849 Support Intel processor model 6 and model 0x2c.
31851 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31853 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31856 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31859 * string/test-strncasecmp.c (check_result): New function.
31860 (do_one_test): Use it.
31861 (check1): New function.
31862 (test_main): Use it.
31863 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31864 Support strcasecmp and strncasecmp.
31866 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31869 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31872 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31874 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31878 * sysdeps/x86_64/multiarch/bzero.S: New file.
31879 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31880 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31881 * sysdeps/x86_64/multiarch/memset.S: New file.
31882 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31884 Set bit_Prefer_SSE_for_memop for Intel processors.
31885 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31887 (index_Prefer_SSE_for_memop): Define.
31888 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31890 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31892 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31893 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31895 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31898 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31899 (__x86_64_raw_data_cache_size_half): Likewise.
31900 (__x86_64_raw_shared_cache_size): Likewise.
31901 (__x86_64_raw_shared_cache_size_half): Likewise.
31903 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31904 (__x86_64_raw_data_cache_size_half): Likewise.
31905 (__x86_64_raw_shared_cache_size): Likewise.
31906 (__x86_64_raw_shared_cache_size_half): Likewise.
31907 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31908 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31909 and __x86_64_raw_shared_cache_size_half. Round
31910 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31911 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31912 to multiple of 256 bytes.
31914 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31917 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31918 of inacessible symlinks. Verify result of symlink before returning it.
31919 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31920 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31922 2010-10-28 Erich Ritz <erichritz@gmail.com>
31924 * math/math.h (isinf): Fix typo in comment.
31926 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31928 * po/da.po: Update from translation team.
31930 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31932 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31933 is added to the list.
31935 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31936 Ulrich Drepper <drepper@gmail.com>
31938 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31939 the global list here. Move code to...
31940 (_dl_add_to_namespace_list): ...here. New function.
31941 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31942 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31943 * elf/dl-load.c (lose): Don't remove the element from the list.
31944 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31945 (_dl_map_object): Likewise.
31947 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31950 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31951 into all bytes of SSE register.
31952 Patch by Richard Li <richardpku@gmail.com>.
31954 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31957 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31960 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31962 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31963 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31964 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31970 2010-10-22 Andreas Schwab <schwab@redhat.com>
31972 * include/dlfcn.h (__RTLD_SECURE): Define.
31973 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31974 mode & __RTLD_SECURE instead.
31975 (open_path): Rename preloaded parameter to secure.
31976 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31977 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31978 * elf/dl-deps.c (openaux): Likewise.
31979 * elf/rtld.c (struct map_args): Remove is_preloaded.
31980 (map_doit): Don't use it.
31981 (dl_main): Likewise.
31982 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31983 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31985 2010-09-09 Andreas Schwab <schwab@redhat.com>
31987 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31988 (sysd-rules-targets): Remove duplicates.
31989 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31990 rtld-%.$o dependency.
31992 2010-10-18 Andreas Schwab <schwab@redhat.com>
31994 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31995 _dl_map_object do it.
31997 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31999 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32000 fast fma builtins, define the macros in the C99 standard.
32001 (FP_FAST_FMAF): Likewise.
32002 (FP_FAST_FMAL): Likewise.
32003 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32005 * bits/mathdef.h: Update copyright year.
32006 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32008 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32010 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32011 builtins, define the macros in the C99 standard.
32012 (FP_FAST_FMAF): Likewise.
32013 (FP_FAST_FMAL): Likewise.
32014 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32016 (FP_FAST_FMAF): Likewise.
32018 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32021 * math/libm-test.inc (fma_test): Some new testcases.
32022 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32023 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32024 y and infinite z. Do multiplication by C already in long double.
32025 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32027 y and infinite z. Do bitwise or of inexact bit into u.d.
32028 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32029 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32030 * sysdeps/i386/fpu/s_fma.S: Removed.
32031 * sysdeps/i386/fpu/s_fmal.S: Removed.
32033 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32036 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32038 computation is not scheduled after fetestexcept. Fix value
32039 of minimum denormal long double.
32041 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32044 * math/libm-test.inc (fma_test): Add some more tests.
32045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32048 2010-10-15 Andreas Schwab <schwab@redhat.com>
32050 * scripts/data/localplt-s390-linux-gnu.data: New file.
32051 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32053 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32056 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32057 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32059 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32061 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32063 if one of x and y is very large and the other is subnormal.
32064 * sysdeps/s390/fpu/s_fmaf.c: New file.
32065 * sysdeps/s390/fpu/s_fma.c: New file.
32066 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32067 * sysdeps/powerpc/fpu/s_fma.S: New file.
32068 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32069 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32070 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32072 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32075 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32077 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32078 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32079 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32080 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32081 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32082 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32083 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32085 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32088 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32089 * posix/bug-regex31.input: Add test case.
32091 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32093 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32094 * posix/bug-regex31.input: New file.
32097 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32098 (parse_sub_exp): Fix last change, use postorder.
32100 * posix/bug-regex31.c: New file.
32101 * posix/Makefile: Add rules to build and run bug-regex31.
32103 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32106 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32109 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32110 to have entries in sys_siglist.
32113 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32116 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32119 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32120 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32121 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32122 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32123 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32124 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32125 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32126 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32127 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32128 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32129 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32130 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32131 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32132 * math/ftestexcept.c (fetestexcept): Likewise.
32133 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32134 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32135 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32136 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32137 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32138 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32139 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32141 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32144 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32147 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32149 * string/bug-strstr1.c: New file.
32150 * string/Makefile: Add rules to build and run bug-strstr1.
32152 2010-10-05 Eric Blake <eblake@redhat.com>
32155 * string/str-two-way.h (two_way_long_needle): Always clear memory
32156 when skipping input due to the shift table.
32158 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32161 * malloc/mcheck.c: Handle large requests.
32164 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32165 for strncmp and strncasecmp.
32166 * string/stratcliff.c: Add tests for strcmp and strncmp.
32167 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32169 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32171 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32174 2010-09-30 Andreas Jaeger <aj@suse.de>
32176 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32177 (CGROUP_SUPER_MAGIC): Define.
32178 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32179 Handle btrfs and cgroup file systems.
32180 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32183 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32185 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32186 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32188 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32191 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32192 trying to locate the ELF header.
32194 2010-09-27 Andreas Schwab <schwab@redhat.com>
32197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32198 Mask out sign-bit copies when constructing f_fsid.
32200 2010-09-24 Petr Baudis <pasky@suse.cz>
32202 * debug/stack_chk_fail_local.c: Add missing licence exception.
32203 * debug/warning-nop.c: Likewise.
32205 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32207 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32208 implementing getdents64 using getdents syscall, set d_type if
32209 __ASSUME_GETDENTS32_D_TYPE.
32211 2010-09-16 Andreas Schwab <schwab@redhat.com>
32213 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32214 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32216 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32219 * posix/unistd.h: Undo change of feature selection for ftruncate from
32222 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32224 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32227 2010-09-20 Andreas Schwab <schwab@redhat.com>
32229 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32231 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32233 2010-09-14 Andreas Schwab <schwab@redhat.com>
32235 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32236 variables after CHECK_SP call.
32237 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32239 2010-09-13 Andreas Schwab <schwab@redhat.com>
32240 Ulrich Drepper <drepper@redhat.com>
32242 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32243 re-relocationg ld.so.
32244 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32245 _dl_init_paths call.
32246 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32249 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32251 * resolv/res_init.c (__res_vinit): Count the default server we added.
32253 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32254 Ulrich Drepper <drepper@redhat.com>
32257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32258 (____longjmp_chk): Use %ebx for saving value across system call.
32261 2010-09-06 Andreas Schwab <schwab@redhat.com>
32263 * manual/Makefile: Don't mix pattern rules with normal rules.
32265 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32267 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32269 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32270 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32271 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32272 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32276 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32279 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32280 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32282 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32284 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32285 * sysdeps/x86_64/addmul_1.S: Likewise.
32286 * sysdeps/x86_64/lshift.S: Likewise.
32287 * sysdeps/x86_64/mul_1.S: Likewise.
32288 * sysdeps/x86_64/rshift.S: Likewise.
32289 * sysdeps/x86_64/sub_n.S: Likewise.
32290 * sysdeps/x86_64/submul_1.S: Likewise.
32292 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32294 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32295 Define __sched_param instead of SCHED_* and sched_param when
32296 <bits/sched.h> is included with __need_schedparam defined.
32297 * bits/sched.h [__need_schedparam]
32298 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32299 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32300 (__defined_schedparam): Define to 1.
32301 (__sched_param): New structure, identical to sched_param.
32302 (__need_schedparam): Undefine.
32304 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32306 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32307 (epoll_create1): Declare.
32309 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32311 2010-08-31 Andreas Schwab <schwab@redhat.com>
32314 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32315 shifting retval into place.
32317 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32319 * nis/rpcsvc/nis.h: Update copyright notice.
32320 * nis/rpcsvc/nis.x: Likewise.
32321 * nis/rpcsvc/nis_callback.h: Likewise.
32322 * nis/rpcsvc/nis_callback.x: Likewise.
32323 * nis/rpcsvc/nis_object.x: Likewise.
32324 * nis/rpcsvc/nis_tags.h: Likewise.
32325 * nis/rpcsvc/yp.h: Likewise.
32326 * nis/rpcsvc/yp.x: Likewise.
32327 * nis/rpcsvc/ypupd.h: Likewise.
32328 * nis/yp_xdr.c: Likewise.
32329 * nis/ypupdate_xdr.c: Likewise.
32331 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32332 mainly the body of pmap_getport. Add parameters to specify timeouts.
32333 (pmap_getport): Use __libc_rpc_getport.
32334 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32335 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32336 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32338 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32343 2010-08-27 Roland McGrath <roland@redhat.com>
32345 * sysdeps/i386/i686/multiarch/Makefile
32346 (CFLAGS-varshift.c): New variable.
32348 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32350 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32351 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32353 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32355 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32357 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32359 * sysdeps/x86_64/strlen.S: Unroll the loop.
32360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32361 strlen-sse2 strlen-sse2-bsf.
32362 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32363 __strlen_no_bsf if bit_Slow_BSF is set.
32364 (__strlen_sse42): Removed.
32365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32366 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32368 2010-08-25 Roland McGrath <roland@redhat.com>
32370 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32371 * sysdeps/x86_64/multiarch/varshift.c: New file.
32372 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32373 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32374 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32375 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32377 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32380 strlen-sse2 strlen-sse2-bsf.
32381 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32382 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32383 (__strlen_sse2): Removed.
32384 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32385 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32387 bit_Slow_BSF for Atom.
32388 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32389 (index_Slow_BSF): Define.
32390 (HAS_SLOW_BSF): Define.
32392 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32395 * resolv/res_init.c (__res_vinit): When no server address at all
32396 is given default to loopback.
32398 2010-08-24 Roland McGrath <roland@redhat.com>
32400 * configure.in: Remove config-name.h generation.
32401 * configure: Regenerated.
32402 * config-name.in: File removed.
32403 * scripts/config-uname.sh: New file.
32404 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32405 ($(objdir)config-name.h): New target.
32407 * sunrpc/rpc_parse.h: Avoid nested comment.
32409 2010-08-24 Richard Henderson <rth@redhat.com>
32410 Ulrich Drepper <drepper@redhat.com>
32411 H.J. Lu <hongjiu.lu@intel.com>
32413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32415 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32416 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32417 _mm_alignr_epi8 with _mm_loadu_si128.
32418 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32419 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32420 (__m128i_shift_right): Removed.
32421 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32422 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32423 * sysdeps/x86_64/multiarch/varshift.h: New file.
32424 * sysdeps/x86_64/multiarch/varshift.S: New file.
32426 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32428 * configure.in: Move assembler checks to before sysdep dir checking.
32430 2010-08-20 Petr Baudis <pasky@suse.cz>
32432 * LICENSES: Sync the sunrpc license.
32434 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32436 * sunrpc/auth_des.c: Update copyright notice once again.
32437 * sunrpc/auth_none.c: Likewise.
32438 * sunrpc/auth_unix.c: Likewise.
32439 * sunrpc/authdes_prot.c: Likewise.
32440 * sunrpc/authuxprot.c: Likewise.
32441 * sunrpc/bindrsvprt.c: Likewise.
32442 * sunrpc/clnt_gen.c: Likewise.
32443 * sunrpc/clnt_perr.c: Likewise.
32444 * sunrpc/clnt_raw.c: Likewise.
32445 * sunrpc/clnt_simp.c: Likewise.
32446 * sunrpc/clnt_tcp.c: Likewise.
32447 * sunrpc/clnt_udp.c: Likewise.
32448 * sunrpc/clnt_unix.c: Likewise.
32449 * sunrpc/des_crypt.c: Likewise.
32450 * sunrpc/des_soft.c: Likewise.
32451 * sunrpc/get_myaddr.c: Likewise.
32452 * sunrpc/getrpcport.c: Likewise.
32453 * sunrpc/key_call.c: Likewise.
32454 * sunrpc/key_prot.c: Likewise.
32455 * sunrpc/openchild.c: Likewise.
32456 * sunrpc/pm_getmaps.c: Likewise.
32457 * sunrpc/pm_getport.c: Likewise.
32458 * sunrpc/pmap_clnt.c: Likewise.
32459 * sunrpc/pmap_prot.c: Likewise.
32460 * sunrpc/pmap_prot2.c: Likewise.
32461 * sunrpc/pmap_rmt.c: Likewise.
32462 * sunrpc/rpc/auth.h: Likewise.
32463 * sunrpc/rpc/auth_unix.h: Likewise.
32464 * sunrpc/rpc/clnt.h: Likewise.
32465 * sunrpc/rpc/des_crypt.h: Likewise.
32466 * sunrpc/rpc/key_prot.h: Likewise.
32467 * sunrpc/rpc/netdb.h: Likewise.
32468 * sunrpc/rpc/pmap_clnt.h: Likewise.
32469 * sunrpc/rpc/pmap_prot.h: Likewise.
32470 * sunrpc/rpc/pmap_rmt.h: Likewise.
32471 * sunrpc/rpc/rpc.h: Likewise.
32472 * sunrpc/rpc/rpc_des.h: Likewise.
32473 * sunrpc/rpc/rpc_msg.h: Likewise.
32474 * sunrpc/rpc/svc.h: Likewise.
32475 * sunrpc/rpc/svc_auth.h: Likewise.
32476 * sunrpc/rpc/types.h: Likewise.
32477 * sunrpc/rpc/xdr.h: Likewise.
32478 * sunrpc/rpc_clntout.c: Likewise.
32479 * sunrpc/rpc_cmsg.c: Likewise.
32480 * sunrpc/rpc_common.c: Likewise.
32481 * sunrpc/rpc_cout.c: Likewise.
32482 * sunrpc/rpc_dtable.c: Likewise.
32483 * sunrpc/rpc_hout.c: Likewise.
32484 * sunrpc/rpc_main.c: Likewise.
32485 * sunrpc/rpc_parse.c: Likewise.
32486 * sunrpc/rpc_parse.h: Likewise.
32487 * sunrpc/rpc_prot.c: Likewise.
32488 * sunrpc/rpc_sample.c: Likewise.
32489 * sunrpc/rpc_scan.c: Likewise.
32490 * sunrpc/rpc_scan.h: Likewise.
32491 * sunrpc/rpc_svcout.c: Likewise.
32492 * sunrpc/rpc_tblout.c: Likewise.
32493 * sunrpc/rpc_util.c: Likewise.
32494 * sunrpc/rpc_util.h: Likewise.
32495 * sunrpc/rpcinfo.c: Likewise.
32496 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32497 * sunrpc/rpcsvc/key_prot.x: Likewise.
32498 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32499 * sunrpc/rpcsvc/mount.x: Likewise.
32500 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32501 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32502 * sunrpc/rpcsvc/rex.x: Likewise.
32503 * sunrpc/rpcsvc/rstat.x: Likewise.
32504 * sunrpc/rpcsvc/rusers.x: Likewise.
32505 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32506 * sunrpc/rpcsvc/spray.x: Likewise.
32507 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32508 * sunrpc/rtime.c: Likewise.
32509 * sunrpc/svc.c: Likewise.
32510 * sunrpc/svc_auth.c: Likewise.
32511 * sunrpc/svc_authux.c: Likewise.
32512 * sunrpc/svc_raw.c: Likewise.
32513 * sunrpc/svc_run.c: Likewise.
32514 * sunrpc/svc_simple.c: Likewise.
32515 * sunrpc/svc_tcp.c: Likewise.
32516 * sunrpc/svc_udp.c: Likewise.
32517 * sunrpc/svc_unix.c: Likewise.
32518 * sunrpc/svcauth_des.c: Likewise.
32519 * sunrpc/xcrypt.c: Likewise.
32520 * sunrpc/xdr.c: Likewise.
32521 * sunrpc/xdr_array.c: Likewise.
32522 * sunrpc/xdr_float.c: Likewise.
32523 * sunrpc/xdr_mem.c: Likewise.
32524 * sunrpc/xdr_rec.c: Likewise.
32525 * sunrpc/xdr_ref.c: Likewise.
32526 * sunrpc/xdr_sizeof.c: Likewise.
32527 * sunrpc/xdr_stdio.c: Likewise.
32529 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32532 2010-08-19 Andreas Schwab <schwab@redhat.com>
32534 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32536 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32538 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32539 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32540 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32541 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32542 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32543 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32544 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32545 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32546 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32547 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32548 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32549 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32550 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32551 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32553 2010-07-26 Anton Blanchard <anton@samba.org>
32555 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32556 * malloc/arena.c (heap_trim): Likewise.
32558 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32560 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32563 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32565 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32567 * sysdeps/i386/elf/Makefile: New file.
32569 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32571 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32572 from fanotify_init.
32573 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32574 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32576 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32578 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32580 * sysdeps/multiarch/strcmp.S: Likewise.
32582 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32584 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32585 strncase_l-nonascii.
32586 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32587 Add strncase_l-ssse3.
32588 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32589 * sysdeps/x86_64/strcmp.S: Likewise.
32590 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32591 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32592 * sysdeps/x86_64/strncase.S: New file.
32593 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32594 * sysdeps/x86_64/strncase_l.S: New file.
32595 * string/Makefile (strop-tests): Add strncasecmp.
32596 * string/test-strncasecmp.c: New file.
32598 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32601 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32602 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32604 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32606 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32608 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32610 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32611 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32612 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32614 2010-05-01 Alan Modra <amodra@gmail.com>
32616 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32617 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32618 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32619 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32620 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32621 tidying. Don't tail-call __sigjmp_save for static lib.
32622 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32624 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32625 (CALL_MCOUNT): Add eh info, and nop after bl.
32626 (TAIL_CALL_SYSCALL_ERROR): New macro.
32627 (PSEUDO_RET): Use it.
32628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32629 Correct save location of integer regs and cr.
32630 (_dl_profile_resolve): Correct cr save location. Delete nops
32631 after bl when SHARED. Reduce cfi size a little by better
32632 placement of cfi directives.
32633 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32634 make a stack frame. Instead use parm save area as a temp.
32635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32636 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32638 Don't make a stack frame for parent, use parm save area.
32639 Increase child stack frame to 112 bytes. Don't save unused reg,
32640 and adjust reg usage. Set up cfi on error recovery and
32641 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32643 (__makecontext): Add dummy nop after jump to exit.
32644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32645 Use correct parm save area and cr save, reduce stack frame.
32646 Correct cfi for possible PSEUDO_RET frame setup.
32647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32648 Branch to local label emitted by PSEUDO_RET rather than
32651 2010-08-12 Andreas Schwab <schwab@redhat.com>
32654 * locale/programs/locale.c (print_assignment): New function.
32655 (show_locale_vars): Use it.
32657 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32659 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32661 (struct statfs64): Likewise.
32662 (_STATFS_F_FLAGS): Define.
32663 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32665 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32666 (ST_VALID): Define locally.
32667 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32668 __statvfs_getflags, use the provided value.
32669 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32670 __ASSUME_STATFS_F_FLAGS.
32672 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32674 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32675 Add sys/fanotify.h.
32676 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32677 fanotify_mask for GLIBC_2.13.
32678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32679 fanotify_init and fanotify_mark.
32680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32681 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32683 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32685 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32686 prlimit64 for GLIBC_2.13.
32687 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32693 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32697 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32700 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32701 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32703 * nss/Makefile: Add rules to build and run tst-nss-test1.
32704 * shlib-versions: Add entry for libnss_test1.
32705 * nss/nss_test1.c: New file.
32706 * nss/tst-nss-test1.c: New file.
32708 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32709 (__nss_configure_lookup): Set appropriate entry in
32710 __nss_configure_lookup to true.
32711 * nss/nsswitch.h: Define enum with indeces of databases in
32712 databases and __nss_database_custom arrays. Declare
32713 __nss_database_custom.
32714 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32715 to avoid using nscd when custom rules are installed.
32716 * nss/getXXbyYY_r.c: Likewise.
32717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32719 * nss/nss_files/files-parse.c: Whitespace fixes.
32721 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32724 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32725 * posix/fnmatch_loop.c: Likewise.
32727 2010-07-17 Andi Kleen <ak@linux.intel.com>
32729 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32730 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32731 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32732 * Versions.def [GLIBC_2.13]: Add.
32734 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32737 Also fail if tpwd after pwuid call is NULL.
32739 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32741 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32742 when converting to ms.
32744 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32746 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32747 EOPNOTSUPP errors with ENOTTY.
32748 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32749 EOPNOTSUPP errors with ENOTTY.
32751 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32753 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32754 Add strcasecmp_l-ssse3.
32755 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32757 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32758 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32759 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32761 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32763 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32765 * string/Makefile (strop-tests): Add strcasecmp.
32766 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32767 strcasecmp_l-nonascii.
32768 (gen-as-const-headers): Add locale-defines.sym.
32769 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32770 * sysdeps/x86_64/strcasecmp.S: New file.
32771 * sysdeps/x86_64/strcasecmp_l.S: New file.
32772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32773 * sysdeps/x86_64/locale-defines.sym: New file.
32774 * string/test-strcasecmp.c: New file.
32776 * string/test-strcasestr.c: Test both ends of the range of characters.
32777 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32779 2010-07-29 Roland McGrath <roland@redhat.com>
32782 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32784 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32786 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32789 2010-07-27 Andreas Schwab <schwab@redhat.com>
32791 * manual/memory.texi (Malloc Tunable Parameters): Document
32794 2010-07-26 Roland McGrath <roland@redhat.com>
32797 * configure.in (-fgnu89-inline check): Set and substitute
32798 gnu89_inline, not libc_cv_gnu89_inline.
32799 * configure: Regenerated.
32800 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32802 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32804 * string/test-strnlen.c: New file.
32805 * string/Makefile (strop-tests): Add strnlen.
32806 * string/tester.c (test_strnlen): Add a few more test cases.
32807 * string/tst-strlen.c: Better error reporting.
32809 * sysdeps/x86_64/strnlen.S: New file.
32811 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32813 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32814 lower-latency instructions.
32816 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32818 * string/test-strcasestr.c: New file.
32819 * string/test-strstr.c: New file.
32820 * string/Makefile (strop-tests): Add strstr and strcasestr.
32821 * string/str-two-way.h: Don't undefine MAX.
32822 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32824 2010-07-21 Andreas Schwab <schwab@redhat.com>
32826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32827 strcasestr-nonascii.
32828 (CFLAGS-strcasestr-nonascii.c): Define.
32829 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32831 Remove unused attribute.
32833 2010-07-20 Roland McGrath <roland@redhat.com>
32835 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32836 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32837 ld.so.cache was broken. With it, there is no way to disable dsocaps
32838 like LD_HWCAP_MASK can disable hwcaps.
32840 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32842 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32844 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32846 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32847 call in strcasestr.
32848 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32849 __strcasestr_sse42_nonascii.
32850 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32851 strcasestr-nonascii.c.
32852 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32854 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32856 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32858 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32859 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32861 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32863 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32866 2010-07-06 Andreas Schwab <schwab@redhat.com>
32869 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32872 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32875 _PC_PIPE_BUF using F_GETPIPE_SZ.
32877 2010-07-05 Roland McGrath <roland@redhat.com>
32879 * manual/arith.texi (Rounding Functions): Fix rint description
32880 implicit in round description.
32882 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32884 * elf/Makefile: Fix linking for a few tests to make recent linker
32887 2010-06-30 Andreas Schwab <schwab@redhat.com>
32889 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32890 $(common-objpfx)libc_nonshared.a.
32892 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32894 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32895 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32896 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32897 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32898 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32899 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32900 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32901 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32916 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32917 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32918 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32919 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32920 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32921 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32922 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32923 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32924 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32925 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32926 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32927 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32943 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32945 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32946 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32947 * string/memmove.c (memmove): Renamed to ...
32948 (MEMMOVE): ...this. Default to memmove.
32949 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32950 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32953 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32954 mempcpy-ssse3-back memmove-ssse3-back.
32955 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32956 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32958 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32959 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32960 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32961 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32962 * sysdeps/x86_64/multiarch/memmove.c: New file.
32963 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32964 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32965 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32966 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32967 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32970 (index_Fast_Copy_Backward): Define.
32971 (HAS_ARCH_FEATURE): Define.
32972 (HAS_FAST_REP_STRING): Define.
32973 (HAS_FAST_COPY_BACKWARD): Define.
32975 2010-06-21 Andreas Schwab <schwab@redhat.com>
32977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32978 Restore proper fallback handling.
32980 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32983 * posix/group_member.c (__group_member): Correct checking loop.
32985 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32986 OOM in getpwuid_r correctly. Return error number when the caller
32987 should return, otherwise -1.
32988 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32989 call returning > 0 value.
32990 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32992 2010-06-07 Andreas Schwab <schwab@redhat.com>
32994 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32995 libc_nonshared.a from targets in modules-names.
32997 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32999 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33002 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33004 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33009 2010-06-02 Andreas Schwab <schwab@redhat.com>
33011 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33013 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33015 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33019 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33021 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33022 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33024 2010-06-14 Roland McGrath <roland@redhat.com>
33026 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33028 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33030 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33031 __REDIRECT followed by __THROW.
33032 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33033 * posix/getopt.h (getopt): Likewise.
33035 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33037 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33038 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33039 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33041 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33042 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33044 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33046 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33048 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33052 Properly check family and model.
33054 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33056 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33058 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33060 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33062 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33064 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33067 2010-05-19 Andreas Schwab <schwab@redhat.com>
33069 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33072 2010-05-21 Andreas Schwab <schwab@redhat.com>
33074 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33075 and internal_recvmmsg.
33076 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33077 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33078 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33079 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33081 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33082 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33083 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33085 2010-05-20 Andreas Schwab <schwab@redhat.com>
33087 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33089 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33091 POWER7 optimizations.
33092 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33093 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33095 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33097 * version.h: Update for 2.13 development version.
33099 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33101 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33102 exceptions. Return 0.
33104 2010-05-07 Roland McGrath <roland@redhat.com>
33106 * elf/ldconfig.c (main): Add a const.
33108 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33110 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33111 (args_options): Add no-idn option.
33112 (ahosts_keys_int): Add idn_flags to ai_flags.
33113 (parse_option): Handle 'i' option to clear idn_flags.
33115 * malloc/malloc.c (_int_free): Possible race in the most recently
33116 added check. Only act on the data if no current modification
33119 See ChangeLog.17 for earlier changes.