1 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5 Add `Chinese' to `nan' entry name.
7 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10 (POLYNOMIAL): Likewise.
11 (TAYLOR_SINCOS): Likewise.
12 (TAYLOR_SLOW): Likewise.
13 (__sin): Use TAYLOR_SINCOS.
15 (slow): Use TAYLOR_SLOW.
20 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22 * stdlib/strtod_l.c: Fix buffer overrun.
24 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26 * benchtests/Makefile (bench): Add sincos.
27 * benchtests/bench-sincos.c: New file.
29 * math/libm-test.inc (cos_test_data): New test inputs.
30 (sin_test_data): Likewise.
32 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
51 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
57 * config.h.in (HAVE_MIPS_NAN2008): New macro.
58 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
59 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62 * elf/cache.c (print_entry): Handle the new cache flags.
64 2013-09-18 Joseph Myers <joseph@codesourcery.com>
65 Aldy Hernandez <aldyh@redhat.com>
67 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
68 Change condition to [_SOFT_FLOAT].
69 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
70 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
71 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
72 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
73 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
74 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
75 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
76 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
77 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
78 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
79 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
80 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
81 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
82 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
83 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
84 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
87 2013-09-18 Joseph Myers <joseph@codesourcery.com>
89 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
90 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
91 (__longjmp): Use LOAD_GP to load saved GPRs.
92 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
93 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
94 (__sigsetjmp): Use SAVE_GP to save GPRs.
96 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
97 Do not append -msoft-float.
98 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
100 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
102 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
104 2013-09-17 Joseph Myers <joseph@codesourcery.com>
107 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
108 (_FPU_GETCW): Use initial "__" on variable and field names but not
109 on macro parameter name.
110 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
111 parentheses around reference to macro parameter.
113 2013-09-13 Richard Sandiford <richard@codesourcery.com>
115 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
117 (ctype_startup): Use uint32_t in cast and sizeof for
120 2013-09-11 Jia Liu <proljc@gmail.com>
122 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
124 [__FreeBSD__]: Likewise.
126 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
129 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
130 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
131 (strchr): Remove __strchr_sse42 ifunc selection.
132 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
133 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
135 2013-09-11 Will Newton <will.newton@linaro.org>
137 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
138 parameter to RES. Remove hardcoded 1000 value.
139 * benchtests/bench-skeleton.c (main): Pass RES parameter
140 to TIMING_INIT and multiply result by 1000.
142 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
146 2013-09-11 Andreas Schwab <schwab@suse.de>
148 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
150 (O_TMPFILE) [__USE_GNU]: Define.
151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
154 2013-09-11 Will Newton <will.newton@linaro.org>
157 * malloc/malloc.c (__libc_memalign): Check the value of bytes
160 2013-09-11 Will Newton <will.newton@linaro.org>
163 * malloc/malloc.c (__libc_valloc): Check the value of bytes
166 2013-09-11 Will Newton <will.newton@linaro.org>
169 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
172 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
174 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
175 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
177 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
178 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
180 2013-09-10 Allan McRae <allan@archlinux.org>
183 * manual/arith.texi (Parsing of Floats): Clarify
187 * manual/install.texi (Running make install): Mention
189 * INSTALL: Regenerated.
191 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
193 * csu/init-first.c (_init): Remove the !SHARED condition around
194 FPU control word initialization.
195 * elf/dl-support.c (_dl_fpu_control): New variable.
196 (_dl_aux_init) <AT_FPUCW>: Initialize it.
197 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
198 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
199 * math/test-fpucw-static.c: New file.
200 * math/test-fpucw-ieee.c: New file.
201 * math/test-fpucw-ieee-static.c: New file.
202 * math/Makefile (tests): Add `test-fpucw-ieee' and
204 (tests-static): New variable.
205 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
207 [($(build-shared),yes)]
208 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
210 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
213 2013-09-09 Allan McRae <allan@archlinux.org>
216 * manual/string.texi (Collation Functions): Fix typo in
218 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
221 * stdlib/isomac.c (get_null_defines): Fix memory leak.
224 * libio/memstream.c (open_memstream): Fix memory leak.
225 * libio/wmemstream.c (open_wmemstream): Likewise.
228 * nscd/netgroupcache.c: Fix nesting of ifdefs.
230 2013-09-09 Will Newton <will.newton@linaro.org>
232 * malloc/Makefile: Add tst-realloc to tests.
233 * malloc/tst-realloc.c: New file.
235 2013-09-09 Allan McRae <allan@archlinux.org>
238 * COPYING: Update from GNU website to fix FSF address.
239 * COPYING.LIB: Likewise.
241 2013-09-06 David S. Miller <davem@davemloft.net>
243 * po/zh_TW.po: Update Chinese (traditional) translation from
246 2013-09-06 Richard Sandiford <richard@codesourcery.com>
247 Joseph Myers <joseph@codesourcery.com>
249 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
251 (obstack_chunk_alloc): New macro.
252 (obstack_chunk_free): Likewise.
253 (record_offset): New function.
254 (init_locale_data): Likewise.
255 (align_locale_data): Likewise.
256 (add_locale_empty): Likewise.
257 (add_locale_raw_data): Likewise.
258 (add_locale_raw_obstack): Likewise.
259 (add_locale_string): Likewise.
260 (add_locale_wstring): Likewise.
261 (add_locale_uint32): Likewise.
262 (add_locale_uint32_array): Likewise.
263 (add_locale_char): Likewise.
264 (start_locale_structure): Likewise.
265 (end_locale_structure): Likewise.
266 (start_locale_prelude): Likewise.
267 (end_locale_prelude): Likewise.
268 (write_locale_data): Take locale_file structure rather than an
270 * locale/programs/locfile.h: Include "obstack.h".
271 (struct locale_file): Change to store locale file contents instead
273 (init_locale_data): New prototype.
274 (align_locale_data): Likewise.
275 (add_locale_empty): Likewise.
276 (add_locale_raw_data): Likewise.
277 (add_locale_raw_obstack): Likewise.
278 (add_locale_string): Likewise.
279 (add_locale_wstring): Likewise.
280 (add_locale_uint32): Likewise.
281 (add_locale_uint32_array): Likewise.
282 (add_locale_char): Likewise.
283 (start_locale_structure): Likewise.
284 (end_locale_structure): Likewise.
285 (start_locale_prelude): Likewise.
286 (end_locale_prelude): Likewise.
287 (write_locale_data): Update prototype.
288 * locale/programs/3level.h (struct TABLE): Remove result field.
289 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
290 Use new locale_file interface.
291 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
292 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
293 * locale/programs/ld-address.c (address_output): Use new
294 locale_file interface.
295 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
297 (collate_finish): Don't call collseq_table_finalize.
298 (collate_output): Use new locale_file interface.
299 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
301 (NO_FINALIZE): Change to NO_ADD_LOCALE.
302 (TABLE): Move defines earlier in file.
305 (wctrans_table_add): Move macro and inline function earlier in
307 (struct wctype_table): Move type earlier in file.
308 (add_locale_wctype_table): New static prototype.
309 (struct locale_ctype_t): Use logical types instead of struct iovec
310 pointers for members.
311 (ctype_output): Use new locale_file interface.
312 (wctype_table_finalize): Change to add_locale_wctype_table. Use
313 new locale_file interface.
314 (allocate_arrays): Update for use of new locale_file interface.
315 * locale/programs/ld-identification.c (identification_output): Use
316 new locale_file interface.
317 * locale/programs/ld-measurement.c (measurement_output): Likewise.
318 * locale/programs/ld-messages.c (messages_output): Likewise.
319 * locale/programs/ld-monetary.c (monetary_output): Likewise.
320 * locale/programs/ld-name.c (name_output): Likewise.
321 * locale/programs/ld-numeric.c (numeric_output): Likewise.
322 * locale/programs/ld-paper.c (paper_output): Likewise.
323 * locale/programs/ld-telephone.c (telephone_output): Likewise.
324 * locale/programs/ld-time.c (time_output): Likewise.
326 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
328 * benchtests/Makefile: Add memrchr benchmark.
329 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
330 benchmark as memrchr.
331 * benchtests/bench-memrchr-ifunc.c: New file.
332 * benchtests/bench-memrchr.c: New file.
334 2013-09-06 Will Newton <will.newton@linaro.org>
336 * benchtests/Makefile (string-bench): Add memcpy.
338 2013-09-05 Carlos O'Donell <carlos@redhat.com>
339 Cong Wang <amwang@redhat.com>
341 * sysdeps/unix/sysv/linux/bits/in.h
342 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
343 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
344 before __USE_KERNEL_IPV6_DEFS uses.
345 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
347 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
348 sockaddr_in6, or ipv6_mreq.
350 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
353 memory access for final bytes in some large inputs.
354 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
356 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * string/test-memrchr.c: New file.
359 * string/test-memrchr-ifunc.c: New file.
360 * string/Makefile: Add new memrchr testcase.
362 2013-09-05 Mike Frysinger <vapier@gentoo.org>
364 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
365 fanotify_init returns EPERM.
367 2013-09-04 Joseph Myers <joseph@codesourcery.com>
369 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
371 (top level): Treat second token from macro or constant entries for
372 allowed headers as allowed.
373 * include/complex.h: Condition internal declarations on
375 * include/fenv.h: Condition include of <stdbool.h> and internal
376 declarations on [!_ISOMAC].
378 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
381 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
383 2013-09-04 Joseph Myers <joseph@codesourcery.com>
385 * configure.in (--enable-versioning): Remove configure option.
386 (libc_cv_asm_symver_directive): Remove configure test.
387 (libc_cv_ld_version_script_option): Likewise.
388 (VERSIONING): Remove variable and AC_SUBST.
389 (DO_VERSIONING): Remove AC_DEFINE.
390 * configure: Regenerated.
391 * config.h.in (DO_VERSIONING): Remove macro.
392 * Makerules [$(versioning) = yes]: Change conditionals to
393 [$(build-shared) = yes].
394 * config.make.in (versioning): Remove variable.
395 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
396 [$(build-shared) = yes].
397 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
398 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
399 * elf/Makefile [$(versioning) = yes]: Change conditionals to
400 [$(build-shared) = yes].
401 * extra-lib.mk [$(versioning) = yes]: Likewise.
402 * hurd/Makefile [$(versioning) = yes]: Likewise.
403 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
405 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
407 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
408 [SHARED && !NO_HIDDEN].
409 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
411 [SHARED && DO_VERSIONING]: Likewise..
412 * libio/Makefile [$(versioning) = yes]: Change conditionals to
413 [$(build-shared) = yes].
414 * manual/install.texi (--disable-versioning): Remove
416 * INSTALL: Regenerated.
417 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
419 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
420 [$(build-shared) = yes].
421 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
422 * sysdeps/i386/i686/multiarch/strstr-c.c
423 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
424 [SHARED && !NO_HIDDEN].
425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
426 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
427 * sysdeps/powerpc/powerpc32/dl-machine.c
428 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
429 * sysdeps/powerpc/powerpc32/sysdep.h
430 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
431 to [SHARED && PIC && !NO_HIDDEN].
432 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
433 conditional to [SHARED].
435 2013-09-04 Will Newton <will.newton@linaro.org>
437 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
438 * benchtests/bench-string.h: Include bench-timing.h instead
439 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
440 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
441 call to HP_TIMING_DIFF_INIT.
442 * benchtests/bench-memccpy.c: Use bench-timing.h macros
443 instead of hp-timing.h macros.
444 * benchtests/bench-memchr.c: Likewise.
445 * benchtests/bench-memcmp.c: Likewise.
446 * benchtests/bench-memcpy.c: Likewise.
447 * benchtests/bench-memmem.c: Likewise.
448 * benchtests/bench-memmove.c: Likewise.
449 * benchtests/bench-memset.c: Likewise.
450 * benchtests/bench-rawmemchr.c: Likewise.
451 * benchtests/bench-strcasecmp.c: Likewise.
452 * benchtests/bench-strcasestr.c: Likewise.
453 * benchtests/bench-strcat.c: Likewise.
454 * benchtests/bench-strchr.c: Likewise.
455 * benchtests/bench-strcmp.c: Likewise.
456 * benchtests/bench-strcpy.c: Likewise.
457 * benchtests/bench-strcpy_chk.c: Likewise.
458 * benchtests/bench-strlen.c: Likewise.
459 * benchtests/bench-strncasecmp.c: Likewise.
460 * benchtests/bench-strncat.c: Likewise.
461 * benchtests/bench-strncmp.c: Likewise.
462 * benchtests/bench-strncpy.c: Likewise.
463 * benchtests/bench-strnlen.c: Likewise.
464 * benchtests/bench-strpbrk.c: Likewise.
465 * benchtests/bench-strrchr.c: Likewise.
466 * benchtests/bench-strspn.c: Likewise.
467 * benchtests/bench-strstr.c: Likewise.
469 2013-09-04 Will Newton <will.newton@linaro.org>
471 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
473 2013-09-03 Joseph Myers <joseph@codesourcery.com>
476 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
477 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
478 * math/libm-test.inc (lgamma_test_data): Add more tests.
479 * sysdeps/i386/fpu/libm-test-ulps: Update.
480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
482 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
484 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
488 Add strcmp-sse2-unaligned
489 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
491 2013-09-02 Mike Frysinger <vapier@gentoo.org>
493 * Versions.def (libc): Add GLIBC_2.19.
495 2013-09-02 Mike Frysinger <vapier@gentoo.org>
497 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
498 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
500 2013-09-02 Joseph Myers <joseph@codesourcery.com>
503 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
504 intermediate calculations in recurrence.
505 (__ieee754_ynf): Likewise.
506 * math/libm-test.inc (jn_test_data): Do not allow spurious
507 underflow exception. Add more tests.
508 (yn_test_data): Add more tests.
509 * sysdeps/i386/fpu/libm-test-ulps: Update.
510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
512 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
514 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
516 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
518 * csu/init-first.c: Fix then/than typos.
519 * locale/programs/ld-collate.c: Likewise.
520 * locale/programs/linereader.h: Likewise.
521 * manual/charset.texi: Likewise.
522 * manual/filesys.texi: Likewise.
523 * manual/stdio.texi: Likewise.
524 * manual/string.texi: Likewise.
525 * stdlib/fmtmsg.c: Likewise.
526 * sysdeps/i386/stpncpy.S: Likewise.
527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
528 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
530 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
532 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
534 * elf/dl-open.c: Fix typos.
535 * iconvdata/gbbig5.c: Likewise.
536 * iconvdata/iso-2022-jp.c: Likewise.
537 * iconv/gconv_int.h: Likewise.
538 * iconv/loop.c: Likewise.
539 * nis/rpcsvc/nis.h: Likewise.
540 * resolv/ns_name.c: Likewise.
541 * stdio-common/vfscanf.c: Likewise.
542 * streams/stropts.h: Likewise.
543 * sunrpc/rpc_thread.c: Likewise.
544 * sysdeps/i386/strpbrk.S: Likewise.
545 * sysdeps/ieee754/k_standard.c: Likewise.
546 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
548 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
549 * sysdeps/mach/hurd/profil.c: Likewise.
550 * sysdeps/s390/dl-procinfo.h: Likewise.
551 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
553 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
554 * sysdeps/x86_64/dl-trampoline.S: Likewise.
555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
557 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
559 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
562 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
564 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
566 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
567 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
569 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
575 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
576 Roland McGrath <roland@hack.frob.com>
578 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
579 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
581 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
583 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
584 __executable_start symbol instead of _start.
586 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
588 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
589 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
591 * sysdeps/gnu/ldsodefs.h: ... this new file.
593 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
594 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
595 instead of ELFOSABI_LINUX.
597 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
598 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
599 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
600 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
602 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
603 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
604 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
606 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
607 (ibm_extended_long_double): Add ieee_nan member.
608 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
609 (do_test): New function.
611 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
613 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
614 functions, renamed from truncdfsf_test, trunctfsf_test,
616 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
618 (do_test): Run all these.
620 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
622 * argp/argp-help.c: Fix typos.
623 * argp/argp-parse.c: Likewise.
624 * debug/backtracesyms.c: Likewise.
625 * elf/elf.h: Likewise.
626 * malloc/malloc.c: Likewise.
627 * nis/nis_print.c: Likewise.
628 * resolv/res_comp.c: Likewise.
629 * stdlib/stdlib.h: Likewise.
630 * sunrpc/clnt_tcp.c: Likewise.
631 * sunrpc/clnt_udp.c: Likewise.
632 * sunrpc/clnt_unix.c: Likewise.
633 * sysdeps/unix/bsd/ptsname.c: Likewise.
634 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
635 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
644 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
646 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
647 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
649 2013-08-27 Mike Frysinger <vapier@gentoo.org>
652 * dlfcn/Makefile (tests): Add bug-dl-leaf.
653 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
654 ($(objpfx)bug-dl-leaf): New rule.
655 ($(objpfx)bug-dl-leaf.so): Likewise.
656 ($(objpfx)bug-dl-leaf.out): Likewise.
657 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
658 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
659 * dlfcn/bug-dl-leaf.c: New test.
660 * dlfcn/bug-dl-leaf-lib.c: Likewise.
661 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
662 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
666 2013-08-27 Roland McGrath <roland@hack.frob.com>
668 * include/netdb.h [!_ISOMAC]:
669 Don't include <tls.h>.
670 (h_errno, __libc_h_errno): Move declaration and macros out of
673 * include/resolv.h [_RESOLV_H_]:
674 Don't include <tls.h>.
675 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
676 * resolv/res_libc.c: Don't include <tls.h>.
677 (_res): Use __attribute__ ((nocommon)) in place of
678 __attribute__ ((section (".bss"))).
680 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
681 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
683 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
685 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
686 only under [SIOCGIFCONF && SIOCGIFNETMASK].
688 * resolv/res_mkquery.c: Include <sys/time.h>.
690 * inet/ifreq.c: Moved to ...
691 * sysdeps/unix/ifreq.c: ... here.
692 * inet/ifreq.c: New file, true stub version.
694 * socket/sa_len.c: New file.
695 * socket/Makefile (aux): Add it.
696 * sysdeps/unix/sysv/linux/Makefile
697 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
698 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
699 and #include <socket/sa_len.c>.
700 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
701 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
704 * bits/socket.h: ... here.
706 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
707 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
708 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
710 2013-08-27 Andreas Schwab <schwab@suse.de>
713 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
714 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
715 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
716 * string/test-strcasecmp.c (test_main): Run tests in several
718 * string/test-strncasecmp.c (test_main): Likewise.
720 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
721 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
722 to __strcasecmp_nonascii and __strncasecmp_nonascii.
723 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
724 (__strncasecmp_ssse3) [PIC]: Likewise.
726 2013-08-26 Roland McGrath <roland@hack.frob.com>
728 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
730 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
731 instead of explicitly declaring xdecrypt.
732 * nis/nss_nis/nis-publickey.c: Likewise.
734 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
737 * nscd/aicache.c: Include res_hconf.h.
738 (addhstaiX): Initialize res_hconf.
740 2013-08-26 Andreas Schwab <schwab@suse.de>
742 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
743 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
745 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
747 * nscd/aicache.c (addhstaiX): Fix indentation.
749 2013-08-25 Mike Frysinger <vapier@gentoo.org>
751 * configure.ac: Quote $build_pt_chown test.
752 * configure: Regenerated.
754 2013-08-23 Joseph Myers <joseph@codesourcery.com>
757 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
758 * math/s_cexpf.c (__cexpf): Likewise.
759 * math/s_cexpl.c (__cexpl): Likewise.
760 * math/libm-test.inc (cexp_test_data): Correct expected return
761 value for NaN + i0. Add another test.
763 2013-08-22 David S. Miller <davem@davemloft.net>
765 * po/ca.po: Update Catalan translation from translation project.
766 * po/uk.po: Add Ukrainian translations from translation project.
768 2013-08-21 Joseph Myers <joseph@codesourcery.com>
771 * math/s_fdim.c (__fdim): Check for infinite arguments if result
772 is infinite, not alongside NaN test.
773 * math/s_fdimf.c (__fdimf): Likewise.
774 * math/s_fdiml.c (__fdiml): Likewise.
775 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
778 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
780 * argp/argp-help.c: Fix typos.
781 * crypt/speeds.c: Likewise.
782 * csu/check_fds.c: Likewise.
783 * elf/dl-load.c: Likewise.
784 * elf/dl-open.c: Likewise.
785 * elf/reldep3.c: Likewise.
786 * elf/reldep.c: Likewise.
787 * elf/sprof.c: Likewise.
788 * iconv/iconv_charmap.c: Likewise.
789 * iconv/skeleton.c: Likewise.
790 * iconv/strtab.c: Likewise.
791 * io/lockf64.c: Likewise.
792 * libio/libioP.h: Likewise.
793 * resolv/gai_notify.c: Likewise.
794 * resolv/ns_name.c: Likewise.
795 * resolv/ns_samedomain.c: Likewise.
796 * resolv/res_send.c: Likewise.
797 * stdlib/random.c: Likewise.
798 * sunrpc/rpc/xdr.h: Likewise.
799 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
800 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
801 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
802 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
804 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
805 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
807 * sysdeps/mach/hurd/check_fds.c: Likewise.
808 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
809 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
812 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
813 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
814 * sysdeps/pthread/aio_notify.c: Likewise.
815 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
816 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
817 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
818 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
819 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
821 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
823 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
824 version if bit_Slow_SSE4_2 is set.
825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
828 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
831 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
832 trampoline stack frame information.
833 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
835 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
836 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
837 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
838 * sysdeps/unix/sysv/linux/powerpc/init-first.c
839 (_libc_vdso_platform_setup): Initialize the signal trampolines.
840 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
842 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
843 interrupting a syscall and set with option SA_SIGINFO.
845 2013-08-20 Joseph Myers <joseph@codesourcery.com>
848 * math/s_cproj.c (__cproj): Only return an infinity if one part of
849 argument is infinite.
850 * math/s_cprojf.c (__cprojf): Likewise.
851 * math/s_cprojl.c (__cprojl): Likewise.
852 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
853 * math/libm-test.inc (cproj_test_data): Add more tests.
855 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
857 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
858 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
859 size. Use __ffs to determine corresponding shift.
861 2013-08-20 Joseph Myers <joseph@codesourcery.com>
862 Roland McGrath <roland@hack.frob.com>
864 * Makefile (INSTALL): Remove trailing blank lines from output of
867 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
869 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
870 Align 32 bit compat elf_greg to 8 bytes.
872 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
874 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
876 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
878 * string/strcoll_l.c (coll_seq): New structure.
879 (get_next_seq_cached): New function.
880 (get_next_seq): New function.
881 (do_compare): New function.
882 (STRCOLL): Use GNU style definition. Simplify implementation
883 by using get_next_seq, get_next_seq_cached and do_compare.
885 2013-08-16 Florian Weimer <fweimer@redhat.com>
889 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
891 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
893 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
894 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
895 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
897 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
898 GETDENTS_64BIT_ALIGNED.
899 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
900 * manual/filesys.texi (Reading/Closing Directory): Document
901 ENAMETOOLONG return value of readdir_r. Recommend readdir more
903 * manual/conf.texi (Limits for Files): Add portability note to
905 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
907 2013-08-13 Andreas Schwab <schwab@suse.de>
910 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
912 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
913 LDBL_MAX_EXP >= 16384]: Add tests for it.
915 2013-08-12 David S. Miller <davem@davemloft.net>
917 * version.h (RELEASE): Set to "development".
918 (VERSION): Set to "2.18.90".
919 * NEWS: Add 2.19 section.
921 2013-08-03 David S. Miller <davem@davemloft.net>
923 * po/ko.po: Update Korean translation from translation project.
925 2013-08-01 David S. Miller <davem@davemloft.net>
927 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
928 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
931 2013-07-30 David S. Miller <davem@davemloft.net>
933 * po/fr.po: Update French translation from translation project.
935 2013-07-28 David S. Miller <davem@davemloft.net>
937 * po/cs.po: Update Czech translation from translation project.
939 * po/sv.po: Update Swedish translation from translation project.
941 2013-07-27 David S. Miller <davem@davemloft.net>
943 * po/eo.po: Update Esperanto translation from translation project.
945 * po/vi.po: Update Vietnamese translation from translation project.
947 * po/de.po: Update German translation from translation project.
949 2013-07-26 David S. Miller <davem@davemloft.net>
951 * po/bg.po: Update Bulgarian translation from translation project.
953 * po/nl.po: Update Dutch translation from translation project.
954 * po/pl.po: Update Polish translation from translation project.
955 * po/ru.po: Update Russian translation from translation project.
957 2013-07-24 David S. Miller <davem@davemloft.net>
959 * po/libc.pot: Update.
961 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
965 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
967 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
969 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
971 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
973 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
974 Andreas Schwab <schwab@suse.de>
975 Roland McGrath <roland@hack.frob.com>
976 Joseph Myers <joseph@codesourcery.com>
977 Carlos O'Donell <carlos@redhat.com>
980 * config.h.in: Define HAVE_PT_CHOWN.
981 * config.make.in (build-pt-chown): New variable.
982 * configure.in (--enable-pt_chown): New configure option.
983 * configure: Regenerate.
984 * login/Makefile: Include Makeconfig. Build pt_chown only if
985 build-pt-chown is enabled.
986 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
987 pt_chown to fix pty ownership.
988 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
990 * manual/install.texi (Configuring and compiling): Mention
991 --enable-pt_chown. Add @findex for grantpt.
992 * INSTALL: Regenerate.
994 2013-07-20 David S. Miller <davem@davemloft.net>
996 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
997 difference between 32-bit and 64-bit.
999 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1002 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1003 Avoid system header dependency with -ffreestanding.
1004 ($(objpfx)bits/syscall%d): Likewise.
1006 2013-07-13 David S. Miller <davem@davemloft.net>
1008 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1009 underflows from atanl/atan2l due to bug 15319.
1010 (casinh_test_data): Likewise.
1012 2013-07-07 David S. Miller <davem@davemloft.net>
1014 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1016 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1018 * sysdeps/i386/fpu/libm-test-ulps: Update.
1019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1021 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1023 * configure.in (--enable-lock-elision): Fix message text.
1024 * INSTALL: Regenerate.
1025 * configure: Regenerate.
1027 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1031 2013-07-03 Andreas Jaeger <aj@suse.de>
1033 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1035 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1036 (ptrace_peeksiginfo_args): Add.
1037 (__ptrace_peeksiginfo_flags): Add.
1038 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1039 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1040 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1042 2013-07-03 Allan McRae <allan@archlinux.org>
1044 * sysdeps/i386/fpu/libm-test-ulps: Update.
1046 2013-07-02 David S. Miller <davem@davemloft.net>
1048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1050 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1054 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059 2013-07-02 Andi Kleen <ak@linux.intel.com>
1061 * config.h.in (ENABLE_LOCK_ELISION): Add.
1062 * configure.in (--enable-lock-elision): Add option.
1063 * manual/install.texi: Document --enable lock elision.
1064 * configure: Regenerate
1065 * INSTALL: Regenerate.
1067 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1070 SSE4.2 strcasecmp for libc.a.
1071 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1073 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1076 * soft-fp/op-common.h (_FP_FMA): New macro.
1077 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1078 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1079 (_FP_MUL_MEAT_1_imm): ... here.
1080 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1081 (_FP_MUL_MEAT_1_wide): ... here.
1082 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1083 (_FP_MUL_MEAT_1_hard): ... here.
1084 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1085 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1086 (_FP_MUL_MEAT_2_wide): ... here.
1087 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1088 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1089 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1090 (_FP_MUL_MEAT_2_gmp): ... here.
1091 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1092 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1093 (_FP_MUL_MEAT_4_wide): ... here.
1094 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1095 (_FP_MUL_MEAT_4_gmp): ... here.
1096 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1097 (_FP_WFRACBITS_DW_S): Likewise.
1098 (_FP_WFRACXBITS_DW_S): Likewise.
1099 (_FP_HIGHBIT_DW_S): Likewise.
1100 (FP_FMA_S): Likewise.
1101 (_FP_FRAC_HIGH_DW_S): Likewise.
1102 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1103 (_FP_WFRACBITS_DW_D): Likewise.
1104 (_FP_WFRACXBITS_DW_D): Likewise.
1105 (_FP_HIGHBIT_DW_D): Likewise.
1106 (FP_FMA_D): Likewise.
1107 (_FP_FRAC_HIGH_DW_D): Likewise.
1108 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1109 (_FP_WFRACBITS_DW_E): Likewise.
1110 (_FP_WFRACXBITS_DW_E): Likewise.
1111 (_FP_HIGHBIT_DW_E): Likewise.
1112 (FP_FMA_E): Likewise.
1113 (_FP_FRAC_HIGH_DW_E): Likewise.
1114 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1115 (_FP_WFRACBITS_DW_Q): Likewise.
1116 (_FP_WFRACXBITS_DW_Q): Likewise.
1117 (_FP_HIGHBIT_DW_Q): Likewise.
1118 (FP_FMA_Q): Likewise.
1119 (_FP_FRAC_HIGH_DW_Q): Likewise.
1120 * soft-fp/fmasf4.c: New file.
1121 * soft-fp/fmadf4.c: Likewise.
1122 * soft-fp/fmatf4.c: Likewise.
1124 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1127 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1129 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1131 (index_Slow_SSE4_2): Likewise.
1132 (index_Prefer_PMINUB_for_stringop): Likewise.
1133 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1134 bit_Slow_SSE4_2 is set.
1135 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1136 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1138 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1140 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1141 rtld_global._dl_hwcap2.
1142 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1144 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1145 POWER8 feature descriptions defined in _dl_hwcap2.
1146 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1147 string handling for POWER8 feature bits.
1148 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1149 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1150 _dl_powerpc_cap_flags.
1151 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1152 * sysdeps/powerpc/rtld-global-offsets.sym
1153 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1154 _dl_hwcap2 in the rtld_global_ro structure.
1156 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1158 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1159 hardware capabilities in support of AT_HWCAP2.
1160 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1161 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1163 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1164 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1165 explicitly the unknown a_type display mechanism is used.
1166 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1167 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1169 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1170 to macro prototype for AT_HWCAP2 support.
1171 * sysdeps/i386/dl-procinfo.h: Likewise.
1172 * sysdeps/s390/dl-procinfo.h: Likewise.
1173 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1174 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1175 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1176 return -1 for unknown a_type display fallback.
1177 * sysdeps/sparc/dl-procinfo.h: Likewise.
1178 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1179 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1181 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1183 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1184 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1186 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1189 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1190 mprotect making __stack_prot writable.
1192 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1193 Joseph Myers <joseph@codesourcery.com>
1195 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1196 as being properly aligned.
1198 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1200 * dlfcn/modstatic5.c: New file.
1201 * dlfcn/tststatic5.c: New file.
1202 * dlfcn/Makefile (tests): Add tststatic5.
1203 (tests-static): Likewise.
1204 (modules-names): Add modstatic5.
1205 (tststatic5-ENV): New variable.
1206 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1209 * elf/dl-support.c (_dl_main_map): New variable.
1210 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1211 (_dl_nns, _dl_load_adds): Set to 1.
1212 (_dl_initial_searchlist): Refer to _dl_main_map.
1213 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1214 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1215 call to _dl_get_origin.
1216 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1218 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1219 * dlfcn/modstatic3.c: New file.
1220 * dlfcn/tststatic3.c: New file.
1221 * dlfcn/tststatic4.c: New file.
1222 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1223 (tests-static): Likewise.
1224 (modules-names): Add modstatic3.
1225 (tststatic3-ENV, tststatic4-ENV): New variables.
1226 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1227 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1229 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1231 * configure.in (CC): Require GCC version 4.4 or later.
1232 * configure: Regenerated.
1233 * manual/install.texi (Tools for Compilation): Update GCC version
1235 * INSTALL: Regenerated.
1237 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1240 * string/test-memcmp.c (check2): New.
1241 (main): Call check2.
1243 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1245 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1248 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1250 (dl_open_worker) [!SHARED]: ... here.
1252 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1254 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1256 2013-06-25 Richard Henderson <rth@redhat.com>
1258 * locale/programs/locarchive.c: Include <libc-internal.h>
1260 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1262 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1263 trailing whitespace removed.
1265 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1268 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1269 * locale/programs/locarchive.c: Include libc-mmap.h.
1270 (prepare_address_space): Take two new outputs (the mmap base and len).
1271 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1273 (create_archive): Declare new mmap base and len values for
1274 prepare_address_space, and store the result in ah.
1275 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1276 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1277 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1278 Declare new mmap base and len values for
1279 prepare_address_space, and store the result in new_ah.
1280 (open_archive): Declare new mmap base and len values for
1281 prepare_address_space, and store the result in ah.
1282 (close_archive): If ah->mmap_base is not NULL, use that and
1283 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1284 * sysdeps/generic/libc-mmap.h: New file.
1286 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1288 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1289 (ALIGN_UP): Likewise.
1290 (PTR_ALIGN_DOWN): Likewise.
1291 (PTR_ALIGN_UP): Likewise.
1293 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1295 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1296 entry mapped to PPC_PLATFORM_POWER8.
1297 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1299 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1300 (_dl_string_platform): Add case for exporting platform position for
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1303 search path to sysdeps/powerpc/powerpc32/power8 directory.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1305 search path to sysdeps/powerpc/powerpc64/power8 directory.
1306 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1308 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1311 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1313 * INSTALL: Regenerate.
1315 * nscd/connections.c (nscd_init): Fix comment.
1317 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1319 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1322 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1323 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1325 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1327 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1329 (DL_DST_REQ_STATIC): Remove macro.
1331 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1334 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1335 with a shift of 0 bits.
1337 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1339 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1342 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1345 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1347 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1350 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1351 accepts -fno-tree-loop-distribute-patterns.
1352 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1353 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1355 * string/memset.c (memset): Likewise.
1356 * string/test-memmove.c (simple_memmove): Disable loop transformation
1358 * string/test-memset.c (simple_memset): Likewise.
1359 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1360 * benchtests/bench-memset.c (simple_memset): Likewise.
1361 * configure: Regenerated.
1363 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1365 * math/test-misc.c (main): Ignore fesetround failure when failures
1366 of subsequent rounding tests would be ignored.
1369 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1370 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1371 * math/fegetenv.c (__fegetenv): Return 0.
1372 * math/fegetexcept.c (fegetexcept): Return 0.
1373 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1375 * math/feholdexcpt.c (feholdexcept): Return 0.
1376 * math/fesetenv.c (__fesetenv): Return 0.
1377 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1378 argument FE_TONEAREST.
1379 * math/feupdateenv.c (__feupdateenv): Return 0.
1380 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1382 2013-06-18 Roland McGrath <roland@hack.frob.com>
1384 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1385 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1386 ($(objpfx)rtld-%.os rules): Use them.
1388 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1393 2013-06-17 Roland McGrath <roland@hack.frob.com>
1395 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1396 length of target pattern, then descending length of dependency pattern.
1397 * configure.in (AWK): Require gawk 3.1.2 or newer.
1398 * manual/install.texi (Tools for Compilation): Say that we do.
1399 * configure: Regenerated.
1401 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1402 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1403 * scripts/sysd-rules.awk: ... this new script.
1404 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1405 than a glob-style pattern.
1407 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1409 * math/test-misc.c (main): Do not treat incorrectly rounded
1410 conversions as failure unless ROUNDING_TESTS passes.
1412 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1415 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1416 restore exception state around main square root computation, then
1417 check for inexactness explicitly.
1419 * math/libm-test.inc (fma_test_data): Add another test.
1421 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1423 * manual/threads.texi (Non-POSIX Extensions): New document
1424 node. Document pthread_getattr_default_np and
1425 pthread_setattr_default_np.
1427 * Versions.def (libpthread): Add GLIBC_2.18.
1428 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1437 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1448 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1451 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1453 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1454 H.J. Lu <hjl.tools@gmail.com>
1457 * sysdeps/x86_64/rtld-memset.c: Remove file.
1458 * sysdeps/x86_64/rtld-memset.S: New file.
1460 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1462 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1463 (test_in_one_mode): Take arguments for whether the rounding mode
1464 is supported for each floating-point type.
1465 (do_test): Pass new arguments to test_in_one_mode using
1468 2013-06-13 Roland McGrath <roland@hack.frob.com>
1470 * posix/tst-waitid.c (do_test): Distinguish different instances of
1471 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1472 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1473 before entering the kernel for waitpid.
1475 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1477 * NEWS: Fix note on clock function precision. Text by Roland
1480 2013-06-13 Roland McGrath <roland@hack.frob.com>
1482 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1483 it into place only when and if the sanity check passes.
1485 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1487 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1488 output for whether conversion result is exact. Take argument
1489 indicating whether type is IBM long double.
1490 (round_for_all): Change need_exact field to ibm_ld.
1491 * stdlib/tst-strtod-round.c (struct exactness): New type.
1492 (struct test): Change bool ld_ok field to struct exactness exact.
1493 (TEST): Update all definitions for change to field.
1494 (tests): Regenerate array contents.
1495 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1496 field value. Check for IBM long double here.
1497 (do_test): Update calls to test_in_one_mode.
1499 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1502 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1503 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1505 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1509 generated by the compiler on loop optimizations.
1510 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1511 general definitions.
1513 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1515 * math/bug-nextafter.c: Include <math-tests.h>.
1516 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1518 * math/bug-nexttoward.c: Include <math-tests.h>.
1519 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1521 * math/test-misc.c: Include <math-tests.h>.
1522 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1525 2013-06-12 Andreas Jaeger <aj@suse.de>
1527 * po/ia.po: Update Interlingua translation from translation
1530 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1532 * include/fenv.h: Include stdbool.h.
1533 (struct rm_ctx): New structure.
1534 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1536 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1537 (SET_RESTORE_ROUNDF): Likewise.
1538 (SET_RESTORE_ROUNDL): Likewise.
1539 (SET_RESTORE_ROUND_NOEX): Likewise.
1540 (SET_RESTORE_ROUND_NOEXF): Likewise.
1541 (SET_RESTORE_ROUND_NOEXL): Likewise.
1542 (SET_RESTORE_ROUND_53BIT): Likewise.
1543 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1544 (libc_feresetround_noexf_ctx): Likewise.
1545 (libc_feresetround_noexl_ctx): Likewise.
1546 (libc_feholdsetround_53bit_ctx): Likewise.
1547 (libc_feresetround_53bit_ctx): Likewise.
1548 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1549 (libc_feholdexcept_setround_sse_ctx): New function.
1550 (libc_fesetenv_sse_ctx): Likewise.
1551 (libc_feupdateenv_sse_ctx): Likewise.
1552 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1553 (libc_feholdexcept_setround_387_ctx): Likewise.
1554 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1555 (libc_feholdsetround_387_prec_ctx): Likewise.
1556 (libc_feholdsetround_387_ctx): Likewise.
1557 (libc_feholdsetround_387_53bit_ctx): Likewise.
1558 (libc_feholdsetround_sse_ctx): Likewise.
1559 (libc_feresetround_sse_ctx): Likewise.
1560 (libc_feresetround_387_ctx): Likewise.
1561 (libc_feupdateenv_387_ctx): Likewise.
1562 (libc_feholdexcept_setroundf_ctx): Define macro.
1563 (libc_fesetenvf_ctx): Likewise.
1564 (libc_feupdateenvf_ctx): Likewise.
1565 (libc_feholdsetroundf_ctx): Likewise.
1566 (libc_feresetroundf_ctx): Likewise.
1567 (libc_feholdexcept_setround_ctx): Likewise.
1568 (libc_fesetenv_ctx): Likewise.
1569 (libc_feupdateenv_ctx): Likewise.
1570 (libc_feholdsetround_ctx): Likewise.
1571 (libc_feresetround_ctx): Likewise.
1572 (libc_feholdexcept_setroundl_ctx): Likewise.
1573 (libc_feupdateenvl_ctx): Likewise.
1574 (libc_feholdsetroundl_ctx): Likewise.
1575 (libc_feresetroundl_ctx): Likewise.
1576 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1577 (libc_feresetround_53bit_ctx): Likewise.
1579 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1581 * locale/iso-639.def: Convert to UTF-8.
1583 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1585 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1586 (EXCEPTION_TESTS_double): Likewise.
1587 (EXCEPTION_TESTS_long_double): Likewise.
1588 (EXCEPTION_TESTS): Likewise.
1589 * math/libm-test.inc (test_exceptions): Only test exceptions if
1590 EXCEPTION_TESTS (FLOAT).
1592 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1594 * benchtests/Makefile (string-bench): Add strcpy_chk and
1596 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1597 * benchtests/bench-stpcpy_chk.c: New file.
1598 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1599 * benchtests/bench-strcpy_chk.c: New file.
1600 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1602 (do_test): Likewise.
1604 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1606 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1607 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1608 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1609 with tabs where appropriate.
1610 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1612 [PPC_PLATFORM_PPC440]: Likewise.
1613 [PPC_PLATFORM_PPC464]: Likewise.
1614 [PPC_PLATFORM_PPC476]: Likewise.
1615 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1616 ppc464, and ppc476 platform strings merging from ports/
1619 2013-06-11 Andreas Schwab <schwab@suse.de>
1622 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1623 (from_ucs4_idx): Regenerate.
1624 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1625 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1626 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1627 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1628 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1629 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1630 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1631 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1632 from FROM_LOOP and TO_LOOP specific macros.
1633 (BODY): Handle combining characters.
1634 * iconvdata/BIG5HKSCS.irreversible: Update.
1635 * iconvdata/BIG5HKSCS.precomposed: New file.
1636 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1638 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1640 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1642 * include/sys/time.h: Fix indentation and add copyright header.
1644 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1645 (do_test): Likewise.
1646 * string/test-memchr.c (do_one_test): Likewise.
1647 (do_test): Likewise.
1648 * string/test-memcmp.c (do_one_test): Likewise.
1649 (do_test): Likewise.
1650 * string/test-memcpy.c (do_one_test): Likewise.
1651 (do_test): Likewise.
1652 * string/test-memmem.c (do_one_test): Likewise.
1653 (do_test): Likewise.
1654 (do_random_tests): Likewise.
1655 * string/test-memmove.c (do_one_test): Likewise.
1656 (do_test): Likewise.
1657 * string/test-memset.c (do_one_test): Likewise.
1658 (do_test): Likewise.
1659 * string/test-rawmemchr.c (do_one_test): Likewise.
1660 (do_test): Likewise.
1661 * string/test-strcasecmp.c (do_one_test): Likewise.
1662 (do_test): Likewise.
1663 * string/test-strcasestr.c (do_one_test): Likewise.
1664 (do_test): Likewise.
1665 * string/test-strcat.c (do_one_test): Likewise.
1666 (do_test): Likewise.
1667 * string/test-strchr.c (do_one_test): Likewise.
1668 (do_test): Likewise.
1669 * string/test-strcmp.c (do_one_test): Likewise.
1670 (do_test): Likewise.
1671 * string/test-strcpy.c (do_one_test): Likewise.
1672 (do_test): Likewise.
1673 * string/test-string.h: Likewise.
1674 (test_init): Likewise.
1675 * string/test-strlen.c (do_one_test): Likewise.
1676 (do_test): Likewise.
1677 * string/test-strncasecmp.c (do_one_test): Likewise.
1678 (do_test): Likewise.
1679 * string/test-strncat.c (do_one_test): Likewise.
1680 (do_test): Likewise.
1681 * string/test-strncmp.c (do_one_test): Likewise.
1682 (do_test_limit): Likewise.
1683 (do_test): Likewise.
1684 * string/test-strncpy.c (do_one_test): Likewise.
1685 (do_test): Likewise.
1686 * string/test-strnlen.c (do_one_test): Likewise.
1687 (do_test): Likewise.
1688 * string/test-strpbrk.c (do_one_test): Likewise.
1689 (do_test): Likewise.
1690 * string/test-strrchr.c (do_one_test): Likewise.
1691 (do_test): Likewise.
1692 * string/test-strspn.c (do_one_test): Likewise.
1693 (do_test): Likewise.
1694 * string/test-strstr.c (do_one_test): Likewise.
1695 (do_test): Likewise.
1697 * benchtests/Makefile (string-bench): Add string benchmarks.
1698 * benchtests/bench-bcopy-ifunc.c: New file.
1699 * benchtests/bench-bcopy.c: New file.
1700 * benchtests/bench-bzero-ifunc.c: New file.
1701 * benchtests/bench-bzero.c: New file.
1702 * benchtests/bench-memccpy-ifunc.c: New file.
1703 * benchtests/bench-memccpy.c: New file.
1704 * benchtests/bench-memchr-ifunc.c: New file.
1705 * benchtests/bench-memchr.c: New file.
1706 * benchtests/bench-memcmp-ifunc.c: New file.
1707 * benchtests/bench-memcmp.c: New file.
1708 * benchtests/bench-memmem-ifunc.c: New file.
1709 * benchtests/bench-memmem.c: New file.
1710 * benchtests/bench-memmove-ifunc.c: New file.
1711 * benchtests/bench-memmove.c: New file.
1712 * benchtests/bench-mempcpy-ifunc.c: New file.
1713 * benchtests/bench-mempcpy.c: New file.
1714 * benchtests/bench-memset-ifunc.c: New file.
1715 * benchtests/bench-memset.c: New file.
1716 * benchtests/bench-rawmemchr-ifunc.c: New file.
1717 * benchtests/bench-rawmemchr.c: New file.
1718 * benchtests/bench-stpcpy-ifunc.c: New file.
1719 * benchtests/bench-stpcpy.c: New file.
1720 * benchtests/bench-stpncpy-ifunc.c: New file.
1721 * benchtests/bench-stpncpy.c: New file.
1722 * benchtests/bench-strcasecmp-ifunc.c: New file.
1723 * benchtests/bench-strcasecmp.c: New file.
1724 * benchtests/bench-strcasestr-ifunc.c: New file.
1725 * benchtests/bench-strcasestr.c: New file.
1726 * benchtests/bench-strcat-ifunc.c: New file.
1727 * benchtests/bench-strcat.c: New file.
1728 * benchtests/bench-strchr-ifunc.c: New file.
1729 * benchtests/bench-strchr.c: New file.
1730 * benchtests/bench-strchrnul-ifunc.c: New file.
1731 * benchtests/bench-strchrnul.c: New file.
1732 * benchtests/bench-strcmp-ifunc.c: New file.
1733 * benchtests/bench-strcmp.c: New file.
1734 * benchtests/bench-strcpy-ifunc.c: New file.
1735 * benchtests/bench-strcpy.c: New file.
1736 * benchtests/bench-strcspn-ifunc.c: New file.
1737 * benchtests/bench-strcspn.c: New file.
1738 * benchtests/bench-strlen-ifunc.c: New file.
1739 * benchtests/bench-strlen.c: New file.
1740 * benchtests/bench-strncasecmp-ifunc.c: New file.
1741 * benchtests/bench-strncasecmp.c: New file.
1742 * benchtests/bench-strncat-ifunc.c: New file.
1743 * benchtests/bench-strncat.c: New file.
1744 * benchtests/bench-strncmp-ifunc.c: New file.
1745 * benchtests/bench-strncmp.c: New file.
1746 * benchtests/bench-strncpy-ifunc.c: New file.
1747 * benchtests/bench-strncpy.c: New file.
1748 * benchtests/bench-strnlen-ifunc.c: New file.
1749 * benchtests/bench-strnlen.c: New file.
1750 * benchtests/bench-strpbrk-ifunc.c: New file.
1751 * benchtests/bench-strpbrk.c: New file.
1752 * benchtests/bench-strrchr-ifunc.c: New file.
1753 * benchtests/bench-strrchr.c: New file.
1754 * benchtests/bench-strspn-ifunc.c: New file.
1755 * benchtests/bench-strspn.c: New file.
1756 * benchtests/bench-strstr-ifunc.c: New file.
1757 * benchtests/bench-strstr.c: New file.
1759 * benchtests/Makefile: Disable parallel execution of targets.
1760 (string-bench): Add memcpy.
1761 (benchset): New variable to store a list of benchmark sets.
1762 (bench-func): Renamed from bench.
1763 (bench-set): New target.
1764 (bench): Depend on bench-func and bench-set.
1765 * benchtests/README: Add section on benchmark sets.
1766 * benchtests/bench-memcpy-ifunc.c: New file.
1767 * benchtests/bench-memcpy.c: New file.
1768 * benchtests/bench-string.h: New file.
1770 2013-06-11 Andreas Schwab <schwab@suse.de>
1773 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1774 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1775 values in the triple.
1776 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1777 terminator in the group key.
1779 2013-06-11 Andreas Jaeger <aj@suse.de>
1781 * po/zh_TW.po: Update Chinese (traditional) translation from
1782 translation project.
1784 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1786 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1787 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1788 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1790 (clock_getcpuclockid): Likewise.
1791 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1792 Add weak_alias and libc_hidden_def.
1793 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1794 * rt/clock_gettime.c (clock_gettime): Rename to
1795 __clock_gettime. Add weak_alias and libc_hidden_def.
1796 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1797 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1798 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1799 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1800 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1802 * rt/clock_settime.c (clock_settime): Rename to
1803 __clock_settime. Add weak_alias and libc_hidden_def.
1804 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1806 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1808 * mach/err_boot.sub: Remove trailing whitespace.
1809 * mach/err_ipc.sub: Likewise.
1810 * mach/err_mach.sub: Likewise.
1812 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1813 (ROUNDING_TESTS_double): Likewise.
1814 (ROUNDING_TESTS_long_double): Likewise.
1815 (ROUNDING_TESTS): Likewise.
1816 * math/libm-test.inc: Include <math-tests.h>.
1817 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1818 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1819 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1820 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1822 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1824 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1827 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1829 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1830 otherwise empty TRANS lines.
1831 * sysdeps/gnu/errlist.c: Regenerated.
1833 * catgets/gencat.c (error_print): Use (void) in function
1835 * crypt/crypt_util.c (__init_des): Likewise.
1836 * crypt/speeds.c (Stop): Likewise.
1838 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1839 * inet/ruserpass.c (token): Likewise.
1840 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1841 * intl/localealias.c (extend_alias_table): Likewise.
1842 * intl/plural-exp.c (init_germanic_plural): Likewise.
1843 * libio/fcloseall.c (__fcloseall): Likewise.
1844 * libio/genops.c (_IO_flush_all): Likewise.
1845 (_IO_flush_all_linebuffered): Likewise.
1846 (_IO_cleanup): Likewise.
1847 (_IO_iter_begin): Likewise.
1848 (_IO_iter_end): Likewise.
1849 (_IO_list_lock): Likewise.
1850 (_IO_list_unlock): Likewise.
1851 (_IO_list_resetlock): Likewise.
1852 * libio/getchar.c (getchar): Likewise.
1853 * libio/getchar_u.c (getchar_unlocked): Likewise.
1854 * libio/getwchar.c (getwchar): Likewise.
1855 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1856 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1857 * login/getpt.c (__getpt): Likewise.
1858 * login/tst-utmp.c (main): Likewise.
1859 * malloc/hooks.c (__malloc_check_init): Likewise.
1860 * malloc/malloc.c (__malloc_stats): Likewise.
1861 * malloc/mtrace.c (tr_break): Likewise.
1863 (muntrace): Likewise.
1864 * misc/fstab.c (endfsent): Likewise.
1865 * misc/getclktck.c (__getclktck): Likewise.
1866 * misc/getdtsz.c (__getdtablesize): Likewise.
1867 * misc/gethostid.c (gethostid): Likewise.
1868 * misc/getpagesize.c (__getpagesize): Likewise.
1869 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1870 (__get_nprocs): Likewise.
1871 (__get_phys_pages): Likewise.
1872 (__get_avphys_pages): Likewise.
1873 * misc/getttyent.c (getttyent): Likewise.
1874 (setttyent): Likewise.
1875 (endttyent): Likewise.
1876 * misc/getusershell.c (getusershell): Likewise.
1877 (endusershell): Likewise.
1878 (setusershell): Likewise.
1879 (initshells): Likewise.
1880 * misc/hsearch.c (__hdestroy): Likewise.
1881 * misc/sync.c (sync): Likewise.
1882 * misc/syslog.c (closelog_internal): Likewise.
1883 (closelog): Likewise.
1884 * misc/ttyslot.c (ttyslot): Likewise.
1885 * misc/vhangup.c (vhangup): Likewise.
1886 * posix/fork.c (__fork): Likewise.
1887 * posix/getegid.c (__getegid): Likewise.
1888 * posix/geteuid.c (__geteuid): Likewise.
1889 * posix/getgid.c (__getgid): Likewise.
1890 * posix/getpid.c (__getpid): Likewise.
1891 * posix/getppid.c (__getppid): Likewise.
1892 * posix/getuid.c (__getuid): Likewise.
1893 * posix/pause.c (pause): Likewise.
1894 * posix/setpgrp.c (setpgrp): Likewise.
1895 * posix/setsid.c (__setsid): Likewise.
1896 * posix/test-vfork.c (noop): Likewise.
1897 * resolv/gethnamaddr.c (_endhtent): Likewise.
1898 (_gethtent): Likewise.
1899 (ht_endhostent): Likewise.
1900 (gethostent): Likewise.
1901 (dns_service): Likewise.
1902 * stdlib/drand48.c (drand48): Likewise.
1903 * stdlib/lrand48.c (lrand48): Likewise.
1904 * stdlib/mrand48.c (mrand48): Likewise.
1905 * stdlib/rand.c (rand): Likewise.
1906 * stdlib/random.c (__random): Likewise.
1907 * stdlib/setenv.c (clearenv): Likewise.
1908 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1909 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1910 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1911 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1912 (__get_nprocs): Likewise.
1913 (__get_phys_pages): Likewise.
1914 (__get_avphys_pages): Likewise.
1915 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1916 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1917 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1918 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1919 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1920 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1921 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1922 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1923 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1924 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1925 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1926 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1927 * sysdeps/posix/clock.c (clock): Likewise.
1928 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1929 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1930 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1931 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1932 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1934 (__get_nprocs_conf): Likewise.
1935 (__get_phys_pages): Likewise.
1936 (__get_avphys_pages): Likewise.
1937 * time/clock.c (clock): Likewise.
1938 * time/tzset.c (__tzname_max): Likewise.
1940 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1942 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1943 (__bswap_32): Do not use "register".
1944 * crypt/crypt.c (_ufc_doit_r): Likewise.
1945 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1946 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1947 * gmon/gmon.c (__monstartup): Likewise.
1948 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1949 * hurd/hurdmalloc.c (more_memory): Likewise.
1952 (realloc): Likewise.
1953 (malloc_fork_prepare): Likewise.
1954 (malloc_fork_parent): Likewise.
1955 (malloc_fork_child): Likewise.
1956 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1957 (_svcauth_des): Likewise.
1958 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1959 * inet/inet_net.c (inet_network): Likewise.
1960 * inet/inet_netof.c (inet_netof): Likewise.
1961 * inet/rcmd.c (__validuser2_sa): Likewise.
1962 * io/fts.c (fts_open): Likewise.
1963 (fts_load): Likewise.
1964 (fts_close): Likewise.
1965 (fts_read): Likewise.
1966 (fts_children): Likewise.
1967 (fts_build): Likewise.
1968 (fts_stat): Likewise.
1969 (fts_sort): Likewise.
1970 (fts_alloc): Likewise.
1971 (fts_lfree): Likewise.
1972 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1973 (_IO_file_xsgetn): Likewise.
1974 (_IO_file_xsgetn_mmap): Likewise.
1975 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1976 (_IO_cookie_write): Likewise.
1977 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1978 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1979 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1980 * malloc/obstack.c (_obstack_begin): Likewise.
1981 (_obstack_begin_1): Likewise.
1982 (_obstack_newchunk): Likewise.
1983 (_obstack_allocated_p): Likewise.
1984 (obstack_free): Likewise.
1985 (_obstack_memory_used): Likewise.
1986 * misc/getttyent.c (getttynam): Likewise.
1987 (getttyent): Likewise.
1990 * misc/getusershell.c (initshells): Likewise.
1991 * misc/syslog.c (__vsyslog_chk): Likewise.
1992 * misc/ttyslot.c (ttyslot): Likewise.
1993 * nis/nis_hash.c (__nis_hash): Likewise.
1994 * posix/fnmatch_loop.c (FCT): Likewise.
1995 * posix/getconf.c (print_all): Likewise.
1997 * posix/getopt.c (exchange): Likewise.
1998 * posix/glob.c (globfree): Likewise.
1999 (prefix_array): Likewise.
2000 (__glob_pattern_type): Likewise.
2001 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2002 (NS_GET32): Likewise.
2003 (NS_PUT16): Likewise.
2004 (NS_PUT32): Likewise.
2005 * resolv/gethnamaddr.c (getanswer): Likewise.
2006 (gethostbyname2): Likewise.
2007 (gethostbyaddr): Likewise.
2008 (_gethtent): Likewise.
2009 (_gethtbyname2): Likewise.
2010 (_gethtbyaddr): Likewise.
2011 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2012 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2013 * resolv/res_init.c (__res_vinit): Likewise.
2014 (net_mask): Likewise.
2015 * resolv/res_mkquery.c (outchar): Likewise.
2017 * stdio-common/printf_fp.c (outchar): Likewise.
2019 * stdio-common/printf_fphex.c (outchar): Likewise.
2021 * stdio-common/printf_size.c (outchar): Likewise.
2023 * stdio-common/test_rdwr.c (main): Likewise.
2024 * stdio-common/tfformat.c (matches): Likewise.
2025 * stdio-common/vfprintf.c (outchar): Likewise.
2026 (printf_unknown): Likewise.
2027 (buffered_vfprintf): Likewise.
2028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2029 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2030 (ReadFile): Likewise.
2031 * stdlib/qsort.c (SWAP): Likewise.
2032 (_quicksort): Likewise.
2033 * stdlib/setenv.c (__add_to_environ): Likewise.
2034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2035 * stdlib/strtol_l.c (__strtol_l): Likewise.
2036 * stdlib/tst-strtod.c (main): Likewise.
2037 * stdlib/tst-strtol.c (main): Likewise.
2038 * stdlib/tst-strtoll.c (main): Likewise.
2039 * string/bits/string2.h (__strcmp_cc): Likewise.
2040 (__strcmp_cg): Likewise.
2041 (__strcspn_c1): Likewise.
2042 (__strcspn_c2): Likewise.
2043 (__strcspn_c3): Likewise.
2044 (__strspn_c1): Likewise.
2045 (__strspn_c2): Likewise.
2046 (__strspn_c3): Likewise.
2047 (__strsep_1c): Likewise.
2048 (__strsep_2c): Likewise.
2049 (__strsep_3c): Likewise.
2050 * string/memccpy.c (__memccpy): Likewise.
2051 * string/stpcpy.c (__stpcpy): Likewise.
2052 * string/strcmp.c (strcmp): Likewise.
2053 * string/strrchr.c (strrchr): Likewise.
2054 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2056 * sysdeps/mach/hurd/getcwd.c
2057 (_hurd_canonicalize_directory_name_internal): Likewise.
2058 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2059 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2060 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2061 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2062 Likewise, in both definitions.
2063 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2065 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2066 64] (__bswap_64): Likewise.
2067 * time/test_time.c (main): Likewise.
2068 * time/tzfile.c (__tzfile_read): Likewise.
2069 (__tzfile_compute): Likewise.
2070 * time/tzset.c (__tzset_parse_tz): Likewise.
2071 (tzset_internal): Likewise.
2072 (compute_change): Likewise.
2073 * wcsmbs/wcscat.c (__wcscat): Likewise.
2074 * wcsmbs/wcschr.c (wcschr): Likewise.
2075 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2076 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2077 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2078 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2079 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2080 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2081 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2082 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2083 * wcsmbs/wmemset.c (wmemset): Likewise.
2085 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2087 * scripts/config.guess: Update to version 2013-05-16.
2088 * scripts/config.sub: Update to version 2013-04-24.
2089 * scripts/install-sh: Update to version 2011-11-20.07.
2090 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2091 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2093 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2095 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2096 * elf/sln.c: Likewise.
2097 * hurd/hurd/ioctl.h: Likewise.
2098 * hurd/hurdmalloc.c: Likewise.
2099 * hurd/xattr.c: Likewise.
2100 * include/shlib-compat.h: Likewise.
2101 * inet/ruserpass.c: Likewise.
2102 * libio/iofgets_u.c: Likewise.
2103 * libio/iofgetws_u.c: Likewise.
2104 * locale/programs/ld-identification.c: Likewise.
2105 * locale/programs/ld-time.c: Likewise.
2106 * mach/msg-destroy.c: Likewise.
2107 * nss/nss_files/files-netgrp.c: Likewise.
2108 * resolv/res_data.c: Likewise.
2109 * soft-fp/op-1.h: Likewise.
2110 * soft-fp/op-2.h: Likewise.
2111 * soft-fp/op-4.h: Likewise.
2112 * soft-fp/op-common.h: Likewise.
2113 * stdio-common/printf_fphex.c: Likewise.
2114 * stdlib/strtod_l.c: Likewise.
2115 * sunrpc/rpc/clnt.h: Likewise.
2116 * sysdeps/generic/framestate.c: Likewise.
2117 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2118 * sysdeps/i386/bsd-setjmp.S: Likewise.
2119 * sysdeps/i386/__longjmp.S: Likewise.
2120 * sysdeps/i386/setjmp.S: Likewise.
2121 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2122 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2123 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2139 * sysdeps/ieee754/support.c: Likewise.
2140 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2141 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2142 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2143 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2144 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2145 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2146 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2147 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2148 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2149 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2150 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2151 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2152 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2154 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2155 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2156 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2159 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2161 * posix/transbug.c: Remove executable mode.
2163 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2165 * crypt/speeds.c: Remove trailing whitespace.
2166 * dlfcn/default.c: Likewise.
2167 * elf/ifuncdep2.c: Likewise.
2168 * elf/ifuncmain1.c: Likewise.
2169 * elf/ifuncmain1vis.c: Likewise.
2170 * elf/testobj.h: Likewise.
2171 * elf/tst-stackguard1.c: Likewise.
2172 * gmon/sys/gmon.h: Likewise.
2173 * hurd/hurdmsg.c: Likewise.
2174 * hurd/new-fd.c: Likewise.
2175 * hurd/ports-get.c: Likewise.
2176 * iconvdata/ibm1008_420.c: Likewise.
2177 * inet/tst-getni1.c: Likewise.
2178 * inet/tst-getni2.c: Likewise.
2179 * libio/ioungetc.c: Likewise.
2180 * libio/wfiledoalloc.c: Likewise.
2181 * manual/libm-err-tab.pl: Likewise.
2182 * math/w_dremf.c: Likewise.
2183 * misc/ftruncate.c: Likewise.
2184 * posix/bug-glob2.c: Likewise.
2185 * posix/tst-pcre.c: Likewise.
2186 * posix/wait4.c: Likewise.
2187 * resolv/README: Likewise.
2188 * resolv/res_debug.h: Likewise.
2189 * resolv/tst-inet_ntop.c: Likewise.
2190 * setjmp/bug269-setjmp.c: Likewise.
2191 * soft-fp/extended.h: Likewise.
2192 * soft-fp/op-1.h: Likewise.
2193 * soft-fp/op-2.h: Likewise.
2194 * soft-fp/op-4.h: Likewise.
2195 * soft-fp/op-8.h: Likewise.
2196 * soft-fp/testit.c: Likewise.
2197 * stdio-common/bug16.c: Likewise.
2198 * stdlib/random.c: Likewise.
2199 * sunrpc/rpcsvc/rquota.x: Likewise.
2200 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2201 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2203 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2204 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2206 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2210 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2229 * sysdeps/ieee754/s_lib_version.c: Likewise.
2230 * sysdeps/mach/hurd/check_fds.c: Likewise.
2231 * sysdeps/mach/hurd/getsockname.c: Likewise.
2232 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2233 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2234 * sysdeps/powerpc/bits/link.h: Likewise.
2235 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2236 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2237 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2238 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2239 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2240 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2241 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2242 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2243 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2244 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2251 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2256 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2258 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2259 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2260 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2262 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2263 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2264 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2268 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2269 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2270 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2272 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2273 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2274 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2275 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2276 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2277 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2278 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2279 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2281 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2282 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2283 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2284 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2288 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2290 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2293 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2294 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2296 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2297 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2298 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2299 * sysdeps/powerpc/sysdep.h: Likewise.
2300 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2301 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2302 * sysdeps/sh/dl-trampoline.S: Likewise.
2303 * sysdeps/sh/memset.S: Likewise.
2304 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2305 * sysdeps/sh/strlen.S: Likewise.
2306 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2307 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2308 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2309 * sysdeps/sparc/sparc32/rem.S: Likewise.
2310 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2311 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2312 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2313 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2314 * sysdeps/sparc/sparc32/urem.S: Likewise.
2315 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2316 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2317 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2318 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2320 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2321 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2322 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2323 * sysdeps/unix/bsd/times.c: Likewise.
2324 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2325 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2331 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2333 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2336 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2338 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2340 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2342 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2343 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2344 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2345 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2350 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2352 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2353 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2354 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2355 * sysdeps/x86_64/strcspn.S: Likewise.
2357 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2359 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2360 generated file. Regenerate properly from gen-translit.pl.
2361 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2362 locale/C-translit.h.
2364 2013-06-05 Andreas Schwab <schwab@suse.de>
2367 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2368 week as 6 instead of -1.
2369 * time/tst-strptime.c (day_tests): Add test case.
2371 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2373 * sysdeps/generic/math_private.h
2374 (libc_feholdexcept_setround_53bit): Replace with
2375 libc_feholdsetround_53bit.
2376 (libc_feupdateenv_53bit): Replace with
2377 libc_feresetround_53bit.
2378 (SET_RESTORE_ROUND_53BIT): Adjust.
2380 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2382 * string/test-strchrnul.c: Add copyright header.
2384 * posix/tst-getaddrinfo4.c: Increase test timeout.
2386 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2389 * math/libm-test.inc (MAX_EXP): Remove
2391 (ulp): Use MIN_EXP - MANT_DIG.
2392 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2394 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2396 * po/be.po: Revert last change.
2397 * po/zh_CN.po: Likewise.
2398 * po/header.pot: Likewise.
2400 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2402 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2403 link-libc-deps to empty as target-specific variable.
2404 * Makerules (link-libc-args): New variable.
2405 (libc-for-link): Likewise.
2406 (link-libc-deps): Likewise.
2407 (lib%.so): Depend on $(link-libc-deps). Link with
2409 (build-module): Link with $(link-libc-args).
2410 (build-module-asneeded): Likewise.
2411 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2413 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2414 target-specific variable.
2415 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2416 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2417 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2419 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2421 ($(objpfx)libpcprofile.so): Likewise.
2422 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2424 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2425 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2426 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2428 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2429 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2430 * login/Makefile ($(objpfx)libutil.so): Likewise.
2431 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2432 * math/Makefile ($(objpfx)libm.so): Likewise.
2433 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2434 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2435 variable instead of depending directly on libc.
2436 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2437 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2439 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2441 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2442 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2443 ($(objpfx)libanl.so): Likewise.
2444 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2446 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2448 * sysdeps/i386/fpu/Makefile: Remove file.
2449 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2450 ($(objpfx)libm.so): Remove dependency on ld.so.
2452 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2455 * nis/yp_xdr.c (XDRMAXNAME): Define.
2456 (XDRMAXRECORD): Define.
2457 (xdr_domainname): Use XDRMAXNAME.
2458 (xdr_mapname): Likewise.
2459 (xdr_peername): Likewise.
2460 (xdr_keydat): Use XDRMAXRECORD.
2461 (xdr_valdat): Likewise.
2463 2013-05-30 Jeff Law <law@redhat.com>
2466 * manual/errno.texi (ESTALE): Update to account for more than
2467 just NFS file systems.
2468 * sysdeps/gnu/errlist.c: Regenerated.
2470 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2473 * elf/Makefile (tests): Add tst-null-argv.
2474 (modules-names): Add tst-null-argv-lib.
2475 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2476 (tst-null-argv-ENV): Set environment for tst-null-argv.
2477 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2478 (RTLD_PROGNAME): New macro.
2479 * elf/tst-null-argv.c: New test case.
2480 * elf/tst-null-argv-lib.c: Library for test case.
2481 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2482 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2483 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2484 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2485 * elf/dl-init.c (call_init): Likewise.
2486 (_dl_init): Likewise.
2487 * elf/dl-load.c (print_search_path): Likewise.
2488 (_dl_map_object): Likewise.
2489 * elf/dl-lookup.c (do_lookup_x): Likewise.
2490 (add_dependency): Likewise.
2491 (_dl_lookup_symbol_x): Likewise.
2492 (_dl_debug_bindings): Likewise.
2493 * elf/dl-open.c (_dl_show_scope): Likewise.
2494 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2495 * elf/dl-version.c (match_symbol): Likewise.
2496 (_dl_check_map_versions): Likewise.
2497 * elf/rtld.c (dl_main): Likewise.
2498 (print_unresolved): Use RTLD_PROGNAME.
2499 (print_missing_version): Likewise.
2500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2501 (elf_machine_rela): Likewise.
2502 * sysdeps/powerpc/powerpc32/dl-machine.c
2503 (__process_machine_rela): Likewise.
2504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2515 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2517 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2519 * po/be.po: Add descriptive title.
2520 * po/zh_CN.po: Likewise.
2521 * po/header.pot: Likewise.
2523 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2525 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2527 (enlarge_archive): Likewise.
2529 2013-05-28 Ben North <ben@redfrontdoor.org>
2531 * manual/arith.texi (frexp): It is the magnitude of the return
2532 value which lies in [0.5, 1), not the return value itself.
2534 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2538 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2540 * stdio-common/bug26.c (main): Correct fscanf template.
2542 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2543 declare _dl_skip_args.
2545 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2548 * manual/platform.texi: Add missing @end deftypefun.
2550 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2553 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2554 bit of mantissa of 2^16382.
2555 * math/libm-test.inc (hypot_test_data): Add more tests.
2557 * math/libm-test.inc: Add drem and pow10 to list of tested
2559 (pow10_test): New function.
2560 (drem_test): Likewise.
2561 (drem_test_tonearest): Likewise.
2562 (drem_test_towardzero): Likewise.
2563 (drem_test_downward): Likewise.
2564 (drem_test_upward): Likewise.
2565 (main): Call the new functions.
2567 * math/libm-test.inc (finite_test_data): Remove.
2568 (finite_test): Run tests from isfinite_test_data.
2569 (gamma_test_data): Remove.
2570 (gamma_test): Run tests from lgamma_test_data.
2571 * sysdeps/i386/fpu/libm-test-ulps: Update.
2572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2574 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576 * manual/platform.texi: Add PowerPC PPR function set documentation.
2577 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2580 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2582 * math/libm-test.inc (MAX_EXP): Define.
2584 (ulp): New function.
2585 (check_float_internal): Use ULPDIFF.
2586 (cpow_test): Disable failing test.
2587 (check_ulp): Test ulp() implemetnation.
2588 (main): Call check_ulp before starting tests.
2590 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2592 * math/gen-libm-test.pl (generate_testfile): Do not handle
2593 START_DATA and END_DATA.
2594 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2596 (acos_tonearest_test_data): Likewise.
2597 (acos_towardzero_test_data): Likewise.
2598 (acos_downward_test_data): Likewise.
2599 (acos_upward_test_data): Likewise.
2600 (acosh_test_data): Likewise.
2601 (asin_test_data): Likewise.
2602 (asin_tonearest_test_data): Likewise.
2603 (asin_towardzero_test_data): Likewise.
2604 (asin_downward_test_data): Likewise.
2605 (asin_upward_test_data): Likewise.
2606 (asinh_test_data): Likewise.
2607 (atan_test_data): Likewise.
2608 (atanh_test_data): Likewise.
2609 (atan2_test_data): Likewise.
2610 (cabs_test_data): Likewise.
2611 (cacos_test_data): Likewise.
2612 (cacosh_test_data): Likewise.
2613 (carg_test_data): Likewise.
2614 (casin_test_data): Likewise.
2615 (casinh_test_data): Likewise.
2616 (catan_test_data): Likewise.
2617 (catanh_test_data): Likewise.
2618 (cbrt_test_data): Likewise.
2619 (ccos_test_data): Likewise.
2620 (ccosh_test_data): Likewise.
2621 (ceil_test_data): Likewise.
2622 (cexp_test_data): Likewise.
2623 (cimag_test_data): Likewise.
2624 (clog_test_data): Likewise.
2625 (clog10_test_data): Likewise.
2626 (conj_test_data): Likewise.
2627 (copysign_test_data): Likewise.
2628 (cos_test_data): Likewise.
2629 (cos_tonearest_test_data): Likewise.
2630 (cos_towardzero_test_data): Likewise.
2631 (cos_downward_test_data): Likewise.
2632 (cos_upward_test_data): Likewise.
2633 (cosh_test_data): Likewise.
2634 (cosh_tonearest_test_data): Likewise.
2635 (cosh_towardzero_test_data): Likewise.
2636 (cosh_downward_test_data): Likewise.
2637 (cosh_upward_test_data): Likewise.
2638 (cpow_test_data): Likewise.
2639 (cproj_test_data): Likewise.
2640 (creal_test_data): Likewise.
2641 (csin_test_data): Likewise.
2642 (csinh_test_data): Likewise.
2643 (csqrt_test_data): Likewise.
2644 (ctan_test_data): Likewise.
2645 (ctan_tonearest_test_data): Likewise.
2646 (ctan_towardzero_test_data): Likewise.
2647 (ctan_downward_test_data): Likewise.
2648 (ctan_upward_test_data): Likewise.
2649 (ctanh_test_data): Likewise.
2650 (ctanh_tonearest_test_data): Likewise.
2651 (ctanh_towardzero_test_data): Likewise.
2652 (ctanh_downward_test_data): Likewise.
2653 (ctanh_upward_test_data): Likewise.
2654 (erf_test_data): Likewise.
2655 (erfc_test_data): Likewise.
2656 (exp_test_data): Likewise.
2657 (exp_tonearest_test_data): Likewise.
2658 (exp_towardzero_test_data): Likewise.
2659 (exp_downward_test_data): Likewise.
2660 (exp_upward_test_data): Likewise.
2661 (exp10_test_data): Likewise.
2662 (exp2_test_data): Likewise.
2663 (expm1_test_data): Likewise.
2664 (fabs_test_data): Likewise.
2665 (fdim_test_data): Likewise.
2666 (finite_test_data): Likewise.
2667 (floor_test_data): Likewise.
2668 (fma_test_data): Likewise.
2669 (fma_towardzero_test_data): Likewise.
2670 (fma_downward_test_data): Likewise.
2671 (fma_upward_test_data): Likewise.
2672 (fmax_test_data): Likewise.
2673 (fmin_test_data): Likewise.
2674 (fmod_test_data): Likewise.
2675 (fpclassify_test_data): Likewise.
2676 (frexp_test_data): Likewise.
2677 (gamma_test_data): Likewise.
2678 (hypot_test_data): Likewise.
2679 (ilogb_test_data): Likewise.
2680 (isfinite_test_data): Likewise.
2681 (isgreater_test_data): Likewise.
2682 (isgreaterequal_test_data): Likewise.
2683 (isinf_test_data): Likewise.
2684 (isless_test_data): Likewise.
2685 (islessequal_test_data): Likewise.
2686 (islessgreater_test_data): Likewise.
2687 (isnan_test_data): Likewise.
2688 (isnormal_test_data): Likewise.
2689 (issignaling_test_data): Likewise.
2690 (isunordered_test_data): Likewise.
2691 (j0_test_data): Likewise.
2692 (j1_test_data): Likewise.
2693 (jn_test_data): Likewise.
2694 (ldexp_test_data): Likewise.
2695 (lgamma_test_data): Likewise.
2696 (lrint_test_data): Likewise.
2697 (lrint_tonearest_test_data): Likewise.
2698 (lrint_towardzero_test_data): Likewise.
2699 (lrint_downward_test_data): Likewise.
2700 (lrint_upward_test_data): Likewise.
2701 (llrint_test_data): Likewise.
2702 (llrint_tonearest_test_data): Likewise.
2703 (llrint_towardzero_test_data): Likewise.
2704 (llrint_downward_test_data): Likewise.
2705 (llrint_upward_test_data): Likewise.
2706 (log_test_data): Likewise.
2707 (log10_test_data): Likewise.
2708 (log1p_test_data): Likewise.
2709 (log2_test_data): Likewise.
2710 (logb_test_data): Likewise.
2711 (logb_downward_test_data): Likewise.
2712 (lround_test_data): Likewise.
2713 (llround_test_data): Likewise.
2714 (modf_test_data): Likewise.
2715 (nearbyint_test_data): Likewise.
2716 (nextafter_test_data): Likewise.
2717 (nexttoward_test_data): Likewise.
2718 (pow_test_data): Likewise.
2719 (pow_tonearest_test_data): Likewise.
2720 (pow_towardzero_test_data): Likewise.
2721 (pow_downward_test_data): Likewise.
2722 (pow_upward_test_data): Likewise.
2723 (remainder_test_data): Likewise.
2724 (remainder_tonearest_test_data): Likewise.
2725 (remainder_towardzero_test_data): Likewise.
2726 (remainder_downward_test_data): Likewise.
2727 (remainder_upward_test_data): Likewise.
2728 (remquo_test_data): Likewise.
2729 (rint_test_data): Likewise.
2730 (rint_tonearest_test_data): Likewise.
2731 (rint_towardzero_test_data): Likewise.
2732 (rint_downward_test_data): Likewise.
2733 (rint_upward_test_data): Likewise.
2734 (round_test_data): Likewise.
2735 (scalb_test_data): Likewise.
2736 (scalbn_test_data): Likewise.
2737 (scalbln_test_data): Likewise.
2738 (signbit_test_data): Likewise.
2739 (sin_test_data): Likewise.
2740 (sin_tonearest_test_data): Likewise.
2741 (sin_towardzero_test_data): Likewise.
2742 (sin_downward_test_data): Likewise.
2743 (sin_upward_test_data): Likewise.
2744 (sincos_test_data): Likewise.
2745 (sinh_test_data): Likewise.
2746 (sinh_tonearest_test_data): Likewise.
2747 (sinh_towardzero_test_data): Likewise.
2748 (sinh_downward_test_data): Likewise.
2749 (sinh_upward_test_data): Likewise.
2750 (sqrt_test_data): Likewise.
2751 (tan_test_data): Likewise.
2752 (tan_tonearest_test_data): Likewise.
2753 (tan_towardzero_test_data): Likewise.
2754 (tan_downward_test_data): Likewise.
2755 (tan_upward_test_data): Likewise.
2756 (tanh_test_data): Likewise.
2757 (tgamma_test_data): Likewise.
2758 (trunc_test_data): Likewise.
2759 (y0_test_data): Likewise.
2760 (y1_test_data): Likewise.
2761 (yn_test_data): Likewise.
2762 (significand_test_data): Likewise.
2764 * math/gen-libm-test.pl (@functions): Remove variable.
2765 (generate_testfile): Don't handle START and END lines.
2766 * math/libm-test.inc (START): New macro.
2768 (END_COMPLEX): Likewise.
2769 (acos_test): Use END macro without arguments.
2770 (acos_test_tonearest): Likewise.
2771 (acos_test_towardzero): Likewise.
2772 (acos_test_downward): Likewise.
2773 (acos_test_upward): Likewise.
2774 (acosh_test): Likewise.
2775 (asin_test): Likewise.
2776 (asin_test_tonearest): Likewise.
2777 (asin_test_towardzero): Likewise.
2778 (asin_test_downward): Likewise.
2779 (asin_test_upward): Likewise.
2780 (asinh_test): Likewise.
2781 (atan_test): Likewise.
2782 (atanh_test): Likewise.
2783 (atan2_test): Likewise.
2784 (cabs_test): Likewise.
2785 (cacos_test): Use END_COMPLEX macro without arguments.
2786 (cacosh_test): Likewise.
2787 (carg_test): Use END macro without arguments.
2788 (casin_test): Use END_COMPLEX macro without arguments.
2789 (casinh_test): Likewise.
2790 (catan_test): Likewise.
2791 (catanh_test): Likewise.
2792 (cbrt_test): Use END macro without arguments.
2793 (ccos_test): Use END_COMPLEX macro without arguments.
2794 (ccosh_test): Likewise.
2795 (ceil_test): Use END macro without arguments.
2796 (cexp_test): Use END_COMPLEX macro without arguments.
2797 (cimag_test): Use END macro without arguments.
2798 (clog_test): Use END_COMPLEX macro without arguments.
2799 (clog10_test): Likewise.
2800 (conj_test): Likewise.
2801 (copysign_test): Use END macro without arguments.
2802 (cos_test): Likewise.
2803 (cos_test_tonearest): Likewise.
2804 (cos_test_towardzero): Likewise.
2805 (cos_test_downward): Likewise.
2806 (cos_test_upward): Likewise.
2807 (cosh_test): Likewise.
2808 (cosh_test_tonearest): Likewise.
2809 (cosh_test_towardzero): Likewise.
2810 (cosh_test_downward): Likewise.
2811 (cosh_test_upward): Likewise.
2812 (cpow_test): Use END_COMPLEX macro without arguments.
2813 (cproj_test): Likewise.
2814 (creal_test): Use END macro without arguments.
2815 (csin_test): Use END_COMPLEX macro without arguments.
2816 (csinh_test): Likewise.
2817 (csqrt_test): Likewise.
2818 (ctan_test): Likewise.
2819 (ctan_test_tonearest): Likewise.
2820 (ctan_test_towardzero): Likewise.
2821 (ctan_test_downward): Likewise.
2822 (ctan_test_upward): Likewise.
2823 (ctanh_test): Likewise.
2824 (ctanh_test_tonearest): Likewise.
2825 (ctanh_test_towardzero): Likewise.
2826 (ctanh_test_downward): Likewise.
2827 (ctanh_test_upward): Likewise.
2828 (erf_test): Use END macro without arguments.
2829 (erfc_test): Likewise.
2830 (exp_test): Likewise.
2831 (exp_test_tonearest): Likewise.
2832 (exp_test_towardzero): Likewise.
2833 (exp_test_downward): Likewise.
2834 (exp_test_upward): Likewise.
2835 (exp10_test): Likewise.
2836 (exp2_test): Likewise.
2837 (expm1_test): Likewise.
2838 (fabs_test): Likewise.
2839 (fdim_test): Likewise.
2840 (finite_test): Likewise.
2841 (floor_test): Likewise.
2842 (fma_test): Likewise.
2843 (fma_test_towardzero): Likewise.
2844 (fma_test_downward): Likewise.
2845 (fma_test_upward): Likewise.
2846 (fmax_test): Likewise.
2847 (fmin_test): Likewise.
2848 (fmod_test): Likewise.
2849 (fpclassify_test): Likewise.
2850 (frexp_test): Likewise.
2851 (gamma_test): Likewise.
2852 (hypot_test): Likewise.
2853 (ilogb_test): Likewise.
2854 (isfinite_test): Likewise.
2855 (isgreater_test): Likewise.
2856 (isgreaterequal_test): Likewise.
2857 (isinf_test): Likewise.
2858 (isless_test): Likewise.
2859 (islessequal_test): Likewise.
2860 (islessgreater_test): Likewise.
2861 (isnan_test): Likewise.
2862 (isnormal_test): Likewise.
2863 (issignaling_test): Likewise.
2864 (isunordered_test): Likewise.
2865 (j0_test): Likewise.
2866 (j1_test): Likewise.
2867 (jn_test): Likewise.
2868 (ldexp_test): Likewise.
2869 (lgamma_test): Likewise.
2870 (lrint_test): Likewise.
2871 (lrint_test_tonearest): Likewise.
2872 (lrint_test_towardzero): Likewise.
2873 (lrint_test_downward): Likewise.
2874 (lrint_test_upward): Likewise.
2875 (llrint_test): Likewise.
2876 (llrint_test_tonearest): Likewise.
2877 (llrint_test_towardzero): Likewise.
2878 (llrint_test_downward): Likewise.
2879 (llrint_test_upward): Likewise.
2880 (log_test): Likewise.
2881 (log10_test): Likewise.
2882 (log1p_test): Likewise.
2883 (log2_test): Likewise.
2884 (logb_test): Likewise.
2885 (logb_test_downward): Likewise.
2886 (lround_test): Likewise.
2887 (llround_test): Likewise.
2888 (modf_test): Likewise.
2889 (nearbyint_test): Likewise.
2890 (nextafter_test): Likewise.
2891 (nexttoward_test): Likewise.
2892 (pow_test): Likewise.
2893 (pow_test_tonearest): Likewise.
2894 (pow_test_towardzero): Likewise.
2895 (pow_test_downward): Likewise.
2896 (pow_test_upward): Likewise.
2897 (remainder_test): Likewise.
2898 (remainder_test_tonearest): Likewise.
2899 (remainder_test_towardzero): Likewise.
2900 (remainder_test_downward): Likewise.
2901 (remainder_test_upward): Likewise.
2902 (remquo_test): Likewise.
2903 (rint_test): Likewise.
2904 (rint_test_tonearest): Likewise.
2905 (rint_test_towardzero): Likewise.
2906 (rint_test_downward): Likewise.
2907 (rint_test_upward): Likewise.
2908 (round_test): Likewise.
2909 (scalb_test): Likewise.
2910 (scalbn_test): Likewise.
2911 (scalbln_test): Likewise.
2912 (signbit_test): Likewise.
2913 (sin_test): Likewise.
2914 (sin_test_tonearest): Likewise.
2915 (sin_test_towardzero): Likewise.
2916 (sin_test_downward): Likewise.
2917 (sin_test_upward): Likewise.
2918 (sincos_test): Likewise.
2919 (sinh_test): Likewise.
2920 (sinh_test_tonearest): Likewise.
2921 (sinh_test_towardzero): Likewise.
2922 (sinh_test_downward): Likewise.
2923 (sinh_test_upward): Likewise.
2924 (sqrt_test): Likewise.
2925 (tan_test): Likewise.
2926 (tan_test_tonearest): Likewise.
2927 (tan_test_towardzero): Likewise.
2928 (tan_test_downward): Likewise.
2929 (tan_test_upward): Likewise.
2930 (tanh_test): Likewise.
2931 (tgamma_test): Likewise.
2932 (trunc_test): Likewise.
2933 (y0_test): Likewise.
2934 (y1_test): Likewise.
2935 (yn_test): Likewise.
2936 (significand_test): Likewise.
2938 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2941 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2943 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2946 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2947 __ppc_mdoio and __ppc_mdoom.
2948 * manual/platform.texi: Document new functions __ppc_yield,
2949 __ppc_mdoio and __ppc_mdoom.
2951 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2953 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2954 (main): Mention "tls" pseudo-hwcap is legacy.
2955 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2957 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2959 * math/gen-libm-test.pl (parse_args): Output only string of
2960 arguments as text for test name, not full call or descriptions of
2961 tests for extra outputs.
2962 (generate_testfile): Do not pass function name to parse_args.
2963 Generate this_func variable from START.
2964 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2966 (struct test_ff_f_data): Likewise.
2967 (test_ff_f_data_nexttoward): Likewise.
2968 (struct test_fi_f_data): Likewise.
2969 (struct test_fl_f_data): Likewise.
2970 (struct test_if_f_data): Likewise.
2971 (struct test_fff_f_data): Likewise.
2972 (struct test_c_f_data): Likewise.
2973 (struct test_f_f1_data): Likewise. Remove field extra_name.
2974 (struct test_fF_f1_data): Likewise.
2975 (struct test_ffI_f1_data): Likewise.
2976 (struct test_c_c_data): Rename test_name field to arg_str.
2977 (struct test_cc_c_data): Likewise.
2978 (struct test_f_i_data): Likewise.
2979 (struct test_ff_i_data): Likewise.
2980 (struct test_f_l_data): Likewise.
2981 (struct test_f_L_data): Likewise.
2982 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2984 (COMMON_TEST_SETUP): New macro.
2985 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2986 (COMMON_TEST_CLEANUP): Likewise.
2987 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2988 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2990 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2991 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2993 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2994 (RUN_TEST_fff_f): Take argument string. Call new setup and
2996 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2997 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2999 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3000 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3002 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3003 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3005 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3006 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3008 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3009 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3011 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3012 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3014 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3015 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3017 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3018 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3020 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3021 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3023 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3024 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3026 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3027 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3029 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3030 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3032 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3033 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3035 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3036 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3038 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3039 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3041 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3043 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3046 to _sifields.sigfault.
3047 (si_addr_lsb): Define new macro.
3048 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3049 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3052 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3055 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3057 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3059 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3062 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3064 * math/gen-libm-test.pl (parse_args): Do not include expected
3065 result in test name.
3066 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3068 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3070 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3073 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3075 * benchtests/Makefile: Sort function entries.
3077 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3078 tanh, asinh, acosh, atanh.
3079 * benchtests/acos-inputs: New file.
3080 * benchtests/acosh-inputs: New file.
3081 * benchtests/asin-inputs: New file.
3082 * benchtests/asinh-inputs: New file.
3083 * benchtests/atanh-inputs: New file.
3084 * benchtests/cosh-inputs: New file.
3085 * benchtests/log-inputs: New file.
3086 * benchtests/sinh-inputs: New file.
3087 * benchtests/tanh-inputs: New file.
3089 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3092 * posix/tst-getaddrinfo4.c: New test.
3093 * posix/Makefile (tests): Add it.
3095 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3098 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3099 when no services were used.
3100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3101 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3103 2013-05-21 Andreas Schwab <schwab@suse.de>
3106 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3107 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3109 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3110 redundant variable declarations and reallocation of buffer when
3111 parsing as IPv6 address. Always set NSS status when called from
3112 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3113 buffer too small. Correct computation of needed size.
3114 * nss/Makefile (tests): Add test-digits-dots.
3115 * nss/test-digits-dots.c: New test.
3117 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3119 * benchtests/Makefile: Remove instructions for adding
3121 * benchtests/README: New file to explain how to execute and
3122 enhance the benchmark tests.
3124 2013-05-21 Andreas Schwab <schwab@suse.de>
3127 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3128 * setjmp/tst-sigsetjmp.c: New test.
3130 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3132 * sysdeps/x86_64/memset.S (memset): New implementation.
3133 (__bzero): Likewise.
3134 (__memset_tail): New function.
3136 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3138 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3139 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3140 __memcpy_sse2_unaligned ifunc selection.
3141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3142 Add memcpy-sse2-unaligned.S.
3143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3144 Add: __memcpy_sse2_unaligned.
3146 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3149 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3150 math_force_eval before restoring floating-point envrionment.
3151 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3154 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3156 (__nearbyintl): Use math_force_eval before restoring
3157 floating-point environment.
3158 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3160 * math/gen-libm-test.pl (special_functions): Remove.
3161 (parse_args): Don't handle TEST_extra. Handle functions with no
3163 * math/libm-test.inc (struct test_sincos_data): Replace with
3164 struct test_fFF_11_data.
3165 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3166 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3167 (sincos_test_data): Change element type to struct
3168 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3169 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3170 RUN_TEST_LOOP_sincos.
3171 * math/README.libm-test: Don't mention special handling of
3172 individual functions.
3173 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3175 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3176 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3180 * math/gen-libm-test.pl (get_variable): Remove function.
3181 (parse_args): Don't show pointer parameters to call in test
3182 names. Use "extra output N" in test names for extra outputs
3183 rather than naming variables.
3185 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3188 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3189 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3190 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3192 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3194 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3197 * math/gen-libm-test.pl (@tests): Remove variable.
3199 (new_test): Remove function.
3200 (show_exceptions): New function.
3201 (special_functions): Use show_exceptions instead of new_test.
3202 (parse_args): Likewise.
3203 (generate_testfile): Pass only function name in generated call to
3204 print_max_error or print_complex_max_error.
3205 (get_ulps): Do not handle complex tests specially.
3206 (output_test): Rename to ...
3207 (get_all_ulps_for_test): ... this. Return a string rather than
3208 printing to a file. Require ulps to be present.
3209 (output_ulps): Generate arrays rather than #defines.
3210 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3211 (struct ulp_data): New type.
3212 (BUILD_COMPLEX_ULP): Remove macro.
3213 (compare_ulp_data): New function.
3214 (find_ulps): Likewise.
3215 (find_test_ulps): Likewise.
3216 (find_function_ulps): Likewise.
3217 (find_complex_function_ulps): Likewise.
3218 (print_max_error): Determine allowed ulps using
3220 (print_complex_max_error): Determine allowed ulps using
3221 find_complex_function_ulps.
3222 (check_float_internal): Determine max ulps using find_test_ulps.
3223 (check_float): Do not take max_ulp parameter. Update call to
3224 check_float_internal.
3225 (check_complex): Likewise.
3226 (check_int): Do not take max_ulp parameter.
3227 (check_long): Likewise.
3228 (check_bool): Likewise.
3229 (check_longlong): Likewise.
3230 (struct test_f_f_data): Remove max_ulp field.
3231 (struct test_ff_f_data): Likewise.
3232 (struct test_ff_f_data_nexttoward): Likewise.
3233 (struct test_fi_f_data): Likewise.
3234 (struct test_fl_f_data): Likewise.
3235 (struct test_if_f_data): Likewise.
3236 (struct test_fff_f_data): Likewise.
3237 (struct test_c_f_data): Likewise.
3238 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3239 (struct test_fF_f1_data): Likewise.
3240 (struct test_ffI_f1_data): Likewise.
3241 (struct test_c_c_data): Remove max_ulp field.
3242 (struct test_cc_c_data): Likewise.
3243 (struct test_f_i_data): Likewise.
3244 (struct test_ff_i_data): Likewise.
3245 (struct test_f_l_data): Likewise.
3246 (struct test_f_L_data): Likewise.
3247 (struct test_sincos_data): Likewise.
3248 (RUN_TEST_f_f): Do not handle ulps.
3249 (RUN_TEST_LOOP_f_f): Likewise.
3250 (RUN_TEST_2_f): Likewise.
3251 (RUN_TEST_LOOP_2_f): Likewise.
3252 (RUN_TEST_fff_f): Likewise.
3253 (RUN_TEST_LOOP_fff_f): Likewise.
3254 (RUN_TEST_c_f): Likewise.
3255 (RUN_TEST_LOOP_c_f): Likewise.
3256 (RUN_TEST_f_f1): Likewise.
3257 (RUN_TEST_LOOP_f_f1): Likewise.
3258 (RUN_TEST_fF_f1): Likewise.
3259 (RUN_TEST_LOOP_fF_f1): Likewise.
3260 (RUN_TEST_fI_f1): Likewise.
3261 (RUN_TEST_LOOP_fI_f1): Likewise.
3262 (RUN_TEST_ffI_f1): Likewise.
3263 (RUN_TEST_LOOP_ffI_f1): Likewise.
3264 (RUN_TEST_c_c): Likewise.
3265 (RUN_TEST_LOOP_c_c): Likewise.
3266 (RUN_TEST_cc_c): Likewise.
3267 (RUN_TEST_LOOP_cc_c): Likewise.
3268 (RUN_TEST_f_i): Likewise.
3269 (RUN_TEST_LOOP_f_i): Likewise.
3270 (RUN_TEST_f_i_tg): Likewise.
3271 (RUN_TEST_LOOP_f_i_tg): Likewise.
3272 (RUN_TEST_ff_i_tg): Likewise.
3273 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3274 (RUN_TEST_f_b): Likewise.
3275 (RUN_TEST_LOOP_f_b): Likewise.
3276 (RUN_TEST_f_b_tg): Likewise.
3277 (RUN_TEST_LOOP_f_b_tg): Likewise.
3278 (RUN_TEST_f_l): Likewise.
3279 (RUN_TEST_LOOP_f_l): Likewise.
3280 (RUN_TEST_f_L): Likewise.
3281 (RUN_TEST_LOOP_f_L): Likewise.
3282 (RUN_TEST_sincos): Likewise.
3283 (RUN_TEST_LOOP_sincos): Likewise.
3285 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3289 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3290 main case of finite arguments, set rounding mode to FE_TONEAREST
3291 and discard exceptions.
3292 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3294 (remainder_tonearest_test_data): New variable.
3295 (remainder_test_tonearest): New function.
3296 (remainder_towardzero_test_data): New variable.
3297 (remainder_test_towardzero): New function.
3298 (remainder_downward_test_data): New variable.
3299 (remainder_test_downward): New function.
3300 (remainder_upward_test_data): New variable.
3301 (remainder_test_upward): New function.
3302 (main): Call the new test functions.
3304 * math/libm-test.inc (struct test_f_f1_data): Remove field
3306 (struct test_fF_f1_data): Likewise.
3307 (struct test_ffI_f1_data): Likewise.
3308 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3309 based on value of EXTRA_EXPECTED.
3310 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3311 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3312 EXTRA_VAR based on value of EXTRA_EXPECTED.
3313 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3314 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3315 EXTRA_VAR based on value of EXTRA_EXPECTED.
3316 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3317 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3318 EXTRA_VAR based on value of EXTRA_EXPECTED.
3319 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3320 * math/gen-libm-test.pl (parse_args): Don't output initializers
3321 for extra output values.
3323 * math/libm-test.inc (check_int): Expect result to be exactly
3324 equal to expected value and do not handle ulps.
3325 (check_long): Likewise.
3326 (check_longlong): Likewise.
3328 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3330 (cimag_test_data): Likewise.
3331 (conj_test_data): Likewise.
3332 (copysign_test_data): Likewise.
3333 (cproj_test_data): Likewise.
3334 (creal_test_data): Likewise.
3335 (fabs_test_data): Likewise.
3336 (fdim_test_data): Likewise.
3337 (finite_test_data): Likewise.
3338 (floor_test_data): Likewise.
3339 (fmax_test_data): Likewise.
3340 (fmin_test_data): Likewise.
3341 (fmod_test_data): Likewise.
3342 (fpclassify_test_data): Likewise.
3343 (frexp_test_data): Likewise.
3344 (ilogb_test_data): Likewise.
3345 (isfinite_test_data): Likewise.
3346 (isgreater_test_data): Likewise.
3347 (isgreaterequal_test_data): Likewise.
3348 (isinf_test_data): Likewise.
3349 (isless_test_data): Likewise.
3350 (islessequal_test_data): Likewise.
3351 (islessgreater_test_data): Likewise.
3352 (isnan_test_data): Likewise.
3353 (isnormal_test_data): Likewise.
3354 (issignaling_test_data): Likewise.
3355 (isunordered_test_data): Likewise.
3356 (ldexp_test_data): Likewise.
3357 (lrint_test_data): Likewise.
3358 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3359 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3360 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3361 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3362 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3363 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3365 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3366 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3367 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3368 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3370 (lrint_downward_test_data): Test for "inexact" exceptions.
3371 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3372 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3373 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3375 (lrint_upward_test_data): Test for "inexact" exceptions.
3376 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3378 (llrint_test_data): Test for "inexact" exceptions.
3379 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3380 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3381 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3382 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3383 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3384 (llrint_downward_test_data): Test for "inexact" exceptions.
3385 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3386 (llrint_upward_test_data): Test for "inexact" exceptions.
3387 (logb_test_data): Likewise.
3388 (logb_downward_test_data): Likewise.
3389 (nextafter_test_data): Likewise.
3390 (nexttoward_test_data): Likewise.
3391 (remainder_test_data): Likewise.
3392 (remquo_test_data): Likewise.
3393 (scalbn_test_data): Likewise.
3394 (scalbln_test_data): Likewise.
3395 (signbit_test_data): Likewise.
3396 (sqrt_test_data): Likewise.
3397 (significand_test_data): Likewise.
3399 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3402 * benchtests/bench-modf.c (struct args): Mark arg0 as
3404 * scripts/bench.pl: Mark members of struct args as volatile.
3406 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3409 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3410 negative infinity on POWER6 or lower.
3411 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3413 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3416 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3417 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3418 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3419 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3420 (_FP_SETQNAN): New macro.
3421 (_FP_SETQNAN_SEMIRAW): Likewise.
3422 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3423 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3424 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3425 (FP_EXTEND): Use _FP_FRAC_SNANP.
3426 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3427 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3429 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3431 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3434 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3436 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3437 with DIVIDE_BY_ZERO_EXCEPTION.
3438 (gamma_test_data): Likewise.
3439 (lgamma_test_data): Likewise.
3440 (log_test_data): Likewise.
3441 (log10_test_data): Likewise.
3442 (log2_test_data): Likewise.
3443 (tgamma_test_data): Likewise.
3445 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3446 (acos_test_tonearest): Likewise.
3447 (acos_test_towardzero): Likewise.
3448 (acos_test_downward): Likewise.
3449 (acos_test_upward): Likewise.
3450 (acosh_test): Likewise.
3451 (asin_test): Likewise.
3452 (asin_test_tonearest): Likewise.
3453 (asin_test_towardzero): Likewise.
3454 (asin_test_downward): Likewise.
3455 (asin_test_upward): Likewise.
3456 (asinh_test): Likewise.
3457 (atan_test): Likewise.
3458 (atanh_test): Likewise.
3459 (atan2_test): Likewise.
3460 (cabs_test): Likewise.
3461 (cacos_test): Likewise.
3462 (cacosh_test): Likewise.
3463 (casin_test): Likewise.
3464 (casinh_test): Likewise.
3465 (catan_test): Likewise.
3466 (catanh_test): Likewise.
3467 (cbrt_test): Likewise.
3468 (ccos_test): Likewise.
3469 (ccosh_test): Likewise.
3470 (cexp_test): Likewise.
3471 (clog_test): Likewise.
3472 (clog10_test): Likewise.
3473 (cos_test): Likewise.
3474 (cos_test_tonearest): Likewise.
3475 (cos_test_towardzero): Likewise.
3476 (cos_test_downward): Likewise.
3477 (cos_test_upward): Likewise.
3478 (cosh_test): Likewise.
3479 (cosh_test_tonearest): Likewise.
3480 (cosh_test_towardzero): Likewise.
3481 (cosh_test_downward): Likewise.
3482 (cosh_test_upward): Likewise.
3483 (cpow_test): Likewise.
3484 (csin_test): Likewise.
3485 (csinh_test): Likewise.
3486 (csqrt_test): Likewise.
3487 (ctan_test): Likewise.
3488 (ctan_test_tonearest): Likewise.
3489 (ctan_test_towardzero): Likewise.
3490 (ctan_test_downward): Likewise.
3491 (ctan_test_upward): Likewise.
3492 (ctanh_test): Likewise.
3493 (ctanh_test_tonearest): Likewise.
3494 (ctanh_test_towardzero): Likewise.
3495 (ctanh_test_downward): Likewise.
3496 (ctanh_test_upward): Likewise.
3497 (erf_test): Likewise.
3498 (erfc_test): Likewise.
3499 (exp_test): Likewise.
3500 (exp_test_tonearest): Likewise.
3501 (exp_test_towardzero): Likewise.
3502 (exp_test_downward): Likewise.
3503 (exp_test_upward): Likewise.
3504 (exp10_test): Likewise.
3505 (exp2_test): Likewise.
3506 (expm1_test): Likewise.
3507 (fmod_test): Likewise.
3508 (gamma_test): Likewise.
3509 (hypot_test): Likewise.
3510 (j0_test): Likewise.
3511 (j1_test): Likewise.
3512 (jn_test): Likewise.
3513 (lgamma_test): Likewise.
3514 (log_test): Likewise.
3515 (log10_test): Likewise.
3516 (log1p_test): Likewise.
3517 (log2_test): Likewise.
3518 (logb_test_downward): Likewise.
3519 (pow_test): Likewise.
3520 (pow_test_tonearest): Likewise.
3521 (pow_test_towardzero): Likewise.
3522 (pow_test_downward): Likewise.
3523 (pow_test_upward): Likewise.
3524 (remainder_test): Likewise.
3525 (remquo_test): Likewise.
3526 (sin_test): Likewise.
3527 (sin_test_tonearest): Likewise.
3528 (sin_test_towardzero): Likewise.
3529 (sin_test_downward): Likewise.
3530 (sin_test_upward): Likewise.
3531 (sincos_test): Likewise.
3532 (sinh_test): Likewise.
3533 (sinh_test_tonearest): Likewise.
3534 (sinh_test_towardzero): Likewise.
3535 (sinh_test_downward): Likewise.
3536 (sinh_test_upward): Likewise.
3537 (sqrt_test): Likewise.
3538 (tan_test): Likewise.
3539 (tan_test_tonearest): Likewise.
3540 (tan_test_towardzero): Likewise.
3541 (tan_test_downward): Likewise.
3542 (tan_test_upward): Likewise.
3543 (tanh_test): Likewise.
3544 (tgamma_test): Likewise.
3545 (y0_test): Likewise.
3546 (y1_test): Likewise.
3547 (yn_test): Likewise.
3549 * math/gen-libm-test.pl (adjust_arg): Remove function.
3550 (special_function): Remove argument $in_func. Only handle
3551 generating output for tables of tests, not inside functions.
3552 (parse_args): Likewise.
3553 (generate_testfile): Remove variable $in_func. Update call to
3555 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3556 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3557 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3558 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3559 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3560 (MAX_VALUE_INIT): Rename macro to max_value.
3561 (MIN_VALUE_INIT): Rename macro to min_value.
3562 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3563 (plus_zero): Remove variable.
3564 (minus_zero): Likewise.
3565 (plus_infty): Likewise.
3566 (minus_infty): Likewise.
3567 (qnan_value): Likewise.
3568 (max_value): Likewise.
3569 (min_value): Likewise.
3570 (min_subnorm_value): Likewise.
3572 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3574 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3575 uint64_t or uint32_t usage.
3576 * crypt/sha256-block.c: Likewise.
3577 * crypt/sha256-crypt.c: Likewise.
3578 * crypt/sha256.c: Likewise.
3579 * crypt/sha512-block.c: Likewise.
3580 * crypt/sha512-crypt.c: Likewise.
3581 * crypt/sha512.c: Likewise.
3582 * debug/backtrace-tst.c: Likewise.
3583 * debug/pcprofiledump.c: Likewise.
3584 * elf/cache.c: Likewise.
3585 * elf/dl-cache.c: Likewise.
3586 * elf/dl-misc.c: Likewise.
3587 * elf/dl-profile.c: Likewise.
3588 * elf/dl-support.c: Likewise.
3589 * elf/ldconfig.c: Likewise.
3590 * elf/sprof.c: Likewise.
3591 * iconv/dummy-repertoire.c: Likewise.
3592 * iconv/iconv_charmap.c: Likewise.
3593 * iconv/skeleton.c: Likewise.
3594 * iconvdata/8bit-generic.c: Likewise.
3595 * iconvdata/cp737.h: Likewise.
3596 * iconvdata/cp775.h: Likewise.
3597 * iconvdata/ibm1008.h: Likewise.
3598 * iconvdata/ibm1025.h: Likewise.
3599 * iconvdata/ibm1046.h: Likewise.
3600 * iconvdata/ibm1097.h: Likewise.
3601 * iconvdata/ibm1112.h: Likewise.
3602 * iconvdata/ibm1122.h: Likewise.
3603 * iconvdata/ibm1123.h: Likewise.
3604 * iconvdata/ibm1124.h: Likewise.
3605 * iconvdata/ibm1129.h: Likewise.
3606 * iconvdata/ibm1130.h: Likewise.
3607 * iconvdata/ibm1132.h: Likewise.
3608 * iconvdata/ibm1133.h: Likewise.
3609 * iconvdata/ibm1137.h: Likewise.
3610 * iconvdata/ibm1140.h: Likewise.
3611 * iconvdata/ibm1141.h: Likewise.
3612 * iconvdata/ibm1142.h: Likewise.
3613 * iconvdata/ibm1143.h: Likewise.
3614 * iconvdata/ibm1144.h: Likewise.
3615 * iconvdata/ibm1145.h: Likewise.
3616 * iconvdata/ibm1146.h: Likewise.
3617 * iconvdata/ibm1147.h: Likewise.
3618 * iconvdata/ibm1148.h: Likewise.
3619 * iconvdata/ibm1149.h: Likewise.
3620 * iconvdata/ibm1153.h: Likewise.
3621 * iconvdata/ibm1154.h: Likewise.
3622 * iconvdata/ibm1155.h: Likewise.
3623 * iconvdata/ibm1156.h: Likewise.
3624 * iconvdata/ibm1157.h: Likewise.
3625 * iconvdata/ibm1158.h: Likewise.
3626 * iconvdata/ibm1160.h: Likewise.
3627 * iconvdata/ibm1161.h: Likewise.
3628 * iconvdata/ibm1162.h: Likewise.
3629 * iconvdata/ibm1163.h: Likewise.
3630 * iconvdata/ibm1164.h: Likewise.
3631 * iconvdata/ibm1166.h: Likewise.
3632 * iconvdata/ibm1167.h: Likewise.
3633 * iconvdata/ibm12712.h: Likewise.
3634 * iconvdata/ibm1390.h: Likewise.
3635 * iconvdata/ibm1399.h: Likewise.
3636 * iconvdata/ibm16804.h: Likewise.
3637 * iconvdata/ibm4517.h: Likewise.
3638 * iconvdata/ibm4899.h: Likewise.
3639 * iconvdata/ibm4909.h: Likewise.
3640 * iconvdata/ibm4971.h: Likewise.
3641 * iconvdata/ibm5347.h: Likewise.
3642 * iconvdata/ibm803.h: Likewise.
3643 * iconvdata/ibm856.h: Likewise.
3644 * iconvdata/ibm901.h: Likewise.
3645 * iconvdata/ibm902.h: Likewise.
3646 * iconvdata/ibm9030.h: Likewise.
3647 * iconvdata/ibm9066.h: Likewise.
3648 * iconvdata/ibm921.h: Likewise.
3649 * iconvdata/ibm922.h: Likewise.
3650 * iconvdata/ibm9448.h: Likewise.
3651 * iconvdata/isiri-3342.h: Likewise.
3652 * iconvdata/jis0201.h: Likewise.
3653 * include/link.h: Likewise.
3654 * include/netdb.h: Likewise.
3655 * inet/check_native.c: Likewise.
3656 * inet/check_pf.c: Likewise.
3657 * inet/getipv4sourcefilter.c: Likewise.
3658 * inet/getnameinfo.c: Likewise.
3659 * inet/getsourcefilter.c: Likewise.
3660 * inet/htonl.c: Likewise.
3661 * inet/setipv4sourcefilter.c: Likewise.
3662 * inet/setsourcefilter.c: Likewise.
3663 * inet/test-inet6_opt.c: Likewise.
3664 * inet/tst-network.c: Likewise.
3665 * locale/C-collate.c: Likewise.
3666 * locale/C-ctype.c: Likewise.
3667 * locale/C-time.c: Likewise.
3668 * locale/C-translit.h: Likewise.
3669 * locale/loadarchive.c: Likewise.
3670 * locale/programs/3level.h: Likewise.
3671 * locale/programs/charmap.c: Likewise.
3672 * locale/programs/charmap.h: Likewise.
3673 * locale/programs/ld-address.c: Likewise.
3674 * locale/programs/ld-collate.c: Likewise.
3675 * locale/programs/ld-ctype.c: Likewise.
3676 * locale/programs/ld-identification.c: Likewise.
3677 * locale/programs/ld-measurement.c: Likewise.
3678 * locale/programs/ld-messages.c: Likewise.
3679 * locale/programs/ld-monetary.c: Likewise.
3680 * locale/programs/ld-name.c: Likewise.
3681 * locale/programs/ld-numeric.c: Likewise.
3682 * locale/programs/ld-paper.c: Likewise.
3683 * locale/programs/ld-telephone.c: Likewise.
3684 * locale/programs/ld-time.c: Likewise.
3685 * locale/programs/linereader.c: Likewise.
3686 * locale/programs/locale.c: Likewise.
3687 * locale/programs/locarchive.c: Likewise.
3688 * locale/programs/locfile.h: Likewise.
3689 * locale/programs/repertoire.c: Likewise.
3690 * locale/programs/simple-hash.c: Likewise.
3691 * locale/programs/simple-hash.h: Likewise.
3692 * malloc/memusage.c: Likewise.
3693 * malloc/memusagestat.c: Likewise.
3694 * nis/nis_defaults.c: Likewise.
3695 * nis/nis_hash.c: Likewise.
3696 * nis/nis_print.c: Likewise.
3697 * nis/nis_xdr.c: Likewise.
3698 * nscd/connections.c: Likewise.
3699 * nscd/hstcache.c: Likewise.
3700 * nscd/nscd_gethst_r.c: Likewise.
3701 * nscd/nscd_getserv_r.c: Likewise.
3702 * nscd/nscd_helper.c: Likewise.
3703 * nscd/servicescache.c: Likewise.
3704 * nss/makedb.c: Likewise.
3705 * nss/nss_db/db-XXX.c: Likewise.
3706 * nss/nss_db/db-initgroups.c: Likewise.
3707 * nss/nss_db/db-netgrp.c: Likewise.
3708 * nss/nss_files/files-network.c: Likewise.
3709 * nss/nss_files/files-parse.c: Likewise.
3710 * posix/bug-regex5.c: Likewise.
3711 * posix/fnmatch_loop.c: Likewise.
3712 * posix/regcomp.c: Likewise.
3713 * posix/regexec.c: Likewise.
3714 * posix/tst-rfc3484-2.c: Likewise.
3715 * posix/tst-rfc3484-3.c: Likewise.
3716 * posix/tst-rfc3484.c: Likewise.
3717 * resolv/nss_dns/dns-canon.c: Likewise.
3718 * resolv/nss_dns/dns-network.c: Likewise.
3719 * resolv/res_init.c: Likewise.
3720 * resolv/res_mkquery.c: Likewise.
3721 * resolv/tst-aton.c: Likewise.
3722 * stdlib/cxa_atexit.c: Likewise.
3723 * stdlib/cxa_finalize.c: Likewise.
3724 * stdlib/gen-fpioconst.c: Likewise.
3725 * stdlib/strtol_l.c: Likewise.
3726 * string/tst-endian.c: Likewise.
3727 * sunrpc/auth_des.c: Likewise.
3728 * sunrpc/clnt_udp.c: Likewise.
3729 * sunrpc/rtime.c: Likewise.
3730 * sunrpc/svcauth_des.c: Likewise.
3731 * sunrpc/xdr.c: Likewise.
3732 * sunrpc/xdr_intXX_t.c: Likewise.
3733 * sunrpc/xdr_rec.c: Likewise.
3734 * sysdeps/generic/ldconfig.h: Likewise.
3735 * sysdeps/generic/ldsodefs.h: Likewise.
3736 * sysdeps/generic/memusage.h: Likewise.
3737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3740 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3747 * sysdeps/posix/getaddrinfo.c: Likewise.
3748 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3749 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3750 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3752 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3753 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3754 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3755 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3756 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3757 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3759 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3760 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3761 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3763 * sysdeps/x86_64/dl-tls.h: Likewise.
3764 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3765 * time/alt_digit.c: Likewise.
3766 * time/era.c: Likewise.
3767 * wcsmbs/tst-c16c32-1.c: Likewise.
3769 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3771 * math/libm-test.inc (struct test_sincos_data): New type.
3772 (RUN_TEST_LOOP_sincos): New macro.
3773 (sincos_test_data): New variable.
3774 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3776 2013-05-16 Richard Henderson <rth@redhat.com>
3778 * math/atest-exp2.c (LIMB64): New macro.
3779 (CONSTSZ): New macro.
3780 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3782 (print_mpn_fp): ... to function scope.
3783 (read_mpn_hex): Remove.
3785 (exp2_mpn): Use mp_log2.
3786 (main): Use mp_exp1.
3788 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3790 * math/libm-test.inc: Remove comment about not testing "inexact"
3792 (INEXACT_EXCEPTION): New macro.
3793 (NO_INEXACT_EXCEPTION): Likewise.
3794 (INVALID_EXCEPTION_OK): Update value.
3795 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3796 (OVERFLOW_EXCEPTION_OK): Likewise.
3797 (UNDERFLOW_EXCEPTION_OK): Likewise.
3798 (IGNORE_ZERO_INF_SIGN): Likewise.
3799 (ERRNO_UNCHANGED): Likewise.
3800 (ERRNO_EDOM): Likewise.
3801 (ERRNO_ERANGE): Likewise.
3802 (test_exceptions): Handle testing "inexact" exceptions.
3803 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3804 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3805 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3806 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3808 (rint_towardzero_test_data): Likewise.
3809 (rint_downward_test_data): Likewise.
3810 (rint_upward_test_data): Likewise.
3812 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3813 with OVERFLOW_EXCEPTION.
3814 (exp10_test_data): Likewise.
3815 (exp2_test_data): Likewise.
3816 (expm1_test_data): Likewise.
3817 (lgamma_test_data): Likewise.
3818 (pow_test_data): Likewise.
3819 (tgamma_test_data): Likewise.
3820 (yn_test_data): Remove duplicate test of overflow.
3822 * math/libm-test.inc (struct test_cc_c_data): New type.
3823 (RUN_TEST_LOOP_cc_c): New macro.
3824 (cpow_test_data): New variable.
3825 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3827 * math/libm-test.inc (struct test_f_L_data): New type.
3828 (RUN_TEST_LOOP_f_L): New macro.
3829 (llrint_test_data): New variable.
3830 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3831 (llrint_tonearest_test_data): New variable.
3832 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3833 (llrint_towardzero_test_data): New variable.
3834 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3835 (llrint_downward_test_data): New variable.
3836 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3837 (llrint_upward_test_data): New variable.
3838 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3839 (llround_test_data): New variable.
3840 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3842 2013-05-13 Peter Collingbourne <pcc@google.com>
3844 * math/atest-exp2.c (get_log2): Remove const attribute.
3846 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3848 * math/libm-test.inc (struct test_f_l_data): New type.
3849 (RUN_TEST_LOOP_f_l): New macro.
3850 (lrint_test_data): New variable.
3851 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3852 (lrint_tonearest_test_data): New variable.
3853 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3854 (lrint_towardzero_test_data): New variable.
3855 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3856 (lrint_downward_test_data): New variable.
3857 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3858 (lrint_upward_test_data): New variable.
3859 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3860 (lround_test_data): New variable.
3861 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3863 2013-05-15 Peter Collingbourne <pcc@google.com>
3865 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3866 (EXTRACT_WORDS64) Use where appropriate.
3867 (INSERT_WORDS64) Likewise.
3869 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3870 constraints with x constraints.
3871 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3873 * malloc/obstack.c (_obstack_compat): Add initializer.
3875 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3877 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3878 si_trapno and add si_addr_lsb to _sifields.sigfault.
3879 (si_trapno): Remove macro.
3880 (si_addr_lsb): Define new macro.
3881 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3883 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3885 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3886 instead of TEST_f_l.
3887 (llrint_test_tonearest): Likewise.
3888 (llrint_test_towardzero): Likewise.
3889 (llrint_test_downward): Likewise.
3890 (llrint_test_upward): Likewise.
3891 (llround_test): Likewise.
3893 * math/libm-test.inc (struct test_f_i_data): Add comment.
3894 (RUN_TEST_LOOP_f_b): New macro.
3895 (RUN_TEST_LOOP_f_b_tg): Likewise.
3896 (finite_test_data): New variable.
3897 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3898 (isfinite_test_data): New variable.
3899 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3900 (isinf_test_data): New variable.
3901 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3902 (isnan_test_data): New variable.
3903 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3904 (isnormal_test_data): New variable.
3905 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3906 (issignaling_test_data): New variable.
3907 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3908 (signbit_test_data): New variable.
3909 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3911 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3912 with INVALID_EXCEPTION.
3913 (acosh_test_data): Likewise.
3914 (asin_test_data): Likewise.
3915 (atanh_test_data): Likewise.
3916 (fmod_test_data): Likewise.
3917 (log_test_data): Likewise.
3918 (log10_test_data): Likewise.
3919 (log2_test_data): Likewise.
3920 (pow_test_data): Likewise.
3921 (sqrt_test_data): Likewise.
3922 (y0_test_data): Likewise.
3923 (y1_test_data): Likewise.
3924 (yn_test_data): Likewise.
3926 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3929 * math/libm-test.inc (struct test_ff_i_data): New type.
3930 (RUN_TEST_LOOP_ff_i_tg): New macro.
3931 (isgreater_test_data): New variable.
3932 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3933 (isgreaterequal_test_data): New variable.
3934 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3935 (isless_test_data): New variable.
3936 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3937 (islessequal_test_data): New variable.
3938 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3939 (islessgreater_test_data): New variable.
3940 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3941 (isunordered_test_data): New variable.
3942 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3944 2013-05-14 David S. Miller <davem@davemloft.net>
3946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3948 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3950 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3952 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3954 (struct test_f_i_data): Change type of max_ulp to int.
3956 * math/libm-test.inc (test_ffI_f1_data): New type.
3957 (RUN_TEST_LOOP_ffI_f1): New macro.
3958 (remquo_test_data): New variable.
3959 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3961 * setjmp/tst-setjmp-fp.c: New file.
3962 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3963 (link-libm): New variable.
3964 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3966 * math/libm-test.inc (struct test_f_i_data): New type.
3967 (RUN_TEST_LOOP_f_i): New macro.
3968 (RUN_TEST_LOOP_f_i_tg): Likewise.
3969 (fpclassify_test_data): New variable.
3970 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3971 (ilogb_test_data): New variable.
3972 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3974 * math/libm-test.inc (scalbln_test): Correct function name in END
3977 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3978 (RUN_TEST_LOOP_fI_f1): New macro.
3979 (frexp_test_data): New variable.
3980 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3982 * math/libm-test.inc (struct test_fF_f1_data): New type.
3983 (RUN_TEST_LOOP_fF_f1): New macro.
3984 (modf_test_data): New variable.
3985 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3987 * math/libm-test.inc (struct test_f_f1_data): New type.
3988 (RUN_TEST_LOOP_f_f1): New macro.
3989 (gamma_test_data): New variable.
3990 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3991 (lgamma_test_data): New variable.
3992 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3994 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3996 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3997 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3998 (main): Comment "tls" pseudo-hwcap.
4000 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4002 * math/libm-test.inc (struct test_fl_f_data): New type.
4003 (RUN_TEST_LOOP_fl_f): New variable.
4004 (scalbln_test_data): New variable.
4005 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4007 * math/libm-test.inc (struct test_fi_f_data): New type.
4008 (RUN_TEST_LOOP_fi_f): New macro.
4009 (ldexp_test_data): New variable.
4010 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4011 (scalbn_test_data): New variable.
4012 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4014 * math/libm-test.inc (struct test_c_f_data): New type.
4015 (RUN_TEST_LOOP_c_f): New macro.
4016 (cabs_test_data): New variable.
4017 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4018 (carg_test_data): New variable.
4019 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4020 (cimag_test_data): New variable.
4021 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4022 (creal_test_data): New variable.
4023 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4025 * math/libm-test.inc (struct test_if_f_data): New type.
4026 (RUN_TEST_LOOP_if_f): New macro.
4027 (jn_test_data): New variable.
4028 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4029 (yn_test_data): New variable.
4030 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4032 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4034 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4036 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4037 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4039 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4041 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4042 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4043 (bench-deps): Add bench-timing.h.
4044 * benchtests-bench-skeleton.c: Include bench-timing.h.
4045 (main): Use TIMING_* macros instead of clock_gettime.
4046 * benchtests/bench-timing.h: New file.
4049 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4050 Renamed from _LIB_VERSION.
4051 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4053 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4055 * math/libm-test.inc (struct test_fff_f_data): New type.
4056 (RUN_TEST_LOOP_fff_f): New macro.
4057 (fma_test_data): New variable.
4058 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4059 (fma_towardzero_test_data): New variable.
4060 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4061 (fma_downward_test_data): New variable.
4062 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4063 (fma_upward_test_data): New variable.
4064 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4066 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4067 (struct test_c_c_data): New type.
4068 (RUN_TEST_LOOP_c_c): New macro.
4069 (cacos_test_data): New variable.
4070 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4071 (cacosh_test_data): New variable.
4072 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4073 (casin_test_data): New variable.
4074 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4075 (casinh_test_data): New variable.
4076 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4077 (catan_test_data): New variable.
4078 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4079 (catanh_test_data): New variable.
4080 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4081 (ccos_test_data): New variable.
4082 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4083 (ccosh_test_data): New variable.
4084 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4085 (cexp_test_data): New variable.
4086 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4087 (clog_test_data): New variable.
4088 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4089 (clog10_test_data): New variable.
4090 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4091 (conj_test_data): New variable.
4092 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4093 (cproj_test_data): New variable.
4094 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4095 (csin_test_data): New variable.
4096 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4097 (csinh_test_data): New variable.
4098 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4099 (csqrt_test_data): New variable.
4100 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4101 (ctan_test_data): New variable.
4102 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4103 (ctan_tonearest_test_data): New variable.
4104 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4105 (ctan_towardzero_test_data): New variable.
4106 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4107 (ctan_downward_test_data): New variable.
4108 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4109 (ctan_upward_test_data): New variable.
4110 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4111 (ctanh_test_data): New variable.
4112 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4113 (ctanh_tonearest_test_data): New variable.
4114 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4115 (ctanh_towardzero_test_data): New variable.
4116 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4117 (ctanh_downward_test_data): New variable.
4118 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4119 (ctanh_upward_test_data): New variable.
4120 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4121 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4124 * math/libm-test.inc (struct test_ff_f_data): New type.
4125 (struct test_ff_f_data_nexttoward): Likewise.
4126 (RUN_TEST_LOOP_2_f): New macro.
4127 (RUN_TEST_LOOP_ff_f): Likewise.
4128 (atan2_test_data): New variable.
4129 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4130 (copysign_test_data): New variable.
4131 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4132 (fdim_test_data): New variable.
4133 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4134 (fmax_test_data): New variable.
4135 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4136 (fmin_test_data): New variable.
4137 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4138 (fmod_test_data): New variable.
4139 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4140 (hypot_test_data): New variable.
4141 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4142 (nextafter_test_data): New variable.
4143 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4144 (nexttoward_test_data): New variable.
4145 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4146 (pow_test_data): New variable.
4147 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4148 (pow_tonearest_test_data): New variable.
4149 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4150 (pow_towardzero_test_data): New variable.
4151 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4152 (pow_downward_test_data): New variable.
4153 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4154 (pow_upward_test_data): New variable.
4155 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4156 (remainder_test_data): New variable.
4157 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4158 (scalb_test_data): New variable.
4159 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4162 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4164 * math/libm-test.inc (fma_test): Use max_value instead of local
4166 (nextafter_test): Likewise.
4168 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4169 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4170 (acos_downward_test_data): New variable.
4171 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4172 (acos_upward_test_data): New variable.
4173 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4174 (acosh_test_data): New variable.
4175 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4176 (asin_test_data): New variable.
4177 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4178 (asin_tonearest_test_data): New variable.
4179 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4180 (asin_towardzero_test_data): New variable.
4181 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4182 (asin_downward_test_data): New variable.
4183 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4184 (asin_upward_test_data): New variable.
4185 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4186 (asinh_test_data): New variable.
4187 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4188 (atan_test_data): New variable.
4189 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4190 (atanh_test_data): New variable.
4191 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4192 (cbrt_test_data): New variable.
4193 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4194 (ceil_test_data): New variable.
4195 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4196 (cos_test_data): New variable.
4197 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4198 (cos_tonearest_test_data): New variable.
4199 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4200 (cos_towardzero_test_data): New variable.
4201 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4202 (cos_downward_test_data): New variable.
4203 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4204 (cos_upward_test_data): New variable.
4205 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4206 (cosh_test_data): New variable.
4207 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4208 (cosh_tonearest_test_data): New variable.
4209 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4210 (cosh_towardzero_test_data): New variable.
4211 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4212 (cosh_downward_test_data): New variable.
4213 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4214 (cosh_upward_test_data): New variable.
4215 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4216 (erf_test_data): New variable.
4217 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4218 (erfc_test_data): New variable.
4219 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4220 (exp_test_data): New variable.
4221 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (exp_tonearest_test_data): New variable.
4223 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4224 (exp_towardzero_test_data): New variable.
4225 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4226 (exp_downward_test_data): New variable.
4227 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4228 (exp_upward_test_data): New variable.
4229 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4230 (exp10_test_data): New variable.
4231 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4232 (exp2_test_data): New variable.
4233 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4234 (expm1_test_data): New variable.
4235 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4236 (fabs_test_data): New variable.
4237 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4238 (floor_test_data): New variable.
4239 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4240 (j0_test_data): New variable.
4241 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4242 (j1_test_data): New variable.
4243 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (log_test_data): New variable.
4245 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (log10_test_data): New variable.
4247 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4248 (log1p_test_data): New variable.
4249 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4250 (log2_test_data): New variable.
4251 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4252 (logb_test_data): New variable.
4253 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4254 (logb_downward_test_data): New variable.
4255 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4256 (nearbyint_test_data): New variable.
4257 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4258 (rint_test_data): New variable.
4259 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4260 (rint_tonearest_test_data): New variable.
4261 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4262 (rint_towardzero_test_data): New variable.
4263 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4264 (rint_downward_test_data): New variable.
4265 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4266 (rint_upward_test_data): New variable.
4267 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4268 (round_test_data): New variable.
4269 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4270 (sin_test_data): New variable.
4271 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4272 (sin_tonearest_test_data): New variable.
4273 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4274 (sin_towardzero_test_data): New variable.
4275 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4276 (sin_downward_test_data): New variable.
4277 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4278 (sin_upward_test_data): New variable.
4279 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4280 (sinh_test_data): New variable.
4281 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (sinh_tonearest_test_data): New variable.
4283 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4284 (sinh_towardzero_test_data): New variable.
4285 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4286 (sinh_downward_test_data): New variable.
4287 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4288 (sinh_upward_test_data): New variable.
4289 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4290 (sqrt_test_data): New variable.
4291 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4292 (tan_test_data): New variable.
4293 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4294 (tan_tonearest_test_data): New variable.
4295 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4296 (tan_towardzero_test_data): New variable.
4297 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4298 (tan_downward_test_data): New variable.
4299 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4300 (tan_upward_test_data): New variable.
4301 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4302 (tanh_test_data): New variable.
4303 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4304 (tgamma_test_data): New variable.
4305 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4306 (trunc_test_data): New variable.
4307 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4308 (y0_test_data): New variable.
4309 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4310 (y1_test_data): New variable.
4311 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4312 (significand_test_data): New variable.
4313 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4315 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4318 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4320 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4322 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4324 2013-05-10 Andreas Jaeger <aj@suse.de>
4327 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4328 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4330 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4332 * math/gen-libm-test.pl (adjust_arg): New function.
4333 (special_functions): Handle generating output in both functions
4335 (parse_args): Likewise.
4336 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4337 $in_func argument to parse_args.
4338 * math/libm-test.inc (struct test_f_f_data): New type.
4339 (IF_ROUND_INIT_): New macro.
4340 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4341 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4342 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4343 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4344 (ROUND_RESTORE_): Likewise.
4345 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4346 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4347 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4348 (ROUND_RESTORE_FE_UPWARD): Likewise.
4349 (RUN_TEST_LOOP_f_f): New macro.
4350 (acos_test_data): New variable.
4351 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4352 (acos_tonearest_test_data): New variable.
4353 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4355 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4357 * benchtests/bench-skeleton.c (startup): Fix coding style.
4359 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4362 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4363 negative infinity argument.
4364 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4365 negative infinity argument.
4366 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4367 negative infinity argument.
4368 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4371 2013-05-10 Florian Weimer <fweimer@redhat.com>
4373 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4374 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4375 * iconv/iconv_prog.c (main): Likewise.
4376 * locale/programs/charmap-dir.c (charmap_readdir)
4377 (fopen_uncompressed): Likewise.
4378 * locale/programs/locfile.c (siblings_uncached)
4379 (write_locale_data): Use lstat64 instead of lstat.
4380 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4383 2013-05-10 Andreas Jaeger <aj@suse.de>
4386 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4390 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4392 * elf/dl-close.c (_dl_close_worker): Add comments.
4394 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4397 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4399 (__ieee754_rem_pio2l): Update comments.
4402 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4404 (__ieee754_rem_pio2l): Update comments.
4406 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4407 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4409 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4412 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4413 (M_PI_34_LOG10El): Likewise.
4414 (M_PI2_LOG10El): Likewise.
4415 (M_PI4_LOG10El): Likewise.
4416 (M_PI_LOG10El): Likewise.
4418 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4422 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4424 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4425 (MINUS_ZERO_INIT): Likewise.
4426 (PLUS_INFTY_INIT): Likewise.
4427 (MINUS_INFTY_INIT): Likewise.
4428 (QNAN_VALUE_INIT): Likewise.
4429 (MAX_VALUE_INIT): Likewise.
4430 (MIN_VALUE_INIT): Likewise.
4431 (MIN_SUBNORM_VALUE_INIT): Likewise.
4432 (plus_zero): Initialize with PLUS_ZERO_INIT.
4433 (minus_zero): Initialize with MINUS_ZERO_INIT.
4434 (plus_infty): Initialize with PLUS_INFTY_INIT.
4435 (minus_infty): Initialize with MINUS_INFTY_INIT.
4436 (qnan_value): Initialize with QNAN_VALUE_INIT.
4437 (max_value): Initialize with MAX_VALUE_INIT.
4438 (min_value): Initialize with MIN_VALUE_INIT.
4439 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4441 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4442 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4443 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4444 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4446 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4447 (RUN_TEST_2_f): Likewise.
4448 (RUN_TEST_ff_f): Likewise.
4449 (RUN_TEST_fi_f): Likewise.
4450 (RUN_TEST_fl_f): Likewise.
4451 (RUN_TEST_fff_f): Likewise.
4452 (RUN_TEST_c_f): Likewise.
4453 (RUN_TEST_f_f1): Likewise.
4454 (RUN_TEST_fF_f1): Likewise.
4455 (RUN_TEST_fI_f1): Likewise.
4456 (RUN_TEST_ffI_f1): Likewise.
4457 (RUN_TEST_c_c): Likewise.
4458 (RUN_TEST_cc_c): Likewise.
4459 (RUN_TEST_f_i): Likewise.
4460 (RUN_TEST_f_i_tg): Likewise.
4461 (RUN_TEST_ff_i_tg): Likewise.
4462 (RUN_TEST_f_b): Likewise.
4463 (RUN_TEST_f_b_tg): Likewise.
4464 (RUN_TEST_f_l): Likewise.
4465 (RUN_TEST_f_L): Likewise.
4466 (RUN_TEST_sincos): Likewise.
4467 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4468 whether to show exceptions. Do not include ");\n" in return
4470 (special_functions): Output call to RUN_TEST_sincos instead of
4471 check_float calls. Update calls to new_test.
4472 (parse_args): Output call to single RUN_TEST_* macro instead of
4473 check_* calls and other assignments. Update calls to new_test.
4479 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4480 input to result for tgamma overflow.
4481 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4482 (gamma_coeff): New variable.
4483 (NCOEFF): New macro.
4484 (gamma_positive): New function.
4485 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4486 underflow here. Use gamma_positive instead of exp (lgamma) for
4488 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4489 (gamma_coeff): New variable.
4490 (NCOEFF): New macro.
4491 (gammaf_positive): New function.
4492 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4493 underflow here. Use gamma_positive instead of exp (lgamma) for
4495 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4496 (gamma_coeff): New variable.
4497 (NCOEFF): New macro.
4498 (gammal_positive): New function.
4499 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4500 underflow here. Use gamma_positive instead of exp (lgamma) for
4502 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4503 (gamma_coeff): New variable.
4504 (NCOEFF): New macro.
4505 (gammal_positive): New function.
4506 (__ieee754_gammal_r): Handle positive infinity, overflow and
4507 underflow here. Handle NaN the same as positive infinity. Remove
4508 check x < 0xffffffff for negative integers. Use gamma_positive
4509 instead of exp (lgamma) for other arguments.
4510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4511 (gamma_coeff): New variable.
4512 (NCOEFF): New macro.
4513 (gammal_positive): New function.
4514 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4515 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4520 * sysdeps/generic/math_private.h (__gamma_productf): New
4522 (__gamma_product): Likewise.
4523 (__gamma_productl): Likewise.
4524 * math/Makefile (libm-calls): Add gamma_product.
4525 * math/libm-test.inc (tgamma_test): Add more tests.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4529 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4531 * benchtests/bench-skeleton.c (main): Preheat CPU.
4533 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4535 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4537 2013-05-07 Roland McGrath <roland@hack.frob.com>
4539 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4540 and _dl_skip_args_internal.
4542 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4544 * manual/message.texi (Message Translation): Talk about users.
4545 Message to key mapping impacts design.
4547 2013-05-06 Roland McGrath <roland@hack.frob.com>
4549 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4551 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4553 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4554 * sysdeps/wordsize-64/glob64.c: ... here.
4556 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4557 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4560 * debug/getlogin_r_chk.c: Moved to ...
4561 * login/getlogin_r_chk.c: ... here.
4562 * debug/Makefile (routines): Move getlogin_r_chk to ...
4563 * login/Makefile (routines): ... here.
4564 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4565 * login/Versions (libc: GLIBC_2.4): ... here.
4567 * io/poll.c (__poll): Renamed from poll.
4568 Add libc_hidden_def.
4569 (poll): Define as weak alias.
4571 * debug/ptsname_r_chk.c: Moved to ...
4572 * login/ptsname_r_chk.c: ... here.
4573 * debug/Makefile (routines): Move ptsname_r_chk to ...
4574 * login/Makefile (routines): ... here.
4575 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4576 * login/Versions (libc: GLIBC_2.4): ... here.
4578 * posix/getlogin.c: Moved to ...
4579 * login/getlogin.c: ... here.
4580 * posix/getlogin_r.c: Moved to ...
4581 * login/getlogin_r.c: ... here.
4582 * posix/getlogin_r.c: Moved to ...
4583 * login/getlogin_r.c: ... here.
4584 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4585 * login/Makefile (routines): ... here.
4586 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4587 * login/Versions (libc: GLIBC_2.0): ... here.
4589 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4590 (setrlimit): Define as weak alias.
4592 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4593 Call __ names for open, ftruncate, and close.
4594 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4595 (truncate): Define as weak alias.
4597 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4599 * math/gen-libm-test.pl (parse_args): Initialize x before each
4600 test of frexp, modf and remquo.
4602 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4605 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4609 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4613 2013-05-06 Roland McGrath <roland@hack.frob.com>
4615 * elf/dl-writev.h: New file.
4616 * elf/dl-misc.c: Include it.
4617 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4618 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4620 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4622 * math/libm-test.inc (noXFails): Remove variable.
4623 (noXPasses): Likewise.
4624 (BUILD_COMPLEX_INT): Remove macro.
4625 (print_screen): Remove xfail argument.
4626 (print_screen_max_error): Likewise.
4627 (update_stats): Likewise.
4628 (print_max_error): Likewise. Update calls to other affected
4630 (print_complex_max_error): Likewise.
4631 (test_single_exception): Update calls to print_screen.
4632 (test_single_errno): Likewise.
4633 (check_float_internal): Remove xfail argument. Update calls to
4634 other affected functions.
4635 (check_float): Likewise.
4636 (check_complex): Likewise.
4637 (check_int): Likewise.
4638 (check_long): Likewise.
4639 (check_bool): Likewise.
4640 (check_longlong): Likewise.
4641 (main): Don't print noXFails and noXPasses.
4642 * math/gen-libm-test.pl (top level): Don't mention expected
4643 failure handling in comment.
4644 (new_test): Don't handle expected failures.
4645 (parse_args): Don't mention expected failure handling in comment.
4646 (generate_testfile): Don't handle expected failures.
4647 (parse_ulps): Likewise.
4648 (print_ulps_file): Likewise.
4649 (get_failure): Remove function.
4650 (output_test): Don't handle expected failures.
4651 * make/README.libm-test: Don't mention expected failure handling.
4653 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4654 (minus_zero): Likewise.
4655 (plus_infty): Likewise.
4656 (minus_infty): Likewise.
4657 (qnan_value): Likewise.
4658 (max_value): Likewise.
4659 (min_value): Likewise.
4660 (min_subnorm_value): Likewise.
4661 (initialize): Do not initialize those variables dynamically.
4663 2013-05-03 Roland McGrath <roland@hack.frob.com>
4665 * io/open.c (__open_2): Moved to ...
4666 * io/open_2.c: ... this new file.
4667 * io/open64.c (__open64_2): Moved to ...
4668 * io/open64_2.c: ... this new file.
4669 * io/openat.c (__openat_2): Moved to ...
4670 * io/openat_2.c: ... this new file.
4671 * io/openat64.c (__openat64_2): Moved to ...
4672 * io/openat64_2.c: ... this new file.
4673 * io/Makefile (routines): Add them.
4674 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4675 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4676 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4677 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4678 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4679 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4680 (__openat64): Add hidden_ver.
4681 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4682 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4684 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4685 Separately conditionalize setting of GLRO(dl_sysinfo) so
4686 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4687 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4689 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4691 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4692 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4694 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4695 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4696 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4697 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4698 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4700 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4702 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4705 * math/libm-test.inc (hypot_test): Do not use
4706 IGNORE_ZERO_INF_SIGN.
4708 2013-05-03 Andreas Jaeger <aj@suse.de>
4710 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4712 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4713 (PF_MAX): Adjust for VSOCK change.
4715 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4719 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4722 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4723 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4724 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4726 2013-05-02 David S. Miller <davem@davemloft.net>
4728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4730 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4732 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4734 2013-05-01 Roland McGrath <roland@hack.frob.com>
4736 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4738 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4741 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4742 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4743 Use __attribute__ ((__gnu_inline__)).
4744 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4745 Don't use __attribute__ ((__gnu_inline__)).
4747 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4750 * math/s_catan.c (__catan): Handle small real or imaginary part of
4751 input specially to avoid spurious underflow.
4752 * math/s_catanf.c (__catanf): Likewise.
4753 * math/s_catanh.c (__catanh): Likewise.
4754 * math/s_catanhf.c (__catanhf): Likewise.
4755 * math/s_catanhl.c (__catanhl): Likewise.
4756 * math/s_catanl.c (__catanl): Likewise.
4757 * math/libm-test.inc (catan_test): Add more tests.
4758 (catanh_test): Likewise.
4759 * sysdeps/i386/fpu/libm-test-ulps: Update.
4760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4762 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4766 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4769 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4770 accurately for denominator in atan2.
4771 * math/s_catanf.c (__catanf): Likewise.
4772 * math/s_catanh.c (__catanh): Likewise.
4773 * math/s_catanhf.c (__catanhf): Likewise.
4774 * math/s_catanhl.c (__catanhl): Likewise.
4775 * math/s_catanl.c (__catanl): Likewise.
4776 * math/libm-test.inc (catan_test): Add more tests.
4777 (catanh_test): Likewise.
4778 * sysdeps/i386/fpu/libm-test-ulps: Update.
4779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4781 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4783 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4785 * benchtests/Makefile (bench): Remove slow benchmarks.
4786 * benchtests/atan-inputs: Add slow benchmark inputs.
4787 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4788 (BENCH_FUNC): Accept variant offset.
4790 * benchtests/bench-skeleton.c (main): Run benchmark for each
4792 * benchtests/cos-inputs: Add slow benchmark inputs.
4793 * benchtests/exp-inputs: Likewise.
4794 * benchtests/pow-inputs: Likewise.
4795 * benchtests/sin-inputs: Likewise.
4796 * benchtests/slowatan-inputs: Remove.
4797 * benchtests/slowatan.c: Remove.
4798 * benchtests/slowcos-inputs: Remove.
4799 * benchtests/slowcos.c: Remove.
4800 * benchtests/slowexp-inputs: Remove.
4801 * benchtests/slowexp.c: Remove.
4802 * benchtests/slowpow-inputs: Remove.
4803 * benchtests/slowpow.c: Remove.
4804 * benchtests/slowsin-inputs: Remove.
4805 * benchtests/slowsin.c: Remove.
4806 * benchtests/slowtan-inputs: Remove.
4807 * benchtests/slowtan.c: Remove.
4808 * benchtests/tan-inputs: Add slow benchmark inputs.
4809 * scripts/bench.pl: Parse comments and directives.
4811 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4813 ($(objpfx)bench-%.c): Remove *-ITER.
4814 * benchtests/bench-modf.c: Remove definition of ITER.
4815 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4816 (main): Loop for DURATION seconds instead of fixed number of
4818 * scripts/bench.pl: Don't expect iterations in parameters.
4820 2013-04-29 Roland McGrath <roland@hack.frob.com>
4822 * io/fchdir.c (__fchdir): Renamed from fchdir.
4823 (fchdir): Define as weak alias.
4825 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4827 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4828 (ERRNO_EDOM): Likewise.
4829 (ERRNO_ERANGE): Likewise.
4830 (noErrnoTests): New variable.
4831 (init_max_error): Set errno to 0.
4832 (test_single_errno): New function.
4833 (test_errno): Likewise.
4834 (check_float_internal): Call test_errno. Set errno to 0.
4835 (check_complex): Refer to errno tests in comment.
4836 (check_int): Call test_errno. Set errno to 0.
4837 (check_long): Likewise.
4838 (check_bool): Likewise.
4839 (check_longlong): Likewise.
4840 (cos_test): Use ERRNO_* flags for errno tests instead of
4842 (expm1_test): Likewise.
4843 (fmod_test): Likewise.
4844 (ilogb_test): Likewise.
4845 (lgamma_test): Likewise.
4846 (pow_test): Likewise.
4847 (remainder_test): Likewise.
4848 (sin_test): Likewise.
4849 (tan_test): Likewise.
4850 (yn_test): Likewise.
4851 (initialize): Set errno to 0.
4852 (main): Print number of errno tests.
4853 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4855 2013-04-29 Andreas Jaeger <aj@suse.de>
4858 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4862 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4863 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4867 * stdlib/random.c (__initstate): Return NULL if
4871 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4872 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4875 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4879 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4881 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4882 of individual tests.
4883 (casin_test): Likewise.
4884 (casinh_test): Likewise.
4886 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4889 * math/s_catan.c (__catan): Handle arguments with large real or
4890 imaginary part separately without squaring.
4891 * math/s_catanf.c (__catanf): Likewise.
4892 * math/s_catanh.c (__catanh): Likewise.
4893 * math/s_catanhf.c (__catanhf): Likewise.
4894 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4896 (__catanhl): Handle arguments with large real or imaginary part
4897 separately without squaring.
4898 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4900 (__catanl): Handle arguments with large real or imaginary part
4901 separately without squaring.
4902 * math/libm-test.inc (catan_test): Add more tests.
4903 (catanh_test): Likewise.
4904 * sysdeps/i386/fpu/libm-test-ulps: Update.
4905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4907 2013-04-27 Andreas Jaeger <aj@suse.de>
4910 * stdlib/stdlib.h: Update guards for qecvt.
4911 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4914 2013-04-27 Allan McRae <allan@archlinux.org>
4916 * sysdeps/i386/fpu/libm-test-ulps: Update.
4918 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4921 * math/s_catan.c: Include <float.h>.
4922 (__catan): Ensure underflow exception occurs for underflowed
4924 * math/s_catanf.c: Include <float.h>.
4925 (__catanf): Ensure underflow exception occurs for underflowed
4927 * math/s_catanh.c: Include <float.h>.
4928 (__catanh): Ensure underflow exception occurs for underflowed
4930 * math/s_catanhf.c: Include <float.h>.
4931 (__catanhf): Ensure underflow exception occurs for underflowed
4933 * math/s_catanhl.c: Include <float.h>.
4934 (__catanhl): Ensure underflow exception occurs for underflowed
4936 * math/s_catanl.c: Include <float.h>.
4937 (__catanl): Ensure underflow exception occurs for underflowed
4939 * math/libm-test.inc (catan_test): Add more tests.
4940 (catanh_test): Likewise.
4943 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4945 * math/s_ccoshf.c (__ccoshf): Likewise.
4946 * math/s_ccoshl.c (__ccoshl): Likewise.
4947 * math/s_csin.c (__csin): Likewise.
4948 * math/s_csinf.c (__csinf): Likewise.
4949 * math/s_csinh.c (__csinh): Likewise.
4950 * math/s_csinhf.c (__csinhf): Likewise.
4951 * math/s_csinhl.c (__csinhl): Likewise.
4952 * math/s_csinl.c (__csinl): Likewise.
4953 * math/libm-test.inc (ccos_test): Add more tests.
4954 (ccosh_test): Likewise.
4955 (csin_test): Likewise.
4956 (csinh_test): Likewise.
4958 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4961 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4962 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4963 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4964 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4965 powerpc/power5+/fpu folders.
4966 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4969 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4973 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4975 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4976 additions to variable.
4977 [$(config-machine) = x86_64] (modules-names): Likewise.
4978 ($(objpfx)tst-audit3): Remove dependency.
4979 ($(objpfx)tst-audit3.out): Likewise.
4980 ($(objpfx)tst-audit4): Likewise.
4981 ($(objpfx)tst-audit4.out): Likewise.
4982 ($(objpfx)tst-audit5): Likewise.
4983 ($(objpfx)tst-audit5.out): Likewise.
4984 ($(objpfx)tst-audit6): Likewise.
4985 ($(objpfx)tst-audit6.out): Likewise.
4986 ($(objpfx)tst-audit7): Likewise.
4987 ($(objpfx)tst-audit7.out): Likewise.
4988 (tst-audit3-ENV): Remove variable.
4989 (tst-audit4-ENV): Likewise.
4990 (tst-audit5-ENV): Likewise.
4991 (tst-audit6-ENV): Likewise.
4992 (tst-audit7-ENV): Likewise.
4993 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4994 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4995 addition to variable.
4996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4998 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4999 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5001 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5002 tst-audit3, tst-audit4 and tst-audit5.
5003 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5004 tst-audit6 and tst-audit7.
5005 [$(subdir) = elf] (modules-names): Add audit modules for those
5007 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5008 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5009 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5010 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5011 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5012 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5013 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5014 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5015 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5016 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5017 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5018 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5019 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5020 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5021 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5022 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5024 [$(subdir) = elf && $(config-cflags-avx) = yes]
5025 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5026 [$(subdir) = elf && $(config-cflags-avx) = yes]
5027 (CFLAGS-tst-auditmod4a.c): Likewise.
5028 [$(subdir) = elf && $(config-cflags-avx) = yes]
5029 (CFLAGS-tst-auditmod4b.c): Likewise.
5030 [$(subdir) = elf && $(config-cflags-avx) = yes]
5031 (CFLAGS-tst-auditmod6b.c): Likewise.
5032 [$(subdir) = elf && $(config-cflags-avx) = yes]
5033 (CFLAGS-tst-auditmod6c.c): Likewise.
5034 [$(subdir) = elf && $(config-cflags-avx) = yes]
5035 (CFLAGS-tst-auditmod7b.c): Likewise.
5036 * elf/tst-audit3.c: Move to ...
5037 * sysdeps/x86_64/tst-audit3.c: ... here.
5038 * elf/tst-audit4.c: Move to ...
5039 * sysdeps/x86_64/tst-audit4.c: ... here.
5040 * elf/tst-audit5.c: Move to ...
5041 * sysdeps/x86_64/tst-audit5.c: ... here.
5042 * elf/tst-audit6.c: Move to ...
5043 * sysdeps/x86_64/tst-audit6.c: ... here.
5044 * elf/tst-audit7.c: Move to ...
5045 * sysdeps/x86_64/tst-audit7.c: ... here.
5046 * elf/tst-auditmod3a.c: Move to ...
5047 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5048 * elf/tst-auditmod3b.c: Move to ...
5049 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5050 * elf/tst-auditmod4a.c: Move to ...
5051 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5052 * elf/tst-auditmod4b.c: Move to ...
5053 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5054 * elf/tst-auditmod5a.c: Move to ...
5055 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5056 * elf/tst-auditmod5b.c: Move to ...
5057 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5058 * elf/tst-auditmod6a.c: Move to ...
5059 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5060 * elf/tst-auditmod6b.c: Move to ...
5061 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5062 * elf/tst-auditmod6c.c: Move to ...
5063 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5064 * elf/tst-auditmod7a.c: Move to ...
5065 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5066 * elf/tst-auditmod7b.c: Move to ...
5067 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5069 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5072 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5073 define unconditionally.
5074 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5075 define unconditionally.
5076 (INT8_C, INT16_C, etc.): Likewise.
5078 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5080 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5081 __ehdr_start with hidden visibility.
5083 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5085 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5087 * math/libm-test.inc (cos_test): Use accurate hex constants.
5088 (sincost_test): Likewise.
5090 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5092 * math/libm-test.inc (catan_test): Add more tests.
5093 (catanh_test): Likewise.
5095 * math/s_catanf.c (__catanf): Use suffixed floating-point
5097 * math/s_catanhf.c (__catanhf): Likewise.
5098 * math/s_catanhl.c (__catanhl): Likewise.
5099 * math/s_catanl.c (__catanl): Likewise.
5102 * math/s_catan.c (__catan): Calculate imaginary part of result
5103 with log1p not log unless computing log of number close to 0.
5104 * math/s_catanf.c (__catanf): Likewise.
5105 * math/s_catanl.c (__catanl): Likewise.
5106 * math/s_catanh.c (__catanh): Calculate real part of result with
5107 log1p not log unless computing log of number close to 0.
5108 * math/s_catanhf.c (__catanhf): Likewise.
5109 * math/s_catanhl.c (__catanhl): Likewise.
5110 * math/libm-test.inc (catan_test): Add more tests.
5111 (catanh_test): Likewise.
5112 * sysdeps/i386/fpu/libm-test-ulps: Update.
5113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5115 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5117 * benchtests/Makefile: Mention files in which fast and slow
5118 paths of math functions are implemented.
5120 2013-04-23 Roland McGrath <roland@hack.frob.com>
5122 * sysdeps/posix/timespec_get.c: New file.
5124 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5128 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5130 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5131 powerpc/power5/fpu folders.
5132 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5133 * benchtests/Makefile: Add modf testcase.
5134 * benchtests/bench-modf.c: New file: Benchmark test for mo
5136 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5139 * time/Makefile (tests): Add tst-strptime-whitespace.
5140 * time/strptime_l.c (get_number): Use ISSPACE.
5141 (__strptime_internal): Likewise.
5142 * time/tst-strptime-whitespace.c: New test case.
5144 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5146 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5148 (_nss_files_init): Set it here.
5150 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5152 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5153 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5156 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5158 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5160 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5165 2013-04-21 David S. Miller <davem@davemloft.net>
5167 * po/ru.po: Update Russion translation from translation project.
5169 2013-04-17 Adam Conrad <adconrad@0c3.net>
5171 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5174 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5176 * configure.in: Remove i386 configure warning. Remove i386 case.
5177 * configure: Regenerate.
5178 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5179 Add example to error message.
5180 * sysdeps/i386/configure: Regenerate.
5182 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5184 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5186 * benchtests/cos-inputs: New file.
5187 * benchtests/slowcos-inputs: New file.
5188 * benchtests/slowcos.c: New file.
5189 * benchtests/slowtan-inputs: New file.
5190 * benchtests/slowtan.c: New file.
5191 * benchtests/tan-inputs: New file.
5193 2013-04-16 Roland McGrath <roland@hack.frob.com>
5195 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5198 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5200 * benchtests/Makefile: Include cppflags-iterator.mk to add
5201 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5203 * Makefile.in (bench-clean): New target.
5204 * benchtests/Makefile (bench-clean): Likewise.
5206 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5208 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5210 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5212 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5214 2013-04-15 Andreas Schwab <schwab@suse.de>
5216 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5218 * nscd/pwdcache.c (cache_addpw): Likewise.
5219 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5222 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5224 * benchtests/Makefile (bench): Write all output to
5225 bench-out.tmp together.
5227 2013-04-15 Andreas Schwab <schwab@suse.de>
5229 * nscd/nscd.c (main): Don't fork again after closing files.
5231 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5233 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5235 * benchtests/Rules (bench-deps): Collect dependencies into a
5236 single variable. Add Makefile to dependencies.
5237 ($(objpfx)bench-%.c): Depend on bench-deps.
5239 2013-04-12 Roland McGrath <roland@hack.frob.com>
5240 Xavier Roche <roche+kml2@exalead.com>
5243 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5244 just that it's a file descriptor.
5245 * manual/llio.texi (Synchronizing AIO Operations): Update description
5246 for EBADF error from aio_fsync.
5248 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5250 * Rules (bench): Move target definition...
5251 * benchtests/Makefile: ... here.
5253 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5255 * math/libm-test.inc (cos_test): Fix PI/2 test.
5256 (sincos_test): Likewise.
5257 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5258 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5260 2013-04-11 Andreas Schwab <schwab@suse.de>
5263 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5264 accept exponent character only when digits were seen.
5265 * stdio-common/Makefile (tests): Add bug26.
5266 * stdio-common/bug26.c: New file.
5269 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5272 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5274 * Makeconfig (rtld-prefix): Define built linker prefix.
5275 * Rules (run-bench): Use it.
5276 * math/Makefile (run-regen-ulps): Likewise.
5278 * Rules (bench): Remove eval.
5280 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5281 Roland McGrath <roland@hack.frob.com>
5282 Ondrej Bilka <neleai@seznam.cz>
5285 * time/getdate.c: Include ctype.h and alloca.h.
5286 (__getdate_r): Trim leading and trailing spaces of input.
5287 * time/tst-getdate.c (tests): Add tests with leading and
5290 2013-04-08 Roland McGrath <roland@hack.frob.com>
5293 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5294 when computing value.
5296 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5298 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5299 Use testrun.sh to run libm tests.
5302 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5304 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5307 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5309 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5311 * Makefile.in (regen-ulps): New target.
5312 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5313 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5314 [ifneq (no,$(PERL)] (regen-ulps): New target.
5315 [ifeq (no,$(PERL)] (regen-ulps): New target.
5316 * math/libm-test.inc (ulps_file_name): Define.
5317 (output_dir): New variable.
5318 (options): Add "output-dir" option.
5319 (parse_opt): Handle 'o' case.
5320 (main): If output_dir is non-NULL use it as a prefix
5322 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5324 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5327 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5328 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5329 fail configure if __sync_val_compare_and_swap is not inlined.
5330 * sysdeps/i386/configure: Regenerate.
5331 * configure.in: Build for i686 when configured for i386.
5332 * configure: Regenerate.
5333 * README: Remove i386 reference.
5335 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5337 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5340 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5342 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5343 (lmsnanval): New variables.
5344 (F): Add conversion tests.
5345 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5346 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5348 * stdio-common/tstdiomisc.c (F): Properly collect individual
5352 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5353 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5354 Instead, use input NaN values or generate a qNaN by arithmetic
5355 operation. Also fix bugs to comply with the standard.
5356 * math/libm-test.inc (remainder_test): Add more tests.
5359 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5361 input NaN values or generate a qNaN by arithmetic operation.
5363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5366 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5369 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5372 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5374 * math/s_cexpf.c (__cexpf): Likewise.
5375 * math/s_cexpl.c (__cexpl): Likewise.
5376 * math/libm-test.inc (cexp_test): Add more tests.
5378 2013-04-03 Andreas Schwab <schwab@suse.de>
5381 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5382 order arrays from heap if bigger than alloca cutoff.
5384 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5386 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5387 (SNAN_TESTS_double): Refer to GCC PR56831.
5388 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5391 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5393 * Rules (bench): Move bench.out after the run is complete.
5395 * Rules (bench): Echo currently running benchmark.
5397 * benchtests/Makefile (bench): Add atan and slowatan.
5398 * benchtests/atan-inputs: New file.
5399 * benchtests/slowatan-inputs: New file.
5400 * benchtests/slowatan.c: New file.
5402 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5407 * sysdeps/unix/sysv/linux/kernel-features.h
5408 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5409 __ASSUME_XFS_RESTRICTED_CHOWN.
5410 * sysdeps/unix/sysv/linux/pathconf.c
5411 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5412 Save and restore errno.
5414 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5417 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5418 arguments using __kernel_casinh.
5419 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5420 arguments using __kernel_casinhf.
5421 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5422 arguments using __kernel_casinhl.
5423 * math/libm-test.inc (cacosh_test): Add more tests.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5427 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5429 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5432 * bench/Makefile (bench): Add sin and slowsin.
5433 * benchtests/sin-inputs: New file.
5434 * benchtests/slowsin-inputs: New file.
5435 * benchtests/slowsin.c: New file.
5437 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5438 (bench): Add slowexp and slowpow.
5439 (exp-ITER): Increase iterations.
5440 (pow-ITER): Likewise.
5441 * benchtests/exp-inputs: Change input.
5442 * benchtests/pow-inputs: Likewise.
5443 * benchtests/slowexp-inputs: New file.
5444 * benchtests/slowexp.c: New file.
5445 * benchtests/slowpow-inputs: New file.
5446 * benchtests/slowpow.c: New file.
5448 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5452 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5455 * benchtests/Makefile: Add rint benchtest.
5456 * benchtests/rint-inputs: Input for rint benchtest.
5458 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5460 * Versions.def (libm): Add GLIBC_2.18.
5461 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5462 hidden libm prototypes.
5463 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5464 * math/Makefile (libm-calls): Add s_issignaling.
5465 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5466 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5467 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5469 * math/math.h [__USE_GNU] (issignaling): New macro.
5470 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5471 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5472 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5473 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5476 * manual/arith.texi (issignaling): New section.
5477 * manual/libm-err-tab.pl (@all_functions): Update comment.
5478 * math/gen-libm-test.pl (parse_args): Apply special handling for
5480 * math/libm-test.inc (print_float, issignaling_test): New
5482 (check_float_internal): Add issignaling checks.
5483 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5485 * sysdeps/powerpc/math-tests.h: New file.
5486 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5488 * math/test-snan.c (TEST_FUNC): Likewise.
5490 2013-03-30 David S. Miller <davem@davemloft.net>
5492 * po/de.po: Update from translation team.
5494 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5497 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5498 imaginary part less than 1.0 and real part less than 0.5
5500 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5501 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5502 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5503 (cacos_test): Add more tests.
5504 (casin_test): Likewise.
5505 (casinh_test): Likewise.
5506 * sysdeps/i386/fpu/libm-test-ulps: Update.
5507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5509 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5511 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5514 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5515 (__pow_mp): Replace ONE and MONE with their values.
5516 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5519 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5521 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5523 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5525 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5526 (__pow_mp): Replace ZERO and MZERO with their values.
5527 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5529 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5531 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5532 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5535 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5537 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5539 2013-03-28 Roland McGrath <roland@hack.frob.com>
5541 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5542 Declare with __attribute__ ((weak)).
5543 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5544 Call __call_tls_dtors only if it's not NULL.
5546 2013-03-28 Roland McGrath <roland@hack.frob.com>
5548 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5549 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5550 magic __ehdr_start linker symbol if it's defined.
5551 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5552 them up here if it was already done.
5554 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5555 (_dl_aux_init): Use const in cast when setting it.
5556 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5557 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5558 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5560 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5562 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5563 * csu/libc-tls.c: Nor here.
5564 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5566 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5567 (__libc_message): Never call vsyslog.
5569 2013-03-28 Alan Modra <amodra@gmail.com>
5571 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5573 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5576 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5579 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5583 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5586 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5587 Don't add gid passed as argument.
5589 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5591 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5594 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5595 imaginary part between 1.0 and 1.5 and real part less than 0.5
5597 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5598 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5599 * math/libm-test.inc (cacos_test): Add more tests.
5600 (casin_test): Likewise.
5601 (casinh_test): Likewise.
5602 * sysdeps/i386/fpu/libm-test-ulps: Update.
5603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5607 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5611 (__dbl_mp): Likewise.
5612 (add_magnitudes): Likewise.
5613 (sub_magnitudes): Likewise.
5621 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5623 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5624 (__dubcos): Likewise.
5625 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5626 (__ieee754_acos): Likewise.
5627 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5628 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5630 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5631 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5633 (my_log2): Likewise.
5634 (checkint): Likewise.
5635 * sysdeps/ieee754/dbl-64/e_remainder.c
5636 (__ieee754_remainder): Likewise.
5637 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5640 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5642 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5643 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5644 MANTISSA_STORE_T to store computations on mantissa. Use
5645 macros for rounding and division.
5647 (__dbl_mp): Likewise.
5648 (add_magnitudes): Likewise.
5649 (sub_magnitudes): Likewise.
5652 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5653 powers of two in terms of TWOPOW macro.
5654 (mp_no): Make type of mantissa as MANTISSA_T.
5655 [!RADIXI]: Define RADIXI.
5656 [!TWO52]: Define TWO52.
5657 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5659 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5661 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5662 llroundl symbol when building for PPC32.
5664 2013-03-24 Mark H Weaver <mhw@netris.org>
5666 * manual/arith.texi (Normalization Functions): Fix prototypes for
5667 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5669 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5673 high value to check if expl overflow.
5674 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5675 to check for underflow and overflow.
5676 * math/libm-test.inc: Add exp test.
5678 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5681 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5684 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5686 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5689 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5691 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5692 wrap blocks consisting of several statements.
5694 * sysdeps/generic/math-tests.h: New file.
5695 * sysdeps/i386/fpu/math-tests.h: Likewise.
5696 * math/test-snan.c: Include it.
5697 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5699 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5702 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5703 (__ieee754_j0l): Do not improve calculations using cos of twice
5704 input for inputs above LDBL_MAX / 2.0L.
5705 (__ieee754_y0l): Likewise.
5706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5707 (__ieee754_j1l): Do not improve calculations using cos of twice
5708 input for inputs above LDBL_MAX / 2.0L.
5709 (__ieee754_y1l): Likewise.
5710 * math/libm-test.inc (j0_test): Add another test.
5711 (j1_test): Likewise.
5712 (y0_test): Likewise.
5713 (y1_test): Likewise.
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5718 * Rules ($(objpfx)bench-%.c): Include code from a C source
5721 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5724 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5725 imaginary part 1.0 and real part less than 0.5 specially.
5726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5728 * math/libm-test.inc (cacos_test): Add more tests.
5729 (casin_test): Likewise.
5730 (casinh_test): Likewise.
5731 * sysdeps/i386/fpu/libm-test-ulps: Update.
5732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5734 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5736 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5737 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5739 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5741 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5742 * config.make.in (config-cflags-sse4): Remove variable.
5743 (config-cflags-avx): Likewise.
5744 (config-cflags-sse2avx): Likewise.
5745 (config-cflags-novzeroupper): Likewise.
5746 (config-asflags-i686): Likewise.
5747 (have-mfma4): Likewise.
5748 (have-as-vis3): Likewise.
5750 * configure.in (MIG): Do not AC_SUBST.
5751 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5752 (libc_cv_cc_sse4): Do not AC_SUBST.
5753 (libc_cv_cc_avx): Likewise.
5754 (libc_cv_cc_sse2avx): Likewise.
5755 (libc_cv_cc_novzeroupper): Likewise.
5756 (libc_cv_cc_fma4): Likewise.
5757 (libc_cv_as_i686): Likewise.
5758 (libc_cv_sparc_as_vis3): Likewise.
5759 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5761 (config-asflags-i686): Likewise.
5762 (config-cflags-avx): Likewise.
5763 (config-cflags-sse2avx): Likewise.
5764 (have-mfma4): Likewise.
5765 (config-cflags-novzeroupper): Likewise.
5766 * sysdeps/mach/configure.in (MIG): Likewise.
5767 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5768 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5770 (config-cflags-avx): Likewise.
5771 (config-cflags-sse2avx): Likewise.
5772 (have-mfma4): Likewise.
5773 (config-cflags-novzeroupper): Likewise.
5774 * configure: Regenerated.
5775 * sysdeps/i386/configure: Likewise.
5776 * sysdeps/mach/configure: Likewise.
5777 * sysdeps/sparc/configure: Likewise.
5778 * sysdeps/x86_64/configure: Likewise.
5780 2013-03-20 Roland McGrath <roland@hack.frob.com>
5783 * locale/programs/localedef.c (options): Put N_ translation marker
5784 on argument names, not just descriptions.
5786 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5788 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5790 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5793 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5795 2013-03-19 Roland McGrath <roland@hack.frob.com>
5797 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5798 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5799 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5800 [!BEFORE_ABORT] (before_abort): New function.
5801 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5802 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5803 (writev_for_fatal): New function.
5804 (WRITEV_FOR_FATAL): New macro; call that.
5805 (backtrace_and_maps): New function.
5806 (BEFORE_ABORT): New macro; call that.
5807 (struct str_list): Type removed.
5808 (__libc_message, __libc_fatal): Functions removed.
5809 Include <sysdeps/posix/libc_fatal.c> instead.
5811 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5813 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5815 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5818 2013-03-19 Andreas Schwab <schwab@suse.de>
5820 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5821 * sysdeps/gnu/configure: Regenerate.
5823 * configure.in: Substitute libc_cv_rtlddir.
5824 * configure: Regenerate.
5825 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5826 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5827 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5828 * elf/Makefile (install-others, CFLAGS-interp.c)
5829 (ldso_install, common-ldd-rewrite): Likewise.
5830 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5831 $(inst_slibdir)/$(rtld-installed-name).
5832 * scripts/rellns-sh: Add -p option.
5833 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5836 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5838 * manual/nptl.texi: Renamed to ...
5839 * manual/threads.texi: ... this.
5840 * manual/Makefile (chapters): Update.
5842 2013-03-18 Roland McGrath <roland@hack.frob.com>
5845 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5846 on argument names, not just descriptions.
5847 * malloc/memusagestat.c (options): Likewise.
5848 * nss/getent.c (options): Likewise.
5850 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5853 * iconv/iconv_prog.c (options): Put N_ translation marker
5854 on argument names, not just descriptions.
5855 * iconv/iconvconfig.c (options): Likewise.
5857 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5859 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5860 implementation which is faster on all x86_64 architectures.
5861 Tested on AMD, Intel Nehalem, SNB, IVB.
5862 * sysdeps/x86_64/strnlen.S: Likewise.
5864 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5865 Remove all multiarch strlen and strnlen versions.
5866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5867 Remove strlen and strnlen related parts.
5869 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5871 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5873 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5874 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5875 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5876 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5877 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5880 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5882 * manual/memory.texi (Malloc Tunable Parameters):
5883 Sort parameters alphabetically. Add comments for missing entries.
5885 2013-03-17 David S. Miller <davem@davemloft.net>
5887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5889 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5892 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5893 for arguments at most half maximum finite value.
5894 * math/libm-test.inc (j0_test): Add more tests.
5895 (j1_test): Likewise.
5896 (y0_test): Likewise.
5897 (y1_test): Likewise.
5898 * sysdeps/i386/fpu/libm-test-ulps: Update.
5899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5903 1 / x and functions P and Q for arguments above 0x1p256L.
5904 (__ieee754_y0l): Likewise.
5905 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5906 (__ieee754_y1l): Likewise.
5907 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5908 (j1_test): Likewise.
5909 (y0_test): Likewise.
5910 (y1_test): Likewise.
5912 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5914 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5917 2013-03-15 Roland McGrath <roland@hack.frob.com>
5919 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5920 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5921 zero since it's initialized to EXEC_PAGESIZE.
5923 * sysdeps/unix/sysv/linux/ldsodefs.h
5924 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5925 * sysdeps/generic/ldsodefs.h: ... here.
5927 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5929 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5931 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5933 * math/test-snan.c: Renamed from
5934 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5935 * math/Makefile (tests): Add test-snan.
5936 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5939 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5940 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5942 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5943 __builtin_nan family of functions.
5944 * math/libm-test.inc (initialize): Initialize qnan_value with
5945 __builtin_nan family of functions.
5946 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5948 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5950 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5951 storage class. Initialize qNaN_var and sNaN_var with
5952 __builtin_nan and __builtin_nans families of functions,
5955 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5956 (sqrt_test): Remove duplicate test with qNaN input.
5957 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5958 (round_test, signbit_test, significand_test): Note missing +/-Inf
5959 as well as qNaN tests.
5961 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5962 qNaN_var. Fix a few strings, too.
5963 * math/libm-test.inc (nan_value): Rename to qnan_value.
5964 * math/gen-libm-test.pl (%beautify): Adjust to that.
5965 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5966 * math/test-misc.c (main): Likewise.
5967 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5968 to __qnan_bytes, and __qnan_union, respectively.
5969 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5971 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5972 and lqnanval, respectively.
5973 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5974 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5975 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5976 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5978 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5979 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5982 * math/test-misc.c (main): Fix copy'n'pastos.
5983 * misc/tst-efgcvt.c (special): Likewise.
5985 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5986 Remove declarations.
5988 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5990 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5991 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5992 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5993 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5995 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5998 macro to return vdso values correctly in IFUNC implementations.
5999 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6000 Optimization by using IFUNC.
6002 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6003 Richard Henderson <rth@redhat.com>
6004 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6006 * Makefile.in (bench): New target.
6007 * NEWS: Mention the benchmark framework.
6008 * Rules (bench): Likewise.
6009 (binaries-bench): Generate binaries for functions to
6011 * benchtests/Makefile: New makefile for benchmark tests.
6012 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6014 * benchtests/exp-inputs: New input file for EXP function.
6015 * benchtests/pow-inputs: New input file for POW function.
6016 * scripts/bench.pl: New script to generate source files for
6019 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6021 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6022 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6023 computations on mantissa. Use macros for rounding and
6026 (__dbl_mp): Likewise.
6027 (add_magnitudes): Likewise.
6028 (sub_magnitudes): Likewise.
6031 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6032 powers of two in terms of TWOPOW macro.
6033 (mp_no): Make type of mantissa as MANTISSA_T.
6034 [!RADIXI]: Define RADIXI.
6035 [!TWO52]: Define TWO52.
6036 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6038 * manual/nptl.texi (cindex): Modify threads to pthreads.
6040 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6042 * sysdeps/x86_64/preconfigure: Regenerated.
6044 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6047 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6049 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6050 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6052 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6053 * math/libm-test.inc (j0_test): Do not allow one spurious
6054 underflow exception.
6055 (y1_test): Likewise.
6057 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6059 * manual/Makefile (chapters): Add nptl.
6060 * manual/debug.texi (Debugging Support): Add link to Threads
6062 * manual/nptl.texi: New file.
6064 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6066 2013-03-14 Petr Baudis <pasky@ucw.cz>
6068 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6069 for non-NULL pointer before the memory validity test. Pointed
6070 out by Holger Brunck <holger.brunck@keymile.com>.
6072 2013-03-13 Andreas Schwab <schwab@suse.de>
6074 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6077 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6079 * timezone/zic.c: Update from tzcode 2013b.
6081 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6083 * manual/install.texi (Configuring and compiling):
6084 Mention i686 and i586.
6085 * INSTALL: Regenerate.
6087 2013-03-12 Roland McGrath <roland@hack.frob.com>
6089 * sysdeps/init_array/elf-init.c: New file.
6091 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6092 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6094 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6095 __gmon_start__ as global, but as static with a .preinit_array pointer.
6096 * sysdeps/init_array/gmon-start.c: New file. Use that.
6097 * sysdeps/init_array/crti.S: New file, empty except for comments.
6098 * sysdeps/init_array/crtn.S: Likewise.
6100 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6102 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6105 Remove Prefer_SSE_for_memop.
6106 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6107 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6108 HAS_PREFER_SSE_FOR_MEMOP.
6109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6112 Remove bzero, memset ifunc support.
6113 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6114 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6115 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6116 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6118 2013-03-11 Andreas Schwab <schwab@suse.de>
6121 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6124 (GLIBC_2.16): Remove pthread_atfork.
6126 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6128 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6129 (ptestcases.h): Likewise.
6131 2013-03-08 Roland McGrath <roland@hack.frob.com>
6133 * Makeconfig ($(common-objpfx)config.status): Depend on
6134 sysdeps/*/preconfigure{,.in} too.
6136 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6138 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6139 (__free_hook): Use void * instead of __malloc_ptr_t.
6140 (__malloc_hook): Likewise.
6141 (__realloc_hook): Likewise.
6142 (__memalign_hook): Likewise.
6143 (__after_morecore_hook): Likewise.
6144 * malloc/arena.c (save_malloc_hook): Likewise.
6145 (save_free_hook): Likewise.
6146 * malloc/hooks.c (malloc_hook_ini): Likewise.
6147 (realloc_hook_ini): Likewise.
6148 (memalign_hook_ini): Likewise.
6149 * malloc/malloc.c (malloc_hook_ini): Likewise.
6150 (realloc_hook_ini): Likewise.
6151 (memalign_hook_ini): Likewise.
6152 (__free_hook): Likewise.
6153 (__malloc_hook): Likewise.
6154 (__realloc_hook): Likewise.
6155 (__memalign_hook): Likewise.
6156 (__libc_malloc): Likewise.
6157 (__libc_free): Likewise.
6158 (__libc_realloc): Likewise.
6159 (__libc_memalign): Likewise.
6160 (__libc_valloc): Likewise.
6161 (__libc_pvalloc): Likewise.
6162 (__libc_calloc): Likewise.
6163 (__posix_memalign): Likewise.
6164 * malloc/morecore.c (__sbrk): Likewise.
6165 (__default_morecore): Likewise.
6167 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6169 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6170 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6173 * malloc/malloc.h (__malloc_size_t): Remove macro.
6174 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6176 (old_memalign_hook): Likewise.
6177 (old_realloc_hook): Likewise.
6178 (struct hdr): Likewise.
6180 (mallochook): Likewise.
6181 (memalignhook): Likewise.
6182 (reallochook): Likewise.
6183 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6184 (tr_old_realloc_hook): Likewise.
6185 (tr_old_memalign_hook): Likewise.
6186 (tr_mallochook): Likewise.
6187 (tr_reallochook): Likewise.
6188 (tr_memalignhook): Likewise.
6190 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6192 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6193 default_ldbl_pack and using as default implementation.
6194 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6196 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6197 redundant definition.
6198 (ldbl_insert_mantissa): Likewise.
6199 (ldbl_canonicalize): Likewise.
6200 (ldbl_nearbyint): Likewise.
6201 (ldbl_pack): Rename to ldbl_pack_ppc.
6202 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6203 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6204 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6206 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6209 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6210 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6211 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6213 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6214 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6215 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6217 2013-03-07 Andreas Jaeger <aj@suse.de>
6219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6222 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6224 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6225 Include mpa.h and declare __MPEXP.
6226 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6227 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6228 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6229 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6231 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6234 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6235 (__slowpow): Use long double EXPL and LOGL functions to
6237 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6238 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6240 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6241 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6242 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6245 intermediate variable to calculate exponent.
6247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6251 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6252 [!NO__SQR]: Define __sqr.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6254 and NO__SQR. Remove all code except __mul and __sqr. Include
6255 sysdeps/ieee754/dbl-64/mpa.c.
6256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6259 * posix/Makefile (tests): Add tst-pathconf.
6260 * posix/tst-pathconf.c: New test case.
6261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6263 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6265 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6267 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6269 2013-03-06 Andreas Jaeger <aj@suse.de>
6271 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6272 definition via __MAP_ANONYMOUS.
6274 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6275 it's not part of Linux headers.
6277 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6278 (MAP_HUGE_MASK): Define.
6280 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6282 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6285 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6286 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6288 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6291 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6293 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6294 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6295 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6296 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6297 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6304 Handle f2fs and efivarfs.
6306 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6309 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6310 (EFIVARFS_MAGIC): Add.
6311 (F2FS_LINK_MAX): Add.
6313 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6315 * stdio-common/vfprintf.c: Replace __builtin_expect with
6318 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6321 * sysdeps/generic/bp-sym.h: Remove file.
6322 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6323 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6324 <bp-sym.h> and <bp-asm.h>.
6325 (__longjmp): Don't use BP_SYM.
6326 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6328 (memcpy): Don't use BP_SYM.
6329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6330 <bp-sym.h> and <bp-asm.h>.
6331 (memcpy): Don't use BP_SYM.
6332 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6334 (memcpy): Don't use BP_SYM.
6335 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6337 (memset): Don't use BP_SYM.
6338 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6339 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6340 (__bzero): Don't use BP_SYM.
6341 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6342 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6343 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6344 <bp-sym.h> and <bp-asm.h>.
6345 (memcmp): Don't use BP_SYM. Remove comment about bounded
6347 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6348 <bp-sym.h> and <bp-asm.h>.
6349 (memcpy): Don't use BP_SYM.
6350 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6351 <bp-sym.h> and <bp-asm.h>.
6352 (memset): Don't use BP_SYM.
6353 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6354 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6355 (__bzero): Don't use BP_SYM.
6356 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6357 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6359 <bp-sym.h> and <bp-asm.h>.
6360 (strncmp): Don't use BP_SYM. Remove comment about bounded
6362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6363 <bp-sym.h> and <bp-asm.h>.
6364 (memcpy): Don't use BP_SYM.
6365 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6366 <bp-sym.h> and <bp-asm.h>.
6367 (memset): Don't use BP_SYM.
6368 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6369 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6370 (__bzero): Don't use BP_SYM.
6371 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6372 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6374 <bp-sym.h> and <bp-asm.h>.
6375 (__memchr): Don't use BP_SYM.
6376 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6377 <bp-sym.h> and <bp-asm.h>.
6378 (memcmp): Don't use BP_SYM. Remove comment about bounded
6380 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6381 <bp-sym.h> and <bp-asm.h>.
6382 (memcpy): Don't use BP_SYM.
6383 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6384 <bp-sym.h> and <bp-asm.h>.
6385 (__mempcpy): Don't use BP_SYM.
6386 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (__memrchr): Don't use BP_SYM.
6389 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6390 <bp-sym.h> and <bp-asm.h>.
6391 (memset): Don't use BP_SYM.
6392 (__bzero): Likewise.
6393 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6394 <bp-sym.h> and <bp-asm.h>.
6395 (__rawmemchr): Don't use BP_SYM.
6396 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6397 <bp-sym.h> and <bp-asm.h>.
6398 (__STRCMP): Don't use BP_SYM.
6399 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6400 <bp-sym.h> and <bp-asm.h>.
6401 (strchr): Don't use BP_SYM.
6402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6403 <bp-sym.h> and <bp-asm.h>.
6404 (__strchrnul): Don't use BP_SYM.
6405 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6406 <bp-sym.h> and <bp-asm.h>.
6407 (strlen): Don't use BP_SYM.
6408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6409 <bp-sym.h> and <bp-asm.h>.
6410 (strncmp): Don't use BP_SYM. Remove comment about bounded
6412 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6413 <bp-sym.h> and <bp-asm.h>.
6414 (__strnlen): Don't use BP_SYM.
6415 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6416 <bp-sym.h> and <bp-asm.h>.
6417 (__GI__setjmp): Don't use BP_SYM.
6418 (_setjmp): Likewise.
6419 (__sigsetjmp): Likewise.
6420 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6421 (L(start_addresses)): Don't use BP_SYM.
6423 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6425 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6426 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6427 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6428 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6429 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6431 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6432 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6433 about bounded pointers.
6434 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6436 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6438 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6439 about bounded pointers. Remove GKM FIXME comments.
6440 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6441 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6443 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6444 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6445 Remove GKM FIXME comments.
6446 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6447 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6448 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6450 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6451 about bounded pointers. Remove GKM FIXME comment.
6452 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6454 (strncmp): Don't use BP_SYM. Remove comment about bounded
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6457 <bp-sym.h> and <bp-asm.h>.
6458 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6460 <bp-sym.h> and <bp-asm.h>.
6461 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6464 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6466 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6469 2013-03-05 David S. Miller <davem@davemloft.net>
6471 * po/es.po: Update from translation team.
6473 2013-03-05 Andreas Jaeger <aj@suse.de>
6475 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6476 <bits/mman-linux.h>.
6477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6480 <bits/mman-linux.h> to end of file.
6481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6483 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6484 <bits/mman-linux.h> to end of file.
6485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6488 <bits/mman-linux.h> to end of file.
6490 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6491 (MCL_CURRENT, MCL_FUTURE): Define here.
6493 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6498 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6500 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6502 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6503 fourth parameter needed for rt_sigprocmask syscall.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6505 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6506 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6507 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6511 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6514 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6515 comment about bounded pointers.
6516 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6517 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6519 2013-03-04 Andreas Jaeger <aj@suse.de>
6521 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6524 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6525 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6526 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6528 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6531 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6535 __ieee754_sqrl instead of __sqrl.
6537 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6540 * sysdeps/powerpc/fpu_control.h: ... here.
6541 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6542 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6543 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6544 * sysdeps/powerpc/bits/mathinline.h: ... here.
6546 2013-03-01 Roland McGrath <roland@hack.frob.com>
6548 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6549 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6550 to just [NEED_DL_SYSINFO_DSO].
6551 * elf/dl-support.c: Likewise.
6552 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6553 * elf/rtld.c (dl_main): Likewise.
6554 * elf/setup-vdso.h (setup_vdso): Likewise.
6555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6556 * sysdeps/unix/sysv/linux/dl-sysdep.c
6557 (_dl_discover_osversion): Likewise.
6559 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6561 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6562 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6564 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6566 * NEWS: Mention libm performance improvements and non-x86 PI
6569 * csu/libc-start.c (__pthread_initialize_minimal): Change
6571 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6573 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6576 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6578 <bp-sym.h> and <bp-asm.h>.
6579 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6582 (memcpy): Don't use BP_SYM.
6583 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6585 (__mpn_add_n): Don't use BP_SYM.
6586 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6587 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6589 (__mpn_addmul_1): Don't use BP_SYM.
6590 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6591 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6593 (_setjmp): Don't use BP_SYM.
6594 (__novmx_setjmp): Likewise.
6595 (__GI__setjmp): Likewise.
6596 (__vmx_setjmp): Likewise.
6597 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6599 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6600 (__bzero): Don't use BP_SYM.
6601 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6602 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6603 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6604 <bp-sym.h> and <bp-asm.h>.
6605 (memcpy): Don't use BP_SYM.
6606 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6607 <bp-sym.h> and <bp-asm.h>.
6608 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6609 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6610 <bp-sym.h> and <bp-asm.h>.
6611 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6612 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6614 (__mpn_lshift): Don't use BP_SYM.
6615 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6616 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6618 (memset): Don't use BP_SYM.
6619 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6620 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6621 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6623 (__mpn_mul_1): Don't use BP_SYM.
6624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6625 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6626 <bp-sym.h> and <bp-asm.h>.
6627 (memcmp): Don't use BP_SYM.
6628 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6629 <bp-sym.h> and <bp-asm.h>.
6630 (memcpy): Don't use BP_SYM.
6631 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6632 <bp-sym.h> and <bp-asm.h>.
6633 (memset): Don't use BP_SYM.
6634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6635 <bp-sym.h> and <bp-asm.h>.
6636 (strncmp): Don't use BP_SYM.
6637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6638 <bp-sym.h> and <bp-asm.h>.
6639 (memcpy): Don't use BP_SYM.
6640 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6641 <bp-sym.h> and <bp-asm.h>.
6642 (memset): Don't use BP_SYM.
6643 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6644 <bp-sym.h> and <bp-asm.h>.
6645 (__memchr): Don't use BP_SYM.
6646 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6647 <bp-sym.h> and <bp-asm.h>.
6648 (memcmp): Don't use BP_SYM.
6649 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6650 <bp-sym.h> and <bp-asm.h>.
6651 (memcpy): Don't use BP_SYM.
6652 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6653 <bp-sym.h> and <bp-asm.h>.
6654 (__mempcpy): Don't use BP_SYM.
6655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6656 <bp-sym.h> and <bp-asm.h>.
6657 (__memrchr): Don't use BP_SYM.
6658 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6659 <bp-sym.h> and <bp-asm.h>.
6660 (memset): Don't use BP_SYM.
6661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6662 <bp-sym.h> and <bp-asm.h>.
6663 (__rawmemchr): Don't use BP_SYM.
6664 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6665 <bp-sym.h> and <bp-asm.h>.
6666 (__STRCMP): Don't use BP_SYM.
6667 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6668 <bp-sym.h> and <bp-asm.h>.
6669 (strchr): Don't use BP_SYM.
6670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6671 <bp-sym.h> and <bp-asm.h>.
6672 (__strchrnul): Don't use BP_SYM.
6673 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6674 <bp-sym.h> and <bp-asm.h>.
6675 (strlen): Don't use BP_SYM.
6676 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6677 <bp-sym.h> and <bp-asm.h>.
6678 (strncmp): Don't use BP_SYM.
6679 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6680 <bp-sym.h> and <bp-asm.h>.
6681 (__strnlen): Don't use BP_SYM.
6682 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6684 (__mpn_rshift): Don't use BP_SYM.
6685 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6687 <bp-sym.h> and <bp-asm.h>.
6688 (__sigsetjmp): Don't use BP_SYM.
6689 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6690 (L(start_addresses)): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6694 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6695 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6696 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6697 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6699 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6700 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6701 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6702 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6704 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6706 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6707 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6709 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6711 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6712 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6713 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6715 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6717 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6719 (strncmp): Don't use BP_SYM,
6720 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6722 (__mpn_sub_n): Don't use BP_SYM.
6723 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6724 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6726 (__mpn_submul_1): Don't use BP_SYM.
6727 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6732 <bp-sym.h> and <bp-asm.h>.
6733 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6736 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6739 Use ZK to minimize writes to Z.
6740 (sub_magnitudes): Simplify code a bit.
6741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6742 Use ZK to minimize writes to Z.
6743 (sub_magnitudes): Simplify code a bit.
6745 2013-02-27 Roland McGrath <roland@hack.frob.com>
6747 * csu/gmon-start.c: Add special exception to license text.
6749 2013-02-27 Richard Henderson <rth@redhat.com>
6751 * scripts/config.guess: Update from config.git.
6752 * scripts/config.sub: Likewise.
6754 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6756 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6758 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6760 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6762 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6764 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6766 2013-02-26 Roland McGrath <roland@hack.frob.com>
6768 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6769 [$(build-shared = yes].
6771 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6773 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6774 (__mul): Reduce iterations for calculating mantissa.
6776 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6778 (__mpranred): Likewise.
6781 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6782 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6784 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6786 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6787 Define __attribute__.
6789 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6791 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6793 * posix/regex_internal.h (__attribute): Remove.
6794 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6795 (re_string_context_at): Likewise.
6796 (bitset_not): Use __attribute__ and mark function as possibly
6798 (bitset_merge): Likewise.
6799 (bitset_mask): Likewise.
6800 (re_string_char_size_at): Likewise.
6801 (re_string_wchar_at): Likewise.
6802 (re_string_elem_size_at): Likewise.
6804 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6810 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6815 (__dbl_mp): Likewise.
6816 (add_magnitudes): Likewise.
6817 (sub_magnitudes): Likewise.
6821 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6824 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6827 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6831 up changes with default code.
6832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6835 2013-02-24 Allan McRae <allan@archlinux.org>
6837 * manual/socket.texi (The Internet Namespace): Order menu items
6838 to match that in the file.
6840 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6841 node listing of the info page menu.
6843 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6846 * sysdeps/i386/bp-asm.h: Remove file.
6847 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6848 (PARMS): Do not use macros from bp-asm.h.
6852 (__mpn_add_n): Do not use BP_SYM
6853 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6855 (PARMS): Do not use macros from bp-asm.h.
6858 (__mpn_addmul_1): Do not use BP_SYM
6859 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6861 (PARMS): Do not use macros from bp-asm.h.
6863 (_setjmp): Likewise. Do not use BP_SYM.
6864 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6866 (PARMS): Do not use macros from bp-asm.h.
6868 (setjmp): Likewise. Do not use BP_SYM.
6869 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6871 (PARMS): Do not use macros from bp-asm.h.
6872 (__frexp): Do not use BP_SYM.
6874 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6876 (PARMS): Do not use macros from bp-asm.h.
6877 (__frexpf): Do not use BP_SYM.
6879 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6881 (PARMS): Do not use macros from bp-asm.h.
6882 (__frexpl): Do not use BP_SYM.
6884 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6886 (PARMS): Do not use macros from bp-asm.h.
6887 (__remquo): Do not use BP_SYM.
6889 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6891 (PARMS): Do not use macros from bp-asm.h.
6892 (__remquof): Do not use BP_SYM.
6893 (remquof): Likewise.
6894 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6896 (PARMS): Do not use macros from bp-asm.h.
6897 (__remquol): Do not use BP_SYM.
6898 (remquol): Likewise.
6899 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6901 (PARMS): Do not use macros from bp-asm.h.
6904 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6905 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6907 (PARMS): Do not use macros from bp-asm.h.
6908 (strlen): Do not use BP_SYM.
6909 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6911 (PARMS): Do not use macros from bp-asm.h.
6915 (__mpn_add_n): Do not use BP_SYM.
6916 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6918 (PARMS): Do not use macros from bp-asm.h.
6921 (__mpn_addmul_1): Do not use BP_SYM.
6922 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6925 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6927 (PARMS): Do not use macros from bp-asm.h.
6930 (__mpn_lshift): Do not use BP_SYM.
6931 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6933 (PARMS): Do not use macros from bp-asm.h.
6937 (memcpy): Likewise. Do not use BP_SYM.
6938 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6939 libc_hidden_def and weak_alias.
6940 (mempcpy): Do not use BP_SYM in weak_alias.
6941 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6943 (PARMS): Do not use macros from bp-asm.h.
6946 [!BZERO_P] (CHR): Likewise.
6947 (memset): Likewise. Do not use BP_SYM.
6948 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6950 (PARMS): Do not use macros from bp-asm.h.
6953 (__mpn_mul_1): Do not use BP_SYM.
6954 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6956 (PARMS): Do not use macros from bp-asm.h.
6959 (__mpn_rshift): Do not use BP_SYM.
6960 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6962 (PARMS): Do not use macros from bp-asm.h.
6965 (strchr): Likewise. Do not use BP_SYM.
6966 (index): Do not use BP_SYM in weak_alias.
6967 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6969 (PARMS): Do not use macros from bp-asm.h.
6972 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6973 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6975 (PARMS): Do not use macros from bp-asm.h.
6976 (strlen): Do not use BP_SYM.
6977 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6979 (PARMS): Do not use macros from bp-asm.h.
6983 (__mpn_sub_n): Do not use BP_SYM.
6984 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6986 (PARMS): Do not use macros from bp-asm.h.
6989 (__mpn_submul_1): Do not use BP_SYM.
6990 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6992 (PARMS): Do not use macros from bp-asm.h.
6996 (__mpn_add_n): Do not use BP_SYM.
6997 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7000 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7002 (PARMS): Do not use macros from bp-asm.h.
7005 (memcmp): Do not use BP_SYM.
7006 (bcmp): Do not use BP_SYM in weak_alias.
7007 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7009 (PARMS): Do not use macros from bp-asm.h.
7013 (memcpy): Likewise. Do not use BP_SYM.
7014 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7016 (PARMS): Do not use macros from bp-asm.h.
7020 (memmove): Likewise. Do not use BP_SYM.
7021 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7023 (PARMS): Do not use macros from bp-asm.h.
7027 (__mempcpy): Likewise. Do not use BP_SYM.
7028 (mempcpy): Do not use BP_SYM in weak_alias.
7029 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7031 (PARMS): Do not use macros from bp-asm.h.
7034 [!BZERO_P] (CHR): Likewise.
7035 (memset): Likewise. Do not use BP_SYM.
7036 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7038 (PARMS): Do not use macros from bp-asm.h.
7040 (strcmp): Do not use BP_SYM.
7041 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7043 (PARMS): Do not use macros from bp-asm.h.
7046 [USE_AS_STRTOK_R] (SAVE): Likewise.
7047 (FUNCTION): Likewise. Do not use BP_SYM.
7048 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7050 (strtok_r): Likewise.
7051 (__GI___strtok_r): Likewise.
7052 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7053 (PARMS): Do not use macros from bp-asm.h.
7056 (__mpn_lshift): Do not use BP_SYM.
7057 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7058 (PARMS): Do not use macros from bp-asm.h.
7061 (__memchr): Do not use BP_SYM.
7062 (memchr): Do not use BP_SYM in weak_alias.
7063 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7067 (memcmp): Do not use BP_SYM.
7068 (bcmp): Do not use BP_SYM in weak_alias.
7069 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7070 (PARMS): Do not use macros from bp-asm.h.
7073 (__mpn_mul_1): Do not use BP_SYM.
7074 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7076 (PARMS): Do not use macros from bp-asm.h.
7079 (__rawmemchr): Do not use BP_SYM.
7080 (rawmemchr): Do not use BP_SYM in weak_alias.
7081 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7082 (PARMS): Do not use macros from bp-asm.h.
7085 (__mpn_rshift): Do not use BP_SYM.
7086 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7087 (PARMS): Do not use macros from bp-asm.h.
7089 (__sigsetjmp): Likewise. Do not use BP_SYM.
7090 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7091 (_start): Do not use BP_SYM.
7092 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7093 (PARMS): Do not use macros from bp-asm.h.
7096 (__stpcpy): Likewise. Do not use BP_SYM.
7097 (stpcpy): Do not use BP_SYM in weak_alias.
7098 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7100 (PARMS): Do not use macros from bp-asm.h.
7104 (__stpncpy): Likewise. Do not use BP_SYM.
7105 (stpncpy): Do not use BP_SYM in weak_alias.
7106 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7107 (PARMS): Do not use macros from bp-asm.h.
7110 (strchr): Likewise. Do not use BP_SYM.
7111 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7113 (PARMS): Do not use macros from bp-asm.h.
7116 (__strchrnul): Likewise. Do not use BP_SYM.
7117 (strchrnul): Do not use BP_SYM in weak_alias.
7118 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7120 (PARMS): Do not use macros from bp-asm.h.
7122 (strcspn): Do not use BP_SYM.
7123 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7125 (PARMS): Do not use macros from bp-asm.h.
7128 (strpbrk): Likewise. Do not use BP_SYM.
7129 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7131 (PARMS): Do not use macros from bp-asm.h.
7134 (strrchr): Likewise. Do not use BP_SYM.
7135 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7136 (PARMS): Do not use macros from bp-asm.h.
7138 (strspn): Do not use BP_SYM.
7139 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7140 (PARMS): Do not use macros from bp-asm.h.
7144 (FUNCTION): Likewise. Do not use BP_SYM.
7145 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7147 (strtok_r): Likewise.
7148 (__GI___strtok_r): Likewise.
7149 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7150 (PARMS): Do not use macros from bp-asm.h.
7154 (__mpn_sub_n): Do not use BP_SYM.
7155 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7157 (PARMS): Do not use macros from bp-asm.h.
7160 (__mpn_submul_1): Do not use BP_SYM.
7161 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7163 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7165 (PARMS): Do not use macros from bp-asm.h.
7170 (__clone): Do not use BP_SYM.
7171 (clone): Do not use BP_SYM in weak_alias.
7172 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7174 (PARMS): Do not use macros from bp-asm.h.
7176 (__mmap64): Do not use BP_SYM.
7177 (mmap64): Do not use BP_SYM in weak_alias.
7178 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7179 <bp-sym.h> and <bp-asm.h>.
7180 (PARMS): Do not use macros from bp-asm.h.
7181 (__posix_fadvise64_l64): Do not use BP_SYM.
7182 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7183 (PARMS): Do not use macros from bp-asm.h.
7185 (semtimedop): Do not use BP_SYM.
7186 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7189 2013-02-21 Allan McRae <allan@archlinux.org>
7191 * manual/message.texi (Charset conversion in gettext):
7192 Move @end statement to beginning of line.
7194 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7206 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7208 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7209 tail-call to the resolved function if pltexit isn't needed.
7211 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7214 or Y being zero as being unlikely.
7215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7218 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7220 * manual/nss.texi (System Databases and Name Service Switch):
7221 Remove frobnicate @pxref.
7223 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7225 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7226 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7228 2013-02-20 Petr Machata <pmachata@redhat.com>
7230 * elf/elf.h (R_ARM_TARGET1): New macro.
7231 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7232 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7233 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7234 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7235 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7236 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7237 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7238 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7239 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7240 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7241 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7242 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7243 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7244 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7245 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7246 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7247 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7248 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7249 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7250 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7251 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7252 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7253 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7254 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7255 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7256 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7257 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7258 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7259 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7260 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7261 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7262 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7263 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7264 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7265 (R_ARM_THM_GOT_BREL12): Likewise.
7266 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7267 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7268 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7269 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7270 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7271 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7272 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7273 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7274 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7276 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7278 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7279 __attribute_used__ to __attribute__ ((unused)).
7281 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7283 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7289 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7292 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7294 (ENTER): Remove both macro definitions.
7296 (CHECK_BOUNDS_LOW): Likewise.
7297 (CHECK_BOUNDS_HIGH): Likewise.
7298 (CHECK_BOUNDS_BOTH): Likewise.
7299 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7300 (RETURN_BOUNDED_POINTER): Likewise.
7301 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7302 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7303 (POP_ERRNO_LOCATION_RETURN): Likewise.
7304 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7305 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7306 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7309 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7310 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7311 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7312 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7313 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7314 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7315 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7316 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7317 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7318 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7319 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7321 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7324 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7326 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7327 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7328 * sysdeps/i386/i586/memset.S (memset): Likewise.
7329 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7330 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7331 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7333 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7334 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7335 Change uses of L(2) to L(out).
7336 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7337 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7338 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7339 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7340 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7342 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7343 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7345 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7346 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7347 (RETURN): Do not use macro LEAVE.
7348 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7349 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7350 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7351 * sysdeps/i386/i686/memset.S (memset): Likewise.
7352 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7353 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7354 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7355 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7357 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7358 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7359 L(1_2) and L(1_3) into L(1).
7360 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7361 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7362 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7363 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7364 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7365 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7366 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7367 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7368 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7370 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7371 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7372 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7373 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7374 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7375 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7376 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7377 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7378 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7379 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7380 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7381 * sysdeps/i386/strspn.S (strspn): Likewise.
7382 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7384 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7385 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7386 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7387 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7389 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7390 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7391 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7395 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7397 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7400 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7402 * math/atest-exp.c (exp_mpn): Remove ROUND.
7403 * math/atest-exp2.c (exp_mpn): Likewise.
7404 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7406 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7407 * stdlib/tst-tls-atexit-lib.c: Likewise.
7408 * stdlib/tst-tls-atexit.c: Likewise.
7410 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7412 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7413 and __attribute_alloc_size__.
7415 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7417 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7418 __attribute_alloc_size__.
7419 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7420 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7422 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7424 * include/programs/xmalloc.h: New file.
7425 * catgets/gencat.c: Include it.
7426 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7427 * elf/pldd.c: Likewise.
7428 * iconv/iconv_charmap.c: Likewise.
7429 * iconv/iconvconfig.c: Likewise.
7430 * iconv/strtab.c: Likewise.
7431 * locale/programs/locale.c: Likewise.
7432 * locale/programs/localedef.h: Likewise.
7433 * locale/programs/simple-hash.c: Likewise.
7434 * nscd/nscd.h: Likewise.
7435 * nss/makedb.c: Likewise.
7436 * sysdeps/generic/ldconfig.h: Likewise.
7438 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7440 * Versions.def: Add GLIBC_2.18.
7441 * include/link.h (struct link_map): New member l_tls_dtor_count.
7442 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7443 (__call_tls_dtors): Likewise.
7444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7445 __cxa_thread_atexit_impl.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7462 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7463 (tests): Add test case tst-tls-atexit.
7464 (modules-names): Add shared library for tst-tls-atexit.
7465 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7466 (GLIBC_PRIVATE): Add __call_tls_dtors.
7467 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7469 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7470 * stdlib/tst-tls-atexit.c: New test case.
7471 * stdlib/tst-tls-atexit-lib.c: New test case.
7473 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7475 * elf/Versions (ld): Add _dl_find_dso_for_object.
7476 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7477 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7478 (dl_open_worker): Use _dl_find_dso_for_object.
7479 * elf/dl-sym.c (do_sym): Likewise.
7480 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7482 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7484 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7485 Syntactic changes only.
7486 (_dl_runtime_profile): Do a tail-call to the resolved function.
7488 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/x86_64/bp-asm.h: Remove file.
7492 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7493 <bp-sym.h> and <bp-asm.h>.
7494 (__clone): Do not use BP_SYM.
7495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7496 <bp-sym.h> and <bp-asm.h>.
7497 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7498 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7500 (_setjmp): Do not use BP_SYM.
7501 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7503 (setjmp): Do not use BP_SYM.
7504 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7506 (mempcpy): Do not use BP_SYM in weak_alias.
7507 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7509 (strchr): Do not use BP_SYM.
7510 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7512 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7513 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7514 (_start): Do not use BP_SYM.
7515 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7517 (strcat): Do not use BP_SYM.
7518 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7520 (STRCMP): Do not use BP_SYM.
7521 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7523 (STRCPY): Do not use BP_SYM.
7524 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7526 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7528 (FUNCTION): Do not use BP_SYM.
7529 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7531 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7533 2013-02-17 Andreas Jaeger <aj@suse.de>
7535 * time/Versions: Sort entries.
7536 * string/Versions: Likewise.
7537 * resolv/Versions: Likewise.
7538 * posix/Versions: Likewise.
7539 * iconv/Versions: Likewise.
7540 * elf/Versions: Likewise.
7541 * wcsmbs/Versions: Likewise.
7543 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7546 loop termination condition.
7548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7549 variable to calculate EZ.
7552 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7553 the lower precision input.
7555 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7558 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7559 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7560 (run-via-rtld-prefix): Do not handle %-bp tests.
7561 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7562 (all-object-suffixes): Remove .ob.
7563 (bppfx): Remove variable.
7564 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7565 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7566 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7567 [$(build-bounded) = yes] (libtype.ob): Likewise.
7568 * Makerules (elide-routines.ob): Remove variable.
7569 (do-tests-clean): Do not handle *-bp.out.
7570 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7571 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7572 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7573 (tests): Do not include $(tests-bp.out).
7574 (xtests): Do not include $(xtests-bp.out).
7575 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7576 [$(build-bounded) = yes] ($(addprefix
7577 $(objpfx),$(binaries-bounded))): Remove rule.
7578 ($(objpfx)%-bp.out): Remove rule.
7579 * config.make.in (build-bounded): Remove variable.
7580 * crypt/Makefile [$(build-bounded) = yes]
7581 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7582 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7584 [$(build-bounded) = yes] (install-lib): Likewise.
7585 [$(build-bounded) = yes] (generated): Likewise.
7586 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7588 * intl/Makefile [$(build-bounded) = yes]
7589 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7590 * math/Makefile [$(build-bounded) = yes]
7591 ($(tests:%=$(objpfx)%-bp): Likewise.
7592 * misc/Makefile [$(build-bounded) = yes]
7593 ($(objpfx)tst-tsearch-bp): Likewise.
7594 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7595 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7597 * string/Makefile (o-objects.ob): Remove variable.
7598 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7599 (CFLAGS-.ob): Remove variable.
7600 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7601 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7602 both definitions of variable.
7603 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7604 (ASFLAGS-.ob): Remove variable.
7606 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7609 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7610 Remove __BOUNDED_POINTERS__ from condition.
7611 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7612 * string/bits/string2.h [!__NO_STRING_INLINES &&
7613 !__BOUNDED_POINTERS__]: Likewise.
7614 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7616 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7617 Remove conditional code.
7618 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7619 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7620 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7624 * csu/libc-start.c: Do not include <bp-sym.h>.
7625 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7626 * elf/dl-open.c: Do not include <bp-sym.h>.
7627 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7628 * math/fegetenv.c: Do not include <bp-sym.h>.
7629 (fegetenv): Do not use BP_SYM in versioned symbols.
7630 * nptl/sysdeps/pthread/bits/libc-lockP.h
7631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7634 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7636 (__pthread_mutex_destroy): Likewise.
7637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7638 (__pthread_mutex_lock): Likewise.
7639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7640 (__pthread_mutex_trylock): Likewise.
7641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7642 (__pthread_mutex_unlock): Likewise.
7643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7644 (__pthread_mutexattr_init): Likewise.
7645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7646 (__pthread_mutexattr_destroy): Likewise.
7647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7648 (__pthread_mutexattr_settype): Likewise.
7649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7650 (__pthread_rwlock_init): Likewise.
7651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7652 (__pthread_rwlock_destroy): Likewise.
7653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7654 (__pthread_rwlock_rdlock): Likewise.
7655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7656 (__pthread_rwlock_tryrdlock): Likewise.
7657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7658 (__pthread_rwlock_wrlock): Likewise.
7659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7660 (__pthread_rwlock_trywrlock): Likewise.
7661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7662 (__pthread_rwlock_unlock): Likewise.
7663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7664 (__pthread_key_create): Likewise.
7665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7666 (__pthread_setspecific): Likewise.
7667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7668 (__pthread_getspecific): Likewise.
7669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7672 (_pthread_cleanup_push_defer): Likewise.
7673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7674 (_pthread_cleanup_pop_restore): Likewise.
7675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7676 (pthread_setcancelstate): Likewise.
7677 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7679 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7680 (memchr): Do not use BP_SYM in weak_alias.
7681 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7682 (fegetenv): Do not use BP_SYM in versioned symbols.
7683 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7684 (fesetenv): Do not use BP_SYM in versioned symbols.
7685 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7686 (feupdateenv): Do not use BP_SYM in versioned symbols.
7687 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7688 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7689 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7690 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7691 (open64): Do not use BP_SYM in weak_alias.
7692 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7693 (fegetenv): Do not use BP_SYM in versioned symbols.
7694 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7695 (fesetenv): Do not use BP_SYM in versioned symbols.
7696 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7697 (feupdateenv): Do not use BP_SYM in versioned symbols.
7698 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7699 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7700 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7701 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7702 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7703 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7704 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7706 (__libc_start_main): Do not use BP_SYM.
7708 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7711 redundant return line.
7715 (sub_magnitudes): Likewise.
7721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7725 (sub_magnitudes): Likewise.
7732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7734 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7735 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7738 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7739 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7741 of __mul for squares.
7742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7746 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7747 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7749 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7752 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7754 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7755 prototype or function definition. Rename ubp_* variables and
7756 parameters. Remove argv definitions conditional on
7757 [__BOUNDED_POINTERS__].
7758 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7759 * elf/dl-runtime.c (_dl_fixup): Likewise.
7760 * include/set-hooks.h (RUN_HOOK): Likewise.
7761 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7763 * string/strcpy.c (strcpy): Do not use __unbounded.
7764 * sysdeps/generic/frame.h (struct layout): Likewise.
7765 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7766 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7767 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7768 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7769 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7770 (__backtrace): Likewise.
7771 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7773 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7774 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7775 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7777 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7778 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7779 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7780 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7781 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7782 Do not use __unbounded.
7783 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7784 Rename __unboundedrlimits parameter to rlimits in prototype.
7785 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7786 Do not use __unbounded.
7787 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7789 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7790 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7791 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7792 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7793 __ptrvalue or __unbounded.
7794 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7795 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7797 (__new_msgctl): Do not use __ptrvalue.
7798 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7800 (__libc_msgrcv): Do not use __ptrvalue.
7801 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7802 startup_info): Do not use __unbounded.
7803 (__libc_start_main): Likewise. Rename ubp_* variables and
7804 parameters. Remove argv definitions conditional on
7805 [__BOUNDED_POINTERS__].
7806 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7808 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7810 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7812 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7814 (__new_shmctl): Do not use __ptrvalue.
7815 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7816 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7818 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7820 (__libc_sigaction): Likewise.
7821 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7822 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7824 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7826 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7828 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7830 * string/mempcpy.c: Implement by calling memcpy.
7832 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7840 values in the mantissa.
7842 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7843 minimize writes to Z.
7844 (sub_magnitudes): Simplify code a bit.
7846 2013-02-12 Roland McGrath <roland@hack.frob.com>
7848 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7849 from the message. The linker prefixes all warnings with that already.
7851 2013-02-12 Andreas Schwab <schwab@suse.de>
7854 * posix/regexec.c (extend_buffers): Add parameter min_len.
7855 (check_matching): Pass minimum needed length.
7856 (clean_state_log_if_needed): Likewise.
7857 (get_subexp): Likewise.
7858 * posix/Makefile (tests): Add bug-regex34.
7859 (bug-regex34-ENV): Define.
7860 * posix/bug-regex34.c: New file.
7863 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7864 elements compare against the byte sequence of it, not its name.
7865 * posix/Makefile (tests): Add bug-regex35.
7866 (bug-regex35-ENV): Define.
7867 * posix/bug-regex35.c: New file.
7869 2013-02-11 Tom de Vries <tom@codesourcery.com>
7871 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7873 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7874 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7875 (CHECK_EOL): Add undef.
7877 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7879 * bits/stdlib-bsearch.h: New file.
7880 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7881 * stdlib/stdlib.h: Likewise.
7883 2013-02-11 Roland McGrath <roland@hack.frob.com>
7885 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7886 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7888 * manual/search.texi (Array Search Function): Add missing const in
7890 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7891 declaration to use rlim_t.
7892 (Basic Scheduling Functions): Remove erroneous const from
7893 sched_getparam prototype. Remove erroneous * from
7894 sched_get_priority_max and sched_get_priority_min prototypes.
7895 (Resource Usage): Fix summary @comment on vtimes to refer to
7896 sys/vtimes.h rather than vtimes.h.
7897 Add missing *s in vtimes prototype.
7898 (Limits on Resources): Fix ulimit prototype to return long int.
7899 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7900 prototypes to use long int rather than double.
7901 (BSD Random): Fix initstate and setstate to use char *, not void *.
7902 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7903 prototype to make second argument 'struct aiocb64 *const[]'.
7904 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7905 (Status of AIO Operations): Remove erroneous const in aio_return and
7906 aio_return64 prototypes.
7907 (Synchronizing I/O): Fix sync prototype to return void.
7908 * manual/startup.texi (Suboptions): Remove an erroneous const in
7909 getsubopt prototype.
7910 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7911 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7912 use size_t rather than int.
7913 (Scanning All Users): Likewise for getpwent_r.
7914 (Setting Groups): Add missing const to setgroups prototype.
7915 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7916 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7917 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7918 'const void *' rather than 'const char *'.
7919 (Host Address Functions): Likewise for inet_ntop.
7920 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7921 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7922 ssize_t for return value.
7923 (Sending Data): Likewise for send, sendto, sendmsg.
7924 (Socket Option Functions): Add a missing const in setsockopt prototype.
7925 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7926 use wchar_t for the argument.
7927 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7928 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7930 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7931 double/float/long double for second argument.
7932 Fix return types of significand, significandf, significandl.
7933 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7934 argument in fchmod prototype.
7935 (File Owner): Use uid_t and gid_t in fchown prototype.
7936 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7937 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7938 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7939 use 'const struct dirent **' as argument types to CMP function pointer
7941 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7942 (File Times): Fix summary magic @comment for struct utimbuf and utime
7943 to refer to utime.h, not time.h.
7944 * manual/string.texi (Argz Functions): Add missing const in
7945 argz_extract and argz_next prototypes.
7946 (Finding Tokens in a String): Likewise for basename.
7947 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7948 (Copying and Concatenation): Fix typo in wmemmove prototype.
7949 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7950 (Signal Stack): Remove erroneous const in sigstack prototype.
7951 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7953 (Simple Calendar Time): Likewise for stime.
7954 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7956 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7957 say sys/sysctl.h instead.
7958 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7959 and vsyslog prototypes.
7961 2013-02-11 Tom de Vries <tom@codesourcery.com>
7963 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7966 2013-02-11 Roland McGrath <roland@hack.frob.com>
7968 * misc/sys/mman.h: Fix typo in mremap comment.
7970 2013-02-08 Roland McGrath <roland@hack.frob.com>
7972 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7973 the '\0' terminator.
7975 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7978 * debug/segfault.c: Don't include <bp-checks.h>.
7979 * sysdeps/generic/bp-checks.h: Remove file.
7980 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7981 (__GETDENTS): Don't use CHECK_N.
7982 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7983 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7984 (__getgroups): Don't use CHECK_N.
7985 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7986 (setgroups): Don't use CHECK_N.
7987 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7988 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7989 (__libc_msgrcv): Don't use CHECK_N.
7990 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7991 (__libc_msgsnd): Don't use CHECK_N.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7994 (__libc_pread): Don't use CHECK_N.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7996 include <bp-checks.h>.
7997 (__libc_pread64): Don't use CHECK_N.
7998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7999 include <bp-checks.h>.
8000 (__libc_pwrite): Don't use CHECK_N.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8002 include <bp-checks.h>.
8003 (__libc_pwrite64): Don't use CHECK_N.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8006 (__libc_pread): Don't use CHECK_N.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8008 include <bp-checks.h>.
8009 (__libc_pread64): Don't use CHECK_N.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8011 include <bp-checks.h>.
8012 (__libc_pwrite): Don't use CHECK_N.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8014 include <bp-checks.h>.
8015 (__libc_pwrite64): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8017 (do_pread): Don't use CHECK_N.
8018 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8019 (do_pread64): Don't use CHECK_N.
8020 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8021 (do_pwrite): Don't use CHECK_N.
8022 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8023 (do_pwrite64): Don't use CHECK_N.
8024 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8025 (__libc_readv): Don't use CHECK_N.
8026 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8027 (semop): Don't use CHECK_N.
8028 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8030 (semtimedop): Don't use CHECK_N.
8031 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8032 (__libc_pread): Don't use CHECK_N.
8033 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8035 (__libc_pread64): Don't use CHECK_N.
8036 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8038 (__libc_pwrite): Don't use CHECK_N.
8039 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8041 (__libc_pwrite64): Don't use CHECK_N.
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8044 (__libc_msgrcv): Don't use CHECK_N.
8045 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8046 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8047 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8048 (__libc_writev): Don't use CHECK_N.
8050 2013-02-08 Roland McGrath <roland@hack.frob.com>
8052 * string/strcpy.c: Removed unused variable.
8054 * Makeconfig (+sysdep-includes): Define with := rather than =.
8055 Use an existing include/ subdir of each sysdeps dir before it.
8057 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8059 * nscd/connection.c (register_traced_file): Comment function.
8060 [HAVE_INOTIFY] (union __inev): Define.
8061 [HAVE_INOTIFY] (inotify_check_files): New function.
8062 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8063 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8065 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8067 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8069 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8070 loaded if not already and that a failure is permanent.
8072 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8075 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8076 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8078 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8081 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8082 (CHECK_1_NULL_OK): Likewise.
8083 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8084 (__fxstat): Do not use CHECK_1.
8085 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8087 (___fxstat64): Do not use CHECK_1.
8088 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8090 (__fxstatat): Do not use CHECK_1.
8091 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8093 (__fxstatat64): Do not use CHECK_1.
8094 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8096 (__fxstat): Do not use CHECK_1.
8097 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8099 (__fxstatat): Do not use CHECK_1.
8100 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8102 (__getresgid): Do not use CHECK_1.
8103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8105 (__getresuid): Do not use CHECK_1.
8106 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8108 (__lxstat): Do not use CHECK_1.
8109 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8111 (__old_msgctl): Do not use CHECK_1.
8112 (__new_msgctl): Likewise.
8113 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8115 (__new_setrlimit): Do not use CHECK_1.
8116 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8118 (__old_shmctl): Do not use CHECK_1.
8119 (__new_shmctl): Likewise.
8120 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8122 (__xstat): Do not use CHECK_1.
8123 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8124 (__lxstat): Do not use CHECK_1.
8125 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8127 (___lxstat64): Do not use CHECK_1.
8128 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8129 (__old_msgctl): Do not use CHECK_1.
8130 (__new_msgctl): Likewise.
8131 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8133 (__gettimeofday): Do not use CHECK_1.
8134 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8135 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8136 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8138 (__gettimeofday): Do not use CHECK_1.
8139 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8140 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8141 (__new_shmctl): Do not use CHECK_1.
8142 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8144 (do_sigtimedwait): Do not use CHECK_1.
8145 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8147 (do_sigwaitinfo): Do not use CHECK_1.
8148 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8150 (msgctl): Do not use CHECK_1.
8151 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8153 (shmctl): Do not use CHECK_1.
8154 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8155 (ustat): Do not use CHECK_1.
8156 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8158 (__fxstat): Do not use CHECK_1.
8159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8161 (__fxstatat): Do not use CHECK_1.
8162 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8164 (__lxstat): Do not use CHECK_1.
8165 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8167 (__xstat): Do not use CHECK_1.
8168 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8169 (__xstat): Do not use CHECK_1.
8170 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8171 (___xstat64): Do not use CHECK_1.
8174 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8176 (CHECK_BOUNDS_HIGH): Likewise.
8177 * string/strcpy.c: Do not include <bp-checks.h>.
8178 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8180 2013-02-07 Roland McGrath <roland@hack.frob.com>
8182 * nscd/nscd-client.h (__nscd_drop_map_ref):
8183 Add __attribute__ ((unused)).
8184 * nis/nss-nisplus.h (niserr2nss): Likewise.
8186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8187 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8189 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8190 Remove inline keyword.
8191 * include/rounding-mode.h (round_away): Likewise.
8192 * libio/wfileops.c (adjust_wide_data): Likewise.
8193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8194 (__m128i_strloadu_tolower): Likewise.
8195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8196 (__m128i_strloadu_tolower): Likewise.
8197 * time/mktime.c (ydhms_diff): Likewise.
8198 * locale/elem-hash.h (elem_hash): Likewise.
8199 * locale/setlocale.c (setdata): Likewise.
8200 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8201 (re_string_wchar_at): Likewise.
8202 (bitset_not, bitset_merge, bitset_mask): Likewise.
8203 [!(__GNUC__ > 3)] (inline): Remove macro.
8204 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8205 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8206 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8207 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8208 * string/memcmp.c (memcmp_bytes): Likewise.
8209 * locale/programs/locarchive.c (compute_hashval): Likewise.
8210 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8211 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8212 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8213 * nss/getent.c (print_rpc, print_protocols): Likewise.
8214 (print_passwd, print_group, print_aliases): Likewise.
8215 * nis/nss-nisplus.h (niserr2nss): Likewise.
8216 * nscd/connections.c (restart_p): Likewise.
8217 Change return type to bool.
8219 2013-02-05 Roland McGrath <roland@hack.frob.com>
8221 * Makeconfig (all-Depend-files): Add existing
8222 $(sorted-subdirs:=/Depend) files.
8223 (all-subdirs): Remove nss.
8224 * sysdeps/unix/inet/Subdirs: Add it here instead.
8225 * hesiod/Depend: New file.
8227 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8228 instead of calling alloca.
8230 * io/lseek.c (__lseek): Rename to __libc_lseek.
8231 Define __lseek as an alias.
8233 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8235 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8237 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8238 else clause and remove check for non-standard endianness.
8240 2013-02-04 David S. Miller <davem@davemloft.net>
8242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8244 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8247 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8248 (__ubp_memchr): Remove prototype.
8249 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8250 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8251 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8252 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8253 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8255 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8256 (__ubp_memchr): Likewise.
8257 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8258 (__ubp_memchr): Likewise.
8259 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8260 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8261 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8262 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8264 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8265 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8266 (__getcwd): Do not use CHECK_STRING.
8267 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8269 (__real_chown): Do not use CHECK_STRING.
8270 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8272 (fchownat): Do not use CHECK_STRING.
8273 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8275 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8277 (__lchown): Do not use CHECK_STRING.
8278 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8279 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8280 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8281 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8283 include <bp-checks.h>.
8284 (truncate64): Do not use CHECK_STRING.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8287 (__real_chown): Do not use CHECK_STRING.
8288 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8290 (__lchown): Do not use CHECK_STRING.
8291 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8293 (__chown): Do not use CHECK_STRING.
8294 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8296 (truncate64): Do not use CHECK_STRING.
8297 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8299 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8300 (__xmknod): Do not use CHECK_STRING.
8301 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8303 (__xmknodat): Do not use CHECK_STRING.
8304 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8305 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8307 2013-02-04 Andreas Schwab <schwab@suse.de>
8310 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8311 * include/netdb.h: Likewise for h_errno.
8312 * elf/tst-stackguard1.c: Include <tls.h>.
8314 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8316 * elf/link.h (struct link_map): Extend the l_addr comment.
8317 * include/link.h (struct link_map): Likewise.
8319 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8322 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8323 (BOUNDED_1): Remove macro.
8324 * debug/backtrace.c: Don't include <bp-checks.h>.
8325 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8326 (__backtrace): Likewise.
8327 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8329 (__backtrace): Don't use BOUNDED_1.
8330 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8332 (__backtrace): Don't use BOUNDED_1.
8333 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8334 (__backtrace): Don't use BOUNDED_1.
8335 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8336 (shmat): Don't use BOUNDED_N.
8338 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8341 * sysdeps/generic/bp-start.h: Remove file.
8342 * csu/libc-start.c: Don't include <bp-start.h>.
8343 (LIBC_START_MAIN): Set up __environ directly instead of using
8344 INIT_ARGV_and_ENVIRON.
8345 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8349 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8351 (CHECK_FCNTL): Likewise.
8352 (CHECK_N_PAGES): Likewise.
8355 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8357 (CHECK_SIGSET_NULL_OK): Likewise.
8358 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8360 (sigpending): Don't use CHECK_SIGSET.
8361 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8363 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8364 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8366 (do_sigsuspend): Don't use CHECK_SIGSET.
8367 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8369 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8370 (do_sigwait): Don't use CHECK_SIGSET.
8371 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8373 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8374 include <bp-checks.h>.
8375 (sigpending): Don't use CHECK_SIGSET.
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8377 include <bp-checks.h>.
8378 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8379 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8381 (sigpending): Don't use CHECK_SIGSET.
8382 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8387 * sysdeps/generic/bp-semctl.h: Remove file.
8388 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8389 <bp-checks.h> and <bp-semctl.h>.
8390 (__old_semctl): Don't use CHECK_SEMCTL.
8391 (__new_semctl): Likewise.
8392 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8394 (__old_semctl): Don't use CHECK_SEMCTL.
8395 (__new_semctl): Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8397 <bp-checks.h> and <bp-semctl.h>.
8398 (__old_semctl): Don't use CHECK_SEMCTL.
8399 (__new_semctl): Likewise.
8400 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8401 <bp-checks.h> and <bp-semctl.h>.
8402 (semctl): Don't use CHECK_SEMCTL.
8405 * Makerules (elide-bp-thunks): Remove variable.
8406 (elide-routines.oS): Don't use $(elide-bp-thunks).
8407 (elide-routines.os): Likewise.
8408 (elide-routines.o): Likewise.
8409 (elide-routines.op): Likewise.
8410 (elide-routines.og): Likewise.
8411 (objects): Don't use $(bp-thunks).
8412 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8414 (common-generated): Do not add s-proto-bp.d.
8415 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8418 Do not generate makefile rules for bounded-pointer thunks.
8419 * sysdeps/generic/bp-thunks.h: Remove file.
8420 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8421 * sysdeps/unix/s-proto-bp.S: Likewise.
8424 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8425 parts of result separately when argument is not close to line from
8426 -i to i and one part of argument is small.
8427 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8428 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8429 * math/libm-test.inc (cacos_test): Add more tests.
8430 (casin_test): Likewise.
8431 (casinh_test): Likewise.
8432 * sysdeps/i386/fpu/libm-test-ulps: Update.
8433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435 2013-01-31 David S. Miller <davem@davemloft.net>
8437 * po/de.po: Update from translation team.
8439 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8441 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8443 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8445 * configure.in (_AC_PROG_CC_C89): New definition.
8446 * configure: Regenerate.
8448 * configure.in (AC_PROG_CPP): New definition.
8449 * configure: Regenerate.
8451 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8453 * debug/tst-backtrace.h: New file.
8454 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8455 (ret): Remove variable.
8457 (FAIL): Remove macro.
8458 (NO_INLINE): Likewise.
8459 (fn1): Use match function instead of strstr.
8460 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8461 (ret): Remove variable.
8463 (FAIL): Remove macro.
8464 (NO_INLINE): Likewise.
8465 (fn): Use match function instead of strstr.
8466 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8467 (ret): Remove variable.
8469 (FAIL): Remove macro.
8470 (NO_INLINE): Likewise.
8471 (handle_signal): Use match function instead of strstr.
8472 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8473 (ret): Remove variable.
8475 (FAIL): Remove macro.
8476 (NO_INLINE): Likewise.
8477 (handle_signal): Use match function instead of strstr.
8479 2013-01-23 Roland McGrath <roland@hack.frob.com>
8481 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8483 2013-01-23 David S. Miller <davem@davemloft.net>
8485 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8486 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8487 argument of CAS if possible.
8488 * sysdeps/sparc/sparc64/bits/atomic.h
8489 (__arch_compare_and_exchange_val_32_acq): Likewise.
8490 (__arch_compare_and_exchange_val_64_acq): Likewise.
8492 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8494 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8495 * sysdeps/posix/ulimit.c: ... this.
8497 * sysdeps/unix/bsd/ulimit.c: Remove file.
8499 2013-01-23 Adam Conrad <adconrad@0c3.net>
8501 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8502 (LDFLAGS-tst-array5): Likewise.
8504 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8507 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8508 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8509 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8510 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8512 2013-01-21 David S. Miller <davem@davemloft.net>
8514 * sysdeps/sparc/backtrace.c: New file.
8515 * sysdeps/sparc/sparc32/backtrace.h: New file.
8516 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8517 * sysdeps/sparc/sparc64/backtrace.h: New file.
8518 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8519 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8522 2013-01-21 Andreas Schwab <schwab@suse.de>
8525 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8528 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8534 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8535 Mark Mitchell <mark@codesourcery.com>
8536 Tom de Vries <tom@codesourcery.com>
8537 Paul Pluzhnikov <ppluzhnikov@google.com>
8539 * debug/tst-backtrace2.c: New file.
8540 * debug/tst-backtrace3.c: Likewise.
8541 * debug/tst-backtrace4.c: Likewise.
8542 * debug/tst-backtrace5.c: Likewise.
8543 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8544 (CFLAGS-tst-backtrace3.c): Likewise.
8545 (CFLAGS-tst-backtrace4.c): Likewise.
8546 (CFLAGS-tst-backtrace5.c): Likewise.
8547 (LDFLAGS-tst-backtrace2): Likewise.
8548 (LDFLAGS-tst-backtrace3): Likewise.
8549 (LDFLAGS-tst-backtrace4): Likewise.
8550 (LDFLAGS-tst-backtrace5): Likewise.
8551 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8552 tst-backtrace4 and tst-backtrace5.
8554 2013-01-18 Anton Blanchard <anton@samba.org>
8555 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8557 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8558 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8560 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8562 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8563 "+r" and remove output regs list as redundant. Add explicit inline
8564 asm to specify register of return val to work around compiler codegen
8565 bug. Remove (int) cast on return value. Add return type parameter to
8566 use in macro so that this macro does not truncate return value for
8568 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8569 pass to INTERNAL_VSYSCALL_NCS.
8570 (INLINE_VSYSCALL): Add 'long int' as return type to
8571 INTERNAL_VSYSCALL_NCS macro invocation.
8572 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8573 INTERNAL_VSYSCALL_NCS macro invocation.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8576 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8579 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8580 Fix application of SIMD FP exception mask.
8582 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8583 mp_no from a power of two.
8584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8585 __mpexp_twomm1. Use __pow_mp.
8587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8590 2013-01-17 David S. Miller <davem@davemloft.net>
8592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8594 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8597 * include/complex.h: Condition contents on [!_COMPLEX_H].
8598 (__kernel_casinhf): New prototype.
8599 (__kernel_casinh): Likewise.
8600 (__kernel_casinhl): Likewise.
8601 * math/Makefile (libm_calls): Add k_casinh.
8602 * math/k_casinh.c: New file.
8603 * math/k_casinhf.c: Likewise.
8604 * math/k_casinhl.c: Likewise.
8605 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8606 finite nonzero arguments.
8607 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8608 finite nonzero arguments.
8609 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8610 finite nonzero arguments.
8611 * math/s_casinh.c: Do not include <float.h>.
8612 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8613 * math/s_casinhf.c: Do not include <float.h>.
8614 (__casinhf): Move code for finite nonzero arguments to
8616 * math/s_casinhl.c: Do not include <float.h>.
8617 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8619 (__casinhl): Move code for finite nonzero arguments to
8621 * math/libm-test.inc (cacos_test): Add more tests.
8622 * sysdeps/i386/fpu/libm-test-ulps: Update.
8623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8625 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8627 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8628 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8629 [!HAVE_MREMAP]: Remove [defined linux] case.
8630 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8632 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8634 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8636 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8638 * elf/elf.h (R_386_SIZE32): New relocation.
8639 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8641 (elf_machine_rela): Likewise.
8642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8643 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8645 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8647 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8648 (FP_FAST_FMA): Do not define.
8649 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8650 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8651 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8652 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8653 !_SOFT_FLOAT]: Likewise.
8654 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8657 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8658 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8659 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8660 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8661 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8662 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8665 2013-01-16 Andreas Schwab <schwab@suse.de>
8668 * include/stdlib.h (__mktemp): Add declaration.
8669 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8670 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8672 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8674 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8676 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8677 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8678 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8680 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8681 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8685 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8686 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8689 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8690 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8692 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8694 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8696 2013-01-15 David S. Miller <davem@davemloft.net>
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8699 trunc{,f} to libm-sysdep_routes.
8700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8710 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8711 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8714 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8715 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8718 nearbyint{,f} to libm-sysdep_routes.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8740 libc_feholdexcept and libc_fesetenv.
8742 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8744 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8746 2013-01-14 David S. Miller <davem@davemloft.net>
8748 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8749 (SPARC_ASM_VIS2_IFUNC): Likewise.
8750 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8752 use of 'siam' instruction.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8786 routines to libm-sysdep_routines.
8787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8790 fdim/fdimf to libm-sysdep_routines.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8799 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8800 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8801 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8802 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8804 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8806 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8809 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8814 local variable MPTWO.
8815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8818 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8820 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8823 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8825 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8827 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8829 * manual/pattern.texi (glob_t): Document gl_flags.
8830 (glob64_t): Likewise.
8832 2013-01-11 David S. Miller <davem@davemloft.net>
8834 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8835 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8836 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8837 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8838 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8839 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8840 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8841 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8842 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8843 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8844 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8845 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8846 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8849 sparc V9 rather than using V8 code.
8850 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8851 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8858 2013-01-11 Roland McGrath <roland@hack.frob.com>
8860 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8861 not in the main loop.
8862 * configure: Regenerated.
8864 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8866 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8867 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8869 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8870 [!__GLIBC_HAVE_LONG_LONG] case.
8871 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8872 condition to just #else.
8873 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8874 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8875 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8876 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8878 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8879 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8880 #elif condition to just #else.
8881 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8882 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8883 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8884 #elif condition to just #else.
8886 2013-01-11 Steve Ellcey <sellcey@mips.com>
8888 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8889 (EF_MIPS_ARCH_64): Fix value.
8890 (EF_MIPS_ARCH_32R2): New.
8891 (EF_MIPS_ARCH_64R2): New.
8893 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8895 * Makeconfig (+link-pie-before-libc): New.
8896 (+link-pie-after-libc): Likewise.
8897 (+link-pie-tests): Likewise.
8898 (+link-pie): Rewritten.
8899 (link-before-libc): Remove $(config-LDFLAGS).
8900 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8901 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8902 (config-LDFLAGS): Renamed to ...
8903 (rtld-LDFLAGS): This.
8904 (rtld-tests-LDFLAGS): New macro.
8905 (link-libc-rpath-link): Likewise.
8906 (link-libc-tests-rpath-link): Likewise.
8907 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8908 (link-libc): Prepand $(link-libc-rpath-link).
8909 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8910 (test-program-prefix): New macro.
8911 (test-via-rtld-prefix): Likewise.
8912 (test-program-cmd): Likewise.
8913 (host-test-program-cmd): Likewise.
8914 * Makefile ($(common-objpfx)testrun.sh): Replace
8915 $(run-program-prefix) with $(test-program-prefix).
8916 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8918 ($(common-objpfx)shlib.lds): Likewise.
8919 (build-module-helper): Likewise.
8920 ($(common-objpfx)format.lds): Likewise.
8921 * Rules (binaries-pie-tests): New.
8922 (binaries-pie-notests): Likewise.
8923 (binaries-pie): Rewritten.
8924 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8925 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8926 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8927 (make-test-out): Replace $(host-built-program-cmd) with
8928 $(host-test-program-cmd).
8929 * config.make.in (build-hardcoded-path-in-tests): New variable.
8930 * configure.in (--enable-hardcoded-path-in-tests): New configure
8932 (hardcoded_path_in_tests): New AC_SUBST.
8933 * configure: Regenerated.
8934 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8935 $(built-program-cmd) with $(test-program-cmd).
8936 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8937 (test_program_cmd): This.
8938 * elf/Makefile ($(objpfx)order.out): Run test with
8939 $(test-program-prefix).
8940 ($(objpfx)order2.out): Likewise.
8941 ($(objpfx)tst-initorder.out): Likewise.
8942 ($(objpfx)tst-initorder2.out): Likewise.
8943 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8944 $(test-program-cmd).
8945 ($(objpfx)tst-array1-static.out): Likewise.
8946 ($(objpfx)tst-array2.out): Likewise.
8947 ($(objpfx)tst-array3.out): Likewise.
8948 ($(objpfx)tst-array4.out): Likewise.
8949 ($(objpfx)tst-array5.out): Likewise.
8950 ($(objpfx)tst-array5-static.out): Likewise.
8951 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8952 $(test-program-cmd).
8953 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8954 $(run-program-prefix) with $(test-program-prefix).
8955 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8956 (test_program_prefix): This.
8957 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8958 $(run-program-prefix) with $(test-program-prefix).
8959 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8960 (test_program_prefix): This.
8961 * iconvdata/tst-tables.sh: Likewise.
8962 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8963 $(run-program-prefix) with $(test-program-prefix).
8964 ($(objpfx)tst-translit.out): Likewise.
8965 ($(objpfx)tst-gettext2.out): Likewise.
8966 ($(objpfx)tst-gettext4.out): Likewise.
8967 ($(objpfx)tst-gettext6.out): Likewise.
8968 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8969 (test_program_prefix): This.
8970 * intl/tst-gettext2.sh: Likewise.
8971 * intl/tst-gettext4.sh Likewise.
8972 * intl/tst-gettext6.sh: Likewise.
8973 * intl/tst-translit.sh: Likewise.
8974 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8975 with $(test-program-cmd).
8976 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8977 $(run-program-prefix) with $(test-program-prefix).
8978 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8979 (test_program_prefix): This.
8980 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8981 $(run-program-prefix) with $(test-program-prefix).
8982 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8983 (test_program_prefix): This.
8984 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8985 * posix/Makefile ($(objpfx)globtest.out): Replace
8986 $(run-via-rtld-prefix) and $(test-wrapper) with
8987 $(test-program-prefix) and $(test-via-rtld-prefix).
8988 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8989 $(test-program-prefix).
8990 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8991 $(host-test-program-cmd).
8992 (tst-spawn-ARGS): Likewise.
8993 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8994 $(test-program-prefix).
8995 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8996 (test_via_rtld_prefix): This.
8997 (test_wrapper): Renamed to ...
8998 (test_program_prefix): This.
8999 (run_program_prefix): Replaced by test_program_prefix.
9000 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9001 (test_program_prefix): This.
9002 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9003 with $(host-test-program-cmd).
9004 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9005 $(run-program-prefix) with $(test-program-prefix).
9006 ($(objpfx)tst-printf.out): Likewise.
9007 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9008 $(test-program-cmd).
9009 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9010 (test_program_prefix): This.
9011 * stdio-common/tst-unbputc.sh: Likewise.
9012 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9013 $(run-program-prefix) with $(test-program-prefix).
9014 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9015 (test_program_prefix): This.
9016 * string/Makefile ($(objpfx)tst-svc.out): Replace
9017 $(built-program-cmd) with $(test-program-cmd).
9019 2013-01-11 Andreas Jaeger <aj@suse.de>
9022 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9023 value. Sync with Linux 3.7.
9025 2013-01-10 David S. Miller <davem@davemloft.net>
9027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9028 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9029 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9031 2013-01-10 Roland McGrath <roland@hack.frob.com>
9033 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9035 * configure: Regenerated.
9037 2013-01-10 David S. Miller <davem@davemloft.net>
9039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9040 sparc V9 rather than using V8 code.
9041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9044 2013-01-10 Roland McGrath <roland@hack.frob.com>
9046 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9047 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9048 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9049 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9050 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9051 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9052 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9053 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9054 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9055 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9056 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9057 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9058 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9059 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9060 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9061 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9062 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9063 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9064 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9065 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9066 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9067 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9068 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9069 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9070 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9071 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9072 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9074 2013-01-10 David S. Miller <davem@davemloft.net>
9076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9078 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9080 * posix/Makefile (tests-static): New variable.
9081 (tests): Add $(tests-static).
9082 (tst-exec-static-ARGS): New variable.
9083 (tst-spawn-static-ARGS): Likewise.
9084 * posix/tst-exec-static.c: New file.
9085 * posix/tst-spawn-static.c: Likewise.
9086 * posix/tst-exec.c: Support run directly.
9087 * posix/tst-spawn.c: Likewise.
9089 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9091 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9093 * math/bits/mathcalls.h (llrint): Likewise.
9094 (llround): Likewise.
9095 * stdlib/stdlib.h (struct drand48_data): Likewise.
9096 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9097 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9098 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9100 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9102 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9103 (elf_greg_t): Likewise.
9104 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9105 (__jmp_buf): Likewise.
9106 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9108 (llrint): Likewise, for all definitions.
9109 (llrintl): Likewise.
9111 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9112 Remove [__GNUC__] condition.
9113 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9114 condition to just [__USE_ISOC99].
9115 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9117 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9120 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9121 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9123 (_POSIX_V6_ILP32_OFF32): Likewise.
9124 (_XBS5_ILP32_OFF32): Likewise.
9125 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9126 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9128 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9130 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9133 doubles __mpexp_twomm1. Adjust usage.
9134 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9137 2013-01-10 Andreas Schwab <schwab@suse.de>
9140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9141 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9143 2013-01-09 David S. Miller <davem@davemloft.net>
9146 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9147 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9148 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9149 TCP_FASTOPEN): Define.
9150 (tcp_repair_opt): New structure.
9151 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9153 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9154 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9155 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9156 (tcp_cookie_transactions): New structure.
9158 2013-01-09 Anton Blanchard <anton@samba.org>
9160 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9161 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9165 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9167 * include/features.h (__USE_ANSI): Remove.
9169 2013-01-09 Roland McGrath <roland@hack.frob.com>
9171 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9173 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9175 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * sysdeps/s390/fpu/libm-test-ulps: Update.
9179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9181 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9186 (__mp_dbl): Likewise.
9187 (__dbl_mp): Likewise.
9188 (add_magnitudes): Likewise.
9189 (sub_magnitudes): Likewise.
9195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9200 (__mp_dbl): Likewise.
9201 (__dbl_mp): Likewise.
9202 (add_magnitudes): Likewise.
9203 (sub_magnitudes): Likewise.
9209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9214 (__mp_dbl): Likewise.
9215 (__dbl_mp): Likewise.
9216 (add_magnitudes): Likewise.
9217 (sub_magnitudes): Likewise.
9224 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9226 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9227 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9228 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9229 2 && __USE_EXTERN_INLINES]: Likewise.
9231 2013-01-08 Andreas Jaeger <aj@suse.de>
9234 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9236 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9237 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9239 2013-01-07 Anton Blanchard <anton@samba.org>
9241 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9242 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9243 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9244 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9245 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9246 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9247 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9251 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9254 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9255 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9262 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9265 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9266 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9267 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9268 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9271 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9274 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9275 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9278 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9280 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9285 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9287 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9288 (__MALLOC_PMT): Likewise.
9289 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9290 [__GNUC__], only on [_LIBC].
9291 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9292 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9293 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9294 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9295 forward declaration.
9296 (realloc_hook_ini): Likewise.
9297 (memalign_hook_ini): Likewise.
9298 (__libc_memalign): Do not use __MALLOC_PMT in variable
9300 (__libc_valloc): Likewise.
9301 (__libc_pvalloc): Likewise.
9302 (__libc_calloc): Likewise.
9303 (__posix_memalign): Likewise.
9306 * math/s_casinh.c: Include <float.h>.
9307 (__casinh): Do not do computation with squaring and square root
9308 for large arguments.
9309 * math/s_casinhf.c: Include <float.h>.
9310 (__casinhf): Do not do computation with squaring and square root
9311 for large arguments.
9312 * math/s_casinhl.c: Include <float.h>.
9313 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9314 (__casinhl): Do not do computation with squaring and square root
9315 for large arguments.
9316 * math/libm-test.inc (casin_test): Add more tests.
9317 (casinh_test): Likewise.
9318 * sysdeps/i386/fpu/libm-test-ulps: Update.
9319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9321 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9323 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9324 (__x86_64_raw_data_cache_size): Likewise.
9325 (__x86_64_data_cache_size_half): Likewise.
9326 (__x86_64_raw_data_cache_size_half): Likewise.
9327 (__x86_64_shared_cache_size): Likewise.
9328 (__x86_64_raw_shared_cache_size): Likewise.
9329 (__x86_64_shared_cache_size_half): Likewise.
9330 (__x86_64_raw_shared_cache_size_half): Likewise.
9331 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9333 (__x86_data_cache_size): This.
9334 (__x86_64_raw_data_cache_size): Renamed to ...
9335 (__x86_raw_data_cache_size): This.
9336 (__x86_64_data_cache_size_half): Renamed to ...
9337 (__x86_data_cache_size_half): This.
9338 (__x86_64_raw_data_cache_size_half): Renamed to ...
9339 (__x86_raw_data_cache_size_half): This.
9340 (__x86_64_shared_cache_size): Renamed to ...
9341 (__x86_shared_cache_size): This.
9342 (__x86_64_raw_shared_cache_size): Renamed to ...
9343 (__x86_raw_shared_cache_size): This.
9344 (__x86_64_shared_cache_size_half): Renamed to ...
9345 (__x86_shared_cache_size_half): This.
9346 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9347 (__x86_raw_shared_cache_size_half): This.
9348 * sysdeps/x86_64/memcpy.S: Updated.
9349 * sysdeps/x86_64/memset.S: Likewise.
9350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9351 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9354 2013-01-04 David S. Miller <davem@davemloft.net>
9356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9358 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9360 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9361 1 to avoid redefinition warning.
9362 (__USE_GNU): Don't define.
9363 (init_signaling_nan): Protoize.
9365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9367 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9369 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9371 (__cpymn): Likewise.
9372 (norm): Remove commented code.
9374 (__mp_dbl): Likewise.
9376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9377 (__cpymn): Likewise.
9378 (norm): Remove commented code.
9380 (__mp_dbl): Likewise.
9383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9384 mp_no value for 1.0 and 2.0.
9385 (norm): Use RADIXI instead of radixi.d.
9387 (__mul): Use 0.0 instead of zero.d.
9388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9389 mp_no value for 1.0 and 2.0.
9390 (norm): Use RADIXI instead of radixi.d.
9392 (__mul): Use 0.0 instead of zero.d.
9394 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9397 * math/s_casinh.c (__casinh): Reduce finite argument to first
9398 quadrant then set signs of results at the end.
9399 * math/s_casinhf.c (__casinhf): Likewise.
9400 * math/s_casinhl.c (__casinhl): Likewise.
9401 * math/libm-test.inc (casin_test): Add more tests.
9402 (casinh_test): Likewise.
9403 * sysdeps/i386/fpu/libm-test-ulps: Update.
9404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9406 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9408 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9410 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9412 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9415 (__mp_dbl): Likewise.
9418 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9419 and adjust the header comment.
9421 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9422 variable name from declaration.
9424 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9427 Initialize COMMON_CPUID_INDEX_7 element.
9428 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9429 (CPUID_RTM): Likewise.
9430 (HAS_RTM): Likewise.
9431 (COMMON_CPUID_INDEX_7): New enum.
9433 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9436 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9437 size is zero, record memory as freed.
9439 2013-01-03 Andreas Jaeger <aj@suse.de>
9441 * po/ia.po: Add new Interlingua translation.
9443 2012-01-03 Allan McRae <allan@archlinux.org>
9445 * locale/programs/localedef.c: Fix description of '--posix' flag.
9447 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9449 * NEWS: Update dates in second copyright notice.
9450 * README: Update copyright dates in example.
9451 * manual/libc.texinfo: Update copyright dates.
9452 * scripts/test-installation.pl: Update copyright date in --version
9455 * hurd/ctty-input.c: Fix copyright notice formatting.
9456 * hurd/ctty-output.c: Likewise.
9457 * hurd/dtable.c: Likewise.
9458 * hurd/hurd-raise.c: Likewise.
9459 * hurd/hurdprio.c: Likewise.
9460 * hurd/msgportdemux.c: Likewise.
9461 * misc/sys/file.h: Likewise.
9462 * misc/sys/ioctl.h: Likewise.
9463 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9464 * sysdeps/mach/hurd/chdir.c: Likewise.
9465 * sysdeps/mach/hurd/fchdir.c: Likewise.
9466 * sysdeps/mach/hurd/rename.c: Likewise.
9467 * sysdeps/mach/hurd/rmdir.c: Likewise.
9468 * sysdeps/mach/hurd/seekdir.c: Likewise.
9469 * sysdeps/mach/hurd/setsid.c: Likewise.
9470 * sysdeps/posix/wait3.c: Likewise.
9472 * All files with FSF copyright notices: Update copyright dates
9473 using scripts/update-copyrights.
9474 * intl/plural.c: Regenerated.
9475 * locale/programs/charmap-kw.h: Likewise.
9476 * locale/programs/locfile-kw.h: Likewise.
9478 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9480 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9483 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9484 calculation loop and add branch prediction.
9486 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9487 check access beyond bounds of m1np.
9489 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9491 (__inv): Remove local variable MPTWO to use the global
9493 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9496 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9497 MP3HALFS static const.
9499 2013-01-01 David S. Miller <davem@davemloft.net>
9501 * po/ca.po: Update from translation team.
9503 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9505 * scripts/update-copyrights: New file.
9506 * Makeconfig: Reformat copyright notice.
9507 * ctype/ctype.h: Likewise.
9508 * debug/swprintf_chk.c: Likewise.
9509 * elf/dl-cache.c: Likewise.
9510 * elf/dl-debug.c: Likewise.
9511 * elf/dl-object.c: Likewise.
9512 * grp/initgroups.c: Likewise.
9513 * hurd/Makefile: Likewise.
9514 * hurd/hurd/signal.h: Likewise.
9515 * hurd/hurdfault.c: Likewise.
9516 * hurd/hurdioctl.c: Likewise.
9517 * hurd/hurdlookup.c: Likewise.
9518 * hurd/intr-msg.c: Likewise.
9519 * iconv/gconv_open.c: Likewise.
9520 * libio/swprintf.c: Likewise.
9521 * locale/lc-ctype.c: Likewise.
9522 * locale/nl_langinfo.c: Likewise.
9523 * mach/Machrules: Likewise.
9524 * mach/Makefile: Likewise.
9525 * malloc/obstack.h: Likewise.
9526 * manual/Makefile: Likewise.
9527 * manual/tsort.awk: Likewise.
9528 * misc/bits/stab.def: Likewise.
9529 * nis/nis_print_group_entry.c: Likewise.
9530 * nis/nis_table.c: Likewise.
9531 * nis/nss_compat/compat-pwd.c: Likewise.
9532 * nis/nss_compat/compat-spwd.c: Likewise.
9533 * po/Makefile: Likewise.
9534 * posix/fnmatch.c: Likewise.
9535 * posix/regex.h: Likewise.
9536 * resolv/Makefile: Likewise.
9537 * resolv/nss_dns/dns-network.c: Likewise.
9538 * resolv/res_hconf.c: Likewise.
9539 * scripts/gen-sorted.awk: Likewise.
9540 * soft-fp/soft-fp.h: Likewise.
9541 * stdio-common/printf.h: Likewise.
9542 * stdlib/monetary.h: Likewise.
9543 * stdlib/random.c: Likewise.
9544 * stdlib/random_r.c: Likewise.
9545 * sysdeps/generic/Makefile: Likewise.
9546 * sysdeps/gnu/Makefile: Likewise.
9547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9575 * sysdeps/mach/hurd/errnos.awk: Likewise.
9576 * sysdeps/mach/hurd/fork.c: Likewise.
9577 * sysdeps/mach/hurd/getcwd.c: Likewise.
9578 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9579 * sysdeps/mach/hurd/mmap.c: Likewise.
9580 * sysdeps/mach/hurd/utimes.c: Likewise.
9581 * sysdeps/mach/hurd/xmknod.c: Likewise.
9582 * sysdeps/posix/profil.c: Likewise.
9583 * sysdeps/posix/readdir_r.c: Likewise.
9584 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9585 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9586 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9593 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9594 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9595 * sysdeps/pthread/lio_listio.c: Likewise.
9596 * sysdeps/sparc/dl-procinfo.h: Likewise.
9597 * sysdeps/unix/i386/sysdep.S: Likewise.
9598 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9599 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9600 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9601 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9603 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9604 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9605 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9606 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9607 * sysdeps/wordsize-32/divdi3.c: Likewise.
9608 * time/sys/time.h: Likewise.
9609 * wcsmbs/Makefile: Likewise.
9611 2013-01-01 David S. Miller <davem@davemloft.net>
9613 * po/fr.po: Update from translation team.
9615 * catgets/gencat.c: Update copyright year.
9616 * csu/version.c: Likewise.
9617 * debug/catchsegv.sh: Likewise.
9618 * debug/pcprofiledump.c: Likewise.
9619 * debug/xtrace.sh: Likewise.
9620 * elf/ldconfig.c: Likewise.
9621 * elf/ldd.bash.in: Likewise.
9622 * elf/pldd.c: Likewise.
9623 * elf/sotruss.ksh: Likewise.
9624 * elf/sprof.c: Likewise.
9625 * iconv/iconv_prog.c: Likewise.
9626 * iconv/iconvconfig.c: Likewise.
9627 * locale/programs/locale.c: Likewise.
9628 * locale/programs/localedef.c: Likewise.
9629 * login/programs/pt_chown.c: Likewise.
9630 * malloc/memusage.sh: Likewise.
9631 * malloc/memusagestat.c: Likewise.
9632 * malloc/mtrace.pl: Likewise.
9633 * nscd/nscd.c: Likewise.
9634 * nss/getent.c: Likewise.
9635 * nss/makedb.c: Likewise.
9636 * posix/getconf.c: Likewise.
9638 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9640 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9643 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9645 * math/bits/mathcalls.h (modf): Use __nonnull.
9647 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9649 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9650 (split): Use macro CN instead of the bare value.
9651 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9654 instead of the bare value.
9657 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9661 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9663 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9665 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9667 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9668 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9670 2012-12-28 Andreas Jaeger <aj@suse.de>
9672 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9673 values are from Linux 3.7.
9675 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9676 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9678 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9680 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9685 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9686 variables with preprocessor constants.
9687 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9688 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9691 2012-12-27 Bruno Haible <bruno@clisp.org>
9694 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9697 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9700 and use variable directly.
9701 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9709 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9710 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9711 include directive. Remove local variable MPONE.
9712 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9713 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9716 2012-12-25 David S. Miller <davem@davemloft.net>
9718 * version.h (RELEASE): Set to "development".
9719 (VERSION): Set to "2.17.90".
9720 * NEWS: Add 2.18 section.
9722 2012-12-21 David S. Miller <davem@davemloft.net>
9724 * po/hr.po: Update from translation team.
9726 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9728 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9730 2012-12-19 Steve Ellcey <sellcey@mips.com>
9732 * NEWS: Mention new memcpy for MIPS.
9734 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9736 * manual/contrib.texi (Contributors): Spelling correction.
9738 2012-12-15 David S. Miller <davem@davemloft.net>
9740 * po/ru.po: Update from translation team.
9742 2012-12-13 David S. Miller <davem@davemloft.net>
9744 * NEWS: Mention IFUNC testsuite enhancements.
9746 * po/pl.po: Update from translation team.
9747 * po/bg.po: Likewise.
9749 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9750 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9752 2012-12-11 David S. Miller <davem@davemloft.net>
9754 * po/sv.po: Update from translation team.
9756 * po/vi.po: Update from translation team.
9758 * po/cs.po: Update from translation team.
9760 * po/de.po: Update from translation team.
9761 * po/eo.po: Likewise.
9762 * po/nl.po: Likewise.
9764 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9767 * manual/argp.texi (Argp Helper Functions): Move node to follow
9771 * manual/conf.texi (Limits on File System Capacity): Mention if
9772 terminating null is included in the max size.
9774 2012-12-10 Andreas Jaeger <aj@suse.de>
9776 * po/cs.po: Update from translation team.
9778 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9780 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9781 void pointer and cast to uintptr_t.
9782 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9784 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9785 * sysdeps/s390/s390-64/memset.S: Likewise.
9787 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9790 * menual/message.texi (Message Translation): Fix typos.
9791 (Helper programs for gettext): Likewise.
9793 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9796 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9799 2012-12-07 David S. Miller <davem@davemloft.net>
9801 * po/libc.pot: Update.
9803 2012-12-07 Richard Henderson <rth@redhat.com>
9806 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9807 normal/normal case to before the switch.
9808 (_FP_DIV): Likewise.
9810 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9811 Mike Frysinger <vapier@gentoo.org>
9813 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9814 check for __NR_fadvise64_64.
9816 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9818 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9819 0, not just to plain "0" as a statement.
9820 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9823 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9825 * NEWS: Use sourceware.org in Bugzilla URL.
9827 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9830 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9832 * stdio-common/tst-put-error.c (do_test): Add newline to the
9833 padded test to ensure flush.
9835 2012-12-05 Jeff Law <law@redhat.com>
9837 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9839 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9841 * README: Don't refer to ports add-on as distributed separately.
9842 Mention AArch64 in list of systems supported in the ports add-on.
9844 * LICENSES: Add more non-FSF copyright and license notices.
9846 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9851 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9852 10000 as width of padded output.
9854 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9856 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9859 variable LX with __attribute__ ((unused)).
9860 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9862 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9865 with __attribute__ ((unused)).
9867 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9869 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9871 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9873 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9874 (CFLAGS-nldbl-acos.c): New variable.
9875 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9876 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9974 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9977 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9978 whole low double instead of just low 47 bits when splitting values
9981 2012-12-03 Allan McRae <allan@archlinux.org>
9983 * manual/stdio.texi (Predefined Printf Handlers): Remove
9984 @hsep and @vsep usage.
9986 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9988 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9989 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9991 2012-12-03 Jeff Law <law@redhat.com>
9993 * time/sys/time.h (settimeofday): Do not mark TV argument
9996 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9998 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9999 when currently writing and seek to current position when not.
10000 * libio/Makefile (tests): Remove bug-fclose1.
10001 * libio/bug-fclose1.c: Delete.
10003 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10005 * manual/arith.texi (feenableexcept): Fix typo.
10006 (fedisableexcept): Likewise.
10008 2012-11-30 Roland McGrath <roland@hack.frob.com>
10010 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10011 second, differently-typed declaration, rather than a cast.
10013 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10015 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10016 * include/rpc/svc.h: ... here.
10018 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10021 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10022 depending n and resplen2 to catch cases where answer
10025 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10027 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10028 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10030 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10032 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10034 2012-11-29 Roland McGrath <roland@hack.frob.com>
10036 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10038 2012-11-28 Jeff Law <law@redhat.com>
10041 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10042 dataset_temporary. Track alloca usage into alloca_used.
10043 If dataset is large allocate and release it via malloc/free.
10045 2012-06-04 Florian Weimer <fweimer@redhat.com>
10048 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10050 2012-11-28 David S. Miller <davem@davemloft.net>
10052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10054 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10058 of pi/2 rounded to nearest to 64 bits.
10059 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10060 nearest to 64 bits.
10061 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10064 2012-11-28 Jeff Law <law@redhat.com>
10065 Martin Osvald <mosvald@redhat.com>
10068 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10069 * sunrpc/svc.c: Include time.h.
10070 (__svc_accept_failed): New function.
10071 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10072 any reason other than EINTR, call __svc_accept_failed.
10073 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10074 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10076 2012-11-28 Andreas Schwab <schwab@suse.de>
10078 * scripts/abilist.awk: Also handle indirect functions in .opd
10081 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/x86/fpu/powl_helper.c: New file.
10085 * sysdeps/x86/fpu/Makefile: Likewise.
10086 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10088 (__ieee754_powl): Use __powl_helper for finite arguments except
10089 integer exponents below 8.
10090 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10092 (__ieee754_powl): Use __powl_helper for finite arguments except
10093 integer exponents below 8.
10094 * math/libm-test.inc (pow_test): Add more tests and enable some
10095 previously disabled tests.
10096 * sysdeps/i386/fpu/libm-test-ulps: Update.
10097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10099 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10100 Carlos O'Donell <carlos_odonell@mentor.com>
10102 * nss/makedb.c (is_prime): Assert that input is odd and greater
10103 than 4. Note that fact in a comment too.
10104 (next_prime): Add 4 to input.
10106 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10109 * libio/Makefile (tests): Add test case tst-fwrite-error.
10110 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10111 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10112 * libio/tst-fwrite-error.c: New test case.
10114 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10116 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10117 before casting to void *.
10118 * include/libc-internal.h (__pointer_type): New macro.
10119 (__integer_if_pointer_type_sub): Likewise.
10120 (__integer_if_pointer_type): Likewise.
10121 (cast_to_integer): Likewise.
10122 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10123 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10124 before casting to atomic64_t.
10125 (atomic_exchange_acq): Likewise.
10126 (__arch_exchange_and_add_body): Likewise.
10127 (__arch_add_body): Likewise.
10128 (atomic_add_negative): Likewise.
10129 (atomic_add_zero): Likewise.
10131 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10133 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10134 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10135 (add_fdes): Likewise.
10136 (linear_search_fdes): Likewise.
10137 (binary_search_unencoded_fdes): Likewise.
10139 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10141 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10143 2012-11-24 Adam Conrad <adconrad@0c3.net>
10145 * configure.in: Autodetect C++ header directories.
10146 * configure: Regenerated.
10148 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10150 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10152 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10156 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10158 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10159 LDBL_MANT_DIG == 106]: Disable some tests.
10160 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10162 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10166 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10167 input for small inputs. Return +/- pi/2 for large inputs.
10168 * math/libm-test.inc (atan_test): Add more tests.
10170 * sysdeps/generic/unwind-dw2-fde-glibc.c
10171 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10172 __attribute__ ((unused)).
10175 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10176 x * y if x and y are nonzero and z is zero.
10179 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10180 nonzero exponents with absolute value below 0x1p-117 to +/-
10184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10185 up arguments below 2**-450, not just those below 2**-500.
10186 * math/libm-test.inc (hypot_test): Add another test.
10189 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10190 Return a+b for ratio over 2**120, not 2**60.
10191 * math/libm-test.inc (hypot_test): Add another test.
10193 * math/libm-test.inc (clog_test): Use
10194 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10195 (clog10_test): Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10200 2012-11-22 Andreas Schwab <schwab@suse.de>
10202 * sysdeps/i386/fpu/libm-test-ulps: Update.
10204 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10206 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10207 printf output with newline.
10209 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10212 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10213 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10214 -z nodlopen, -z initfirst and -z execstack support.
10215 * configure: Regenerated.
10217 * elf/elf.h (DF_1_NODIRECT): New macro.
10218 (DF_1_IGNMULDEF): Likewise.
10219 (DF_1_NOKSYMS): Likewise.
10220 (DF_1_NOHDR): Likewise.
10221 (DF_1_EDITED): Likewise.
10222 (DF_1_NORELOC): Likewise.
10223 (DF_1_SYMINTPOSE): Likewise.
10224 (DF_1_GLOBAUDIT): Likewise.
10225 (DF_1_SINGLETON): Likewise.
10226 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10227 DT_1_SUPPORTED_MASK bits.
10228 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10230 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10232 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10234 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10236 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10239 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10240 (sendmmsg): Move declarations...
10241 * socket/sys/socket.h: ... here.
10242 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10243 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10245 * socket/recvmmsg.c: ... this new file.
10246 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10247 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10248 definition of __sendmmsg hidden.
10249 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10250 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10251 Move ENOSYS stub into and include it from...
10252 * socket/sendmmsg.c: ... this new file.
10253 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10254 (sysdep_routines): Move recvmmsg and sendmmsg...
10255 * socket/Makefile (routines): ... here.
10256 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10257 (GLIBC_PRIVATE): Add __sendmmsg.
10258 * include/sys/socket.h (__sendmmsg): Add declarations.
10259 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10262 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10264 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10265 variable I1 with __attribute__ ((unused)).
10266 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10268 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10270 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10271 DUMMY variables with __attribute__ ((unused)).
10273 * bits/byteswap.h: Include <bits/types.h>.
10274 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10276 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10278 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10279 string_t. Do not manually set errno.
10280 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10281 length with __strnlen. Make sure to both set errno and return it on
10284 2012-11-19 David S. Miller <davem@davemloft.net>
10286 With help from Joseph Myers.
10287 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10288 very large arguments properly.
10289 * math/libm-test.inc (atan_test): New tests.
10290 (atan2_test): New tests.
10291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10294 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10297 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10300 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10301 [POSIX] (EADDRNOTAVAIL): Likewise.
10302 [POSIX] (EAFNOSUPPORT): Likewise.
10303 [POSIX] (EALREADY): Likewise.
10304 [POSIX] (ECONNABORTED): Likewise.
10305 [POSIX] (ECONNREFUSED): Likewise.
10306 [POSIX] (ECONNRESET): Likewise.
10307 [POSIX] (EDESTADDRREQ): Likewise.
10308 [POSIX] (EDQUOT): Likewise.
10309 [POSIX] (EHOSTUNREACH): Likewise.
10310 [POSIX] (EIDRM): Likewise.
10311 [POSIX] (EISCONN): Likewise.
10312 [POSIX] (ELOOP): Likewise.
10313 [POSIX] (EMULTIHOP): Likewise.
10314 [POSIX] (ENETDOWN): Likewise.
10315 [POSIX] (ENETUNREACH): Likewise.
10316 [POSIX] (ENOBUFS): Likewise.
10317 [POSIX] (ENODATA): Likewise.
10318 [POSIX] (ENOLINK): Likewise.
10319 [POSIX] (ENOMSG): Likewise.
10320 [POSIX] (ENOPROTOOPT): Likewise.
10321 [POSIX] (ENOSR): Likewise.
10322 [POSIX] (ENOSTR): Likewise.
10323 [POSIX] (ENOTCONN): Likewise.
10324 [POSIX] (ENOTSOCK): Likewise.
10325 [POSIX] (EOPNOTSUPP): Likewise.
10326 [POSIX] (EOVERFLOW): Likewise.
10327 [POSIX] (EPROTO): Likewise.
10328 [POSIX] (EPROTONOSUPPORT): Likewise.
10329 [POSIX] (EPROTOTYPE): Likewise.
10330 [POSIX] (ESTALE): Likewise.
10331 [POSIX] (ETIME): Likewise.
10332 [POSIX] (ETXTBSY): Likewise.
10333 [POSIX] (EWOULDBLOCK): Likewise.
10334 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10335 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10336 [POSIX] (SEEK_CUR): Likewise.
10337 [POSIX] (SEEK_END): Likewise.
10338 [POSIX || UNIX98] (mode_t): Do not require.
10339 [POSIX] (off_t): Likewise.
10340 [POSIX] (pid_t): Likewise.
10341 [POSIX] (sys/stat.h): Do not allow header.
10342 [POSIX] (unistd.h): Likewise.
10343 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10344 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10345 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10346 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10348 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10349 sigevent): Specify elements.
10350 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10352 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10353 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10355 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10356 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10357 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10358 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10359 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10360 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10361 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10362 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10363 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10364 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10365 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10366 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10367 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10372 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10374 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10376 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10377 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10378 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10379 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10381 Specify lower bound on value.
10382 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10383 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10388 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10389 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10391 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10393 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10410 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10412 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10413 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10419 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10424 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10427 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10431 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10432 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10433 specify as optional.
10434 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10437 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10438 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10439 [XPG3] (NL_LANGMAX): Likewise.
10440 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10441 [POSIX || XPG3] (NL_NMAX): Likewise.
10442 [POSIX || XPG3] (NL_SETMAX): Likewise.
10443 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10444 [XPG3] (NZERO): Likewise.
10445 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10446 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10447 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10448 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10449 (REG_ERANGE): Expect.
10450 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10452 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10453 Use (void) in prototype.
10454 [POSIX] (*_t): Allow.
10455 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10456 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10457 (WRDE_BADVAL): Expect.
10459 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10461 [XPG3 || XPG4] (O_RSYNC): Likewise.
10462 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10464 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10465 [XPG3 || XPG4] (sigqueue): Likewise.
10466 [XPG3 || XPG4] (sigtimedwait): Likewise.
10467 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10468 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10469 [XPG3 || XPG4] (vsnprintf): Likewise.
10470 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10472 [XPG3 || XPG4] (blksize_t): Likewise.
10473 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10475 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10476 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10477 [XPG3 || XPG4] (struct itimerspec): Likewise.
10478 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10479 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10480 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10481 [XPG3 || XPG4] (clockid_t): Likewise.
10482 [XPG3 || XPG4] (timer_t): Likewise.
10483 [XPG3 || XPG4] (clock_getres): Likewise.
10484 [XPG3 || XPG4] (clock_gettime): Likewise.
10485 [XPG3 || XPG4] (clock_settime): Likewise.
10486 [XPG3 || XPG4] (nanosleep): Likewise.
10487 [XPG3 || XPG4] (timer_create): Likewise.
10488 [XPG3 || XPG4] (timer_delete): Likewise.
10489 [XPG3 || XPG4] (timer_gettime): Likewise.
10490 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10491 [XPG3 || XPG4] (timer_settime): Likewise.
10492 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10493 [XPG3 || XPG4] (getlogin_r): Likewise.
10494 [XPG3 || XPG4] (pread): Likewise.
10495 [XPG3 || XPG4] (pthread_atfork): Likewise.
10496 [XPG3 || XPG4] (pwrite): Likewise.
10499 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10502 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10504 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10505 finalizing MALLSTREAM.
10507 * sysdeps/mach/hurd/syncfs.c: New file.
10509 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10513 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10514 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10515 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10516 (_nss_dns_gethostbyname4_r): Likewise.
10517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10518 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10520 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10523 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10525 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10527 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10528 * elf/cache.c (print_entry): Print ",AArch64" for
10531 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10532 * elf/cache.c (print_entry): Print ",hard-float" for
10535 2012-11-18 David S. Miller <davem@davemloft.net>
10537 With help from Joseph Myers.
10538 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10540 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10542 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10543 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10545 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10546 * math/libm-test.inc (y0_test): New tests.
10547 (y1_test): New tests.
10548 * sysdeps/i386/fpu/libm-test-ulps: Update.
10549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10552 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10554 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10556 * configure: Regenerated.
10558 2012-11-17 David S. Miller <davem@davemloft.net>
10561 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10562 nonzero exponents with absolute value below 0x1p-128 to +/-
10565 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10567 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10569 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10571 * posix/getconf-speclist.c: New file.
10572 * posix/posix-envs.def: Likewise.
10573 * posix/confstr.c (START_ENV_GROUP): New macro.
10574 (END_ENV_GROUP): Likewise.
10575 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10576 (KNOWN_PRESENT_ENV_STRING): Likewise.
10577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10578 (UNKNOWN_ENVIRONMENT): Likewise.
10579 (confstr): Include posix-envs.def instead of handling
10580 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10581 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10582 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10583 (END_ENV_GROUP): Likewise.
10584 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10585 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10586 (UNKNOWN_ENVIRONMENT): Likewise.
10587 (__sysconf): Include posix-envs.def instead of handling associated
10588 cases directly here.
10589 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10590 preprocessing getconf-speclist.c rather than running getconf or
10591 generating empty file.
10593 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10595 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10597 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10600 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10602 2012-11-16 David S. Miller <davem@davemloft.net>
10604 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10605 smaller than LDBL_EPSILON/2.0L, just return xm1.
10607 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10609 * elf/tst-array1.c (init): Set constructor priority to 1000.
10610 (fini): Set destructor priority to 1000.
10611 * elf/tst-array2dep.c: Likewise.
10613 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10616 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10617 (_IO_new_file_xsputn): Also return EOF if none of the input
10618 data was written when overflow failed.
10619 * libio/iopadn.c (_IO_padn): Likewise.
10620 * libio/iowpadn.c (_IO_wpadn): Likewise.
10621 * stdio-common/tst-put-error.c: Add copyright notice.
10622 (do_test): Add case for printing padded string.
10623 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10624 _IO_padn returned error.
10625 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10626 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10629 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10631 * libio/libioP.h: Add comment note that the references to C++
10632 bits are now obsolete.
10634 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10636 * math/libm-test.inc (check_complex): Use asprintf.
10638 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10640 * debug/pcprofiledump.c (print_version): Update copyright year.
10641 * malloc/memusagestat.c (print_version): Likewise.
10643 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10646 * elf/Makefile (tests): Add tst-audit8.
10647 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10648 ($(objpfx)tst-audit8.out): New target.
10649 (tst-audit8-ENV): New variable.
10650 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10651 audit if l_reloc_result is NULL.
10652 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10653 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10654 * elf/tst-audit8.c: New file.
10656 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10658 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10659 * misc/Makefile (CFLAGS-select.c): Define.
10660 * posix/Makefile (CFLAGS-pause.c): Define.
10662 2012-11-13 David S. Miller <davem@davemloft.net>
10664 * crypt/Makefile: Move test targets after toplevel Rules
10665 inclusion. Grab any necessary sysdep routines when linking.
10666 * crypt/md5.c (md5_process_block): Remove define, we will always
10667 name it __md5_process_block.
10668 (md5_finish_ctx): Update md5_process_block call.
10669 (md5_stream): Likewise.
10670 (md5_process_bytes): Likewise.
10671 (md5_process_block): Rename to __md5_process_block and move to ...
10672 * crypt/md5-block.c: ... here.
10673 * crypt/sha256.c (sha256_process_block): Move to ...
10674 * crypt/sha256-block.c: ... here.
10675 * crypt/sha512.c (sha512_process_block): Move to ...
10676 * crypt/sha512-block.c: ... here.
10677 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10679 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10680 * sysdeps/sparc/sparc64/multiarch/Makefile
10681 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10683 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10686 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10687 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10688 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10689 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10690 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10691 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10692 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10693 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10696 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10699 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10701 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10703 * timezone/tzselect.ksh: Update from tzcode git revision
10704 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10705 * timezone/zdump.c: Likewise.
10706 * timezone/zic.c: Likewise.
10707 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10708 in TZVERSION setting, not $(PKGVERSION).
10709 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10710 REPORT_BUGS_TO settings.
10713 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10716 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10718 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10719 detection to immediately after _FP_ROUND().
10720 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10723 2012-11-11 David S. Miller <davem@davemloft.net>
10725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10727 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10728 __close rather than their public counterparts.
10730 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10732 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10734 [UNIX98] (sem_timedwait): Do not expect.
10735 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10736 [XPG4 || UNIX98] (sockatmark): Do not expect.
10737 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10738 (clock_getcpuclockid): Do not expect.
10739 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10740 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10742 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10743 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10744 [UNIX98] (vwscanf): Likewise.
10745 [UNIX98] (vswscanf): Likewise.
10747 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10749 * timezone/version.h: Remove file.
10750 * timezone/README: Do not refer to version.h.
10751 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10752 $(objpfx)version.h.
10753 ($(objpfx)zdump.o): Likewise.
10754 ($(objpfx)version.h): New target.
10756 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10758 * timezone/README: Don't mention modification to tzselect.ksh.
10759 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10760 work on unmodified tzselect.ksh. Substitute version numbers in
10763 * Makefile (format-me): Remove.
10764 (INSTALL): Adjust indentation. Use commands directly instead of
10765 using $(format-me).
10767 * aclocal.m4 (ACX_PKGVERSION): New macro.
10768 (ACX_BUGURL): Likewise.
10769 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10770 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10771 (REPORT_BUGS_TO): Likewise.
10772 * configure: Regenerated.
10773 * config.h.in (PKGVERSION): New macro.
10774 (REPORT_BUGS_TO): Likewise.
10775 * config.make.in (PKGVERSION): New variable.
10776 (PKGVERSION_TEXI): Likewise.
10777 (REPORT_BUGS_TO): Likewise.
10778 (REPORT_BUGS_TEXI): Likewise.
10779 * Makefile (format-me): Use -I$(common-objpfx)manual.
10780 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10781 ($(common-objpfx)manual/%): New target.
10782 (manual/%): Remove target.
10783 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10784 (print_version): Use PKGVERSION.
10785 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10786 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10787 and REPORT_BUGS_TO.
10788 ($(objpfx)xtrace): Likewise.
10789 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10790 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10791 (print_version): Use PKGVERSION.
10792 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10793 (do_version): Use PKGVERSION.
10794 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10796 (common-ldd-rewrite): Likewise.
10797 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10798 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10799 (print_version): Use PKGVERSION.
10800 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10801 * elf/pldd.c (argp_program_bug_address): Remove variable.
10802 (more_help): New function.
10803 (argp): Use more_help.
10804 (print_version): Use PKGVERSION.
10805 * elf/sln.c (main): Use PKGVERSION.
10806 (usage): Use REPORT_BUGS_TO.
10807 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10808 (top level): Use PKGVERSION.
10809 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10810 (print_version): Use PKGVERSION.
10811 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10812 (print_version): Use PKGVERSION.
10813 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10814 (print_version): Use PKGVERSION.
10815 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10816 (print_version): Use PKGVERSION.
10817 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10818 (print_version): Use PKGVERSION.
10819 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10820 (print_version): Use PKGVERSION.
10821 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10823 ($(objpfx)memusage): Likewise.
10824 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10825 (do_version): Use PKGVERSION.
10826 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10827 (print_version): Use PKGVERSION.
10828 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10829 ($PKGVERSION): New variable.
10830 ($REPORT_BUGS_TO): Likewise.
10831 (usage): Use $REPORT_BUGS_TO.
10832 (top level): Use $PKGVERSION.
10833 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10834 ($(objpfx)pkgvers.texi): New rule.
10835 ($(objpfx)stamp-pkgvers): Likewise.
10836 * manual/install.texi: Include pkgvers.texi.
10837 (--with-pkgversion): Document new configure option.
10838 (--with-bugurl): Likewise.
10839 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10840 than necessarily for this particular distribution. Use
10841 REPORT_BUGS_TO for where to report bugs.
10842 * INSTALL: Regenerated.
10843 * manual/libc.texinfo: Include pkgvers.texi.
10844 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10845 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10846 (print_version): Use PKGVERSION.
10847 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10848 (print_version): Use PKGVERSION.
10849 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10850 (print_version): Use PKGVERSION.
10851 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10852 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10854 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10855 (print_version): Use PKGVERSION.
10856 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10857 (print_version): Use PKGVERSION.
10858 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10861 * timezone/checktab.awk: Update from tzcode 2012i.
10862 * timezone/ialloc.c: Likewise.
10863 * timezone/private.h: Likewise.
10864 * timezone/scheck.c: Likewise.
10865 * timezone/tzfile.h: Likewise.
10866 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10867 (TZVERSION): Hardcode tzcode version number.
10868 * timezone/zdump.c: Update from tzcode 2012i.
10869 * timezone/zic.c: Likewise.
10870 * timezone/version.h: New file.
10871 * timezone/README: Describe version.h. Update upstream location.
10874 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10875 (mktemp): Enable declaration.
10876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10889 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10893 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10894 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10895 for copies of such integer values.
10896 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10897 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10899 2012-11-09 Andreas Jaeger <aj@suse.de>
10901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10902 definitions and declarations that are provided by
10903 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10905 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10907 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10908 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10909 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10912 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10914 * elf/elf.h: Update comment before AArch64 relocations.
10916 2012-11-07 David S. Miller <davem@davemloft.net>
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10920 (__start_context): Declare.
10921 (__makecontext_ret): Delete.
10922 (__makecontext): Hook up __start_context instead of
10924 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10925 (sysdep_routines): Add __start_context when in stdlib.
10927 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10929 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10930 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10931 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10933 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10934 (READELF): New variable. Use it instead of hardcoded "readelf".
10936 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10938 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10939 * sysdeps/x86/Makefile: Here.
10940 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10941 * sysdeps/x86/tst-xmmymm.sh: This.
10943 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10945 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10947 [UNIX98] (pthread_barrier_t): Do not expect.
10948 [UNIX98] (pthread_barrierattr_t): Likewise.
10949 [UNIX98] (pthread_spinlock_t): Likewise.
10950 [UNIX98] (pthread_barrier_destroy): Likewise.
10951 [UNIX98] (pthread_barrier_init): Likewise.
10952 [UNIX98] (pthread_barrier_wait): Likewise.
10953 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10954 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10955 [UNIX98] (pthread_barrierattr_init): Likewise.
10956 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10957 [UNIX98] (pthread_getcpuclockid): Likewise.
10958 [UNIX98] (pthread_mutex_timedlock): Likewise.
10959 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10960 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10961 [UNIX98] (pthread_sigmask): Likewise.
10962 [UNIX98] (pthread_spin_destroy): Likewise.
10963 [UNIX98] (pthread_spin_init): Likewise.
10964 [UNIX98] (pthread_spin_lock): Likewise.
10965 [UNIX98] (pthread_spin_trylock): Likewise.
10966 [UNIX98] (pthread_spin_unlock): Likewise.
10967 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10969 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10971 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10972 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10973 [XPG3 || XPG4] (pthread_key_t): Likewise.
10974 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10975 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10976 [XPG3 || XPG4] (pthread_once_t): Likewise.
10977 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10978 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10979 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10980 [XPG3 || XPG4] (pthread_t): Likewise.
10982 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10984 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10986 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10987 Change function return type to int.
10989 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10990 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10991 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10992 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10993 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10994 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10995 [!POSIX] (posix_madvise): Likewise.
10996 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10998 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10999 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11000 (mode_t): Likewise.
11001 (posix_mem_offset): Likewise.
11002 (posix_typed_mem_get_info): Likewise.
11003 (posix_typed_mem_open): Likewise.
11005 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11006 Change condition to [XOPEN2K8].
11008 * conform/conformtest.pl: Preprocess allow-header data with -x c
11009 instead of from stdin.
11010 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11011 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11012 [C99-based standards] (cerfc): Likewise.
11013 [C99-based standards] (cexp2): Likewise.
11014 [C99-based standards] (cexpm1): Likewise.
11015 [C99-based standards] (clog10): Likewise.
11016 [C99-based standards] (clog1p): Likewise.
11017 [C99-based standards] (clog2): Likewise.
11018 [C99-based standards] (clgamma): Likewise.
11019 [C99-based standards] (ctgamma): Likewise.
11020 [C99-based standards] (cerff): Likewise.
11021 [C99-based standards] (cerfcf): Likewise.
11022 [C99-based standards] (cexp2f): Likewise.
11023 [C99-based standards] (cexpm1f): Likewise.
11024 [C99-based standards] (clog10f): Likewise.
11025 [C99-based standards] (clog1pf): Likewise.
11026 [C99-based standards] (clog2f): Likewise.
11027 [C99-based standards] (clgammaf): Likewise.
11028 [C99-based standards] (ctgammaf): Likewise.
11029 [C99-based standards] (cerfl): Likewise.
11030 [C99-based standards] (cerfcl): Likewise.
11031 [C99-based standards] (cexp2l): Likewise.
11032 [C99-based standards] (cexpm1l): Likewise.
11033 [C99-based standards] (clog10l): Likewise.
11034 [C99-based standards] (clog1pl): Likewise.
11035 [C99-based standards] (clog2l): Likewise.
11036 [C99-based standards] (clgammal): Likewise.
11037 [C99-based standards] (ctgammal): Likewise.
11038 * conform/data/inttypes.h-data [C99-based standards]: Include
11039 stdint.h-data. Remove all expectations for stdint.h contents.
11040 [C99-based standards] (PRI*): Do not allow.
11041 [C99-based standards] (SCN*): Likewise.
11042 [C99-based standards] (*_t): Likewise.
11043 [C99-based-standards] (PRId8): Expect macro.
11044 [C99-based-standards] (PRIi8): Likewise.
11045 [C99-based-standards] (PRIo8): Likewise.
11046 [C99-based-standards] (PRIu8): Likewise.
11047 [C99-based-standards] (PRIx8): Likewise.
11048 [C99-based-standards] (PRIX8): Likewise.
11049 [C99-based-standards] (SCNd8): Likewise.
11050 [C99-based-standards] (SCNi8): Likewise.
11051 [C99-based-standards] (SCNo8): Likewise.
11052 [C99-based-standards] (SCNu8): Likewise.
11053 [C99-based-standards] (SCNx8): Likewise.
11054 [C99-based-standards] (PRIdLEAST8): Likewise.
11055 [C99-based-standards] (PRIiLEAST8): Likewise.
11056 [C99-based-standards] (PRIoLEAST8): Likewise.
11057 [C99-based-standards] (PRIuLEAST8): Likewise.
11058 [C99-based-standards] (PRIxLEAST8): Likewise.
11059 [C99-based-standards] (PRIXLEAST8): Likewise.
11060 [C99-based-standards] (SCNdLEAST8): Likewise.
11061 [C99-based-standards] (SCNiLEAST8): Likewise.
11062 [C99-based-standards] (SCNoLEAST8): Likewise.
11063 [C99-based-standards] (SCNuLEAST8): Likewise.
11064 [C99-based-standards] (SCNxLEAST8): Likewise.
11065 [C99-based-standards] (PRIdFAST8): Likewise.
11066 [C99-based-standards] (PRIiFAST8): Likewise.
11067 [C99-based-standards] (PRIoFAST8): Likewise.
11068 [C99-based-standards] (PRIuFAST8): Likewise.
11069 [C99-based-standards] (PRIxFAST8): Likewise.
11070 [C99-based-standards] (PRIXFAST8): Likewise.
11071 [C99-based-standards] (SCNdFAST8): Likewise.
11072 [C99-based-standards] (SCNiFAST8): Likewise.
11073 [C99-based-standards] (SCNoFAST8): Likewise.
11074 [C99-based-standards] (SCNuFAST8): Likewise.
11075 [C99-based-standards] (SCNxFAST8): Likewise.
11076 [C99-based-standards] (PRId16): Likewise.
11077 [C99-based-standards] (PRIi16): Likewise.
11078 [C99-based-standards] (PRIo16): Likewise.
11079 [C99-based-standards] (PRIu16): Likewise.
11080 [C99-based-standards] (PRIx16): Likewise.
11081 [C99-based-standards] (PRIX16): Likewise.
11082 [C99-based-standards] (SCNd16): Likewise.
11083 [C99-based-standards] (SCNi16): Likewise.
11084 [C99-based-standards] (SCNo16): Likewise.
11085 [C99-based-standards] (SCNu16): Likewise.
11086 [C99-based-standards] (SCNx16): Likewise.
11087 [C99-based-standards] (PRIdLEAST16): Likewise.
11088 [C99-based-standards] (PRIiLEAST16): Likewise.
11089 [C99-based-standards] (PRIoLEAST16): Likewise.
11090 [C99-based-standards] (PRIuLEAST16): Likewise.
11091 [C99-based-standards] (PRIxLEAST16): Likewise.
11092 [C99-based-standards] (PRIXLEAST16): Likewise.
11093 [C99-based-standards] (SCNdLEAST16): Likewise.
11094 [C99-based-standards] (SCNiLEAST16): Likewise.
11095 [C99-based-standards] (SCNoLEAST16): Likewise.
11096 [C99-based-standards] (SCNuLEAST16): Likewise.
11097 [C99-based-standards] (SCNxLEAST16): Likewise.
11098 [C99-based-standards] (PRIdFAST16): Likewise.
11099 [C99-based-standards] (PRIiFAST16): Likewise.
11100 [C99-based-standards] (PRIoFAST16): Likewise.
11101 [C99-based-standards] (PRIuFAST16): Likewise.
11102 [C99-based-standards] (PRIxFAST16): Likewise.
11103 [C99-based-standards] (PRIXFAST16): Likewise.
11104 [C99-based-standards] (SCNdFAST16): Likewise.
11105 [C99-based-standards] (SCNiFAST16): Likewise.
11106 [C99-based-standards] (SCNoFAST16): Likewise.
11107 [C99-based-standards] (SCNuFAST16): Likewise.
11108 [C99-based-standards] (SCNxFAST16): Likewise.
11109 [C99-based-standards] (PRId32): Likewise.
11110 [C99-based-standards] (PRIi32): Likewise.
11111 [C99-based-standards] (PRIo32): Likewise.
11112 [C99-based-standards] (PRIu32): Likewise.
11113 [C99-based-standards] (PRIx32): Likewise.
11114 [C99-based-standards] (PRIX32): Likewise.
11115 [C99-based-standards] (SCNd32): Likewise.
11116 [C99-based-standards] (SCNi32): Likewise.
11117 [C99-based-standards] (SCNo32): Likewise.
11118 [C99-based-standards] (SCNu32): Likewise.
11119 [C99-based-standards] (SCNx32): Likewise.
11120 [C99-based-standards] (PRIdLEAST32): Likewise.
11121 [C99-based-standards] (PRIiLEAST32): Likewise.
11122 [C99-based-standards] (PRIoLEAST32): Likewise.
11123 [C99-based-standards] (PRIuLEAST32): Likewise.
11124 [C99-based-standards] (PRIxLEAST32): Likewise.
11125 [C99-based-standards] (PRIXLEAST32): Likewise.
11126 [C99-based-standards] (SCNdLEAST32): Likewise.
11127 [C99-based-standards] (SCNiLEAST32): Likewise.
11128 [C99-based-standards] (SCNoLEAST32): Likewise.
11129 [C99-based-standards] (SCNuLEAST32): Likewise.
11130 [C99-based-standards] (SCNxLEAST32): Likewise.
11131 [C99-based-standards] (PRIdFAST32): Likewise.
11132 [C99-based-standards] (PRIiFAST32): Likewise.
11133 [C99-based-standards] (PRIoFAST32): Likewise.
11134 [C99-based-standards] (PRIuFAST32): Likewise.
11135 [C99-based-standards] (PRIxFAST32): Likewise.
11136 [C99-based-standards] (PRIXFAST32): Likewise.
11137 [C99-based-standards] (SCNdFAST32): Likewise.
11138 [C99-based-standards] (SCNiFAST32): Likewise.
11139 [C99-based-standards] (SCNoFAST32): Likewise.
11140 [C99-based-standards] (SCNuFAST32): Likewise.
11141 [C99-based-standards] (SCNxFAST32): Likewise.
11142 [C99-based-standards] (PRId64): Likewise.
11143 [C99-based-standards] (PRIi64): Likewise.
11144 [C99-based-standards] (PRIo64): Likewise.
11145 [C99-based-standards] (PRIu64): Likewise.
11146 [C99-based-standards] (PRIx64): Likewise.
11147 [C99-based-standards] (PRIX64): Likewise.
11148 [C99-based-standards] (SCNd64): Likewise.
11149 [C99-based-standards] (SCNi64): Likewise.
11150 [C99-based-standards] (SCNo64): Likewise.
11151 [C99-based-standards] (SCNu64): Likewise.
11152 [C99-based-standards] (SCNx64): Likewise.
11153 [C99-based-standards] (PRIdLEAST64): Likewise.
11154 [C99-based-standards] (PRIiLEAST64): Likewise.
11155 [C99-based-standards] (PRIoLEAST64): Likewise.
11156 [C99-based-standards] (PRIuLEAST64): Likewise.
11157 [C99-based-standards] (PRIxLEAST64): Likewise.
11158 [C99-based-standards] (PRIXLEAST64): Likewise.
11159 [C99-based-standards] (SCNdLEAST64): Likewise.
11160 [C99-based-standards] (SCNiLEAST64): Likewise.
11161 [C99-based-standards] (SCNoLEAST64): Likewise.
11162 [C99-based-standards] (SCNuLEAST64): Likewise.
11163 [C99-based-standards] (SCNxLEAST64): Likewise.
11164 [C99-based-standards] (PRIdFAST64): Likewise.
11165 [C99-based-standards] (PRIiFAST64): Likewise.
11166 [C99-based-standards] (PRIoFAST64): Likewise.
11167 [C99-based-standards] (PRIuFAST64): Likewise.
11168 [C99-based-standards] (PRIxFAST64): Likewise.
11169 [C99-based-standards] (PRIXFAST64): Likewise.
11170 [C99-based-standards] (SCNdFAST64): Likewise.
11171 [C99-based-standards] (SCNiFAST64): Likewise.
11172 [C99-based-standards] (SCNoFAST64): Likewise.
11173 [C99-based-standards] (SCNuFAST64): Likewise.
11174 [C99-based-standards] (SCNxFAST64): Likewise.
11175 [C99-based-standards] (PRIdMAX): Likewise.
11176 [C99-based-standards] (PRIiMAX): Likewise.
11177 [C99-based-standards] (PRIoMAX): Likewise.
11178 [C99-based-standards] (PRIuMAX): Likewise.
11179 [C99-based-standards] (PRIxMAX): Likewise.
11180 [C99-based-standards] (PRIXMAX): Likewise.
11181 [C99-based-standards] (SCNdMAX): Likewise.
11182 [C99-based-standards] (SCNiMAX): Likewise.
11183 [C99-based-standards] (SCNoMAX): Likewise.
11184 [C99-based-standards] (SCNuMAX): Likewise.
11185 [C99-based-standards] (SCNxMAX): Likewise.
11186 [C99-based-standards] (PRIdPTR): Likewise.
11187 [C99-based-standards] (PRIiPTR): Likewise.
11188 [C99-based-standards] (PRIoPTR): Likewise.
11189 [C99-based-standards] (PRIuPTR): Likewise.
11190 [C99-based-standards] (PRIxPTR): Likewise.
11191 [C99-based-standards] (PRIXPTR): Likewise.
11192 [C99-based-standards] (SCNdPTR): Likewise.
11193 [C99-based-standards] (SCNiPTR): Likewise.
11194 [C99-based-standards] (SCNoPTR): Likewise.
11195 [C99-based-standards] (SCNuPTR): Likewise.
11196 [C99-based-standards] (SCNxPTR): Likewise.
11197 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11199 * conform/data/stdint.h-data: Update comments to clarify
11201 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11203 [C99-based standards] (INT8_MAX): Likewise.
11204 [C99-based standards] (INT16_MIN): Likewise.
11205 [C99-based standards] (INT16_MAX): Likewise.
11206 [C99-based standards] (INT32_MIN): Likewise.
11207 [C99-based standards] (INT32_MAX): Likewise.
11208 [C99-based standards] (INT64_MIN): Likewise.
11209 [C99-based standards] (INT64_MAX): Likewise.
11210 [C99-based standards] (UINT8_MAX): Likewise.
11211 [C99-based standards] (UINT16_MAX): Likewise.
11212 [C99-based standards] (UINT32_MAX): Likewise.
11213 [C99-based standards] (UINT64_MAX): Likewise.
11214 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11215 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11216 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11217 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11218 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11219 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11220 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11221 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11222 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11223 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11224 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11225 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11226 [C99-based standards] (INT_FAST8_MIN): Likewise.
11227 [C99-based standards] (INT_FAST8_MAX): Likewise.
11228 [C99-based standards] (INT_FAST16_MIN): Likewise.
11229 [C99-based standards] (INT_FAST16_MAX): Likewise.
11230 [C99-based standards] (INT_FAST32_MIN): Likewise.
11231 [C99-based standards] (INT_FAST32_MAX): Likewise.
11232 [C99-based standards] (INT_FAST64_MIN): Likewise.
11233 [C99-based standards] (INT_FAST64_MAX): Likewise.
11234 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11235 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11236 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11237 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11238 [C99-based standards] (INTPTR_MIN): Likewise.
11239 [C99-based standards] (INTPTR_MAX): Likewise.
11240 [C99-based standards] (UINTPTR_MAX): Likewise.
11241 [C99-based standards] (INTMAX_MIN): Likewise.
11242 [C99-based standards] (INTMAX_MAX): Likewise.
11243 [C99-based standards] (UINTMAX_MAX): Likewise.
11244 [C99-based standards] (PTRDIFF_MIN): Likewise.
11245 [C99-based standards] (PTRDIFF_MAX): Likewise.
11246 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11247 [C99-based standards] (SIZE_MAX): Likewise.
11248 [C99-based standards] (WCHAR_MAX): Likewise.
11249 [C99-based standards] (WINT_MAX): Likewise.
11250 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11251 constraint on value.
11252 [C99-based standards] (WCHAR_MIN): Likewise.
11253 [C99-based standards] (WINT_MIN): Likewise.
11254 [C99-based standards] (*_t): Allow.
11255 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11256 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11257 Include math.h-data and complex.h-data. Remove all expectations
11258 of math.h and complex.h contents.
11259 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11261 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11262 (struct tm): Expect tag.
11263 [C99-based-standards] (wcstof): Expect function.
11264 [C99-based-standards] (wcstold): Likewise.
11265 [C99-based-standards] (wcstoll): Likewise.
11266 [C99-based-standards] (wcstoull): Likewise.
11267 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11268 macro-int-constant. Specify type.
11269 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11270 constraint on value.
11271 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11273 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11275 [ISO C standards]: Do not allow headers.
11276 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11277 wcs[abcdefghijklmnopqrstuvwxyz]*.
11278 [ISO C standards] (*_t): Do not allow.
11279 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11281 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11282 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11284 [ISO C standards]: Do not allow headers.
11285 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11286 is[abcdefghijklmnopqrstuvwxyz]*.
11287 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11288 to[abcdefghijklmnopqrstuvwxyz]*.
11289 [ISO C standards] (*_t): Do not allow.
11290 * conform/data/stdalign.h-data: New file.
11291 * conform/data/stdbool.h-data: Likewise.
11292 * conform/data/stdnoreturn.h-data: Likewise.
11294 2012-11-07 Roland McGrath <roland@hack.frob.com>
11297 * manual/filesys.texi (Directory Entries): Typo fix.
11298 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11300 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11302 * elf/elf.h (EM_AARCH64): New macro.
11303 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11304 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11305 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11306 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11307 (R_AARCH64_TLSDESC): Likewise.
11308 (NT_ARM_TLS): Likewise.
11309 (NT_ARM_HW_BREAK): Likewise.
11310 (NT_ARM_HW_WATCH): Likewise.
11312 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11315 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11316 (__ieee754_powl): Saturate nonzero exponents with absolute value
11317 below 0x1p-79 to +/- 0x1p-79.
11318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11319 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11320 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11321 nonzero exponents with absolute value below 0x1p-32 to +/-
11323 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11324 (__ieee754_powl): Saturate nonzero exponents with absolute value
11325 below 0x1p-79 to +/- 0x1p-79.
11326 * math/libm-test.inc (pow_test): Add more tests.
11328 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11330 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11331 _dl_s390_cap_flags with kernel. Increase string length.
11332 (_dl_s390_platforms): Add z196 and zEC12.
11334 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11336 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11337 Change XOPEN21K to XOPEN2K.
11339 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11341 * string/memmove.c: Use memcpy when possible.
11343 2012-11-06 Andreas Jaeger <aj@suse.de>
11345 * po/eo.po: Update from translation team.
11347 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11351 exponent and small x and y exponents, scale x or y up. Increase
11352 by 2 the exponent used in scaling up.
11353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11354 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11355 * math/libm-test.inc (fma_test): Add more tests.
11356 (fma_test_towardzero): Likewise.
11357 (fma_test_downward): Likewise.
11358 (fma_test_upward): Likewise.
11360 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11363 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11367 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11368 namespace for names of struct fields.
11369 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11371 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11372 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11374 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11377 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11379 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11381 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11385 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11388 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11392 definitely overflow as x * y not x * y + z.
11393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11395 * math/libm-test.inc (fma_test): Add more tests.
11396 (fma_test_towardzero): Likewise.
11397 (fma_test_downward): Likewise.
11398 (fma_test_upward): Likewise.
11400 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11404 * include/stub-tag.h: Remove file.
11405 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11407 * manual/maint.texi (Porting): Don't reference it.
11408 * Makerules ($(objpfx)stubs): Likewise.
11409 * dirent/closedir.c: Don't include <stub-tag.h>.
11410 * dirent/dirfd.c: Likewise.
11411 * dirent/fdopendir.c: Likewise.
11412 * dirent/getdents.c: Likewise.
11413 * dirent/getdents64.c: Likewise.
11414 * dirent/opendir.c: Likewise.
11415 * dirent/readdir.c: Likewise.
11416 * dirent/readdir64.c: Likewise.
11417 * dirent/readdir64_r.c: Likewise.
11418 * dirent/readdir_r.c: Likewise.
11419 * dirent/rewinddir.c: Likewise.
11420 * dirent/seekdir.c: Likewise.
11421 * dirent/telldir.c: Likewise.
11422 * gmon/profil.c: Likewise.
11423 * grp/setgroups.c: Likewise.
11424 * inet/if_index.c: Likewise.
11425 * io/access.c: Likewise.
11426 * io/chdir.c: Likewise.
11427 * io/chmod.c: Likewise.
11428 * io/chown.c: Likewise.
11429 * io/close.c: Likewise.
11430 * io/dup.c: Likewise.
11431 * io/dup2.c: Likewise.
11432 * io/dup3.c: Likewise.
11433 * io/euidaccess.c: Likewise.
11434 * io/faccessat.c: Likewise.
11435 * io/fchdir.c: Likewise.
11436 * io/fchmod.c: Likewise.
11437 * io/fchmodat.c: Likewise.
11438 * io/fchown.c: Likewise.
11439 * io/fchownat.c: Likewise.
11440 * io/fcntl.c: Likewise.
11441 * io/flock.c: Likewise.
11442 * io/fstatfs.c: Likewise.
11443 * io/fstatfs64.c: Likewise.
11444 * io/fstatvfs.c: Likewise.
11445 * io/fstatvfs64.c: Likewise.
11446 * io/futimens.c: Likewise.
11447 * io/fxstat.c: Likewise.
11448 * io/fxstat64.c: Likewise.
11449 * io/fxstatat.c: Likewise.
11450 * io/fxstatat64.c: Likewise.
11451 * io/getcwd.c: Likewise.
11452 * io/isatty.c: Likewise.
11453 * io/lchmod.c: Likewise.
11454 * io/lchown.c: Likewise.
11455 * io/link.c: Likewise.
11456 * io/linkat.c: Likewise.
11457 * io/lseek.c: Likewise.
11458 * io/lseek64.c: Likewise.
11459 * io/lxstat64.c: Likewise.
11460 * io/mkdir.c: Likewise.
11461 * io/mkdirat.c: Likewise.
11462 * io/mkfifo.c: Likewise.
11463 * io/mkfifoat.c: Likewise.
11464 * io/open.c: Likewise.
11465 * io/open64.c: Likewise.
11466 * io/openat.c: Likewise.
11467 * io/openat64.c: Likewise.
11468 * io/pipe.c: Likewise.
11469 * io/pipe2.c: Likewise.
11470 * io/poll.c: Likewise.
11471 * io/posix_fadvise.c: Likewise.
11472 * io/posix_fadvise64.c: Likewise.
11473 * io/posix_fallocate.c: Likewise.
11474 * io/posix_fallocate64.c: Likewise.
11475 * io/read.c: Likewise.
11476 * io/readlink.c: Likewise.
11477 * io/readlinkat.c: Likewise.
11478 * io/rmdir.c: Likewise.
11479 * io/sendfile.c: Likewise.
11480 * io/sendfile64.c: Likewise.
11481 * io/statfs.c: Likewise.
11482 * io/statfs64.c: Likewise.
11483 * io/statvfs.c: Likewise.
11484 * io/statvfs64.c: Likewise.
11485 * io/symlink.c: Likewise.
11486 * io/symlinkat.c: Likewise.
11487 * io/ttyname.c: Likewise.
11488 * io/ttyname_r.c: Likewise.
11489 * io/umask.c: Likewise.
11490 * io/unlink.c: Likewise.
11491 * io/unlinkat.c: Likewise.
11492 * io/utime.c: Likewise.
11493 * io/utimensat.c: Likewise.
11494 * io/write.c: Likewise.
11495 * io/xmknod.c: Likewise.
11496 * io/xmknodat.c: Likewise.
11497 * io/xstat.c: Likewise.
11498 * io/xstat64.c: Likewise.
11499 * login/getpt.c: Likewise.
11500 * login/grantpt.c: Likewise.
11501 * login/unlockpt.c: Likewise.
11502 * math/e_acoshl.c: Likewise.
11503 * math/e_acosl.c: Likewise.
11504 * math/e_asinl.c: Likewise.
11505 * math/e_atan2l.c: Likewise.
11506 * math/e_atanhl.c: Likewise.
11507 * math/e_coshl.c: Likewise.
11508 * math/e_expl.c: Likewise.
11509 * math/e_fmodl.c: Likewise.
11510 * math/e_gammal_r.c: Likewise.
11511 * math/e_hypotl.c: Likewise.
11512 * math/e_j0l.c: Likewise.
11513 * math/e_j1l.c: Likewise.
11514 * math/e_jnl.c: Likewise.
11515 * math/e_lgammal_r.c: Likewise.
11516 * math/e_log10l.c: Likewise.
11517 * math/e_log2l.c: Likewise.
11518 * math/e_logl.c: Likewise.
11519 * math/e_powl.c: Likewise.
11520 * math/e_rem_pio2l.c: Likewise.
11521 * math/e_sinhl.c: Likewise.
11522 * math/e_sqrtl.c: Likewise.
11523 * math/fclrexcpt.c: Likewise.
11524 * math/fedisblxcpt.c: Likewise.
11525 * math/feenablxcpt.c: Likewise.
11526 * math/fegetenv.c: Likewise.
11527 * math/fegetexcept.c: Likewise.
11528 * math/fegetround.c: Likewise.
11529 * math/feholdexcpt.c: Likewise.
11530 * math/fesetenv.c: Likewise.
11531 * math/fesetround.c: Likewise.
11532 * math/feupdateenv.c: Likewise.
11533 * math/fgetexcptflg.c: Likewise.
11534 * math/fraiseexcpt.c: Likewise.
11535 * math/fsetexcptflg.c: Likewise.
11536 * math/ftestexcept.c: Likewise.
11537 * math/k_cosl.c: Likewise.
11538 * math/k_rem_pio2l.c: Likewise.
11539 * math/k_sinl.c: Likewise.
11540 * math/k_tanl.c: Likewise.
11541 * math/s_asinhl.c: Likewise.
11542 * math/s_atanl.c: Likewise.
11543 * math/s_cbrtl.c: Likewise.
11544 * math/s_erfl.c: Likewise.
11545 * math/s_expm1l.c: Likewise.
11546 * math/s_log1pl.c: Likewise.
11547 * math/s_tanhl.c: Likewise.
11548 * misc/acct.c: Likewise.
11549 * misc/brk.c: Likewise.
11550 * misc/chflags.c: Likewise.
11551 * misc/chroot.c: Likewise.
11552 * misc/fchflags.c: Likewise.
11553 * misc/fgetxattr.c: Likewise.
11554 * misc/flistxattr.c: Likewise.
11555 * misc/fremovexattr.c: Likewise.
11556 * misc/fsetxattr.c: Likewise.
11557 * misc/fsync.c: Likewise.
11558 * misc/ftruncate.c: Likewise.
11559 * misc/futimes.c: Likewise.
11560 * misc/futimesat.c: Likewise.
11561 * misc/getdomain.c: Likewise.
11562 * misc/getdtsz.c: Likewise.
11563 * misc/gethostid.c: Likewise.
11564 * misc/gethostname.c: Likewise.
11565 * misc/getloadavg.c: Likewise.
11566 * misc/getpagesize.c: Likewise.
11567 * misc/getsysstats.c: Likewise.
11568 * misc/getxattr.c: Likewise.
11569 * misc/gtty.c: Likewise.
11570 * misc/ioctl.c: Likewise.
11571 * misc/lgetxattr.c: Likewise.
11572 * misc/listxattr.c: Likewise.
11573 * misc/llistxattr.c: Likewise.
11574 * misc/lremovexattr.c: Likewise.
11575 * misc/lsetxattr.c: Likewise.
11576 * misc/lutimes.c: Likewise.
11577 * misc/madvise.c: Likewise.
11578 * misc/mincore.c: Likewise.
11579 * misc/mlock.c: Likewise.
11580 * misc/mlockall.c: Likewise.
11581 * misc/mmap.c: Likewise.
11582 * misc/mprotect.c: Likewise.
11583 * misc/msync.c: Likewise.
11584 * misc/munlock.c: Likewise.
11585 * misc/munlockall.c: Likewise.
11586 * misc/munmap.c: Likewise.
11587 * misc/preadv.c: Likewise.
11588 * misc/preadv64.c: Likewise.
11589 * misc/ptrace.c: Likewise.
11590 * misc/pwritev.c: Likewise.
11591 * misc/pwritev64.c: Likewise.
11592 * misc/readv.c: Likewise.
11593 * misc/reboot.c: Likewise.
11594 * misc/remap_file_pages.c: Likewise.
11595 * misc/removexattr.c: Likewise.
11596 * misc/revoke.c: Likewise.
11597 * misc/select.c: Likewise.
11598 * misc/setdomain.c: Likewise.
11599 * misc/setegid.c: Likewise.
11600 * misc/seteuid.c: Likewise.
11601 * misc/sethostid.c: Likewise.
11602 * misc/sethostname.c: Likewise.
11603 * misc/setregid.c: Likewise.
11604 * misc/setreuid.c: Likewise.
11605 * misc/setxattr.c: Likewise.
11606 * misc/sstk.c: Likewise.
11607 * misc/stty.c: Likewise.
11608 * misc/swapoff.c: Likewise.
11609 * misc/swapon.c: Likewise.
11610 * misc/sync.c: Likewise.
11611 * misc/syncfs.c: Likewise.
11612 * misc/syscall.c: Likewise.
11613 * misc/truncate.c: Likewise.
11614 * misc/ualarm.c: Likewise.
11615 * misc/usleep.c: Likewise.
11616 * misc/ustat.c: Likewise.
11617 * misc/utimes.c: Likewise.
11618 * misc/vhangup.c: Likewise.
11619 * misc/writev.c: Likewise.
11620 * posix/_exit.c: Likewise.
11621 * posix/alarm.c: Likewise.
11622 * posix/execve.c: Likewise.
11623 * posix/fexecve.c: Likewise.
11624 * posix/fork.c: Likewise.
11625 * posix/fpathconf.c: Likewise.
11626 * posix/getaddrinfo.c: Likewise.
11627 * posix/getegid.c: Likewise.
11628 * posix/geteuid.c: Likewise.
11629 * posix/getgid.c: Likewise.
11630 * posix/getgroups.c: Likewise.
11631 * posix/getlogin.c: Likewise.
11632 * posix/getlogin_r.c: Likewise.
11633 * posix/getpgid.c: Likewise.
11634 * posix/getpid.c: Likewise.
11635 * posix/getppid.c: Likewise.
11636 * posix/getresgid.c: Likewise.
11637 * posix/getresuid.c: Likewise.
11638 * posix/getsid.c: Likewise.
11639 * posix/getuid.c: Likewise.
11640 * posix/glob64.c: Likewise.
11641 * posix/nanosleep.c: Likewise.
11642 * posix/pathconf.c: Likewise.
11643 * posix/pause.c: Likewise.
11644 * posix/posix_madvise.c: Likewise.
11645 * posix/pread.c: Likewise.
11646 * posix/pread64.c: Likewise.
11647 * posix/pwrite.c: Likewise.
11648 * posix/pwrite64.c: Likewise.
11649 * posix/sched_getaffinity.c: Likewise.
11650 * posix/sched_getp.c: Likewise.
11651 * posix/sched_gets.c: Likewise.
11652 * posix/sched_primax.c: Likewise.
11653 * posix/sched_primin.c: Likewise.
11654 * posix/sched_rr_gi.c: Likewise.
11655 * posix/sched_setaffinity.c: Likewise.
11656 * posix/sched_setp.c: Likewise.
11657 * posix/sched_sets.c: Likewise.
11658 * posix/sched_yield.c: Likewise.
11659 * posix/setgid.c: Likewise.
11660 * posix/setlogin.c: Likewise.
11661 * posix/setpgid.c: Likewise.
11662 * posix/setresgid.c: Likewise.
11663 * posix/setresuid.c: Likewise.
11664 * posix/setsid.c: Likewise.
11665 * posix/setuid.c: Likewise.
11666 * posix/sleep.c: Likewise.
11667 * posix/spawni.c: Likewise.
11668 * posix/sysconf.c: Likewise.
11669 * posix/times.c: Likewise.
11670 * posix/wait.c: Likewise.
11671 * posix/wait3.c: Likewise.
11672 * posix/wait4.c: Likewise.
11673 * posix/waitpid.c: Likewise.
11674 * resolv/gai_sigqueue.c: Likewise.
11675 * resource/getpriority.c: Likewise.
11676 * resource/getrlimit.c: Likewise.
11677 * resource/getrusage.c: Likewise.
11678 * resource/nice.c: Likewise.
11679 * resource/setpriority.c: Likewise.
11680 * resource/setrlimit.c: Likewise.
11681 * resource/ulimit.c: Likewise.
11682 * rt/aio_cancel.c: Likewise.
11683 * rt/aio_fsync.c: Likewise.
11684 * rt/aio_read.c: Likewise.
11685 * rt/aio_sigqueue.c: Likewise.
11686 * rt/aio_suspend.c: Likewise.
11687 * rt/aio_write.c: Likewise.
11688 * rt/clock_getres.c: Likewise.
11689 * rt/clock_gettime.c: Likewise.
11690 * rt/clock_nanosleep.c: Likewise.
11691 * rt/clock_settime.c: Likewise.
11692 * rt/lio_listio.c: Likewise.
11693 * rt/mq_close.c: Likewise.
11694 * rt/mq_getattr.c: Likewise.
11695 * rt/mq_notify.c: Likewise.
11696 * rt/mq_open.c: Likewise.
11697 * rt/mq_receive.c: Likewise.
11698 * rt/mq_send.c: Likewise.
11699 * rt/mq_setattr.c: Likewise.
11700 * rt/mq_timedreceive.c: Likewise.
11701 * rt/mq_timedsend.c: Likewise.
11702 * rt/mq_unlink.c: Likewise.
11703 * rt/shm_open.c: Likewise.
11704 * rt/shm_unlink.c: Likewise.
11705 * rt/timer_create.c: Likewise.
11706 * rt/timer_delete.c: Likewise.
11707 * rt/timer_getoverr.c: Likewise.
11708 * rt/timer_gettime.c: Likewise.
11709 * rt/timer_settime.c: Likewise.
11710 * setjmp/__longjmp.c: Likewise.
11711 * setjmp/setjmp.c: Likewise.
11712 * signal/kill.c: Likewise.
11713 * signal/killpg.c: Likewise.
11714 * signal/raise.c: Likewise.
11715 * signal/sigaction.c: Likewise.
11716 * signal/sigaltstack.c: Likewise.
11717 * signal/sigblock.c: Likewise.
11718 * signal/sigignore.c: Likewise.
11719 * signal/sigintr.c: Likewise.
11720 * signal/signal.c: Likewise.
11721 * signal/sigpause.c: Likewise.
11722 * signal/sigpending.c: Likewise.
11723 * signal/sigqueue.c: Likewise.
11724 * signal/sigreturn.c: Likewise.
11725 * signal/sigset.c: Likewise.
11726 * signal/sigsetmask.c: Likewise.
11727 * signal/sigstack.c: Likewise.
11728 * signal/sigsuspend.c: Likewise.
11729 * signal/sigtimedwait.c: Likewise.
11730 * signal/sigvec.c: Likewise.
11731 * signal/sigwait.c: Likewise.
11732 * signal/sigwaitinfo.c: Likewise.
11733 * signal/sysv_signal.c: Likewise.
11734 * socket/accept.c: Likewise.
11735 * socket/accept4.c: Likewise.
11736 * socket/bind.c: Likewise.
11737 * socket/connect.c: Likewise.
11738 * socket/getpeername.c: Likewise.
11739 * socket/getsockname.c: Likewise.
11740 * socket/getsockopt.c: Likewise.
11741 * socket/isfdtype.c: Likewise.
11742 * socket/listen.c: Likewise.
11743 * socket/recv.c: Likewise.
11744 * socket/recvfrom.c: Likewise.
11745 * socket/recvmsg.c: Likewise.
11746 * socket/send.c: Likewise.
11747 * socket/sendmsg.c: Likewise.
11748 * socket/sendto.c: Likewise.
11749 * socket/setsockopt.c: Likewise.
11750 * socket/shutdown.c: Likewise.
11751 * socket/sockatmark.c: Likewise.
11752 * socket/socket.c: Likewise.
11753 * socket/socketpair.c: Likewise.
11754 * stdio-common/ctermid.c: Likewise.
11755 * stdio-common/cuserid.c: Likewise.
11756 * stdio-common/remove.c: Likewise.
11757 * stdio-common/rename.c: Likewise.
11758 * stdio-common/renameat.c: Likewise.
11759 * stdio-common/tempname.c: Likewise.
11760 * stdlib/getcontext.c: Likewise.
11761 * stdlib/makecontext.c: Likewise.
11762 * stdlib/setcontext.c: Likewise.
11763 * stdlib/swapcontext.c: Likewise.
11764 * stdlib/system.c: Likewise.
11765 * streams/fattach.c: Likewise.
11766 * streams/fdetach.c: Likewise.
11767 * streams/getmsg.c: Likewise.
11768 * streams/getpmsg.c: Likewise.
11769 * streams/putmsg.c: Likewise.
11770 * streams/putpmsg.c: Likewise.
11771 * sysdeps/unix/bsd/getpt.c: Likewise.
11772 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11773 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11774 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11777 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11779 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11780 * sysvipc/msgctl.c: Likewise.
11781 * sysvipc/msgget.c: Likewise.
11782 * sysvipc/msgrcv.c: Likewise.
11783 * sysvipc/msgsnd.c: Likewise.
11784 * sysvipc/semctl.c: Likewise.
11785 * sysvipc/semget.c: Likewise.
11786 * sysvipc/semop.c: Likewise.
11787 * sysvipc/semtimedop.c: Likewise.
11788 * sysvipc/shmat.c: Likewise.
11789 * sysvipc/shmctl.c: Likewise.
11790 * sysvipc/shmdt.c: Likewise.
11791 * sysvipc/shmget.c: Likewise.
11792 * termios/tcdrain.c: Likewise.
11793 * termios/tcflow.c: Likewise.
11794 * termios/tcflush.c: Likewise.
11795 * termios/tcgetattr.c: Likewise.
11796 * termios/tcgetpgrp.c: Likewise.
11797 * termios/tcsendbrk.c: Likewise.
11798 * termios/tcsetattr.c: Likewise.
11799 * termios/tcsetpgrp.c: Likewise.
11800 * time/adjtime.c: Likewise.
11801 * time/clock.c: Likewise.
11802 * time/getitimer.c: Likewise.
11803 * time/gettimeofday.c: Likewise.
11804 * time/setitimer.c: Likewise.
11805 * time/settimeofday.c: Likewise.
11806 * time/stime.c: Likewise.
11807 * time/time.c: Likewise.
11809 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11811 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11814 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11816 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11818 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11822 FE_TONEAREST before applying Dekker multiplication and Knuth
11823 addition. Clear inexact exceptions and check for exact zero
11824 results afterwards.
11825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11828 * math/libm-test.inc (fma_test): Add more tests.
11829 (fma_test_towardzero): Likewise.
11830 (fma_test_downward): Likewise.
11831 (fma_test_upward): Likewise.
11832 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11834 (libc_fesetround): New macro.
11835 (libc_fesetroundf): Likewise.
11836 (libc_fesetroundl): Likewise.
11837 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11839 (libc_fesetround_387): Likewise.
11840 (libc_fesetroundf): New macro.
11841 (libc_fesetround): Likewise.
11842 (libc_fesetroundl): Likewise.
11843 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11845 (libc_fesetroundf): New macro.
11846 (libc_fesetround): Likewise.
11847 (libc_fesetroundl): Likewise.
11848 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11849 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11850 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11852 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11853 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11855 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11856 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11858 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11862 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11863 integer constant usable in #if and use that to give value to enum
11865 (FE_DIVBYZERO): Likewise.
11866 (FE_UNDERFLOW): Likewise.
11867 (FE_OVERFLOW): Likewise.
11868 (FE_INVALID): Likewise.
11869 (FE_INVALID_SNAN): Likewise.
11870 (FE_INVALID_ISI): Likewise.
11871 (FE_INVALID_IDI): Likewise.
11872 (FE_INVALID_ZDZ): Likewise.
11873 (FE_INVALID_IMZ): Likewise.
11874 (FE_INVALID_COMPARE): Likewise.
11875 (FE_INVALID_SOFTWARE): Likewise.
11876 (FE_INVALID_SQRT): Likewise.
11877 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11878 (FE_TONEAREST): Likewise.
11879 (FE_TOWARDZERO): Likewise.
11880 (FE_UPWARD): Likewise.
11881 (FE_DOWNWARD): Likewise.
11882 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11883 (FE_DIVBYZERO): Likewise.
11884 (FE_OVERFLOW): Likewise.
11885 (FE_UNDERFLOW): Likewise.
11886 (FE_INEXACT): Likewise.
11887 (FE_TONEAREST): Likewise.
11888 (FE_DOWNWARD): Likewise.
11889 (FE_UPWARD): Likewise.
11890 (FE_TOWARDZERO): Likewise.
11891 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11892 (FE_UNDERFLOW): Likewise.
11893 (FE_OVERFLOW): Likewise.
11894 (FE_DIVBYZERO): Likewise.
11895 (FE_INVALID): Likewise.
11896 (FE_TONEAREST): Likewise.
11897 (FE_TOWARDZERO): Likewise.
11898 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11899 (FE_OVERFLOW): Likewise.
11900 (FE_UNDERFLOW): Likewise.
11901 (FE_DIVBYZERO): Likewise.
11902 (FE_INEXACT): Likewise.
11903 (FE_TONEAREST): Likewise.
11904 (FE_TOWARDZERO): Likewise.
11905 (FE_UPWARD): Likewise.
11906 (FE_DOWNWARD): Likewise.
11907 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11908 (FE_DIVBYZERO): Likewise.
11909 (FE_OVERFLOW): Likewise.
11910 (FE_UNDERFLOW): Likewise.
11911 (FE_INEXACT): Likewise.
11912 (FE_TONEAREST): Likewise.
11913 (FE_DOWNWARD): Likewise.
11914 (FE_UPWARD): Likewise.
11915 (FE_TOWARDZERO): Likewise.
11917 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11919 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11921 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11923 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11924 commands. Quote $PWD.
11925 (blacklist_exports): Don't use remove_newlines. Replace "declare
11927 (remove_newlines): Remove.
11929 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11931 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11932 * stdlib/stdlib.h (atof): Moved to ...
11933 * include/bits/stdlib-float.h: Here. New file.
11934 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11935 * stdlib/bits/stdlib-float.h: New file.
11936 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11938 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11941 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11943 * conform/conformtest.pl (@headers): Add fenv.h.
11944 * conform/data/fenv.h-data: New file.
11945 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11946 include of <math/fenv.h>.
11948 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11949 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11950 && !UNIX98]. Enables tests for XOPEN2K8.
11951 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11952 POSIX2008]: Likewise.
11954 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11955 (struct rusage): Do not expect type or its members.
11958 * math/math.h (FP_NAN): Define macro to integer constant usable in
11959 #if and use that to give value to enum constant.
11960 (FP_INFINITE): Likewise.
11961 (FP_ZERO): Likewise.
11962 (FP_SUBNORMAL): Likewise.
11963 (FP_NORMAL): Likewise.
11965 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11967 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11968 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11971 2012-11-02 Roland McGrath <roland@hack.frob.com>
11973 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11974 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11975 autoconf-time if not.
11976 * configure.in: Remove AC_PREREQ.
11978 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11980 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11981 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11982 of the internal implementation.
11984 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11986 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11987 except include of <misc/sys/syslog.h>.
11989 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11992 function returns with a NULL context exit with zero.
11994 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11996 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11998 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12000 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12001 (run_program_cmd): This.
12002 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12003 (tst_langinfo): New variable. Use it.
12005 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12007 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12008 floating point opcodes.
12010 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12012 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12015 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12017 * sysdeps/mach/hurd/powerpc: Remove directory.
12018 * sysdeps/mach/powerpc: Likewise.
12020 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12022 * scripts/check-local-headers.sh: Ignore c++ headers.
12024 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12026 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12027 __libc_cleanup_region_start argument.
12029 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12034 x * y using scaling, not as x * y + z.
12035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12037 * math/libm-test.inc (fma_test): Add more tests.
12038 (fma_test_towardzero): Likewise.
12039 (fma_test_downward): Likewise.
12040 (fma_test_upward): Likewise.
12042 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12044 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12046 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12048 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12051 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12053 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12055 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12062 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12065 Fix the order of the list for glibc 2.17.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12069 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12073 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12076 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12077 for low part of x being zero before using __atanl (y).
12078 * math/libm-test.inc (atan2_test): Add another test.
12080 * manual/install.texi (Configuring and compiling): Document
12081 general use of test-wrapper and test-wrapper-env.
12082 * INSTALL: Regenerated.
12084 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12085 (__fma): Do not extract and scale down low bits on after-rounding
12086 systems when result rounded to normal precision would have normal
12088 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12089 (__fmal): Do not extract and scale down low bits on after-rounding
12090 systems when result rounded to normal precision would have normal
12092 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12093 (__fmal): Do not extract and scale down low bits on after-rounding
12094 systems when result rounded to normal precision would have normal
12096 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12098 (fma_test): Add more tests.
12099 (fma_test_towardzero): Likewise.
12100 (fma_test_downward): Likewise.
12101 (fma_test_upward): Likewise.
12103 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12105 * sysdeps/i386/tininess.h: Renamed to ...
12106 * sysdeps/x86/tininess.h: This.
12107 * sysdeps/x86_64/tininess.h: Removed.
12109 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12111 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12112 input. Use $(build-program-cmd).
12113 ($(objpfx)tst-array1-static.out): Likewise.
12114 ($(objpfx)tst-array2.out): Likewise.
12115 ($(objpfx)tst-array3.out): Likewise.
12116 ($(objpfx)tst-array4.out): Likewise.
12117 ($(objpfx)tst-array5.out): Likewise.
12118 ($(objpfx)tst-array5-static.out): Likewise.
12120 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12122 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12125 * nss/nsswitch.h (nss_interface_function): Provide new
12126 macro for use with NSS functions.
12127 * grp/initgroups.c: Use new macro.
12128 * nss/getXXbyYY.c: Likewise.
12129 * nss/getXXbyYY_r.c: Likewise.
12130 * nss/getXXent.c: Likewise.
12131 * nss/getXXent_r.c: Likewise.
12132 * sysdeps/posix/getaddrinfo.c: Likewise.
12134 2012-10-30 Andreas Jaeger <aj@suse.de>
12136 * po/ru.po: Update Russion translation from translation project.
12138 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12143 result and shift together with sticky bit instead of replicating
12144 round-to-nearest rounding.
12145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12147 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12148 missing underflow exceptions.
12149 (fma_test_towardzero): Add more tests.
12150 (fma_test_downward): Likewise.
12151 (fma_test_upward): Likewise.
12154 * sysdeps/generic/tininess.h: New file.
12155 * sysdeps/i386/tininess.h: Likewise.
12156 * sysdeps/sh/tininess.h: Likewise.
12157 * sysdeps/x86_64/tininess.h: Likewise.
12158 * stdlib/tst-strtod-underflow.c: Likewise.
12159 * stdlib/tst-tininess.c: Likewise.
12160 * stdlib/strtod_l.c: Include <tininess.h>.
12161 (round_and_return): Do not set errno for exact underflow cases.
12162 Force an underflow exception when setting errno for underflow.
12163 Determine underflow based on rounding to normal precision if
12164 TININESS_AFTER_ROUNDING.
12165 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12166 ERANGE for exact underflow cases.
12167 * stdlib/Makefile (tests): Add tst-tininess and
12168 tst-strtod-underflow.
12169 ($(objpfx)tst-tininess): Use $(link-libm).
12170 ($(objpfx)tst-strtod-underflow): Likewise.
12172 2012-10-30 Andreas Jaeger <aj@suse.de>
12175 * elf/Makefile (tests): Remove conditional for have-initfini-array
12176 since this is now always required and the variable does not exist
12178 (tests-static): Likewise.
12179 (modules-names): Likewise.
12181 * po/eo.po: Add Esperanto translation from translation project.
12183 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12184 merged with constructor/destructor.
12185 (init_array): Likewise.
12186 * elf/tst-array2dep.c (fini_array): Likewise.
12187 (init_array): Likewise.
12189 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12191 * manual/message.texi: Delete @cartouche tags.
12193 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12195 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12197 * sysdeps/mach/hurd/fsync.c: Likewise.
12199 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12200 [_POSIX_REALTIME_SIGNALS]: Change condition to
12201 [_POSIX_REALTIME_SIGNALS > 0].
12203 2012-10-27 Andreas Jaeger <aj@suse.de>
12205 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12206 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12208 [__WORDSIZE != 64]: Likewise.
12210 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12212 * iconvdata/tst-table.sh: Remove ${SHELL}.
12213 * iconvdata/tst-tables.sh: Likewise.
12215 2012-10-25 David S. Miller <davem@davemloft.net>
12217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12218 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12224 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12225 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12228 2012-10-25 Roland McGrath <roland@hack.frob.com>
12230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12231 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12234 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12235 Jim Blandy <jimb@codesourcery.com>
12237 * scripts/cross-test-ssh.sh: New file.
12238 * manual/install.texi (Configuring and compiling): Document use of
12240 * INSTALL: Regenerated.
12242 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12244 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12247 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12249 * Makeconfig (run-program-prefix): Fix comment.
12251 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12252 Jim Blandy <jimb@codesourcery.com>
12254 * Makeconfig (test-wrapper): New variable,
12255 (test-wrapper-env): Likewise.
12256 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12257 (run-built-tests): Define to yes.
12258 (run-program-prefix): Use $(test-wrapper).
12259 (built-program-cmd): Likewise.
12260 * Rules (make-test-out): Use $(test-wrapper-env) and
12261 $(host-built-program-cmd).
12262 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12263 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12265 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12266 $(test-wrapper-env) to tst-rtld-load-self.sh.
12267 ($(objpfx)order2.out): Use $(test-wrapper).
12268 ($(objpfx)tst-initorder.out): Likewise.
12269 ($(objpfx)tst-initorder2.out): Likewise.
12270 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12271 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12272 (test_wrapper_env): New variable. Use it to run ld.so.
12273 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12274 Use it to run ld.so.
12275 (test_wrapper_env): Likewise.
12276 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12277 $(test-wrapper) to run-iconv-test.sh.
12278 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12279 (ICONV): Use $test_wrapper.
12280 * posix/Makefile ($(objpfx)globtest.out): Pass
12281 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12282 globtest.sh, not $(run-program-prefix).
12283 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12284 (test_wrapper): Likewise.
12285 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12286 set together with run_via_rtld_prefix.
12287 (run_program_prefix): Define in terms of test_wrapper and
12288 run_via_rtld_prefix.
12290 2012-10-24 Roland McGrath <roland@hack.frob.com>
12292 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12293 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12297 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12298 Declare __clock_getres, __clock_gettime, __clock_settime,
12299 __clock_nanosleep, and __clock_getcpuclockid.
12300 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12301 Remove librt_hidden_def (clock_gettime).
12302 * sysdeps/unix/clock_gettime.c: Likewise.
12303 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12305 * rt/clock_getres.c: Define __clock_getres as an alias.
12306 * sysdeps/posix/clock_getres.c: Likewise.
12307 * rt/clock_settime.c: Define __clock_settime as an alias.
12308 * sysdeps/unix/clock_settime.c: Likewise.
12309 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12310 * sysdeps/unix/clock_nanosleep.c: Likewise.
12311 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12312 * rt/clock-compat.c: New file.
12313 * rt/Makefile (librt-routines): Add clock-compat and move
12314 $(clock-routines) to ...
12315 (routines): ... here, new variable.
12316 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12317 Don't add get_clockfreq here.
12318 * rt/Versions (libc: GLIBC_2.17): New version set.
12319 Add clock_* symbols here.
12320 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12322 (GLIBC_2.17): Add clock_* symbols.
12323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12334 * NEWS: Mention the move.
12336 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12337 Use __open, __read, __close rather than their public counterparts.
12338 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12339 (__get_clockfreq_via_cpuinfo): Likewise.
12340 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12341 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12343 * config.h.in (HAVE_IFUNC): New #undef.
12344 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12346 * configure: Regenerated.
12348 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12350 * configure.in: Move READELF check to start of file.
12351 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12352 libc_cv_asm_gnu_indirect_function in the process.
12353 * configure: Regenerated.
12355 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12357 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12358 send the output to /dev/null.
12359 (libc_cv_cc_with_libunwind): Likewise.
12360 (libc_cv_as_noexecstack): Likewise.
12361 * configure: Regenerate.
12363 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12365 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12367 * posix/globtest.sh (TMPDIR): Do not set.
12368 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12369 (testout): Likewise.
12371 2012-10-24 Andreas Jaeger <aj@suse.de>
12373 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12374 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12375 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12376 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12377 posix_fadvise64, posix_fallocate64.
12379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12380 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12381 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12383 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12385 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12388 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12389 <bits/fcntl-linux.h>.
12390 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12393 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12394 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12395 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12396 [__WORDSIZE != 64]: Likewise.
12398 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12400 * Makeconfig (run-built-tests): New variable.
12401 * Rules [$(cross-compiling) = yes]: Change condition to
12402 [$(run-built-tests) = no].
12403 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12404 to [$(run-built-tests) = yes].
12405 * elf/Makefile [$(cross-compiling) = no]: Likewise
12406 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12407 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12408 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12409 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12410 * io/Makefile [$(cross-compiling) = no]: Likewise.
12411 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12412 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12413 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12414 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12415 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12416 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12417 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12418 * string/Makefile [$(cross-compiling) = no]: Likewise.
12420 * posix/Makefile ($(objpfx)globtest.out): Pass
12421 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12422 $(rtld-installed-name).
12423 * posix/globtest.sh (elf_objpfx): Remove variable.
12424 (rtld_installed_name): Likewise.
12425 (library_path): Likewise.
12426 (run_program_prefix): New variable. Use for running globtest
12429 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12430 Joseph Myers <joseph@codesourcery.com>
12432 * Makeconfig (host-built-program-cmd): New variable.
12433 * elf/Makefile (tst-stackguard1-ARGS): Use
12434 $(host-built-program-cmd).
12435 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12436 (tst-spawn-ARGS): Likewise.
12437 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12439 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12440 Jim Blandy <jimb@codesourcery.com>
12442 * Makeconfig (run-via-rtld-prefix): New variable.
12443 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12444 (built-program-cmd): Likewise.
12446 2012-10-22 Andreas Jaeger <aj@suse.de>
12448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12449 __O_RSYNC if it exists, otherwise to O_SYNC.
12451 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12452 Joseph Myers <joseph@codesourcery.com>
12454 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12456 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12458 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12461 2012-10-22 Andreas Jaeger <aj@suse.de>
12463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12468 bits/fcntl-linux.h.
12470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12471 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12473 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12478 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12479 Joseph Myers <joseph@codesourcery.com>
12481 * config.make.in (NM): New variable.
12483 2012-10-21 Andreas Jaeger <aj@suse.de>
12485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12486 definitions and declarations that are provided by
12487 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12489 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12492 * elf/Makefile (tests-static): Add tst-leaks1-static.
12493 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12494 ($(objpfx)tst-leaks1-static): New rule.
12495 ($(objpfx)tst-leaks1-static-mem): Likewise.
12496 (tst-leaks1-static-ENV): New macro.
12497 * elf/dl-open.c (dl_open_worker): Check the main application
12498 only if SHARED is defined.
12499 * elf/tst-leaks1-static.c: New file.
12501 2012-10-20 Andreas Jaeger <aj@suse.de>
12503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12504 generic values for Linux.
12505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12506 and declarations that are provided by <bits/fcntl-linux.h> and
12507 include <bits/fcntl-linux.h>.
12508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12511 2012-10-20 Roland McGrath <roland@hack.frob.com>
12513 * io/fcntl.h: Move include of <bits/types.h> to the top and
12514 include it unconditionally.
12516 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12518 * wcsmbs/Makefile (tests-ifunc): New variable.
12519 (tests): Add $(tests-ifunc).
12520 * wcsmbs/test-wcschr-ifunc.c: New file.
12521 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12522 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12523 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12524 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12525 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12527 * string/Makefile (tests-ifunc): New variable.
12528 (tests): Add $(tests-ifunc).
12529 * string/test-memccpy.c (TEST_NAME): New macro.
12530 * string/test-memchr.c (TEST_NAME): Likewise.
12531 * string/test-memcmp.c (TEST_NAME): Likewise.
12532 * string/test-memcpy.c (TEST_NAME): Likewise.
12533 * string/test-memmem.c (TEST_NAME): Likewise.
12534 * string/test-memmove.c (TEST_NAME): Likewise.
12535 * string/test-memset.c (TEST_NAME): Likewise.
12536 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12537 * string/test-stpcpy.c (TEST_NAME): Likewise.
12538 * string/test-stpncpy.c (TEST_NAME): Likewise.
12539 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12540 * string/test-strcasestr.c (TEST_NAME): Likewise.
12541 * string/test-strcat.c (TEST_NAME): Likewise.
12542 * string/test-strchr.c (TEST_NAME): Likewise.
12543 * string/test-strcmp.c(TEST_NAME): Likewise.
12544 * string/test-strcpy.c (TEST_NAME): Likewise.
12545 * string/test-strcspn.c (TEST_NAME): Likewise.
12546 * string/test-strlen.c (TEST_NAME): Likewise.
12547 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12548 * string/test-strncmp.c (TEST_NAME): Likewise.
12549 * string/test-strncpy.c (TEST_NAME): Likewise.
12550 * string/test-strnlen.c (TEST_NAME): Likewise.
12551 * string/test-strpbrk.c (TEST_NAME): Likewise.
12552 * string/test-strrchr.c (TEST_NAME): Likewise.
12553 * string/test-strspn.c (TEST_NAME): Likewise.
12554 * string/test-strstr.c (TEST_NAME): Likewise.
12555 * string/test-bcopy-ifunc.c: New file.
12556 * string/test-bzero-ifunc.c: Likewise.
12557 * string/test-memccpy-ifunc.c: Likewise.
12558 * string/test-memchr-ifunc.c: Likewise.
12559 * string/test-memcmp-ifunc.c: Likewise.
12560 * string/test-memcpy-ifunc.c: Likewise.
12561 * string/test-memmem-ifunc.c: Likewise.
12562 * string/test-memmove-ifunc.c: Likewise.
12563 * string/test-mempcpy-ifunc.c: Likewise.
12564 * string/test-memset-ifunc.c: Likewise.
12565 * string/test-rawmemchr-ifunc.c: Likewise.
12566 * string/test-stpcpy-ifunc.c: Likewise.
12567 * string/test-stpncpy-ifunc.c: Likewise.
12568 * string/test-strcasecmp-ifunc.c: Likewise.
12569 * string/test-strcasestr-ifunc.c: Likewise.
12570 * string/test-strcat-ifunc.c: Likewise.
12571 * string/test-strchr-ifunc.c: Likewise.
12572 * string/test-strchrnul-ifunc.c: Likewise.
12573 * string/test-strcmp-ifunc.c: Likewise.
12574 * string/test-strcpy-ifunc.c: Likewise.
12575 * string/test-strcspn-ifunc.c: Likewise.
12576 * string/test-strlen-ifunc.c: Likewise.
12577 * string/test-strncasecmp-ifunc.c: Likewise.
12578 * string/test-strncat-ifunc.c: Likewise.
12579 * string/test-strncmp-ifunc.c: Likewise.
12580 * string/test-strncpy-ifunc.c: Likewise.
12581 * string/test-strnlen-ifunc.c: Likewise.
12582 * string/test-strpbrk-ifunc.c: Likewise.
12583 * string/test-strrchr-ifunc.c: Likewise.
12584 * string/test-strspn-ifunc.c: Likewise.
12585 * string/test-strstr-ifunc.c: Likewise.
12587 * debug/Makefile (tests-ifunc): New variable.
12588 (tests): Add $(tests-ifunc).
12589 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12590 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12591 * debug/test-stpcpy_chk-ifunc.c: New file.
12592 * debug/test-strcpy_chk-ifunc.c: Likewise.
12594 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12597 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12598 header is not read in.
12600 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12602 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12603 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12604 directly. Pass built executable to script as
12605 $(built-program-cmd).
12606 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12607 $testprogram without using LD_LIBRARY_PATH and $ldso.
12609 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12610 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12611 $(rtld-installed-name).
12612 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12613 (rtld_installed_name): Likewise.
12614 (library_path): Likewise.
12615 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12616 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12617 $(run-program-prefix) to tst-tables.sh.
12618 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12619 it to run tst-table-from and tst-table-to.
12620 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12621 Pass it to tst-table.sh.
12622 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12623 $(run-program-prefix) to tst-gettext.sh.
12624 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12626 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12628 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12629 to run tst-gettext.
12630 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12631 to run tst-gettext2.
12632 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12633 to run tst-translit.
12634 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12635 $(run-program-prefix) to tst-mtrace.sh.
12636 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12638 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12639 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12640 $(rtld-installed-name).
12641 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12642 (rtld_installed_name): Likewise.
12643 (run_program_prefix): New variable. Use it to run wordexp-test.
12645 * Makeconfig (ARCH): Remove all definitions.
12646 (machine): Likewise.
12647 [ARCH]: Remove conditional code.
12648 [!objdir]: Give error.
12649 [!objdir] (objpfx): Remove.
12650 [!objdir] (common-objpfx): Likewise.
12651 [!objdir] (common-objdir): Likewise.
12652 * configure.in (config_makefile): Remove. Hardcode Makefile in
12653 AC_CONFIG_FILES call.
12654 * configure: Regenerated.
12657 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12659 (testout): Likewise.
12661 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12662 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12663 $(rtld-installed-name).
12664 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12665 (rtld_installed_name): Likwise.
12666 (runit): Remove function.
12667 (run_getconf): New variable, Use it for running getconf binary.
12669 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12672 * string/test-memmem.c (check_result): New function.
12673 (do_one_test): Use it.
12674 (check1): New function.
12675 (test_main): Use it.
12677 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12679 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12681 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12683 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12684 (_G_LSEEK64): Likewise.
12685 (_G_MMAP64): Likewise.
12686 (_G_FSTAT64): Likewise.
12687 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12688 (_G_LSEEK64): Likewise.
12689 (_G_MMAP64): Likewise.
12690 (_G_FSTAT64): Likewise.
12691 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12692 unconditional. Call __mmap64 directly.
12693 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12694 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12695 __lseek64 directly.
12696 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12697 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12699 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12700 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12701 __lseek64 directly.
12702 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12703 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12704 __lseek64 directly.
12705 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12706 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12707 __lseek64 directly.
12708 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12709 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12710 __fxstat64 directly.
12711 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12712 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12714 (freopen64) [!_G_OPEN64]: Remove conditional code.
12715 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12717 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12718 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12720 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12721 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12723 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12724 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12726 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12727 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12729 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12730 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12732 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12733 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12735 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12737 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12740 * manual/memory.texi (Malloc Tunable Parameters): Add note
12741 about free list pointers overwriting some perturb bytes.
12742 Wording suggested by Roland McGrath.
12744 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12746 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12747 (lgamma_test): Likewise.
12748 (tgamma_test): Likewise.
12750 2012-10-16 Florian Weimer <fweimer@redhat.com>
12753 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12754 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12756 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12758 * NEWS: Mention BZ #14716.
12759 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12760 when removing AVAILABLE1_USES_J macro.
12762 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12764 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12765 (__bswap_64): __uint64_t for unsigned 64-bit int.
12767 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12769 * include/string.h (memmem): Declare libc hidden alias.
12770 * string/memmem.c (memmem): Define libc hidden alias.
12771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12772 __read, __close instead of open, read, close.
12774 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12777 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12779 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12780 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12781 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12783 (__rawmemchr_sse2): Likewise.
12784 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12785 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12786 (__strchr_sse2): Likewise.
12787 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12788 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12789 (__strcasecmp_sse2): Likewise.
12790 (__strncasecmp_sse2): Likewise.
12791 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12792 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12793 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12794 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12795 (__strrchr_sse2): Likewise.
12796 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12798 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12799 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12800 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12801 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12802 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12803 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12804 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12805 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12806 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12807 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12808 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12809 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12810 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12811 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12812 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12813 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12814 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12815 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12816 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12817 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12818 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12819 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12820 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12821 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12822 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12824 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12825 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12826 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12827 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12829 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12831 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12832 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12833 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12834 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12836 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12838 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12839 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12840 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12841 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12843 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12844 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12861 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12862 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12877 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12885 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12886 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12887 * include/ifunc-impl-list.h: New file.
12888 * misc/ifunc-impl-list.c: Likewise.
12889 * misc/Makefile (routines): Add ifunc-impl-list.
12890 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12891 * string/test-string.h: Include <ifunc-impl-list.h>.
12892 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12893 impl_array): New variables.
12894 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12896 (test_init): Call __libc_ifunc_impl_list to initialize
12897 func_list if TEST_IFUNC and TEST_NAME are defined.
12899 * string/Makefile (strop-tests): Add bcopy and bzero.
12900 * string/test-bcopy.c: New file.
12901 * string/test-bzero.c: Likewise.
12902 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12904 * string/test-memset.c: Support bzero test if TEST_BZERO is
12906 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12908 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12910 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12913 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12915 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12916 * configure: Regenerated.
12918 * Makeconfig (+link-static-before-libc): Don't include
12919 $(link-static-libc).
12921 * libio/libio.h (_IO_pos_t): Remove.
12923 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12925 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12928 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12930 * crypt/crypt-entry.c: Include fips-private.h.
12931 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12932 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12933 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12934 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12936 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12938 * crypt/crypt-private.h: Include stdbool.h.
12939 (_ufc_setup_salt_r): Return bool.
12940 * crypt/crypt-entry.c: Include errno.h.
12941 (__crypt_r): Return NULL with EINVAL for bad salt.
12942 * crypt/crypt_util.c (bad_for_salt): New.
12943 (_ufc_setup_salt_r): Check that salt is long enough and within
12944 the specified alphabet.
12945 * crypt/badsalttest.c: New file.
12946 * crypt/Makefile (tests): Add it.
12947 ($(objpfx)badsalttest): New.
12949 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12951 * NEWS: Add entry for BZ #14602.
12953 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12955 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12957 * math/libm-test.inc: Update comment listing what functions and
12959 (isgreater_test): New function.
12960 (isgreaterequal_test): Likewise.
12961 (isless_test): Likewise.
12962 (islessequal_test): Likewise.
12963 (islessgreater_test): Likewise.
12964 (isunordered_test): Likewise.
12965 (main): Call the new functions.
12967 2012-10-09 Roland McGrath <roland@hack.frob.com>
12969 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12970 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12971 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12972 * sysdeps/i386/configure: Regenerated.
12973 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12974 * sysdeps/mach/configure: Regenerated.
12975 * sysdeps/mach/hurd/configure: Regenerated.
12976 * sysdeps/powerpc/configure: Regenerated.
12977 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12978 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12979 * sysdeps/s390/s390-32/configure: Regenerated.
12980 * sysdeps/s390/s390-64/configure: Regenerated.
12981 * sysdeps/sh/configure: Regenerated.
12982 * sysdeps/sparc/configure: Regenerated.
12983 * sysdeps/unix/sysv/linux/configure: Regenerated.
12984 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12985 * sysdeps/x86_64/configure: Regenerated.
12987 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12988 defined. Don't check if MAP is NULL.
12990 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12992 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12993 (_G_stat64): Likewise.
12994 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12995 (_G_stat64): Likewise.
12996 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12997 instead of struct _G_stat64.
12998 * libio/fileops.c (mmap_remap_check): Likewise.
12999 (decide_maybe_mmap): Likewise.
13000 (_IO_new_file_seekoff): Likewise.
13001 (_IO_file_stat): Likewise.
13002 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13004 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13005 instead of struct _G_stat64.
13006 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13008 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13011 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13013 (CHECK_EOL): New macro.
13014 (two_way_short_needle): Check beginning of haystack for EOL. Use
13016 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13017 Replace with CHECK_EOL.
13018 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13019 Replace with CHECK_EOL.
13021 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13023 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13025 * math/libm-test.inc: Update comment listing what functions and
13027 (finite_test): New function.
13028 (isinf_test): Likewise.
13029 (isnan_test): Likewise.
13030 (fpclassify_test): Test subnormal input.
13031 (isfinite_test): Likewise.
13032 (isnormal_test): Likewise.
13033 (main): Call the new functions.
13035 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13038 * Makerules (%.dynsym): Force C locale when running
13039 $(OBJDUMP) --dynamic-syms.
13041 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13043 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13046 2012-10-06 David S. Miller <davem@davemloft.net>
13048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13049 upper 32-bits of the length value in %o2 since we use branch-on-register
13050 tests which consider the entire 64-bit register.
13052 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13054 * string/test-strstr.c (check2): Add a test for page boundary.
13056 2012-10-05 David S. Miller <davem@davemloft.net>
13058 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13059 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13061 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13063 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13064 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13065 and bzero when HWCAP_SPARC_CRYPTO is present.
13067 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13070 * string/test-strstr.c (check2): New function.
13071 (test_main): Call check2.
13073 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13075 * string/bug-strcasestr1.c (do_test): Moved to ...
13076 * string/test-strcasestr.c (check1): Here. New function.
13077 (do_one_test): Break out result checking code into ...
13078 (check_result): This. New function.
13079 (do_one_test): Call check_result.
13080 (test_main): Call check1.
13081 * string/bug-strchr1.c (do_test): Moved to ...
13082 * string/test-strchr.c (check1): Here. New function.
13083 (do_one_test): Break out result checking code into ...
13084 (check_result): This. New function.
13085 (do_one_test): Call check_result.
13086 (test_main): Call check1.
13087 * string/bug-strstr1.c (main): Moved to ...
13088 * string/test-strstr.c (check1): Here. New function.
13089 (do_one_test): Break out result checking code into ...
13090 (check_result): This. New function.
13091 (do_one_test): Call check_result.
13092 (test_main): Call check1.
13093 * string/bug-strcasestr1.c: Removed.
13094 * string/bug-strchr1.c: Likewise.
13095 * string/bug-strstr1.c: Likewise.
13097 * elf/Makefile (dl-routines): Add hwcaps.
13098 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13099 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13100 (_dl_important_hwcaps): Moved to ...
13101 * elf/dl-hwcaps.c: Here. New file.
13102 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13105 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13106 if IS_IN_rtld isn't defined.
13108 * elf/dl-support.c (_dl_sysinfo_map): New.
13109 Include "get-dynamic-info.h" and "setup-vdso.h".
13110 (_dl_non_dynamic_init): Call setup_vdso.
13111 * elf/dynamic-link.h: Don't include <assert.h>.
13112 (elf_get_dynamic_info): Moved to ...
13113 * elf/get-dynamic-info.h: Here. New file.
13114 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13115 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13116 * elf/setup-vdso.h: Here. New file.
13117 * elf/rtld.c: Include "setup-vdso.h".
13118 (dl_main): Call setup_vdso.
13120 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13122 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13123 creal in comment listing functions tested. List finite, isinf,
13124 isnan, isless, islessequal, isgreater, isgreaterequal,
13125 islessgreater, isunordered, lgamma_r and pow10 as functions and
13126 macros not tested. Mention which functions not tested are aliases
13127 for other functions. Fix typo. Note that signs of NaNs are not
13130 * scripts/config.guess: Update from config.git.
13131 * scripts/config.sub: Likewise.
13133 2012-10-04 Roland McGrath <roland@hack.frob.com>
13135 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13136 * misc/madvise.c (madvise): Renamed to __madvise.
13137 Make madvise a weak alias.
13138 * include/sys/mman.h: Declare __madvise.
13139 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13140 * sysdeps/unix/syscalls.list
13141 (madvise): Make __madvise the strong name, and madvise a weak alias.
13142 * sysdeps/unix/sysv/linux/syscalls.list
13143 (madvise, mmap): Remove redundant entries.
13144 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13145 * malloc/malloc.c (mtrim): Likewise.
13146 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13148 2012-10-03 Roland McGrath <roland@hack.frob.com>
13150 * sysdeps/mach/hurd/dl-cache.c: File removed.
13151 * config.h.in (USE_LDCONFIG): New #undef.
13152 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13153 * configure: Regenerated.
13154 * elf/Makefile (dl-routines): Add dl-cache only under
13155 [$(use-ldconfig) = yes].
13156 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13157 cache on [USE_LDCONFIG].
13158 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13160 * elf/rtld.c (dl_main): Likewise.
13162 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13164 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13165 _SC_LEVEL4_CACHE_LINESIZE.
13167 2012-10-03 Roland McGrath <roland@hack.frob.com>
13169 * sysdeps/unix/bsd/confstr.h: File removed.
13171 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13173 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13176 2012-10-02 Roland McGrath <roland@hack.frob.com>
13178 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13179 Make 'mapoff' field ElfW(Off) rather than off_t.
13181 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13183 * nscd/Makefile: Remove nscd-cflags and all its users.
13184 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13185 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13188 * malloc.c (malloc_printerr): Clarify error message.
13190 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13194 Set bit_FMA_Usable if FMA is supported.
13195 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13197 (bit_FMA4_Usable): Updated.
13198 (index_FMA_Usable): New macro.
13199 (CPUID_FMA): Likewise
13200 (HAS_FMA): Defined with bit_FMA_Usable.
13202 2012-10-01 Roland McGrath <roland@hack.frob.com>
13204 * bits/types.h (__swblk_t): Type removed.
13205 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13206 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13208 (__SWBLK_T_TYPE): Likewise.
13209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13210 (__SWBLK_T_TYPE): Likewise.
13211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13212 (__SWBLK_T_TYPE): Likewise.
13213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13214 (__SWBLK_T_TYPE): Likewise.
13216 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13217 Honza Horak <hhorak@redhat.com>
13219 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13220 (xdr_mapname): Use YPMAXMAP as maxsize.
13221 (xdr_peername): Use YPMAXPEER as maxsize.
13222 (xdr_keydat): Use YPAXRECORD as maxsize.
13223 (xdr_valdat): Use YPMAXRECORD as maxsize.
13225 2012-10-01 Roland McGrath <roland@hack.frob.com>
13227 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13229 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13230 * csu/init-first.c: ... here.
13231 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13232 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13233 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13235 * sysdeps/i386/init-first.c: File removed.
13236 * sysdeps/sh/init-first.c: File removed.
13238 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13242 if x * y might underflow to zero and z is zero.
13243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13245 * math/libm-test.inc (min_subnorm_value): New variable.
13246 (fma_test): Add more tests.
13247 (fma_test_towardzero): Likewise.
13248 (fma_test_downward): Likewise
13249 (fma_test_upward): Likewise.
13250 (initialize): Set min_subnorm_value.
13252 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13258 mode for addition resulting in exact zero.
13259 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13260 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13264 * math/libm-test.inc (fma_test): Add more tests.
13265 (fma_test_towardzero): New function.
13266 (fma_test_downward): Likewise.
13267 (fma_test_upward): Likewise.
13268 (main): Call the new functions.
13270 2012-09-28 David S. Miller <davem@davemloft.net>
13272 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13274 2012-09-28 Roland McGrath <roland@hack.frob.com>
13276 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13277 instead of SIGALRM.
13279 * sysdeps/gnu/_G_config.h: Moved to ...
13280 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13281 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13282 * sysdeps/generic/_G_config.h: ... here.
13284 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13286 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13288 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13289 Conditionalize target on [libnss_test1.so-version].
13291 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13293 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13294 (elfobjdir): Move out of conditionals.
13296 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13297 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13298 (__nss_lookup_function): Conditionalize label remove_from_tree on
13299 [!DO_STATIC_NSS || SHARED], matching its only use.
13301 2012-09-28 David S. Miller <davem@davemloft.net>
13303 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13306 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13310 when HWCAP_SPARC_CRYPTO is present.
13312 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13314 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13316 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13319 * stdio-common/vfprintf.c (process_string_arg): Revert
13322 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13324 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13326 * stdio-common/tst-sprintf.c: Include <locale.h>
13327 (main): Test sprintf's handling of incomplete multibyte
13330 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13332 * elf/dl-runtime.c (VERSYMIDX): Removed.
13333 * elf/dl-version.c (VERSYMIDX): Likewise.
13334 * elf/do-rel.h (VERSYMIDX): Likewise.
13335 (VALIDX): Likewise.
13336 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13337 * elf/rtld.c (VALIDX): Likewise.
13338 (ADDRIDX): Likewise.
13339 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13340 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13341 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13342 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13343 (VALIDX): Likewise.
13344 (ADDRIDX): Likewise.
13346 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13348 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13350 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13353 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13355 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13356 addresses are in the same scope as 192.0.2/24.
13357 * posix/gai.conf: Document new scope table defaults.
13359 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13362 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13363 for ftell. Compute offsets from write pointers instead.
13364 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13366 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13369 * libio/Makefile (tests): New test case tst-fseek.
13370 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13371 combination works in wide mode.
13372 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13373 state when the external buffer state changes.
13375 2012-09-27 David S. Miller <davem@davemloft.net>
13378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13379 pass reloc->r_addend in as the 'high' argument to
13380 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13384 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13386 * rt/tst-aio2.c: Include <pthread.h>.
13387 * rt/tst-aio3.c: Likewise.
13389 2012-09-27 Steve Ellcey <sellcey@mips.com>
13391 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13393 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13395 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13396 contents on [SHARED].
13398 2012-09-26 Marek Polacek <polacek@redhat.com>
13402 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13403 for C++ and GCC <4.3 as well as for non GCC compilers.
13405 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13409 2012-09-25 Roland McGrath <roland@hack.frob.com>
13411 * Makefile.in (all, install): Declare with .PHONY.
13412 Reported by Michael Hope <michael.hope@linaro.org>.
13414 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13416 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13417 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13419 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13421 (sydep_routines): Add the new and the internal functions.
13422 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13423 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13425 (GLIBC_2.17): Add the new function.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13427 (GLIBC_2.17): Likewise.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13429 (GLIBC_2.17): Likewise.
13430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13431 (GLIBC_2.17): Likewise.
13432 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13434 2012-09-25 Alan Modra <amodra@gmail.com>
13436 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13437 Add release barrier before setting once_control to say
13438 initialisation is done. Add hints on lwarx. Use macro in
13440 (clear_once_control): Add release barrier.
13442 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13445 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13447 * math/s_clog10.c (__clog10): Likewise.
13448 * math/s_clog10f.c (__clog10f): Likewise.
13449 * math/s_clog10l.c (__clog10l): Likewise.
13450 * math/s_clogf.c (__clogf): Likewise.
13451 * math/s_clogl.c (__clogl): Likewise.
13452 * math/Makefile (libm-calls): Add x2y2m1.
13453 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13454 (__x2y2m1): Likewise.
13455 (__x2y2m1l): Likewise.
13456 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13457 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13462 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13463 * sysdeps/i386/fpu/libm-test-ulps: Update.
13464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13467 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13468 int as type of variable DEPTH.
13469 (glob): Use size_t instead of int as type of variables NEWCOUNT
13472 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13474 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13475 Add s_sincosf-sse2.
13476 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13477 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13478 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13479 macros for using routine as __sincosf_ia32.
13480 Use macro for function declaration and weak_alias.
13481 * sysdeps/i386/fpu/libm-test-ulps: Update.
13483 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13486 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13487 subnormal argument.
13488 * math/s_cexpf.c (__cexpf): Likewise.
13489 * math/s_csinf.c (__csinf): Likewise.
13490 * math/s_csinhf.c (__csinhf): Likewise.
13491 * math/s_ctanf.c (__ctanf): Likewise.
13492 * math/s_ctanhf.c (__ctanhf): Likewise.
13493 * math/s_ccosh.c (__ccoshf): Likewise.
13494 * math/s_cexp.c (__cexpl): Likewise.
13495 * math/s_csin.c (__csin): Likewise.
13496 * math/s_csinh.c (__csinh): Likewise.
13497 * math/s_ctan.c (__ctan): Likewise.
13498 * math/s_ctanh.c (ctanh): Likewise.
13499 * math/s_ccoshl.c (__ccoshl): Likewise.
13500 * math/s_cexpl.c (__cexpl): Likewise.
13501 * math/s_csinl.c (__csinl): Likewise.
13502 * math/s_csinhl.c (__csinhl): Likewise.
13503 * math/s_ctanl.c (__ctanl): Likewise.
13504 * math/s_ctanhl.c (__ctanhl): Likewise.
13506 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13508 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13509 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13510 (_IO_off_t): Define to __off_t, not _G_off_t.
13511 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13512 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13513 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13514 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13515 type of __dummy and __dummy2 fields.
13516 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13517 (_G_ssize_t): Likewise.
13518 (_G_off_t): Likewise.
13519 (_G_pid_t): Likewise.
13520 (_G_uid_t): Likewise.
13521 (_G_wchar_t): Likewise.
13522 (_G_wint_t): Likewise.
13523 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13524 (_G_ssize_t): Likewise.
13525 (_G_off_t): Likewise.
13526 (_G_pid_t): Likewise.
13527 (_G_uid_t): Likewise.
13528 (_G_wchar_t): Likewise.
13529 (_G_wint_t): Likewise.
13530 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13531 (_G_ssize_t): Likewise.
13532 (_G_off_t): Likewise.
13533 (_G_pid_t): Likewise.
13534 (_G_uid_t): Likewise.
13535 (_G_wchar_t): Likewise.
13536 (_G_wint_t): Likewise.
13538 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13540 * malloc/arena.c: Include malloc-sysdep.h.
13541 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13542 is sufficient to shrink the heap or an unmap is needed.
13543 * sysdeps/generic/malloc-sysdep.h: New file. Define
13544 new function check_may_shrink_heap.
13545 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13546 new function check_may_shrink_heap.
13548 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13550 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13553 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13555 * catgets/test-gencat.sh: Add "set -e".
13556 * elf/tst-pathopt.sh: Likewise.
13557 * grp/tst_fgetgrent.sh: Likewise.
13558 * iconvdata/run-iconv-test.sh: Likewise.
13559 * intl/tst-gettext.sh: Likewise.
13560 * intl/tst-gettext2.sh: Likewise.
13561 * intl/tst-gettext4.sh: Likewise.
13562 * intl/tst-gettext6.sh: Likewise.
13563 * intl/tst-translit.sh: Likewise.
13564 * io/ftwtest-sh: Likewise.
13565 * libio/test-freopen.sh: Likewise.
13566 * malloc/tst-mtrace.sh: Likewise.
13567 * posix/globtest.sh: Likewise.
13568 * posix/tst-getconf.sh: Likewise.
13569 * posix/wordexp-tst.sh: Likewise.
13570 * stdio-common/tst-printf.sh: Likewise.
13571 * stdio-common/tst-unbputc.sh: Likewise.
13572 * stdlib/tst-fmtmsg.sh: Likewise.
13573 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13574 * catgets/Makefile: Do not specify -e option when running
13575 testsuite shell scripts.
13576 * elf/Makefile: Likewise.
13577 * grp/Makefile: Likewise.
13578 * iconvdata/Makefile: Likewise.
13579 * intl/Makefile: Likewise.
13580 * io/Makefile: Likewise.
13581 * libio/Makefile: Likewise.
13582 * malloc/Makefile: Likewise.
13583 * posix/Makefile: Likewise.
13584 * stdio-common/Makefile: Likewise.
13585 * stdlib/Makefile: Likewise.
13586 * sysdeps/x86_64/Makefile: Likewise.
13588 * io/ftwtest-sh: Add copyright header.
13589 * posix/globtest.sh: Likewise.
13590 * posix/tst-getconf.sh: Likewise.
13591 * posix/wordexp-tst.sh: Likewise.
13592 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13594 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13597 * Makeconfig (+link): Defined as $(+link-static) if
13598 $(build-shared) isn't yes.
13599 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13601 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13603 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13606 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13607 new chunk size with MALLOC_ALIGN_MASK.
13609 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13612 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13614 (__printf_fphex): Determine rounding using get_rounding_mode and
13616 * stdio-common/tst-printf-round.c (struct hex_test): New
13618 (hex_tests): New variable.
13619 (test_hex_in_one_mode): New function.
13620 (do_test): Also run tests for hex float output.
13622 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13624 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13625 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13626 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13627 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13628 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13629 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13630 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13631 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13633 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13635 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13636 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13637 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13638 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13640 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13643 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13645 * elf/tst-rtld-load-self.sh: New test.
13646 * elf/Makefile: Run it.
13648 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13650 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13651 (tst-writev-ENV): Remove.
13652 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13654 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13656 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13658 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13660 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13662 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13664 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13665 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13666 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13669 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13672 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13673 * config.make.in (have-cpp-asm-debuginfo): Removed.
13674 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13675 * configure: Regenerated.
13677 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13680 * stdio-common/printf_fp.c: Include <stdbool.h> and
13682 (___printf_fp): Determine rounding using get_rounding_mode and
13684 * stdio-common/tst-printf-round.c: New file.
13685 * stdio-common/Makefile (tests): Add tst-printf-round.
13686 (link-libm): New variable.
13687 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13689 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13692 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13693 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13695 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13698 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13700 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13701 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13702 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13703 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13705 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13708 * include/rounding-mode.h: New file.
13709 * sysdeps/generic/get-rounding-mode.h: Likewise.
13710 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13711 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13712 (MAX_VALUE): New macro.
13713 (MIN_VALUE): Likewise.
13714 (overflow_value): New function.
13715 (underflow_value): Likewise.
13716 (round_and_return): Use overflow_value and underflow_value to
13717 determine return values in overflow and underflow cases. Use
13718 round_away to determine rounding depending on rounding mode.
13719 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13720 determine return values in overflow and underflow cases.
13721 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13722 (struct test_results): New structure.
13723 (struct test): Use struct test_results to store expected results
13724 for all rounding modes.
13725 (TEST): Include expected results for all rounding modes.
13726 (test_in_one_mode): New function.
13727 (do_test): Use test_in_one_mode to compute and check results.
13728 Check results for all rounding modes.
13729 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13732 2012-12-09 Allan McRae <allan@archlinux.org>
13734 * sysdeps/i386/fpu/libm-test-ulps: Update
13736 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13738 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13739 (_G_int32_t): Likewise.
13740 (_G_uint16_t): Likewise.
13741 (_G_uint32_t): Likewise.
13742 (_G_HAVE_BOOL): Likewise.
13743 (_G_HAVE_ATEXIT): Likewise.
13744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13745 (_G_HAVE_IO_FILE_OPEN): Likewise.
13746 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13747 (_G_int32_t): Likewise.
13748 (_G_uint16_t): Likewise.
13749 (_G_uint32_t): Likewise.
13750 (_G_HAVE_BOOL): Likewise.
13751 (_G_HAVE_ATEXIT): Likewise.
13752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13753 (_G_HAVE_IO_FILE_OPEN): Likewise.
13754 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13755 (_G_int32_t): Likewise.
13756 (_G_uint16_t): Likewise.
13757 (_G_uint32_t): Likewise.
13758 (_G_HAVE_BOOL): Likewise.
13759 (_G_HAVE_ATEXIT): Likewise.
13760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13761 (_G_HAVE_IO_FILE_OPEN): Likewise.
13763 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13765 * csu/libc-tls.c: Update copyright years.
13767 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13769 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13770 [!_G_USING_THUNKS]: Remove conditional code.
13771 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13772 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13774 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13775 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13776 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13777 (_G_VTABLE_LABEL_PREFIX): Likewise.
13778 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13779 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13780 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13781 (_G_VTABLE_LABEL_PREFIX): Likewise.
13782 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13783 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13784 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13785 (_G_VTABLE_LABEL_PREFIX): Likewise.
13786 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13788 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13790 * libio/Makefile: Include ../Makeconfig before tests.
13791 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13792 only if $(build-shared) is yes.
13794 * iconv/gconv_db.c: Update copyright years.
13796 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13798 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13799 unwind info if defined PIC. Fix special cases description.
13800 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13802 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13804 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13806 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13808 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13810 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13813 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13814 (LDLIBS-tst-chk4): This.
13815 (LDFLAGS-tst-chk5): Renamed to ...
13816 (LDLIBS-tst-chk5): This.
13817 (LDFLAGS-tst-chk6): Renamed to ...
13818 (LDLIBS-tst-chk6): This.
13819 (LDFLAGS-tst-lfschk4): Renamed to ...
13820 (LDLIBS-tst-lfschk4): This.
13821 (LDFLAGS-tst-lfschk5): Renamed to ...
13822 (LDLIBS-tst-lfschk5): This.
13823 (LDFLAGS-tst-lfschk6): Renamed to ...
13824 (LDLIBS-tst-lfschk6): This.
13826 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13827 on $(common-objpfx)soversions.mk.
13829 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13832 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13835 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13837 * malloc/arena.c (arena_get_retry): New function that gets
13838 another arena for the caller to try its request on.
13839 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13840 current arena cannot fulfill the request.
13841 (__libc_memalign): Likewise.
13842 (__libc_memalign): Likewise.
13843 (__libc_pvalloc): Likewise.
13844 (__libc_calloc): Likewise.
13846 2012-09-05 John Tobey <john.tobey@gmail.com>
13849 * manual/arith.texi (Operations on Complex): Fix description
13850 of carg branch cut.
13852 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13855 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13859 * manual/memory.texi (Memory): Make order of menu items match
13862 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13864 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13865 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13866 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13868 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13870 * csu/libc-tls.c (static_dtv): Renamed to ...
13871 (_dl_static_dtv): This. Make it global.
13872 (_dl_initial_dtv): Removed.
13873 (__libc_setup_tls): Updated.
13874 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13875 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13878 2012-09-06 Petr Machata <pmachata@redhat.com>
13880 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13881 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13882 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13883 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13885 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13888 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13889 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13892 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13895 * Makeconfig (link-static-before-libc): Replace $(+prector)
13897 (link-static-after-libc): Replace $(+postctor) with
13899 (link-bounded): Replace $(+prector)/$(+postctor) with
13900 $(+prectorT)/$(+postctorT).
13901 (+prectorT): New macro.
13902 (+postctorT): Likewise.
13904 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13906 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13907 (round_str): Handle values above the maximum for IBM long double
13909 * stdlib/tst-strtod-round.c (tests): Regenerated.
13911 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13913 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13915 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13916 zarch_nohighgprs around the zarch optimized routines.
13917 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13918 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13919 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13922 2012-09-05 David S. Miller <davem@davemloft.net>
13924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13926 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13927 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13928 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13929 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13932 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13934 * malloc/arena.c: Fold copyright years.
13935 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13937 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13941 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13943 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13945 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13947 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13948 change internal state upon failure.
13950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13952 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13953 * malloc/memusage.c (mmap): Likewise.
13954 (mmap64, mremap): Likewise. Adjust name in comment.
13956 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13958 * libio/fileops.c: Fix typos in comments.
13959 * libio/oldfileops.c: Likewise.
13960 * libio/wfileops.c: Likewise.
13962 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13965 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13966 (tst-malloc-usable-ENV): Set environment for test case.
13967 * malloc/hooks.c (malloc_check_get_size): New function to get
13969 * malloc/malloc.c (musable): Use malloc_check_get_size.
13970 * malloc/tst-malloc-usable.c: New test case.
13972 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13974 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13976 2012-09-05 Allan McRae <allan@archlinux.org>
13979 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13980 determine header location.
13981 * configure: Regenerated.
13983 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13985 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13987 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13988 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13990 (test): Regenerate.
13992 2012-09-04 David S. Miller <davem@davemloft.net>
13994 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13995 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13996 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13998 2012-09-04 Florian Weimer <fweimer@redhat.com>
14000 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14003 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14005 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14008 * libio/iogetdelim.c: Include <limits.h>.
14009 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14010 + len + 1 would overflow.
14012 2012-09-03 Andreas Jaeger <aj@suse.de>
14014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14017 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14019 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14020 Add s_sinf-sse2, s_conf-sse2.
14022 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14023 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14024 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14025 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14027 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14028 for using routine as __sinf_ia32.
14029 Use macro for function declaration and weak_alias.
14030 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14031 for using routine as __cosf_ia32.
14032 Use macro for function declaration and weak_alias.
14034 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14035 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14037 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14038 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14041 * math/libm-test.inc (cos_test): Add more test cases.
14042 (sin_test): Likewise.
14043 (sincos_test): Likewise.
14045 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14047 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14048 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14052 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14055 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14056 first element of the GOT.
14057 (elf_machine_load_address): Return the difference between
14058 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14060 2012-09-01 Allan McRae <allan@archlinux.org>
14063 * configure.in (AWK): Require gawk version 3.0 or later.
14064 * configure: Regenerated.
14066 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14068 * sysdeps/unix/sysv/linux/kernel-features.h
14069 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14070 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14071 [__NR_clock_getres]: Make code unconditional.
14072 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14073 (clock_getcpuclockid): Remove code left unreachable by removal of
14075 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14076 code unconditional.
14077 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14079 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14080 Make code unconditional.
14081 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14083 * sysdeps/unix/sysv/linux/clock_settime.c
14084 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14086 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14087 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14089 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14092 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14093 scripts/test-installation.pl.
14095 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14096 and $ld_so_version if it is set.
14098 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14102 failure if reading from procfs failed.
14103 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14105 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14107 * sysdeps/unix/sysv/linux/kernel-features.h
14108 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14109 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14110 Remove conditional code.
14111 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14112 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14113 Remove conditional code.
14114 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14115 * sysdeps/unix/sysv/linux/i386/fxstat.c
14116 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14118 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14119 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14121 * sysdeps/unix/sysv/linux/i386/lxstat.c
14122 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14124 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14125 Remove conditional code.
14126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14127 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14128 Remove conditional code.
14129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14130 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14131 <kernel-features.h>.
14132 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14134 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14135 Remove conditional code.
14136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14137 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14138 Remove conditional.
14140 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14143 * NEWS: Add fixed bug number.
14145 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14148 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14149 underflowing exponent in case of negative sign.
14150 * stdlib/tst-strtod-round-data: Add more tests.
14151 * stdlib/tst-strtod-round.c (tests): Regenerated.
14154 * stdlib/strtod_l.c (NDIG): Remove.
14155 (HEXNDIG): Likewise.
14156 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14157 smallest representable value.
14158 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14159 lie within an exact representation of 1/2 ulp of the result.
14160 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14162 (TENS_P9_IDX): Define unconditionally.
14163 (TENS_P9_SIZE): Likewise.
14164 (TENS_P10_IDX): Likewise.
14165 (TENS_P10_SIZE): Likewise.
14166 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14167 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14168 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14169 entries for 10^2^13 and 10^2^14.
14170 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14171 (TENS_P13_IDX): Define.
14172 (TENS_P13_SIZE): Likewise.
14173 (TENS_P14_IDX): Likewise.
14174 (TENS_P14_SIZE): Likewise.
14175 (_fpioconst_pow10): Change array size to
14176 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14178 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14179 1024]: Add entries for 10^2^13 and 10^2^14.
14180 [LAST_POW10 > _LAST_POW10]: Remove #error.
14181 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14182 (_fpioconst_pow10): Change array size to
14183 FPIOCONST_POW10_ARRAY_SIZE.
14184 * stdlib/gen-fpioconst.c: New file.
14185 * stdlib/gen-tst-strtod-round.c: Likewise.
14186 * stdlib/tst-strtod-round-data: Likewise.
14187 * stdlib/tst-strtod-round.c: Likewise.
14188 * stdlib/Makefile (tests): Add tst-strtod-round.
14191 * stdlib/strtod_l.c: Include <stdint.h>.
14192 (NDEBUG): Do not define.
14193 (round_and_return): Change EXPONENT parameter to type intmax_t.
14194 Rearrange calculations to avoid internal overflow possibilities.
14195 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14196 Rearrange calculations to avoid internal overflow possibilities.
14197 Assert that number fits inside MPNSIZE limbs.
14198 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14199 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14200 calculations and add assertions to avoid internal overflow
14201 possibilities. Add casts to avoid signed/unsigned operations.
14202 * stdlib/tst-strtod-overflow.c: New file.
14203 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14205 2012-08-25 Marek Polacek <polacek@redhat.com>
14207 * time/time.h: Fix some typos in comments.
14209 2012-08-23 Roland McGrath <roland@hack.frob.com>
14211 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14212 * posix/tst-rfc3484-2.c: Likewise.
14213 * posix/tst-rfc3484-3.c: Likewise.
14215 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14217 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14218 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14220 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14222 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14223 #include of fxstatat64.c.
14225 2012-08-22 Roland McGrath <roland@hack.frob.com>
14227 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14228 * shadow/getspent_r.c: Likewise.
14229 * shadow/getspnam.c: Likewise.
14230 * shadow/getspnam_r.c: Likewise.
14231 * gshadow/getsgent.c: Likewise.
14232 * gshadow/getsgent_r.c: Likewise.
14233 * gshadow/getsgnam.c: Likewise.
14234 * gshadow/getsgnam_r.c: Likewise.
14235 * inet/getnetbyad.c: Likewise.
14236 * inet/getnetbyad_r.c: Likewise.
14237 * inet/getnetbynm.c: Likewise.
14238 * inet/getnetbynm_r.c: Likewise.
14239 * inet/getnetent.c: Likewise.
14240 * inet/getnetent_r.c: Likewise.
14241 * inet/getproto.c: Likewise.
14242 * inet/getproto_r.c: Likewise.
14243 * inet/getprtent.c: Likewise.
14244 * inet/getprtent_r.c: Likewise.
14245 * inet/getprtname.c: Likewise.
14246 * inet/getprtname_r.c: Likewise.
14247 * inet/getrpcbyname.c: Likewise.
14248 * inet/getrpcbyname_r.c: Likewise.
14249 * inet/getrpcbynumber.c: Likewise.
14250 * inet/getrpcbynumber_r.c: Likewise.
14251 * inet/getrpcent.c: Likewise.
14252 * inet/getrpcent_r.c: Likewise.
14253 * inet/getaliasent.c: Likewise.
14254 * inet/getaliasent_r.c: Likewise.
14255 * inet/getaliasname.c: Likewise.
14256 * inet/getaliasname_r.c: Likewise.
14257 * nscd/getgrgid_r.c: Likewise.
14258 * nscd/getgrnam_r.c: Likewise.
14259 * nscd/gethstbyad_r.c: Likewise.
14260 * nscd/gethstbynm3_r.c: Likewise.
14261 * nscd/getpwnam_r.c: Likewise.
14262 * nscd/getpwuid_r.c: Likewise.
14263 * nscd/getsrvbynm_r.c: Likewise.
14264 * nscd/getsrvbypt_r.c: Likewise.
14265 * nscd/gai.c: Likewise.
14267 * configure.in (build_nscd): New substituted variable, set
14268 by --disable-build-nscd and defaults to $use_nscd.
14269 * configure: Regenerated.
14270 * config.make.in (build-nscd): New substituted variable.
14271 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14272 Change conditional to require [$(build-nscd) = yes] as well.
14273 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14276 * configure.in (use_nscd): New substituted variable, set by
14277 --disable-nscd. If enabled, define USE_NSCD.
14278 * configure: Regenerated.
14279 * config.h.in: Add USE_NSCD.
14280 * config.make.in (use-nscd): New substituted variable.
14281 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14282 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14283 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14284 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14285 (CFLAGS-getgrnam_r.c): Likewise.
14286 (CFLAGS-initgroups.c): Likewise.
14287 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14288 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14290 * inet/getnetgrent_r.c
14291 (nscd_setnetgrent): New function, broken out of ...
14292 (setnetgrent): ... here. Call it.
14293 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14294 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14295 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14296 * nscd/Makefile (routines, aux): Move definitions after include of
14297 Makeconfig. Conditionalize on [$(use-nscd) != no].
14298 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14299 Conditionalize on [USE_NSCD].
14300 (is_nscd, nscd_init_cb): Likewise.
14301 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14302 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14303 * nss/nss_db/db-init.c: Likewise.
14304 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14306 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14307 (make_request): Use it.
14308 (cache_valid_p): New function.
14309 (__check_pf): Use it.
14310 * NEWS: Add item for --disable-nscd.
14312 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14314 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14315 to support sed >= 4.2.1-20-ga9bf076.
14316 * configure: Regenerated.
14318 2012-08-22 Roland McGrath <roland@hack.frob.com>
14320 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14321 Conditionalize whole body on [IREL].
14323 2012-08-22 Jeff Law <law@redhat.com>
14326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14327 if the family is PF_UNSPEC.
14329 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14331 * Makerules (lib-version): Rename from V.
14332 (install-lib-nosubdir): Change V to lib-version.
14334 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14337 * powerpc32/power6/wcschr.c: New file.
14338 * powerpc32/power6/wcscpy.c: New file.
14339 * powerpc32/power6/wcsrchr.c: New file.
14340 * powerpc64/power6/wcschr.c: New file.
14341 * powerpc64/power6/wcscpy.c: New file.
14342 * powerpc64/power6/wcsrchr.c: New file.
14344 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14346 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14347 (two_way_short_needle): Use it.
14348 * string/strstr.c (AVAILABLE1_USES_J): Define.
14349 * string/strcasestr.c: Likewise.
14351 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14353 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14356 * NEWS: Add an entry.
14357 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14358 define their defaults.
14359 (two_way_short_needle): Detect end-of-string on-the-fly.
14360 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14361 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14362 * string/bug-strcasestr1.c: New test.
14363 * string/Makefile: Run it.
14365 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14368 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14369 the first character.
14371 2012-08-21 Roland McGrath <roland@hack.frob.com>
14373 * csu/elf-init.c (__libc_csu_irel): Function removed.
14374 * csu/libc-start.c (apply_irel): New function.
14375 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14377 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/unix/sysv/linux/kernel-features.h
14380 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14381 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14382 <kernel-features.h>.
14383 [__NR_fadvise64_64]: Make code unconditional.
14384 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14385 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14386 !__NR_fadvise64_64)]: Likewise.
14387 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14388 !__NR_fadvise64_64))]: Likewise.
14389 [__NR_fadvise64]: Make code unconditional.
14390 [!__NR_fadvise64]: Remove conditional code.
14391 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14392 <kernel-features.h>.
14393 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14395 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14398 not include <kernel-features.h>.
14399 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14401 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14403 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14404 include <kernel-features.h>.
14405 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14407 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14410 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14413 slight instruction rearrangements per scrollpipe analysis.
14414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14416 2012-08-20 Roland McGrath <roland@hack.frob.com>
14418 * manual/syslog.texi (syslog; vsyslog, closelog):
14419 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14420 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14422 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14423 DSOCAPS to match condition on defining it.
14425 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14427 * sysdeps/unix/sysv/linux/kernel-features.h
14428 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14430 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14431 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14433 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14434 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14436 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14437 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14439 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14440 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14442 * sysdeps/unix/sysv/linux/kernel-features.h
14443 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14444 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14446 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14447 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14448 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14449 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14450 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14451 Make code unconditional.
14452 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14453 (__mmap64) [!__NR_mmap2]: Likewise.
14454 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14455 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14456 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14457 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14458 [__NR_mmap2]: Make code unconditional.
14459 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14460 (__mmap64) [!__NR_mmap2]: Likewise.
14462 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14464 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14466 2012-08-18 Andreas Jaeger <aj@suse.de>
14468 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14470 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14472 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14473 * include/unistd.h (__have_sock_cloexec): Likewise.
14474 (__have_pipe2): Likewise.
14475 (__have_dup3): Likewise.
14477 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14480 * include/unistd.h (__have_pipe2): Change define into an extern int.
14481 (__have_dup3): Likewise.
14482 * socket/have_sock_cloexec.c: Include fcntl.h.
14483 (__have_pipe2): New variable.
14484 (__have_dup3): Likewise.
14486 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14488 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14490 2012-08-17 Marek Polacek <polacek@redhat.com>
14492 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14493 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14495 2012-08-17 Roland McGrath <roland@hack.frob.com>
14497 * configure.in: Add AC_SUBST for sysheaders.
14498 * configure: Regenerated.
14499 * config.make.in (sysheaders): New substituted variable.
14501 * sysdeps/unix/mkfifo.c: Moved ...
14502 * sysdeps/posix/mkfifo.c: ... here.
14503 * sysdeps/unix/mkfifoat.c: Moved ...
14504 * sysdeps/posix/mkfifoat.c: ... here.
14506 * sysdeps/unix/utime.c: Moved ...
14507 * sysdeps/posix/utime.c: ... here.
14509 * sysdeps/unix/time.c: Moved ...
14510 * sysdeps/posix/time.c: ... here.
14511 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14512 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14514 * sysdeps/unix/nice.c: Moved ...
14515 * sysdeps/posix/nice.c: ... here.
14517 * sysdeps/unix/alarm.c: Moved ...
14518 * sysdeps/posix/alarm.c: ... here.
14520 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14522 2012-08-17 Jeff Law <law@redhat.com>
14524 * intl/Makefile (codeset_mo): New variable.
14525 ($(codeset_mo)): New target.
14526 (tst-codeset.out): Depend on that. Remove explicit rule.
14527 (tst-gettext3.out, tst-gettext5.out): Likewise.
14528 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14529 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14530 * intl/tst-codeset.sh: Remove.
14531 * intl/tst-gettext3.sh: Likewise.
14532 * intl/tst-gettext5.sh: Likewise.
14534 2012-08-17 Roland McGrath <roland@hack.frob.com>
14536 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14537 * sysdeps/unix/syscalls.list: ... here.
14539 * sysdeps/posix/getaddrinfo.c
14540 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14541 (gaiconf_init, gaiconf_reload): Use them.
14542 [!_STATBUF_ST_NSEC]
14543 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14544 Define using time_t rather than struct timespec.
14546 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14547 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14549 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14551 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14552 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14555 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14556 __libc_cleanup_push argument.
14558 * bits/param.h: New file.
14559 * misc/sys/param.h: New file.
14560 * include/sys/param.h: New file.
14561 * misc/Makefile (headers): Add bits/param.h.
14562 * sysdeps/generic/sys/param.h: File removed.
14563 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14564 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14565 * sysdeps/mach/hurd/bits/param.h: New file.
14566 * sysdeps/mach/hurd/sys/param.h: File removed.
14568 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14571 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14573 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14574 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14577 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14578 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14579 rather than -D_IO_MTSAFE_IO conditionally.
14580 * stdio-common/Makefile (CPPFLAGS): Likewise.
14581 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14582 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14583 Use $(libio-mtsafe).
14584 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14585 of -D_IO_MTSAFE_IO.
14586 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14587 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14588 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14589 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14590 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14591 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14592 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14593 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14594 (CFLAGS-fread_u_chk.c): Likewise.
14595 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14596 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14597 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14598 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14599 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14600 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14601 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14602 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14603 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14605 * libio/Makefile: Test [$(libc-reentrant) = yes]
14606 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14609 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14610 * sysdeps/pthread/configure: File removed.
14611 * sysdeps/pthread/Makeconfig: New file.
14612 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14613 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14615 2012-08-16 Gary Benson <gbenson@redhat.com>
14617 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14618 unmapping the first object in a namespace.
14620 2012-08-16 Roland McGrath <roland@hack.frob.com>
14622 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14623 (__internal_setnetgrent): ... this. Add internal_function to
14624 definition. Add libc_hidden_def.
14625 (setnetgrent): Update caller.
14626 (internal_endnetgrent): Renamed to ...
14627 (__internal_endnetgrent): ... this. Add internal_function to
14628 definition. Add libc_hidden_def.
14629 (endnetgrent): Update caller.
14630 (internal_getnetgrent_r): Renamed to ...
14631 (__internal_getnetgrent_r): ... this. Add internal_function to
14632 definition. Add libc_hidden_def.
14633 (__getnetgrent_r): Update caller.
14634 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14636 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14638 * stdlib/longlong.h: Update from GCC.
14640 2012-08-16 Roland McGrath <roland@hack.frob.com>
14642 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14643 on _QL, which is set by umul_ppmm but never used.
14644 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14645 variables, which are set by GMP macros but never used.
14646 * stdio-common/_itowa.c (_itowa): Likewise.
14647 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14648 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14650 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14652 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14653 struct La_sh_regs is not constant.
14654 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14655 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14656 and struct La_sparc64_regs are not constant.
14658 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14660 * sysdeps/unix/sysv/linux/kernel-features.h
14661 (__ASSUME_POSIX_TIMERS): Remove.
14662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14663 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14664 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14665 Make code unconditional.
14666 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14667 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14668 Make code unconditional.
14669 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14670 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14671 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14673 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14674 Make code unconditional.
14675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14676 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14677 (__libc_missing_posix_timers): Remove.
14679 2012-08-15 Roland McGrath <roland@hack.frob.com>
14681 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14682 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14684 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14686 * elf/dl-sym.c: Include <stdlib.h>.
14688 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14689 constants, which avoids warnings in 32-bit builds.
14691 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14692 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14694 * misc/lseek.c: File moved to ...
14695 * io/lseek.c: ... here.
14697 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14699 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14700 shifting LEN more than 31 bits at once.
14702 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14705 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14706 segmentation fault for a case of two empty input strings.
14707 * string/test-strncasecmp.c (check1): Renamed to...
14708 (bz12205): ...this.
14709 (bz14195): Add new testcase for two empty input strings and N > 0.
14710 (test_main): Call new testcase, adapt for renamed function.
14712 2012-08-15 Andreas Jaeger <aj@suse.de>
14715 * crypt/md5test2.c: New test, based on test supplied by Serge
14716 Belyshev <belyshev@depni.sinp.msu.ru>.
14717 * crypt/Makefile (xtests): Add md5test-giant..
14718 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14720 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14723 * crypt/md5.c (md5_process_block): Don't assume the buffer
14724 length is less than 2**32.
14725 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14726 length is less than 2**64.
14728 2012-08-15 Roland McGrath <roland@hack.frob.com>
14730 * string/str-two-way.h: Include <sys/param.h>.
14731 (MAX): Macro removed.
14733 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14734 Move #define and #undef of memmove to just before and after
14735 including <string.h>.
14737 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14738 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14739 and after including <string.h>. Move declarations of
14740 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14741 to before #include "string/memmove.c".
14743 * include/dirent.h: Declare __getdirentries.
14745 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14746 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14748 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14750 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14751 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14752 * sysdeps/i386/configure: Regenerated.
14753 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14754 STABS_CURRENT_FILE, and STABS_FUN.
14755 (END): Remove call to STABS_FUN_END.
14756 (STABS_CURRENT_FILE1): Delete.
14757 (STABS_CURRENT_FILE): Likewise.
14758 (STABS_FUN): Likewise.
14759 (STABS_FUN_END): Likewise.
14760 (STABS_FUN2): Likewise.
14761 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14762 * sysdeps/x86_64/configure: Regenerated.
14764 2012-08-14 Roland McGrath <roland@hack.frob.com>
14766 * elf/dl-open.c: Include <atomic.h>.
14767 * elf/dl-lookup.c: Likewise.
14769 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14771 * sysdeps/unix/sysv/linux/kernel-features.h
14772 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14773 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14775 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14777 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14778 condition on __ASSUME_CLONE_THREAD_FLAGS.
14780 2012-08-14 Andreas Jaeger <aj@suse.de>
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14784 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14786 * include/atomic.h (atomic_exchange_and_add): Split into ...
14787 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14790 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14794 2012-08-13 Jeff Law <law@redhat.com>
14796 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14797 null byte in the output string.
14799 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14801 * sysdeps/unix/sysv/linux/kernel-features.h
14802 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14803 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14804 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14805 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14806 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14807 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14808 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14810 2012-08-09 Jeff Law <law@redhat.com>
14813 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14814 When avoid_arena is set, don't retry in the that arena. Pick the
14815 next one, whatever it might be.
14816 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14817 (arena_lock): Pass in new parameter to arena_get2.
14818 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14820 (__libc_malloc): Unify retrying after main arena failure with
14821 __libc_memalign version.
14822 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14824 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14827 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14828 to __redirect_strstr.
14829 (__strstr_sse42): Use typeof __redirect_strstr.
14830 (__strstr_ia32): Likewise.
14831 (__libc_strstr): New prototype.
14832 (strstr): Renamed to ...
14833 (__libc_strstr): This.
14834 (strstr): New strong alias of __libc_strstr.
14835 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14836 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14839 (__libc_time): New prototype.
14840 (time_ifunc): Replace time with __libc_time.
14841 (time): New strong alias and hidden definition of __libc_time.
14842 (__GI_time): Remove strong alias.
14843 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14844 Include <stddef.h>.
14845 (memmove): Redefined to __redirect_memmove.
14846 (__memmove_sse2): Use typeof __redirect_memmove.
14847 (__memmove_ssse3): Likewise.
14848 (__memmove_ssse3_back): Likewise.
14849 (__libc_memmove): New prototype.
14850 (memmove): Renamed to ...
14851 (__libc_memmove): This.
14852 (memmove): New strong alias of __libc_memmove.
14854 2012-08-08 Mark Salter <msalter@redhat.com>
14857 (R_MN10300_TLS_GD): Define.
14858 (R_MN10300_TLS_LD): Likewise.
14859 (R_MN10300_TLS_LDO): Likewise.
14860 (R_MN10300_TLS_GOTIE): Likewise.
14861 (R_MN10300_TLS_IE): Likewise.
14862 (R_MN10300_TLS_LE): Likewise.
14863 (R_MN10300_TLS_DTPMOD): Likewise.
14864 (R_MN10300_TLS_DTPOFF): Likewise.
14865 (R_MN10300_TLS_TPOFF): Likewise.
14866 (R_MN10300_SYM_DIFF): Likewise.
14867 (R_MN10300_ALIGN): Likewise.
14868 (R_MN10300_NUM): Update.
14870 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14875 2012-08-08 Roland McGrath <roland@hack.frob.com>
14877 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14879 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14880 sysdeps/unix -> sysdeps/posix move.
14881 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14883 2012-08-07 Allan McRae <allan@archlinux.org>
14886 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14887 (SUNOS_CPP): Likewise.
14888 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14890 (open_input): Call CPP using execvp.
14892 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14894 * sysdeps/unix/sysv/linux/kernel-features.h
14895 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14896 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14897 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14898 (__ASSUME_WAITID_SYSCALL): Likewise.
14899 * sysdeps/unix/sysv/linux/dl-execstack.c
14900 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14901 code unconditional.
14902 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14904 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14905 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14906 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14908 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14910 [__ASSUME_WAITID_SYSCALL]: Likewise.
14911 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14913 2012-08-07 Roland McGrath <roland@hack.frob.com>
14915 * sysdeps/unix/closedir.c: Renamed to ...
14916 * sysdeps/posix/closedir.c: ... here.
14917 * sysdeps/unix/dirfd.c: Renamed to ...
14918 * sysdeps/posix/dirfd.c: ... here.
14919 * sysdeps/unix/dirstream.h: Renamed to ...
14920 * sysdeps/posix/dirstream.h: ... here.
14921 * sysdeps/unix/fdopendir.c: Renamed to ...
14922 * sysdeps/posix/fdopendir.c: ... here.
14923 * sysdeps/unix/opendir.c: Renamed to ...
14924 * sysdeps/posix/opendir.c: ... here.
14925 * sysdeps/unix/readdir.c: Renamed to ...
14926 * sysdeps/posix/readdir.c: ... here.
14927 * sysdeps/unix/readdir_r.c: Renamed to ...
14928 * sysdeps/posix/readdir_r.c: ... here.
14929 * sysdeps/unix/rewinddir.c: Renamed to ...
14930 * sysdeps/posix/rewinddir.c: ... here.
14931 * sysdeps/unix/seekdir.c: Renamed to ...
14932 * sysdeps/posix/seekdir.c: ... here.
14933 * sysdeps/unix/telldir.c: Renamed to ...
14934 * sysdeps/posix/telldir.c: ... here.
14935 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14936 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14937 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14938 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14940 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14941 * bits/fcntl.h: ... here.
14943 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14945 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14946 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14947 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14948 (struct flock): Move l_start, l_len to the beginning.
14949 Use __pid_t for l_pid.
14950 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14951 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14952 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14953 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14954 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14955 [__USE_LARGEFILE64] (struct flock64): New type.
14956 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14958 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14959 * bits/dirent.h: ... here.
14961 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14962 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14964 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14967 Change from 2.6.0 to 2.6.16.
14968 * sysdeps/unix/sysv/linux/configure: Regenerated.
14969 * sysdeps/unix/sysv/linux/kernel-features.h
14970 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14971 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14973 (__ASSUME_UTIMES): Likewise.
14974 (__ASSUME_CLONE_STOPPED): Remove.
14975 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14976 architectures, not kernel version.
14977 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14978 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14979 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14980 (__ASSUME_WAITID_SYSCALL): Likewise.
14981 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14982 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14983 * README: State 2.6.16 as minimum Linux kernel version. Do not
14984 refer to older versions.
14986 2012-08-06 Roland McGrath <roland@hack.frob.com>
14988 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14989 Define alphasort64 as an alias.
14990 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14991 Define versionsort64 as an alias.
14992 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14993 Define scandir64 as an alias.
14994 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14995 Define scandirat64 as an alias.
14996 * dirent/alphasort64.c (alphasort64):
14997 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14998 * dirent/versionsort64.c: Likewise.
14999 * dirent/scandir64.c: Likewise.
15000 * dirent/scandirat64.c: Likewise.
15001 * sysdeps/wordsize-64/alphasort.c: File removed.
15002 * sysdeps/wordsize-64/alphasort64.c: File removed.
15003 * sysdeps/wordsize-64/scandir.c: File removed.
15004 * sysdeps/wordsize-64/scandir64.c: File removed.
15005 * sysdeps/wordsize-64/scandirat.c: File removed.
15006 * sysdeps/wordsize-64/scandirat64.c: File removed.
15007 * sysdeps/wordsize-64/versionsort.c: File removed.
15008 * sysdeps/wordsize-64/versionsort64.c: File removed.
15009 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15011 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15013 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15018 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15019 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15020 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15021 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15022 [defined __arch64__ || defined __sparcv9]
15023 (__INO_T_MATCHES_INO64_T): New macro.
15024 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15025 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15026 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15027 * sysdeps/unix/sysv/linux/bits/dirent.h
15028 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15029 (_DIRENT_MATCHES_DIRENT64): New macro.
15031 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15032 Define lockf64 as an alias.
15033 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15034 Define fseeko64 as an alias.
15035 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15036 Define ftello64 as an alias.
15037 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15038 Define _IO_fgetpos64 and fgetpos64 as aliases.
15039 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15040 Define _IO_fsetpos64 and fsetpos64 as aliases.
15041 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15042 Conditionalize body on this.
15043 * libio/fseeko64.c: Likewise.
15044 * libio/ftello64.c: Likewise.
15045 * libio/iofgetpos64.c: Likewise.
15046 * libio/iofsetpos64.c: Likewise.
15047 * sysdeps/wordsize-64/lockf.c: File removed.
15048 * sysdeps/wordsize-64/lockf64.c: File removed.
15049 * sysdeps/wordsize-64/fseeko.c: File removed.
15050 * sysdeps/wordsize-64/fseeko64.c: File removed.
15051 * sysdeps/wordsize-64/ftello.c: File removed.
15052 * sysdeps/wordsize-64/ftello64.c: File removed.
15053 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15054 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15055 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15056 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15057 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15063 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15065 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15068 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15069 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15070 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15071 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15072 [defined __arch64__ || defined __sparcv9]
15073 (__OFF_T_MATCHES_OFF64_T): New macro.
15074 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15075 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15077 (__OFF_T_MATCHES_OFF64_T): New macro.
15079 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15081 * stdlib/secure-getenv.c (__secure_getenv): Replace
15082 GLIBC_2_16 with GLIBC_2_17.
15084 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15089 2012-08-03 David S. Miller <davem@davemloft.net>
15091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15093 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15097 (__ASSUME_CORRECT_SI_PID): Likewise.
15098 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15099 (__ASSUME_TMPFS_NAME): Likewise.
15100 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15101 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15102 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15103 (HAVE_AUX_SECURE): Make definition unconditional.
15104 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15105 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15107 2012-08-03 Roland McGrath <roland@hack.frob.com>
15109 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15110 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15111 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15112 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15113 __eloop_threshold instead of SYMLOOP_MAX.
15115 * sysdeps/generic/eloop-threshold.h: New file.
15116 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15118 * elf/chroot_canon.c (chroot_canon): Likewise.
15120 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15124 Change to 2.6.0 everywhere.
15125 * sysdeps/unix/sysv/linux/configure: Regenerated.
15126 * sysdeps/unix/sysv/linux/kernel-features.h
15127 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15128 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15130 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15131 (__ASSUME_FUTEX_REQUEUE): Remove.
15132 (__ASSUME_STATFS64): Define unconditionally.
15133 (__ASSUME_AT_SECURE): Likewise.
15134 (__ASSUME_CORRECT_SI_PID): Likewise.
15135 (__ASSUME_TGKILL): Define without depending on kernel version for
15137 (__ASSUME_UTIMES): Likewise.
15138 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15140 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15141 (__ASSUME_TMPFS_NAME): Likewise.
15142 * README: Update reference to Linux kernel versions.
15144 2012-08-02 Marek Polacek <polacek@redhat.com>
15147 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15148 libc_cv_asm_type_prefix with %.
15149 * configure: Regenerated.
15150 * include/libc-symbols.h: Remove comment about
15151 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15152 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15153 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15154 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15155 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15156 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15157 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15158 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15159 * elf/tst-unique2mod1.c: Likewise.
15160 * elf/tst-unique1mod2.c: Likewise.
15161 * elf/tst-unique1mod1.c: Likewise.
15162 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15163 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15164 Replace ASM_TYPE_DIRECTIVE with .type.
15165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15166 * sysdeps/i386/sysdep.h: Likewise.
15167 * sysdeps/x86_64/sysdep.h: Likewise.
15168 * sysdeps/sh/sysdep.h: Likewise.
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15170 Do not define ASM_TYPE_DIRECTIVE.
15171 * sysdeps/powerpc/sysdep.h: Likewise.
15172 * sysdeps/powerpc/powerpc32/sysdep.h:
15173 Replace ASM_TYPE_DIRECTIVE with .type.
15174 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15175 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15176 * sysdeps/i386/fpu/e_powf.S: Likewise.
15177 * sysdeps/i386/fpu/e_expl.S: Likewise.
15178 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15180 * sysdeps/i386/fpu/e_pow.S: Likewise.
15181 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15182 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15183 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15184 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15185 * sysdeps/i386/fpu/e_log2.S: Likewise.
15186 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15188 * sysdeps/i386/fpu/e_powl.S: Likewise.
15189 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15190 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15191 * sysdeps/i386/fpu/e_logl.S: Likewise.
15192 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15193 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15194 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15195 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15196 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15197 * sysdeps/i386/fpu/e_log.S: Likewise.
15198 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15199 * sysdeps/i386/fpu/e_logf.S: Likewise.
15200 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15202 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15203 * sysdeps/i386/fpu/e_log10.S: Likewise.
15204 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15205 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15206 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15207 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15208 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15209 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15210 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15211 * sysdeps/i386/i686/strtok.S: Likewise.
15212 * sysdeps/i386/i386-mcount.S: Likewise.
15213 * sysdeps/i386/strtok.S: Likewise.
15214 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15215 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15216 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15217 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15218 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15219 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15220 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15221 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15222 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15223 * sysdeps/x86_64/_mcount.S: Likewise.
15224 * sysdeps/x86_64/strtok.S: Likewise.
15225 * sysdeps/sh/_mcount.S: Likewise.
15227 2012-08-01 Roland McGrath <roland@hack.frob.com>
15229 * libio/iofopen.c: Include <fcntl.h>.
15230 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15231 (_IO_fopen64, fopen64): Define as aliases.
15232 * libio/iofopen64.c: Include <fcntl.h>.
15233 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15234 Conditionalize body on this.
15235 * sysdeps/wordsize-64/iofopen.c: File removed.
15236 * sysdeps/wordsize-64/iofopen64.c: File removed.
15238 2012-08-01 Marek Polacek <polacek@redhat.com>
15240 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15241 Use dlfcn directly instead of a variable.
15242 (binfmt-subdir): Do not define.
15245 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15247 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15248 Remove all definitions.
15249 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15250 <kernel-features.h>.
15251 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15252 (miss_F_GETOWN_EX): Remove all definitions.
15253 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15255 [!__ASSUME_FCNTL64]: Remove conditional code.
15256 [__ASSUME_FCNTL64]: Make code unconditional.
15257 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15258 <kernel-features.h>.
15259 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15260 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15261 (lockf64) [__NR_fcntl64]: Make code unconditional.
15262 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15264 * sysdeps/unix/sysv/linux/kernel-features.h
15265 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15266 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15267 Make code unconditional.
15268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15271 [__NR_vfork]: Make code unconditional.
15272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15275 [__NR_vfork]: Make code unconditional.
15276 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15277 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15279 2012-08-01 Roland McGrath <roland@hack.frob.com>
15281 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15282 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15284 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15285 Define mkstemp64 as an alias.
15286 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15287 Define mkstemps64 as an alias.
15288 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15289 Define mkostemp64 as an alias.
15290 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15291 Define mkostemps64 as an alias.
15292 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15293 Conditionalize body on this.
15294 * misc/mkostemp64.c: Likewise.
15295 * misc/mkostemps64.c: Likewise.
15296 * misc/mkstemps64.c: Likewise.
15297 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15298 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15299 * sysdeps/wordsize-64/mkostemp.c: File removed.
15300 * sysdeps/wordsize-64/mkstemp.c: File removed.
15301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15302 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15304 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15307 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15308 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15309 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15310 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15312 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15313 compat_symbol macros from <shlib-compat.h> rather than the underlying
15314 default_symbol_version and symbol_version macros, so that DEFAULT
15315 lines in shlib-versions are respected.
15316 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15318 2012-08-01 Florian Weimer <fweimer@redhat.com>
15320 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15321 Declare with warn_unused_result.
15322 (setgid, setregid, setegid, setresgid): Likewise.
15323 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15325 * WUR-REPORT: Remove set*id functions.
15327 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15329 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15331 2012-07-31 Roland McGrath <roland@hack.frob.com>
15334 * include/sys/socket.h (__libc_accept, __libc_accept4):
15335 Add attribute_hidden.
15336 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15338 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15340 * inet/getnetgrent_r.c (setup): Likewise.
15342 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15344 2012-07-31 David S. Miller <davem@davemloft.net>
15346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15348 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15351 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15352 value between 1.0 and 2.0 and smaller part has absolute value less
15354 * math/s_clog10.c (__clog10): Likewise.
15355 * math/s_clog10f.c (__clog10f): Likewise.
15356 * math/s_clog10l.c (__clog10l): Likewise.
15357 * math/s_clogf.c (__clogf): Likewise.
15358 * math/s_clogl.c (__clogl): Likewise.
15359 * math/libm-test.inc (clog_test): Add more tests.
15360 (clog10_test): Likewise.
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364 2012-07-31 Florian Weimer <fweimer@redhat.com>
15366 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15367 Exit with zero in case no suitable GID is found, and write a
15368 message to standard error.
15370 2012-07-30 Roland McGrath <roland@hack.frob.com>
15372 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15374 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15375 (MAXPATHLEN): Removed.
15376 (NOGROUP, NODEV): New macros.
15377 (setbit, clrbit, isset, isclr): New macros.
15378 (howmany, roundup, powerof2): New macros.
15379 (DEV_BSIZE): New macro.
15381 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15382 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15384 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15385 definition on [!__NO_LONG_DOUBLE_MATH].
15387 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15388 PTR_MANGLE and PTR_DEMANGLE.
15390 * socket/accept4.c (accept4): Rename to __libc_accept4.
15391 Define accept4 as a weak alias.
15393 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15394 on [_DIRENT_HAVE_D_TYPE].
15395 * io/ftw.c (ftw_dir): Likewise.
15397 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15399 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15401 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15402 Use the BSD numbers rather than the arbitrary ones we had.
15403 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15404 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15405 (SIGXCPU, SIGXFSZ): New macros.
15408 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15409 initializer on [_LIBC_REENTRANT].
15411 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15412 definitions inside [_POSIX_MAPPED_FILES].
15414 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15416 * dirent/opendir.c: Include <fcntl.h>.
15418 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15419 (__libc_getspecific): Likewise.
15420 (__libc_key_create): Likewise.
15422 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15423 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15424 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15425 (tmpfile64): Define as alias.
15426 * sysdeps/wordsize-64/tmpfile.c: File removed.
15427 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15428 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15429 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15431 * stdio-common/vfscanf.c: Include <stdbool.h>.
15432 * nss/makedb.c: Likewise.
15433 * stdio-common/_i18n_number.h: Likewise.
15434 * argp/argp-help.c: Likewise.
15435 * posix/wordexp.c: Likewise.
15436 * sysdeps/posix/spawni.c: Likewise.
15437 * nss/nss_files/files-initgroups.c: Likewise.
15438 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15439 * nss/nss_files/files-initgroups.c: Likewise.
15440 * nss/nss_db/db-netgrp.c: Likewise.
15441 * nss/nss_db/db-initgroups.c: Likewise.
15442 * io/fchmodat.c: Include <sys/stat.h>.
15444 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15445 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15447 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15450 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15451 Add multiple inclusion protection.
15453 2012-07-27 David S. Miller <davem@davemloft.net>
15455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15457 2012-07-27 Gary Benson <gbenson@redhat.com>
15460 * elf/rtld.c: Include <stap-probe.h>.
15461 (dl_main): Added static probes "init_start" and "init_complete".
15462 * elf/dl-load.c: Include <stap-probe.h>.
15463 (lose): Take new parameter "nsid".
15464 Added static probe "map_failed".
15465 (_dl_map_object_from_fd): Pass namespace id to lose.
15466 Added static probe "map_start".
15467 (open_verify): Pass namespace id to lose.
15468 * elf/dl-open.c: Include <stap-probe.h>.
15469 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15470 and "reloc_complete".
15471 * elf/dl-close.c: Include <stap-probe.h>.
15472 (_dl_close_worker): Added static probes "unmap_start" and
15474 * elf/rtld-debugger-interface.txt: New file documenting the above.
15476 2012-07-26 Roland McGrath <roland@hack.frob.com>
15478 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15479 rather than a string variable.
15480 * sunrpc/rpc_main.c (h_output): Likewise.
15481 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15483 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15485 * inet/check_native.c: New file.
15487 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15490 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15491 if larger part has absolute value 1.0.
15492 * math/s_clog10.c (__clog10): Likewise.
15493 * math/s_clog10f.c (__clog10f): Likewise.
15494 * math/s_clog10l.c (__clog10l): Likewise.
15495 * math/s_clogf.c (__clogf): Likewise.
15496 * math/s_clogl.c (__clogl): Likewise.
15497 * math/libm-test.inc (clog_test): Add more tests.
15498 (clog10_test): Likewise.
15499 * sysdeps/i386/fpu/libm-test-ulps: Update.
15500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15502 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15503 (pltexit): Likewise.
15504 (La_regs): Likewise.
15505 (La_retval): Likewise.
15506 (int_retval): Likewise.
15507 Update #error for removed macros to refer only to definitions in
15509 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15511 (pltexit): Likewise.
15512 (La_regs): Likewise.
15513 (La_retval): Likewise.
15514 (int_retval): Likewise.
15515 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15517 (pltexit): Likewise.
15518 (La_regs): Likewise.
15519 (La_retval): Likewise.
15520 (int_retval): Likewise.
15521 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15523 (pltexit): Likewise.
15524 (La_regs): Likewise.
15525 (La_retval): Likewise.
15526 (int_retval): Likewise.
15527 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15529 (pltexit): Likewise.
15530 (La_regs): Likewise.
15531 (La_retval): Likewise.
15532 (int_retval): Likewise.
15533 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15535 (pltexit): Likewise.
15536 (La_regs): Likewise.
15537 (La_retval): Likewise.
15538 (int_retval): Likewise.
15539 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15541 (pltexit): Likewise.
15542 (La_regs): Likewise.
15543 (La_retval): Likewise.
15544 (int_retval): Likewise.
15545 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15546 macro definitions in tst-audit.h.
15547 * sysdeps/i386/tst-audit.h: New file.
15548 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15549 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15550 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15551 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15552 * sysdeps/sh/tst-audit.h: Likewise.
15553 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15554 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15555 * sysdeps/x86_64/tst-audit.h: Likewise.
15557 2012-07-26 Andreas Jaeger <aj@suse.de>
15559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15562 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15563 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15564 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15566 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15570 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15573 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15575 (si_call_addr, si_syscall, si_arch): Define new macro.
15576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15578 (si_call_addr, si_syscall, si_arch): Define new marcro.
15579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15581 (si_call_addr, si_syscall, si_arch): Define new macro.
15582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15584 (si_call_addr, si_syscall, si_arch): Define new macro.
15586 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15590 Change to 2.4.21 where previously 2.4.1.
15591 * sysdeps/unix/sysv/linux/configure: Regenerated.
15592 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15593 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15594 Linux kernel version.
15595 (__ASSUME_STD_AUXV): Remove.
15596 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15598 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15599 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15600 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15601 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15602 (__ASSUME_NETLINK_SUPPORT): Likewise.
15603 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15604 (__no_netlink_support): Remove conditional definition.
15605 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15607 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15608 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15609 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15610 (if_nameindex_ioctl): Remove.
15611 (if_nameindex_netlink): Do not handle __no_netlink_support.
15612 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15614 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15615 Remove conditional code.
15616 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15618 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15620 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15621 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15622 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15624 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15625 [!__ASSUME_STD_AUXV]: Remove conditional code.
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15627 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15628 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15630 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15631 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15633 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15635 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15636 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15638 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15640 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15643 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15646 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15647 code unconditional.
15648 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15650 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15652 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15655 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15657 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15660 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15661 code unconditional.
15662 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15664 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15666 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15669 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15670 code unconditional.
15671 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15673 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15675 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15678 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15680 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15681 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15682 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15683 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15685 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15686 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15687 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15688 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15689 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15690 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15691 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15692 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15693 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15694 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15695 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15696 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15698 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15701 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15704 2012-07-25 Florian Weimer <fweimer@redhat.com>
15706 * Versions.def: Add GLIBC_2.17.
15707 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15708 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15709 Introduce __libc_secure_getenv.
15710 * stdlib/Versions (2.17): Add secure_getenv
15711 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15712 * stdlib/secure-getenv.c: Rename __secure_getenv to
15713 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15714 symbol __secure_getenv for GLIBC_2.0.
15715 * stdlib/tst-secure-getenv.c: New.
15716 * stdlib/Makefile (tests): Add testcase.
15717 * manual/startup.texi (Environment Access): Document
15719 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15720 __libc_secure_getenv.
15721 * inet/ruserpass.c (ruserpass): Likewise.
15722 * malloc/mtrace.c (mtrace): Likewise.
15723 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15724 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15725 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15726 * sysdeps/posix/tempname.c: Likewise. Evaluate
15727 HAVE_SECURE_GETENV.
15728 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15729 __secure_getenv to __libc_secure_getenv.
15730 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15743 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15745 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15746 (struct La_i86_retval): Likewise.
15747 (struct La_x86_64_regs): Likewise.
15748 (struct La_x86_64_retval): Likewise.
15749 (struct La_x32_regs): Likewise.
15750 (struct La_x32_retval): Likewise.
15751 (struct La_ppc32_regs): Likewise.
15752 (struct La_ppc32_retval): Likewise.
15753 (struct La_ppc64_regs): Likewise.
15754 (struct La_ppc64_retval): Likewise.
15755 (struct La_sh_regs): Likewise.
15756 (struct La_sh_retval): Likewise.
15757 (struct La_s390_32_regs): Likewise.
15758 (struct La_s390_32_retval): Likewise.
15759 (struct La_s390_64_regs): Likewise.
15760 (struct La_s390_64_retval): Likewise.
15761 (struct La_sparc32_regs): Likewise.
15762 (struct La_sparc32_retval): Likewise.
15763 (struct La_sparc64_regs): Likewise.
15764 (struct La_sparc64_retval): Likewise.
15765 (struct audit_ifaces): Remove architecture-specific pltenter and
15767 * sysdeps/i386/ldsodefs.h: New file.
15768 * sysdeps/powerpc/ldsodefs.h: Likewise.
15769 * sysdeps/s390/ldsodefs.h: Likewise.
15770 * sysdeps/sh/ldsodefs.h: Likewise.
15771 * sysdeps/sparc/ldsodefs.h: Likewise.
15772 * sysdeps/x86_64/ldsodefs.h: Likewise.
15774 2012-07-25 Marek Polacek <polacek@redhat.com>
15777 * math/libm-test.inc (yn_test): Add another test.
15778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15779 to ERANGE when the result is +-Inf.
15780 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15782 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15783 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15785 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15787 * conform/data/time.h-data (NULL): Use macro-constant. Require
15789 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15791 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15793 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15795 * configure.in <sysdeps resolving>: Correct printing
15797 * configure: Regenerate.
15799 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15801 * math/w_ilogb.c: Include <limits.h>.
15802 * math/w_ilogbl.c: Likewise.
15804 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15806 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15807 va_copy. Document allowing for unavailable va_copy only as
15808 pre-C99 compatibility.
15809 * manual/string.texi (Copying and Concatenation): Use va_copy
15810 instead of __va_copy in concat example.
15812 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15814 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15815 (__sendto): Use create_address_port. Initialize APORT and deallocate
15818 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15819 with O_NOLINK passed to __file_name_lookup.
15821 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15822 with O_NOLINK passed to __file_name_lookup.
15824 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15825 negative N or less than NGIDS.
15827 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15828 type to string_t. Set ERANGE as errno and return it if NAME is not big
15829 enough. Use memcpy instead of strncpy.
15831 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15833 * elf/Makefile (check-data): Remove.
15834 (localplt.data): New vpath directive.
15835 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15836 instead of $(check-data).
15837 * scripts/data/localplt-generic.data: Move to ...
15838 * sysdeps/generic/localplt.data: ... here.
15839 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15840 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15841 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15844 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15847 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15850 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15853 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15856 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15860 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15862 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15863 PPC32 and PPC64 files.
15864 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15865 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15867 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15869 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15870 __makecontext_ret to ...
15871 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15872 ... here and call exit if uc_link is NULL. New file.
15873 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15874 __makecontext_ret.S.
15875 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15876 __makecontext_ret to ...
15877 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15878 ... here and call exit if uc_link is NULL. New file.
15879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15880 __makecontext_ret.S.
15882 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15884 * elf/elf.h (R_390_IRELATIVE): New definition.
15885 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15886 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15887 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15889 (elf_machine_lazy_rel): Likewise.
15890 * sysdeps/s390/dl-irel.h: New file.
15891 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15892 * sysdeps/s390/s390-64/memset.S: New asm code.
15893 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15894 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15895 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15896 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15897 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15898 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15900 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15901 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15902 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15903 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15904 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15905 * sysdeps/s390/s390-32/memset.S: New asm code.
15906 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15908 2012-07-17 Marek Polacek <polacek@redhat.com>
15911 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15912 * sysdeps/s390/s390-64/configure.in: Likewise.
15913 * sysdeps/sparc/configure.in: Likewise.
15914 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15915 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15916 * sysdeps/i386/configure.in: Likewise.
15917 * sysdeps/x86_64/configure.in: Likewise.
15918 * sysdeps/sh/configure.in: Likewise.
15919 * sysdeps/s390/s390-32/configure: Regenerated.
15920 * sysdeps/s390/s390-64/configure: Likewise.
15921 * sysdeps/x86_64/configure: Likewise.
15922 * sysdeps/sh/configure: Likewise.
15923 * sysdeps/powerpc/powerpc64/configure: Likewise.
15924 * sysdeps/powerpc/powerpc32/configure: Likewise.
15925 * sysdeps/sparc/configure: Likwise.
15926 * sysdeps/i386/configure: Likewise.
15928 * elf/dl-open.c: Comment fixes.
15930 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15932 * Makefile [CXX] (check-data): Remove.
15933 [CXX] (c++-types.data): New vpath directive.
15934 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15935 vpath. Do not allow for C++ type data being missing.
15936 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15937 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15938 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15939 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15940 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15941 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15942 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15945 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15948 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15951 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15954 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15957 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15960 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15963 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15966 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15967 definitions to architecture-specific files.
15968 (TLS_IE): Likewise.
15969 (TLS_LD): Likewise.
15970 (TLS_GD): Likewise.
15971 * sysdeps/i386/tls-macros.h: New file.
15972 * sysdeps/powerpc/tls-macros.h: Likewise.
15973 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15974 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15975 * sysdeps/sh/tls-macros.h: Likewise.
15976 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15977 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15978 * sysdeps/x86_64/tls-macros.h: Likewise.
15980 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15983 zero value for regular exit case.
15985 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15986 (__start_context): Preserve zero value for regular exit case.
15988 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15989 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15991 * manual/setjmp.texi (setcontext): Clarify normal process
15992 termination when uc_link is the null pointer.
15993 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15996 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15998 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15999 preprocessor. Test for each exception mask separately.
16001 2012-07-16 Andreas Jaeger <aj@suse.de>
16003 * po/ru.po: Update from translation team.
16005 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16007 * conform/data/string.h-data (NULL): Use macro-constant. Require
16009 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16010 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16011 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16012 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16015 2012-07-13 Andreas Jaeger <aj@suse.de>
16017 * po/fr.po: Update from translation team.
16019 2012-07-12 Marek Polacek <polacek@redhat.com>
16022 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16023 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16026 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16030 Change to 2.4.1 where previously 2.4.0.
16031 * sysdeps/unix/sysv/linux/configure: Regenerated.
16032 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16033 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16035 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16036 (__ASSUME_AT_CLKTCK): Remove.
16037 (__ASSUME_AT_PAGESIZE): Likewise.
16038 (__ASSUME_AT_XID): Likewise.
16039 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16040 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16041 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16043 (HAVE_AUX_PAGESIZE): Likewise.
16044 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16045 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16046 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16048 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16051 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16052 the temporary buffer used to invoke __gethostbyname2_r,
16053 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16054 host_data / struct gaih_addrtuple.
16055 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16056 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16057 header file nss/nsswitch.h.
16058 * nss/nsswitch.h (global scope): Add definition of implementation
16059 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16060 resolv/nss_dns/dns-host.c).
16062 2012-07-11 Andreas Jaeger <aj@suse.de>
16064 * po/fr.po: Update from translation team.
16066 * po/sv.po: Update from translation team
16067 * po/fr.po: Another update from translation team.
16069 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16071 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16072 for subnormals or multiply small sinh result by itself.
16073 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16076 2012-07-11 David S. Miller <davem@davemloft.net>
16078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16080 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16083 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16084 (INTERNAL_MARK): Shift it here.
16086 2012-07-10 Marek Polacek <polacek@redhat.com>
16089 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16090 libc_cv_asm_global_directive with .globl.
16091 * configure: Regenerated.
16092 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16094 * sysdeps/i386/configure: Regenerated.
16095 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16097 * sysdeps/x86_64/configure: Regenerated.
16098 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16099 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16100 * elf/tst-unique2mod2.c: Likewise.
16101 * elf/tst-unique2mod1.c: Likewise.
16102 * elf/tst-unique1mod2.c: Likewise.
16103 * elf/tst-unique1mod1.c: Likewise.
16104 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16105 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16106 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16107 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16108 * sysdeps/mach/sysdep.h: Likewise.
16109 * sysdeps/i386/sysdep.h: Likewise.
16110 * sysdeps/i386/i386-mcount.S: Likewise.
16111 * sysdeps/x86_64/_mcount.S: Likewise.
16112 * sysdeps/x86_64/sysdep.h: Likewise.
16113 * sysdeps/sh/_mcount.S: Likewise.
16114 * sysdeps/sh/sysdep.h: Likewise.
16115 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16117 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16118 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16119 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16120 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16121 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16122 * locale/localeinfo.h: Likewise.
16123 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16124 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16126 2012-07-09 Roland McGrath <roland@hack.frob.com>
16129 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16131 * manual/message.texi (The Uniforum approach): Likewise.
16132 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16133 (glibc iconv Implementation): Likewise.
16135 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16138 * math/s_clog.c (__clog): Avoid scaling a value down where that
16139 could result in underflow.
16140 * math/s_clog10.c (__clog10): Likewise.
16141 * math/s_clog10f.c (__clog10f): Likewise.
16142 * math/s_clog10l.c (__clog10l): Likewise.
16143 * math/s_clogf.c (__clogf): Likewise.
16144 * math/s_clogl.c (__clogl): Likewise.
16145 * math/libm-test.inc (clog_test): Add more tests.
16146 (clog10_test): Likewise.
16147 * sysdeps/i386/fpu/libm-test-ulps: Update.
16148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16150 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16153 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16154 by 7 not 8 to examine high bit of fractional part.
16157 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16158 for call to __mcount_internal.
16159 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16160 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16161 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16163 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16166 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16167 approximation for values within 0x1p-13f of an odd multiple of
16169 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16170 exception. Add more tests.
16171 * sysdeps/i386/fpu/libm-test-ulps: Update.
16174 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16175 inputs and return -1 for them. Do not check for +Inf in case not
16176 reachable for +Inf.
16177 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16178 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16180 and return -1 for them. Do not check for +Inf in case not
16181 reachable for +Inf.
16182 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16184 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16185 and return -1 for them. Do not check for +Inf in case not
16186 reachable for +Inf.
16187 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16188 spurious underflow.
16189 * sysdeps/i386/fpu/libm-test-ulps: Update.
16190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16192 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16194 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16196 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16200 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16201 could result in spurious underflow. Scale down values above
16202 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16203 * math/s_csqrtf.c (__csqrtf): Likewise.
16204 * math/s_csqrtl.c (__csqrtl): Likewise.
16205 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16206 spurious underflow.
16207 * sysdeps/i386/fpu/libm-test-ulps: Update.
16208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16210 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16212 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16214 * catgets/xopen-msg.awk: New file.
16215 * catgets/xopen-msg.sed: Removed.
16217 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16219 * intl/po2test.awk: New file.
16220 * intl/po2test.sed: Removed.
16222 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16225 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16226 or multiply small sinh result by itself.
16227 * math/s_ctanf.c (__ctanf): Likewise.
16228 * math/s_ctanh.c (__ctanh): Likewise.
16229 * math/s_ctanhf.c (__ctanhf): Likewise.
16230 * math/s_ctanhl.c (__ctanhl): Likewise.
16231 * math/s_ctanl.c (__ctanl): Likewise.
16232 * math/libm-test.inc (ctan_test_tonearest): New function.
16233 (ctan_test_towardzero): Likewise.
16234 (ctan_test_downward): Likewise.
16235 (ctan_test_upward): Likewise.
16236 (ctanh_test_tonearest): Likewise.
16237 (ctanh_test_towardzero): Likewise.
16238 (ctanh_test_downward): Likewise.
16239 (ctanh_test_upward): Likewise.
16240 (main): Call these new functions.
16241 * sysdeps/i386/fpu/libm-test-ulps: Update.
16242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16244 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16246 * .gitignore: Delete /ports entry.
16248 2012-07-03 Andreas Jaeger <aj@suse.de>
16250 * po/bg.po: Update from translation team.
16251 * po/cs.po: Likewise.
16252 * po/de.po: Likewise.
16253 * po/hr.po: Likewise.
16254 * po/nl.pl: Likewise.
16255 * po/pl.po: Likewise.
16256 * po/vi.po: Likewise.
16258 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16260 * Makeconfig [!+link] (+link-before-libc): New variable.
16261 [!+link] (+link-after-libc): Likewise.
16262 [!+link] (+link-tests): Likewise.
16263 [!+link] (+link): Define in terms of $(+link-before-libc) and
16264 $(+link-after-libc).
16265 [!+link-static] (+link-static-before-libc): New variable.
16266 [!+link-static] (+link-static-after-libc): Likewise.
16267 [!+link-static] (+link-static-tests): Likewise.
16268 [!+link-static] (+link-static): Define in terms of
16269 $(+link-static-before-libc) and $(+link-static-after-libc).
16270 [build-shared] (link-libc-before-gnulib): New variable.
16271 [build-shared] (link-libc-tests): Likewise.
16272 [build-shared] (link-libc): Define in terms of
16273 $(link-libc-before-gnulib).
16274 [!build-shared] (link-libc-tests): New variable.
16275 (link-libc-static-tests): New variable.
16276 [!gnulib] (gnulib-arch): New variable.
16277 [!gnulib] (gnulib-tests): Likewise.
16278 [!gnulib] (static-gnulib-arch): Likewise.
16279 [!gnulib] (static-gnulib-tests): Likewise.
16280 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16281 Define with "=" instead of ":=".
16282 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16283 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16284 * Rules (binaries-all-notests): New variable.
16285 (binaries-all-tests): Likewise.
16286 (binaries-static-notests): Likewise.
16287 (binaries-static-tests): Likewise.
16288 (binaries-all): Define using $(binaries-all-notests) and
16289 $(binaries-all-tests).
16290 (binaries-static): Define using $(binaries-static-notests) and
16291 $(binaries-static-tests).
16292 (binaries-shared-tests): New variable.
16293 (binaries-shared-notests): Likewise.
16294 (binaries-shared): Remove variable.
16295 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16296 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16297 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16298 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16299 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16300 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16301 * elf/Makefile (sln-modules): New variable.
16302 (extra-objs): Add $(sln-modules:=.o).
16303 (ldconfig-modules): Add static-stubs.
16304 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16305 * elf/static-stubs.c: New file.
16308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16309 by 7 not 8 to examine high bit of fractional part. Use volatile
16310 variables when splitting into final array of floats if
16311 __FLT_EVAL_METHOD__ != 0.
16312 * math/libm-test.inc (cos_test): Add another test.
16313 (sin_test): Likewise.
16314 * sysdeps/i386/fpu/libm-test-ulps: Update.
16317 * math/libm-test.inc (cosh_test): Add more tests.
16319 * version.h (RELEASE): Set to "development".
16320 (VERSION): Set to "2.16.90".
16322 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16324 * NEWS: Update copyright. Remove last-updated date.
16325 Mention math library bug fixes and timezone data changes.
16326 * README: Mention GNU/Hurd, x32, and HPPA support status.
16328 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16330 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16332 2012-06-27 Andreas Jaeger <aj@suse.de>
16334 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16336 2012-06-25 Andreas Jaeger <aj@suse.de>
16338 * sysdeps/s390/fpu/libm-test-ulps: Update.
16340 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16341 Thomas Schwinge <thomas@codesourcery.com>
16343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16344 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16348 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16350 * sysdeps/mach/start.c: Remove file.
16351 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16352 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16353 * sysdeps/sh/init-first.c: Likewise.
16355 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16356 registers for frame unwinding purposes, add CFI directives.
16357 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16359 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16362 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16363 __fortify_fail returning.
16364 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16367 sysdeps/sh/____longjmp_chk.S.
16368 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16369 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16370 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16371 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16373 * sysdeps/sh/abort-instr.h: New file.
16374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16375 process in case exit returns.
16377 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16378 initialize the GOT register before use.
16380 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16381 calculation of ARGC > 4.
16383 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16384 meaningful names to some local labels.
16386 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16387 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16389 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16390 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16391 (__arch_compare_and_exchange_val_16_acq): Likewise.
16392 (__arch_compare_and_exchange_val_32_acq): Likewise.
16393 (atomic_exchange_and_add): Fix gUSA sequence.
16394 (atomic_add): Likewise.
16395 (atomic_add_negative): Likewise.
16396 (atomic_add_zero): Likewise.
16397 (atomic_bit_test_set): Likewise.
16399 2012-06-22 Andreas Schwab <schwab@redhat.com>
16402 * include/link.h (struct link_map): Add l_free_initfini.
16403 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16405 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16406 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16407 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16410 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16412 * configure.in: Use AC_LANG_SOURCE.
16413 * configure: Regenerate.
16415 2012-06-22 Roland McGrath <roland@hack.frob.com>
16417 * configure.in (libc_cv_localstatedir): New substituted variable.
16418 * configure: Regenerated.
16419 * config.make.in (localstatedir): New variable, substituted from
16420 libc_cv_localstatedir.
16421 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16422 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16423 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16424 * sysdeps/gnu/configure: Regenerated.
16426 2012-06-21 Jeff Law <law@redhat.com>
16429 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16430 free. Simplify list management for _LIBC case.
16432 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16435 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16436 Clear sign bit of 64-bit integer value before comparing against
16439 * sysdeps/mach/configure: Regenerated.
16441 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16444 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16446 2012-06-21 Jeff Law <law@redhat.com>
16449 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16450 uint16_t for elements in the "seen" array to avoid char overflows.
16451 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16452 * elf/dl-open.c (dl_open_worker): Likewise.
16454 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16456 * scripts/list-sources.sh: Scan PORTS for translations.
16457 * po/libc.pot: Regenerated.
16459 2012-06-21 Andreas Jaeger <aj@suse.de>
16462 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16464 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16465 * bits/byteswap-16.h (__bswap_16): Likewise.
16466 * bits/byteswap.h (__bswap_constant_16): Likewise.
16468 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16471 * sysdeps/i386/fpu_control.h: Removed.
16472 * sysdeps/x86_64/fpu_control.h: Moved to ...
16473 * sysdeps/x86/fpu_control.h: Here.
16475 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16476 (_FPU_SETCW): Likewise.
16478 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16481 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16482 * sysdeps/x86/fpu/bits/mathinline.h: This.
16483 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16487 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16488 functions if __x86_64__ is defined.
16490 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16492 * string/endian.h: Add !__ASSEMBLER__ condition for including
16493 conversion interfaces.
16495 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16499 of ABS(x) in calculating zero to negative powers other than odd
16501 * math/libm-test.inc (pow_test): Add more tests.
16503 2012-06-15 Andreas Jaeger <aj@suse.de>
16505 * manual/contrib.texi (Contributors): Update entry of Liubov
16506 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16509 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16511 * string/string.h: Add __wur to GNU version of strerror_r.
16513 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16516 * string/Makefile (tests): Add tst-strtok_r.
16517 * string/tst-strtok_r.c: New file.
16518 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16519 RAX_LP/RDX_LP on SAVE_PTR.
16521 2012-06-14 Roland McGrath <roland@hack.frob.com>
16523 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16525 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16527 * libm_test.inc (csqrt_test): Allow more spurious underflow
16529 (j0_test): Likewise.
16530 (j1_test): Likewise.
16531 (y0_test): Likewise.
16532 (y1_test): Likewise.
16534 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16536 * po/Makefile (libc.pot): Use UTF-8 charset.
16538 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16541 Suppress sign-conversion warning from FD_SET.
16542 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16543 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16544 not unsigned long int.
16545 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16547 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16551 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16552 __extern_always_inline instead of __extern_inline.
16553 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16554 (__signbit): Likewise.
16555 (__signbitl): Support C++ namespace.
16556 (lrintf): New inline function.
16558 (llrintf): Likewise.
16559 (llrint): Likewise.
16569 (floorf): Likewise.
16570 (nearbyint): Likewise.
16571 (nearbyintf): Likewise.
16573 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16575 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16576 non-default versions.
16578 2012-06-11 Roland McGrath <roland@hack.frob.com>
16581 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16583 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16585 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16586 (FE_UPWARD, FE_DOWNWARD): Don't define.
16587 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16588 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16592 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16593 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16595 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16597 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16600 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16602 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16605 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16606 * sysdeps/i386/fpu/Implies: New file.
16607 * sysdeps/x86_64/fpu/Implies: Likewise.
16608 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16609 * sysdeps/x86/fpu/bits/fenv.h: This.
16611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16614 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16617 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16618 character 0xffff that matches the last element of the
16621 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16623 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16626 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16629 values higher than 25.6283.
16631 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16634 subnormal exponent extraction and add some __builtin_expect.
16635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16636 Fix for subnormal mantissa calculation.
16638 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16640 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16641 cpu2 is -1 and errno is not ENOSYS.
16643 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16646 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16647 * sysdeps/x86/bits/string.h: This.
16648 * sysdeps/x86_64/bits/string.h: Removed.
16650 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16651 if not compiling for x86-64, but compiling for >= i486.
16653 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16654 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16656 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16657 New macro from Linux kernel 3.4.0.
16658 (FP_XSTATE_MAGIC2): Likewise.
16659 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16660 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16661 (struct _fpx_sw_bytes): New struct.
16662 (struct _xsave_hdr): Likewise.
16663 (struct _ymmh_state): Likewise.
16664 (struct _xstate): Likewise.
16666 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16667 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16669 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16670 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16671 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16673 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16674 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16675 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16676 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16677 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16678 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16680 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16683 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16684 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16685 (sysdep_headers): Include sys/platform/ppc.h.
16686 * sysdeps/powerpc/test-gettimebase.c: Test for
16687 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16688 * manual/Makefile (appendices): Include platform.texi.
16689 * manual/contrib.texi (Contributors): Update @node pointers.
16690 * manual/maint.texi (Maintenance): Likewise.
16691 (Platform): New node.
16692 * manual/platform.texi: New file. Document the new features.
16694 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16695 Jakub Jelinek <jakub@redhat.com>
16698 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16699 where __builtin_expect is unavailable.
16701 2012-06-03 David S. Miller <davem@davemloft.net>
16703 * stdlib/longlong.h: Updated from GCC.
16705 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16708 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16709 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16712 (GLIBC_2.16): Likewise.
16714 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16718 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16721 (default-abi): New variable.
16722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16723 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16725 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16727 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16729 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16732 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16733 definition. Document in comment.
16735 2012-06-01 David S. Miller <davem@davemloft.net>
16737 * stdlib/longlong.h: Updated from GCC.
16739 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16742 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16743 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16744 sys/debugreg.h sys/io.h here.
16745 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16746 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16748 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16749 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16750 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16751 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16752 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16753 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16756 Define only if __x86_64__ is defined.
16758 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16762 Use int64_t for variable i.
16763 * math/libm-test.inc (fmod_test): Add more tests.
16765 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16766 z computation is not scheduled after fetestexcept.
16767 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16768 Use math_force_eval instead of asm to ensure calculation scheduled
16769 before exception test.
16770 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16771 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16773 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16776 computation is not scheduled after fetestexcept.
16778 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16782 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16784 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16786 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16787 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16789 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16792 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16794 (__WCHAR_MIN): Support __WORDSIZE == 64.
16795 (__WCHAR_MAX): Likewise.
16797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16798 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16802 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16805 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16808 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16811 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16812 Defined to 1 if __x86_64__ isn't defined.
16813 (_STAT_VER_LINUX_OLD): New.
16814 (st_atime): Remove duplicate.
16815 (st_mtime): Likewise.
16816 (st_ctime): Likewise.
16818 2012-05-31 David S. Miller <davem@davemloft.net>
16820 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16823 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16825 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16829 * elf/dl-reloc.c: Include <_itoa.h>.
16830 (_dl_reloc_bad_type): Remove use of INTUSE.
16831 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16832 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16833 * stdio-common/psiginfo.c (psiginfo): Likewise.
16834 * stdio-common/psignal.c (psignal): Likewise.
16835 * string/strsignal.c (strsignal): Likewise.
16836 * include/signal.h (_sys_siglist): Declare hidden proto.
16837 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16838 INTVARDEF with libc_hidden_data_def.
16839 * stdio-common/itoa-udigits.c: Likewise.
16840 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16841 (_itoa_lower_digits_internal): Remove declaration.
16842 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16843 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16844 (_sys_sigabbrev_internal): Remove aliases.
16845 (_sys_siglist): Define hidden alias.
16847 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16852 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16855 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16856 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16858 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16859 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16860 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16861 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16863 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16865 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16867 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16869 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16879 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16881 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16882 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16883 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16884 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16885 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16886 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16888 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16889 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16891 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16892 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16894 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16896 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16898 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16899 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16901 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16903 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16904 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16905 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16907 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16909 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16911 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16913 * math/math.h (M_El): Use two more decimal places.
16914 (M_LOG2El): Likewise.
16915 (M_LOG10El): Likewise.
16916 (M_LN2l): Likewise.
16917 (M_LN10l): Likewise.
16919 (M_PI_2l): Likewise.
16920 (M_PI_4l): Likewise.
16921 (M_1_PIl): Likewise.
16922 (M_2_PIl): Likewise.
16923 (M_2_SQRTPIl): Likewise.
16924 (M_SQRT2l): Likewise.
16925 (M_SQRT1_2l): Likewise.
16927 2012-05-31 David S. Miller <davem@davemloft.net>
16929 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16930 values between float registers.
16931 * sysdeps/sparc/sparc64/memset.S: Likewise.
16932 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16934 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16936 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16937 -D_FORTIFY_SOURCE=1.
16938 (CPPFLAGS-tst-longjmp_chk.c): Define.
16939 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16940 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16941 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16942 CFLAGS-tst-wchar-h.c.
16944 2012-05-31 Marek Polacek <polacek@redhat.com>
16947 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16948 __endmntent_internal): Remove declaration.
16949 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16950 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16951 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16953 2012-05-30 David S. Miller <davem@davemloft.net>
16955 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16956 (___Q_simulate_exceptions): Use real FP ops rather than writing
16958 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16961 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16964 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16965 * sysdeps/x86/bits/xtitypes.h: This.
16967 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16968 * sysdeps/x86/bits/wordsize.h: This.
16970 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16971 * sysdeps/x86/bits/huge_vall.h: This.
16973 * sysdeps/i386/bits/select.h: Removed.
16974 * sysdeps/x86_64/bits/select.h: Renamed to ...
16975 * sysdeps/x86/bits/select.h: This.
16977 * sysdeps/i386/bits/setjmp.h: Removed.
16978 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16979 * sysdeps/x86/bits/setjmp.h: This.
16981 * sysdeps/i386/bits/mathdef.h: Removed.
16982 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16983 * sysdeps/x86/bits/mathdef.h: This.
16985 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16988 * include/sys/socket.h (__connect_internal)
16989 (__libc_sa_len_internal): Remove declaration.
16990 (__connect, __libc_sa_len): Declare hidden_proto.
16991 (SA_LEN): Remove use of INTUSE.
16992 * socket/connect.c: Add libc_hidden_def.
16993 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16994 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16995 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16997 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16998 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16999 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17000 of adding _internal alias.
17002 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17005 * sysdeps/i386/bits/link.h: Removed.
17006 * sysdeps/i386/bits/linkmap.h: Likewise.
17007 * sysdeps/x86_64/bits/link.h: Renamed to ...
17008 * sysdeps/x86/bits/link.h: This.
17009 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17010 * sysdeps/x86/bits/linkmap.h: This.
17012 * sysdeps/i386/bits/endian.h: Removed.
17013 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17014 * sysdeps/x86/bits/endian.h: This.
17016 * sysdeps/i386/bits/byteswap.h: Removed.
17017 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17018 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17019 * sysdeps/x86/bits/byteswap.h: This.
17020 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17021 * sysdeps/x86/bits/byteswap-16.h: This.
17022 * sysdeps/i386/Implies: Add x86.
17023 * sysdeps/x86_64/Implies: Likewise.
17025 2012-05-30 David S. Miller <davem@davemloft.net>
17027 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17028 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17030 (FP_TRAPPING_EXCEPTIONS): Define.
17031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17032 (FP_TRAPPING_EXCEPTIONS): Define.
17033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17034 subnormals only when inexact has been signalled or underflow
17035 exceptions are enabled.
17036 (_FP_PACK_CANONICAL): Likewise.
17038 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17042 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17044 2012-05-30 Richard Henderson <rth@twiddle.net>
17046 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17047 with #ifndef NOT_IN_libc.
17049 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17050 marked to avoid plt entry.
17052 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17055 * Makeconfig (default-abi): New macro.
17056 (abi-includes): Likewise.
17057 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17058 $(abi-$(default-abi)-lib-soname) for soname if defined.
17059 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17061 * Makefile (installed-stubs): Likewise.
17062 * include/stubs-biarch.h: Removed.
17063 * scripts/lib-names.awk: Only handle one library at a time.
17064 * scripts/soversions.awk: Remove WORDSIZE support.
17065 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17067 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17069 (syscall-list-default-condition): Likewise.
17070 (syscall-list-default-condition): Likewise.
17071 (syscall-list-includes): Likewise.
17072 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17073 syscall-list-* with abi-*. Handle undefined abi-variants.
17074 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17075 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17076 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17077 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17079 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17081 (syscall-list-32-options): Likewise.
17082 (syscall-list-32-condition): Likewise.
17083 (syscall-list-64-options): Likewise.
17084 (syscall-list-64-condition): Likewise.
17085 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17087 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17090 (abi-64-ld-soname): New macro.
17091 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17092 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17095 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17096 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17098 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17100 * sysdeps/unix/sysv/linux/kernel-features.h
17101 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17102 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17103 include <kernel-features.h>.
17104 [!__NR_ftruncate64]: Remove conditional code.
17105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17106 [__NR_ftruncate64]: Make code unconditional.
17107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17108 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17109 include <kernel-features.h>.
17110 [!__NR_ftruncate64]: Remove conditional code.
17111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17112 [__NR_ftruncate64]: Make code unconditional.
17113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17115 include <kernel-features.h>.
17116 [!__NR_ftruncate64]: Remove conditional code.
17117 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17118 [__NR_ftruncate64]: Make code unconditional.
17119 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17121 include <kernel-features.h>.
17122 [!__NR_ftruncate64]: Remove conditional code.
17123 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17124 [__NR_ftruncate64]: Make code unconditional.
17125 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17127 * configure.in (libc_cv_fpie): Weaken to a compile test using
17128 LIBC_TRY_CC_OPTION.
17129 * configure: Regenerated.
17131 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17146 2012-05-27 David S. Miller <davem@davemloft.net>
17148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17150 (__Q_simulate_exceptions): Return void. Change to simulate
17151 exceptions by writing into the %fsr.
17152 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17153 (__Qp_handle_exceptions): Likewise.
17155 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17156 __Qp_handle_exceptions.
17157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17158 __Qp_handle_exceptions.
17159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17160 as unused and give dummy FP_RND_NEAREST initializer.
17161 (FP_INHIBIT_RESULTS): Define.
17162 (___Q_simulate_exceptions): Update declaration.
17163 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17166 as unused and give dummy FP_RND_NEAREST initializer.
17167 (__Qp_handle_exceptions): Update declaration.
17168 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17171 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17173 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17174 the temporary FPU control word.
17175 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17176 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17178 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17179 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17181 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17182 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17183 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17184 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17187 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17189 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17192 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17194 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17195 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17196 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17197 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17199 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17200 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17203 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17205 * po/h.po: Update from translation team.
17207 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17209 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17211 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17212 handling of denormals.
17213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17214 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17215 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17216 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17218 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17222 2012-05-26 Marek Polacek <polacek@redhat.com>
17225 * math/libm-test.inc (fma_test): Don't always expect underflow
17228 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17231 * elf/tst-execstack.c: Include stackinfo.h.
17232 (do_test): Adjust test case to ensure that pthread_getattr_np
17233 behaviour remains the same after marking stack executable.
17235 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17237 * sysdeps/unix/sysv/linux/kernel-features.h
17238 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17239 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17243 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17245 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17246 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17248 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17250 * configure.in: Define the default includes to being none.
17251 * configure: Regenerated.
17253 2012-05-25 Roland McGrath <roland@hack.frob.com>
17255 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17256 * sysdeps/x86_64/setjmp.S: Likewise.
17257 * sysdeps/i386/bsd-setjmp.S: Likewise.
17258 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17259 * sysdeps/i386/setjmp.S: Likewise.
17260 * sysdeps/i386/__longjmp.S: Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17262 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17264 * include/stap-probe.h: New file.
17265 * configure.in: Handle --enable-systemtap.
17266 * configure: Regenerated.
17267 * config.h.in (USE_STAP_PROBE): New #undef.
17268 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17269 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17270 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17272 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17276 to 2.4.0 where earlier.
17277 * sysdeps/unix/sysv/linux/configure: Regenerated.
17278 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17279 <kernel-features.h>.
17280 [__ASSUME_32BITUIDS]: Make code unconditional.
17281 [!__ASSUME_32BITUIDS]: Remove conditional code.
17282 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17283 <kernel-features.h>.
17284 [__ASSUME_32BITUIDS]: Make code unconditional.
17285 [!__ASSUME_32BITUIDS]: Remove conditional code.
17286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17287 [__ASSUME_32BITUIDS]: Make code unconditional.
17288 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17289 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17290 <kernel-features.h>.
17291 [__ASSUME_32BITUIDS]: Make code unconditional.
17292 [!__ASSUME_32BITUIDS]: Remove conditional code.
17293 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17294 <kernel-features.h>.
17295 [__ASSUME_32BITUIDS]: Make code unconditional.
17296 [!__ASSUME_32BITUIDS]: Remove conditional code.
17297 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17298 <kernel-features.h>.
17299 [__ASSUME_32BITUIDS]: Make code unconditional.
17300 [!__ASSUME_32BITUIDS]: Remove conditional code.
17301 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17302 <kernel-features.h>.
17303 [__ASSUME_32BITUIDS]: Make code unconditional.
17304 [!__ASSUME_32BITUIDS]: Remove conditional code.
17305 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17306 <kernel-features.h>.
17307 [__ASSUME_32BITUIDS]: Make code unconditional.
17308 [!__ASSUME_32BITUIDS]: Remove conditional code.
17309 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17310 <kernel-features.h>.
17311 [__ASSUME_32BITUIDS]: Make code unconditional.
17312 [!__ASSUME_32BITUIDS]: Remove conditional code.
17313 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17314 <kernel-features.h>.
17315 [__ASSUME_32BITUIDS]: Make code unconditional.
17316 [!__ASSUME_32BITUIDS]: Remove conditional code.
17317 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17318 <kernel-features.h>.
17319 [__ASSUME_32BITUIDS]: Make code unconditional.
17320 [!__ASSUME_32BITUIDS]: Remove conditional code.
17321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17322 <kernel-features.h>.
17323 [__ASSUME_32BITUIDS]: Make code unconditional.
17324 [!__ASSUME_32BITUIDS]: Remove conditional code.
17325 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17326 <kernel-features.h>.
17327 [__ASSUME_32BITUIDS]: Make code unconditional.
17328 [!__ASSUME_32BITUIDS]: Remove conditional code.
17329 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17330 <kernel-features.h>.
17331 [__NR_setresgid] (__setresgid): Do not declare.
17332 [__ASSUME_32BITUIDS]: Make code unconditional.
17333 [!__ASSUME_32BITUIDS]: Remove conditional code.
17334 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17335 <kernel-features.h>.
17336 [__NR_setresuid] (__setresuid): Do not declare.
17337 [__ASSUME_32BITUIDS]: Make code unconditional.
17338 [!__ASSUME_32BITUIDS]: Remove conditional code.
17339 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17340 <kernel-features.h>.
17341 [__ASSUME_32BITUIDS]: Make code unconditional.
17342 [!__ASSUME_32BITUIDS]: Remove conditional code.
17343 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17344 <kernel-features.h>.
17345 [__ASSUME_32BITUIDS]: Make code unconditional.
17346 [!__ASSUME_32BITUIDS]: Remove conditional code.
17347 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17348 <kernel-features.h>.
17349 [__ASSUME_32BITUIDS]: Make code unconditional.
17350 [!__ASSUME_32BITUIDS]: Remove conditional code.
17351 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17352 <kernel-features.h>.
17353 [__ASSUME_32BITUIDS]: Make code unconditional.
17354 [!__ASSUME_32BITUIDS]: Remove conditional code.
17355 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17356 <kernel-features.h>.
17357 [__ASSUME_32BITUIDS]: Make code unconditional.
17358 [!__ASSUME_32BITUIDS]: Remove conditional code.
17359 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17360 <kernel-features.h>.
17361 [__ASSUME_32BITUIDS]: Make code unconditional.
17362 [!__ASSUME_32BITUIDS]: Remove conditional code.
17363 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17364 <kernel-features.h>.
17365 [__ASSUME_32BITUIDS]: Make code unconditional.
17366 [!__ASSUME_32BITUIDS]: Remove conditional code.
17367 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17368 <kernel-features.h>.
17369 [__ASSUME_32BITUIDS]: Make code unconditional.
17370 [!__ASSUME_32BITUIDS]: Remove conditional code.
17371 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17372 <kernel-features.h>.
17373 [__ASSUME_32BITUIDS]: Make code unconditional.
17374 [!__ASSUME_32BITUIDS]: Remove conditional code.
17375 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17376 <kernel-features.h>.
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/kernel-features.h
17380 (__ASSUME_SETRESUID_SYSCALL): Remove.
17381 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17382 (__ASSUME_32BITUIDS): Likewise.
17383 (__ASSUME_LDT_WORKS): Likewise.
17384 (__ASSUME_O_DIRECTORY): Likewise.
17385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17386 architecture but not kernel version.
17387 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17388 (__ASSUME_MMAP2_SYSCALL): Likewise.
17389 (__ASSUME_STAT64_SYSCALL): Likewise.
17390 (__ASSUME_IPC64): Likewise.
17391 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17392 <kernel-features.h>.
17393 [__ASSUME_32BITUIDS]: Make code unconditional.
17394 [!__ASSUME_32BITUIDS]: Remove conditional code.
17395 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17396 <kernel-features.h>.
17397 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17398 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17399 132096]: Remove conditional code.
17400 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17402 <kernel-features.h>.
17403 [__ASSUME_32BITUIDS]: Make code unconditional.
17404 [!__ASSUME_32BITUIDS]: Remove conditional code.
17405 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17406 <kernel-features.h>.
17407 [__ASSUME_32BITUIDS]: Make code unconditional.
17408 [!__ASSUME_32BITUIDS]: Remove conditional code.
17409 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17410 <kernel-features.h>.
17411 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17413 (__setresgid): Do not declare.
17414 [__ASSUME_32BITUIDS]: Make code unconditional.
17415 [!__ASSUME_32BITUIDS]: Remove conditional code.
17416 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17417 <kernel-features.h>.
17418 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17420 (__setresuid): Do not declare.
17421 [__ASSUME_32BITUIDS]: Make code unconditional.
17422 [!__ASSUME_32BITUIDS]: Remove conditional code.
17423 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17424 <kernel-features.h>.
17425 [__ASSUME_32BITUIDS]: Make code unconditional.
17426 [!__ASSUME_32BITUIDS]: Remove conditional code.
17427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17428 <kernel-features.h>.
17429 [__ASSUME_32BITUIDS]: Make code unconditional.
17430 [!__ASSUME_32BITUIDS]: Remove conditional code.
17432 2012-05-25 Richard Henderson <rth@twiddle.net>
17434 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17435 dl_hwcap to ifunc resolver.
17436 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17438 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17439 dl_hwcap to ifunc resolver.
17440 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17442 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17445 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17446 for |x| <= 2**-26, not 2**-57.
17447 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17450 2012-05-24 Jeff Law <law@redhat.com>
17452 * stdio-common/Makefile (tests): Add bug25.
17453 * stdio-common/bug25.c: New test.
17455 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17458 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17459 multiple of MALLOC_ALIGNMENT in size.
17460 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17462 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17464 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17466 (FILENAME_MAX): Use macro-int-constant.
17467 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17468 (_IOFBF): Use macro-int-constant.
17469 (_IOLBF): Likewise.
17470 (_IONBF): Likewise.
17471 (SEEK_CUR): Likewise.
17472 (SEEK_END): Likewise.
17473 (SEEK_SET): Likewise.
17474 (TMP_MAX): Likewise.
17475 (EOF): Use macro-int-constant. Require < 0.
17476 (NULL): Use macro-constant. Require == 0.
17477 (stdin): Require type to be FILE *.
17478 (stdout): Likewise.
17479 (stderr): Likewise.
17480 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17481 macro-int-constant.
17482 (EXIT_SUCCESS): Likewise.
17483 (NULL): Use macro-constant. Require == 0.
17484 (RAND_MAX): Use macro-int-constant.
17485 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17486 [C99-based standards] (strtof): Require function.
17487 [C99-based standards] (strtold): Likewise.
17488 [C99-based standards] (strtoll): Likewise.
17489 [C99-based standards] (strtoull): Likewise.
17490 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17491 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17492 [ISO || ISO99 || ISO11] (math.h): Likewise.
17493 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17494 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17497 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17500 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17501 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17502 * intl/dgettext.c (DCGETTEXT): Likewise.
17503 * intl/gettext.c (DCGETTEXT): Likewise.
17504 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17505 * posix/regex_internal.h (gettext): Likewise.
17506 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17507 Remove declaration.
17508 * include/argz.h (__argz_count_internal)
17509 (__argz_stringify_internal): Remove declaration.
17510 (__argz_count, __argz_stringify): Declare hidden proto.
17511 * intl/dcgettext.c: Remove use of INTDEF.
17512 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17513 * string/argz-stringify.c: Likewise.
17514 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17515 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17516 Declare hidden proto.
17517 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17518 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17519 Declare hidden proto.
17520 * include/stdio.h (__asprintf_internal): Don't declare.
17521 (__asprintf): Don't define as macro. Declare hidden proto.
17522 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17523 (__fsetlocking): Declare hidden proto.
17524 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17525 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17527 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17528 (_IO_setlinebuf): Remove use of INTUSE.
17529 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17530 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17531 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17532 Remove declaration.
17533 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17534 (_IO_do_flush): Remove use of INTUSE.
17535 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17536 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17537 (_IO_adjust_column, _IO_least_wmarker)
17538 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17539 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17540 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17541 (_IO_default_doallocate, _IO_wdefault_doallocate)
17542 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17543 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17544 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17545 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17546 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17547 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17548 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17549 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17550 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17551 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17552 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17553 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17554 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17556 (_IO_flush_all_internal, _IO_adjust_column_internal)
17557 (_IO_default_uflow_internal, _IO_default_finish_internal)
17558 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17559 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17560 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17561 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17562 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17563 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17564 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17565 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17566 (_IO_file_close_internal, _IO_file_close_it_internal)
17567 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17568 (_IO_file_init_internal, _IO_file_attach_internal)
17569 (_IO_file_fopen_internal, _IO_file_read_internal)
17570 (_IO_file_sync_internal, _IO_file_seek_internal)
17571 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17572 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17573 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17574 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17575 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17576 (_IO_list_all_internal, _IO_link_in_internal)
17577 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17578 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17579 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17580 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17581 (_IO_do_write_internal, _IO_padn_internal)
17582 (_IO_getline_info_internal, _IO_getline_internal)
17583 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17584 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17585 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17586 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17587 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17588 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17589 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17590 with libc_hidden_ver, remove use of INTUSE.
17591 * libio/genops.c: Likewise.
17592 * libio/freopen.c: Likewise.
17593 * libio/freopen64.c: Likewise.
17594 * libio/iofclose.c: Likewise.
17595 * libio/iofdopen.c: Likewise.
17596 * libio/iofflush.c: Likewise.
17597 * libio/iofflush_u.c: Likewise.
17598 * libio/iofgets.c: Likewise.
17599 * libio/iofgets_u.c: Likewise.
17600 * libio/iofopen.c: Likewise.
17601 * libio/iofopncook.c: Likewise.
17602 * libio/iofread.c: Likewise.
17603 * libio/iofread_u.c: Likewise.
17604 * libio/ioftell.c: Likewise.
17605 * libio/iofwrite.c: Likewise.
17606 * libio/iogetline.c: Likewise.
17607 * libio/iogets.c: Likewise.
17608 * libio/iogetwline.c: Likewise.
17609 * libio/iopadn.c: Likewise.
17610 * libio/iopopen.c: Likewise.
17611 * libio/ioseekoff.c: Likewise.
17612 * libio/ioseekpos.c: Likewise.
17613 * libio/iosetbuffer.c: Likewise.
17614 * libio/iosetvbuf.c: Likewise.
17615 * libio/ioungetc.c: Likewise.
17616 * libio/ioungetwc.c: Likewise.
17617 * libio/iovdprintf.c: Likewise.
17618 * libio/iovsprintf.c: Likewise.
17619 * libio/iovsscanf.c: Likewise.
17620 * libio/memstream.c: Likewise.
17621 * libio/obprintf.c: Likewise.
17622 * libio/oldfileops.c: Likewise.
17623 * libio/oldiofclose.c: Likewise.
17624 * libio/oldiofdopen.c: Likewise.
17625 * libio/oldiofopen.c: Likewise.
17626 * libio/oldiopopen.c: Likewise.
17627 * libio/oldstdfiles.c: Likewise.
17628 * libio/putc.c: Likewise.
17629 * libio/setbuf.c: Likewise.
17630 * libio/setlinebuf.c: Likewise.
17631 * libio/stdfiles.c: Likewise.
17632 * libio/strops.c: Likewise.
17633 * libio/vasprintf.c: Likewise.
17634 * libio/vscanf.c: Likewise.
17635 * libio/vsnprintf.c: Likewise.
17636 * libio/vswprintf.c: Likewise.
17637 * libio/wfiledoalloc.c: Likewise.
17638 * libio/wfileops.c: Likewise.
17639 * libio/wgenops.c: Likewise.
17640 * libio/wmemstream.c: Likewise.
17641 * libio/wstrops.c: Likewise.
17642 * libio/__fpurge.c: Likewise.
17643 * libio/__fsetlocking.c: Likewise.
17644 * assert/assert.c: Likewise.
17645 * debug/fgets_chk.c: Likewise.
17646 * debug/fgets_u_chk.c: Likewise.
17647 * debug/fread_chk.c: Likewise.
17648 * debug/fread_u_chk.c: Likewise.
17649 * debug/gets_chk.c: Likewise.
17650 * debug/obprintf_chk.c: Likewise.
17651 * debug/vasprintf_chk.c: Likewise.
17652 * debug/vdprintf_chk.c: Likewise.
17653 * debug/vsnprintf_chk.c: Likewise.
17654 * debug/vsprintf_chk.c: Likewise.
17655 * malloc/mtrace.c: Likewise.
17656 * misc/error.c: Likewise.
17657 * misc/syslog.c: Likewise.
17658 * stdio-common/asprintf.c: Likewise.
17659 * stdio-common/fxprintf.c: Likewise.
17660 * stdio-common/getw.c: Likewise.
17661 * stdio-common/isoc99_fscanf.c: Likewise.
17662 * stdio-common/isoc99_scanf.c: Likewise.
17663 * stdio-common/isoc99_vfscanf.c: Likewise.
17664 * stdio-common/isoc99_vscanf.c: Likewise.
17665 * stdio-common/isoc99_vsscanf.c: Likewise.
17666 * stdio-common/printf-prs.c: Likewise.
17667 * stdio-common/printf_fp.c: Likewise.
17668 * stdio-common/printf_fphex.c: Likewise.
17669 * stdio-common/printf_size.c: Likewise.
17670 * stdio-common/putw.c: Likewise.
17671 * stdio-common/scanf.c: Likewise.
17672 * stdio-common/sprintf.c: Likewise.
17673 * stdio-common/tmpfile.c: Likewise.
17674 * stdio-common/vfprintf.c: Likewise.
17675 * stdio-common/vfscanf.c: Likewise.
17676 * stdlib/strfmon_l.c: Likewise.
17677 * sunrpc/openchild.c: Likewise.
17678 * sunrpc/xdr_stdio.c: Likewise.
17679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17680 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17682 2012-05-24 Roland McGrath <roland@hack.frob.com>
17684 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17686 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17687 in the third column, to generate for the shared library an IFUNC
17688 that uses _dl_vdso_vsym.
17689 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17690 * Makeconfig (object-suffixes-noshared): New variable.
17692 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17693 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17694 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17695 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17698 * include/sys/time.h (__gettimeofday): Remove macro.
17699 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17700 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17702 (__gettimeofday): Add libc_hidden_def.
17703 (gettimeofday): Add libc_hidden_weak.
17704 * sysdeps/mach/gettimeofday.c: Likewise.
17705 * sysdeps/posix/gettimeofday.c: Likewise.
17706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17707 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17709 (__gettimeofday_internal): Remove strong_alias.
17710 (__gettimeofday): Add libc_hidden_def.
17711 (gettimeofday): Add libc_hidden_weak.
17712 * sysdeps/unix/syscalls.list (gettimeofday):
17713 Remove __gettimeofday_internal alias.
17715 2012-05-24 Daniel Jacobowitz <drow@false.org>
17716 H.J. Lu <hongjiu.lu@intel.com>
17719 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17720 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17721 (largebin_index_32_big): New.
17722 (largebin_index): Use it for 16-byte alignment.
17723 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17724 correction with front_misalign.
17726 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17754 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17755 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17757 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17761 * math/libm-test.inc (exp_test): Add test from bug 14036.
17762 (pow_test): Add test from bug 10846.
17764 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17766 (special_function): Do not include flags in test name.
17767 (parse_args): Likewise.
17768 * sysdeps/i386/fpu/libm-test-ulps: Update.
17769 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17770 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17771 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17774 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17776 * math/libm-test.inc ("Philosophy"): Update comment about
17778 (UNDERFLOW_EXCEPTION): New macro.
17779 (UNDERFLOW_EXCEPTION_OK): Likewise.
17780 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17781 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17782 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17783 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17784 (INVALID_EXCEPTION_OK): Update value.
17785 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17786 (OVERFLOW_EXCEPTION_OK): Likewise.
17787 (IGNORE_ZERO_INF_SIGN): Likewise.
17788 (test_exceptions): Handle underflow exceptions.
17789 (acos_test): Update for underflow exception expectations.
17790 (cexp_test): Likewise.
17791 (clog_test): Likewise.
17792 (clog10_test): Likewise.
17793 (csqrt_test): Likewise.
17794 (ctan_test): Likewise.
17795 (ctanh_test): Likewise.
17796 (exp_test): Likewise.
17797 (exp10_test): Likewise.
17798 (exp2_test): Likewise.
17799 (expm1_test): Likewise.
17800 (fma_test): Likewise.
17801 (j0_test): Likewise.
17802 (jn_test): Likewise.
17803 (nexttoward_test): Likewise.
17804 (pow_test): Likewise.
17805 (scalbn_test): Likewise.
17806 (scalbln_test): Likewise.
17807 (tan_test): Likewise.
17808 (y1_test): Likewise.
17809 * sysdeps/i386/fpu/libm-test-ulps: Update.
17810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17812 2012-05-23 David S. Miller <davem@davemloft.net>
17814 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17815 (__libc_sigaction): Remove unused local variables.
17817 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17819 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17821 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17823 mktime: avoid signed integer overflow
17824 * time/mktime.c (__mktime_internal): Do not mishandle the case
17825 where diff == INT_MIN.
17827 mktime: simplify computation of average
17828 * time/mktime.c (ranged_convert): Use new time_t_avg function
17829 instead of rolling our own (probably-slower) code.
17831 mktime: do not assume signed right shift propagates sign bit
17832 * time/mktime.c (isdst_differ): New static function.
17833 (__mktime_internal): No need to normalize tm_isdst now.
17834 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17837 mktime: merge another wrapv change from gnulib
17838 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17839 from some compilers.
17841 mktime: remove incorrect attempt at unusual arithmetics
17842 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17843 The code didn't really work on such machines anyway.
17844 (TYPE_MINIMUM): Assume two's complement.
17845 (twos_complement_arithmetic): Verify that long_int and time_t
17846 are two's complement (or unsigned, in the latter case).
17848 mktime: check signed shifts on long_int and time_t, too
17849 * time/mktime.c (SHR): Check that shifts work as desired
17850 on the types long_int and time_t too, as SHR is used on
17853 mktime: do not assume 'long' is wide enough
17854 * time/mktime.c (verify): Move decl up.
17855 (long_int): New type.
17856 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17857 to remove assumption in the code that 'long' is wide enough to
17858 store year values. This assumption is not true on x32 and on
17859 some non-glibc platforms.
17861 mktime: merge wrapv change from gnulib
17862 * time/mktime.c (WRAPV): New macro.
17863 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17864 (guess_time_tm, __mktime_internal): Do not assume that signed
17865 integer overflow wraps around; modern compilers generate code
17866 where this assumption is no longer valid.
17868 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17871 Replace "jmp L(pseudo_end)" with "ret".
17872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17875 2012-05-23 Andreas Jaeger <aj@suse.de>
17877 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17878 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17880 2012-05-23 Andreas Jaeger <aj@suse.de>
17881 Maximilian Attems <max@stro.at>
17883 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17886 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17888 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17889 code so that pseudo_end is just ret and the stack pointer is
17890 correct also for static library in error case.
17892 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17894 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17895 move to syscalls.list.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17901 * manual/install.texi (Running make install): Do not mention Linux
17902 kernel version for which pt_chown is not needed.
17903 (Linux): Do not mention problems with nscd with 2.0 kernels.
17904 * INSTALL: Regenerated.
17906 2012-05-23 Andreas Jaeger <aj@suse.de>
17908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17909 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17911 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17913 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17915 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17918 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17920 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17921 * sysdeps/unix/sysv/linux/bits/in.h
17922 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17924 2012-05-22 Roland McGrath <roland@hack.frob.com>
17926 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17927 (PREPARE_VERSION): Just use assert instead, it will be elided
17928 under [NDEBUG] anyway.
17930 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17932 * sysdeps/unix/sysv/linux/Makefile: Include
17933 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17934 (sysdep_routines): Remove sysctl.
17935 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17936 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17937 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17939 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17941 2012-05-22 Andreas Jaeger <aj@suse.de>
17943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17944 that pseudo_end is just ret and the stack pointer is correct also
17945 for static library in error case.
17947 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17950 * nss/nsswitch.c (defconfig_entries): New variable.
17951 (__nss_database_lookup): Don't leak defconfig entries.
17952 (nss_parse_service_list): Don't leak on error paths.
17953 (free_database_entries): New function.
17954 (free_defconfig): New function.
17955 (free_mem): Move common code to free_database_entries.
17957 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17961 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17963 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17964 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17967 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17968 (INTERNAL_SYSCALL_TYPES): Likewise.
17969 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17970 (LOAD_REGS_TYPES_[1-6]): Likewise.
17971 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17972 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17974 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17976 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17977 copysignl for GLIBC_2_0.
17978 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17979 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17981 logbl for GLIBC_2_0.
17982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17983 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17985 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17987 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17990 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17993 * time/mktime.c: Update copyright years.
17995 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17997 mktime: merge comment-quoting-style change from gnulib
17998 * time/mktime.c: Quote 'like this' in comments.
17999 The GNU coding standards suggest that we no longer quote `like this',
18000 as "`" and "'" are typically rendered asymmetrically nowadays.
18001 The typical gnulib style is to quote 'like this' when quoting
18002 code, and "like this" when quoting English.
18004 * time/mktime.c (compile-command): Add "-I.".
18006 mktime: merge mktime-internal.h change from gnulib
18007 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18009 mktime: merge time_r change from gnulib
18010 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18012 mktime: merge DEBUG change from gnulib
18013 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18014 case system <time.h> has a #define.
18016 mktime: merge <sys/types.h> change from gnulib
18017 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18018 since <time.t> is now guaranteed to define time_t.
18020 mktime: merge HAVE_CONFIG_H change from gnulib
18021 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18023 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18028 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18030 (struct rusage): Use anonymous union to pad each field to
18033 2012-05-21 David S. Miller <davem@davemloft.net>
18035 * Makefules (o-iterator): Remove .s cases.
18036 (compile-command.s): Delete.
18037 (COMPILE.s): Delete.
18038 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18040 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18042 * configure.in (libc_cv_predef_stack_protector): Only consider
18043 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18044 * configure: Regenerated.
18046 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18049 New macro. Use R*LP on int and pointer.
18050 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18051 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18052 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18053 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18055 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18056 [__WORDSIZE_TIME64_COMPAT32] instead of
18057 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18058 (struct utmp): Likewise.
18059 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18060 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18062 (__WORDSIZE_TIME64_COMPAT32): This.
18063 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18064 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18065 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18066 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18067 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18068 (__WORDSIZE_TIME64_COMPAT32): New macro.
18070 2012-05-21 Andreas Jaeger <aj@suse.de>
18072 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18073 only if [SHARED]. Add prototype for __wcschr_ia32.
18075 2012-05-21 Roland McGrath <roland@hack.frob.com>
18077 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18078 of %rbp unmolested in the jmp_buf while mangling the low bits.
18079 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18080 unmolested high bits of %rbp while demangling the low bits.
18081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18083 2012-05-21 Andreas Jaeger <aj@suse.de>
18085 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18086 * sunrpc/svc_simple.c: Use it for registerrpc.
18087 * sunrpc/xcrypt.c: Use it for passwd2des.
18089 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18091 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18093 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18094 Don't define if [__SYSCALL_WORDSIZE != 32].
18095 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18098 2012-05-21 Bruno Haible <bruno@clisp.org>
18099 Andreas Jaeger <aj@suse.de>
18101 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18102 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18103 inptr and inend for must_buffer_ch.
18104 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18105 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18106 * stdio-common/Makefile (tests): Remove bug15.
18107 (bug15-ENV): Remove macro.
18108 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18111 2012-05-19 Andreas Jaeger <aj@suse.de>
18112 Roland McGrath <roland@hack.frob.com>
18114 * manual/contrib.texi: Completely rewritten. It contains now an
18115 alphabetical list of contributors and their contributions.
18117 2012-05-21 Richard Henderson <rth@twiddle.net>
18119 * misc/getauxval.c (__getauxval): Use unsigned long int.
18120 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18121 (getauxval): Use unsigned long int.
18123 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18125 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18127 2012-05-21 Roland McGrath <roland@hack.frob.com>
18129 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18130 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18131 __alignof__ (long double).
18133 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18137 2012-05-20 Richard Henderson <rth@twiddle.net>
18139 * misc/getauxval.c: New file.
18140 * misc/sys/auxv.h: New file.
18141 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18142 (routines): Add getauxval.
18143 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18144 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18145 * elf/dl-sysdep.c (_dl_auxv): Remove.
18146 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18147 * elf/dl-support.c (_dl_auxv): New variable.
18148 (_dl_aux_init): Initialize it.
18149 * manual/startup.texi (Auxiliary Vector): New node.
18150 * sysdeps/generic/bits/hwcap.h: New file.
18151 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18152 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18153 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18154 * sysdeps/sparc/sysdep.h: ... here. Include it.
18155 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18168 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18172 2012-05-19 David S. Miller <davem@davemloft.net>
18174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18176 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18179 * math/s_ccosh.c: Include <float.h>
18180 (__ccosh): Avoid internal overflow calculating sinh and cosh
18181 values before multiplying by sin and cos values.
18182 * math/s_ccoshf.c: Likewise.
18183 * math/s_ccoshl.c: Likewise.
18184 * math/s_csin.c: Likewise.
18185 * math/s_csinf.c: Likewise.
18186 * math/s_csinl.c: Likewise.
18187 * math/s_csinh.c: Likewise.
18188 * math/s_csinhf.c: Likewise.
18189 * math/s_csinhl.c: Likewise.
18190 * math/libm-test.inc (ccos_test): Add more tests.
18191 (ccosh_test): Likewise.
18192 (csin_test): Likewise.
18193 (csinh_test): Likewise.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18197 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18199 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18200 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18202 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18204 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18206 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18207 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18208 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18209 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18210 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18211 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18212 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18213 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18214 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18215 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18216 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18217 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18218 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18219 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18220 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18221 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18222 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18223 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18224 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18225 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18226 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18227 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18228 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18229 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18230 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18231 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18232 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18233 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18234 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18235 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18236 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18238 2012-05-18 Andreas Jaeger <aj@suse.de>
18240 * csu/.gitignore: Delete.
18242 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18244 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18245 (timex): Use __syscall_slong_t.
18247 2012-05-18 Andreas Jaeger <aj@suse.de>
18248 Carlos O'Donell <carlos_odonell@mentor.com>
18250 * manual/install.texi (Configuring and compiling): Update
18251 description about files modified in the source directory.
18252 * INSTALL: Regenerated.
18254 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18256 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18257 value. Use "or" to set return value to -1.
18258 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18259 negate return value.
18261 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18263 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18264 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18265 failure if the compiler has Graphite support disabled.
18266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18268 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18269 CFLAGS-memmove.c): Likewise.
18270 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18273 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18275 * sysdeps/x86_64/x32/_itoa.h: New file.
18277 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18278 getdents system call only if kernel and user dirents have the
18279 same d_ino and d_off.
18281 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18282 LLONG_MAX != LONG_MAX.
18283 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18284 (_fitoa_word): Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18288 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18289 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18293 include <bits/wordsize.h>. Check __x86_64__ instead of
18295 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18296 if __x86_64__ is defined. Use anonymous union on fpstate.
18298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18301 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18303 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18304 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18305 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18306 Refer to _rtld_local_ro instead of _rtld_global_ro.
18307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18309 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18311 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18313 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18314 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18315 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18317 * sysdeps/powerpc/powerpc32/dl-machine.c
18318 (__elf_machine_runtime_setup) [PROF]: Don't reference
18321 2012-05-18 Andreas Jaeger <aj@suse.de>
18323 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18324 function only available for GCCs before 3.4 since GCC 3.4
18325 introduced a builtin.
18327 (llrintf): Likewise.
18328 (llrint): Likewise.
18335 (nearbyint): Likewise.
18336 (nearbyintf): Likewise.
18340 (floorf): Likewise.
18342 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18344 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18345 on both fields and cast pointer to __syscall_ulong_t.
18347 * bits/types.h (__fsword_t): New type.
18348 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18349 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18351 (__FSWORD_T_TYPE): Likewise.
18352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18353 (__FSWORD_T_TYPE): Likewise.
18354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18355 (__FSWORD_T_TYPE): Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18357 (__FSWORD_T_TYPE): Likewise.
18358 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18359 __SWORD_TYPE with __fsword_t.
18360 (statfs64): Likewise.
18362 2012-05-17 David S. Miller <davem@davemloft.net>
18364 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18366 2012-05-17 Andreas Jaeger <aj@suse.de>
18368 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18371 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18373 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18375 2012-05-17 Andreas Jaeger <aj@suse.de>
18377 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18380 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18382 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18384 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18386 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18387 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18389 2012-05-17 Andreas Jaeger <aj@suse.de>
18390 Carlos O'Donell <carlos_odonell@mentor.com>
18393 * sysdeps/x86_64/multiarch/init-arch.h
18394 (bit_YMM_Usable): Rename to...
18395 (bit_AVX_Usable): ... this.
18396 (bit_FMA4_Usable): New macro.
18397 (bit_XMM_state): New macro.
18398 (bit_YMM_state): New macro.
18399 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18400 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18401 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18402 (CPUID_OSXSAVE): New macro.
18403 (CPUID_AVX): New macro.
18404 (CPUID_FMA4): New macro.
18405 (index_YMM_Usable): Rename to...
18406 (index_AVX_Usable): ... this.
18407 (HAS_AVX): Use HAS_ARCH_FEATURE.
18408 (HAS_FMA4): Likewise.
18409 (HAS_YMM_USABLE): Remove.
18410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18411 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18413 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18414 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18415 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18416 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18417 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18419 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18421 * math/libm-test.c: Support platforms without multiple rounding modes.
18422 * math/bug-nextafter.c: Support platforms without FP exceptions.
18423 * math/bug-nexttoward.c: Likewise.
18424 * math/test-fenv.c: Likewise.
18425 * math/test-misc.c: Likewise.
18426 * stdlib/bug-getcontext.c: Likewise.
18428 2012-05-17 Andreas Jaeger <aj@suse.de>
18430 * manual/examples/search.c (critter_cmp): Change signature to
18432 * manual/string.texi (Collation Functions): Likewise.
18434 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18436 * bits/types.h: Fold copyright years.
18437 * bits/typesizes.h: Likewise.
18438 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18442 * time/time.h: Likewise.
18444 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18447 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18448 in instead of returning them. Return void.
18449 (__libc_mallinfo): Accumulate over all arenas.
18450 (__malloc_stats): Adjust for change in int_mallinfo interface.
18452 2012-05-16 Roland McGrath <roland@hack.frob.com>
18455 * configure.in (NM): Add AC_CHECK_TOOL for it.
18456 (libc_extra_cflags): New substituted variable.
18457 Check for -fstack-protector being used implicitly.
18458 * configure: Regenerated.
18459 * config.make.in (config-extra-cflags): New variable,
18460 gets @libc_extra_cflags@.
18461 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18464 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18465 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18466 * configure: Regenerated.
18467 * config.make.in (CPPUNDEFS): New substituted variable.
18468 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18469 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18470 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18472 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18474 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18475 (mq_attr): Use __syscall_slong_t.
18477 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18480 Check __x86_64__ instead of __WORDSIZE.
18481 (_STAT_VER_LINUX): Likewise.
18482 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18483 __syscall_ulong_t and __syscall_slong_t.
18484 (stat64): Likewise.
18486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18492 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18494 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18496 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18499 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18500 include <bits/wordsize.h>. Check __x86_64__ instead of
18502 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18504 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18506 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18507 include <bits/wordsize.h>. Check __x86_64__ instead of
18509 (user_regs_struct): Use "__extension__ unsigned long long"
18510 instead of "unsigned long" if __x86_64__ is defined.
18511 (user): Likewise. Pad after pointer field if __ILP32__ is
18514 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18516 * configure.in (makeinfo): Require version 4.5 or later. Allow
18518 * configure: Regenerated.
18519 * manual/install.texi (texinfo): Increase version requirement to
18521 * INSTALL: Regenerated.
18523 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18527 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18529 * sysdeps/x86_64/x32/ffs.c: New file.
18531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18533 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18534 defined. Use __syscall_ulong_t.
18535 (shminfo): Use __syscall_ulong_t.
18536 (shm_info): Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18543 (msgqnum_t): Use __syscall_ulong_t.
18544 (msglen_t): Likewise.
18545 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18548 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18551 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18553 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18554 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18556 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18560 include <bits/wordsize.h>. Check __x86_64__ instead of
18563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18564 "unsigned long long int" if __x86_64__ is defined.
18565 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18567 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18568 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18569 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18571 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18573 (GET_PC): Cast to uintptr_t first.
18574 (GET_FRAME): Likewise.
18575 (GET_STACK): Likewise.
18577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18585 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18586 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18590 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18596 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18598 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18604 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18607 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18609 * Makerules (+depfiles): Also collect depfiles from .oS in
18611 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18612 .oS, $(libnldbl-routines)).
18614 * Makerules (native-compile-mkdep-flags): Define.
18615 * sunrpc/Makefile (extra-objs): Add $(addprefix
18616 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18617 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18618 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18619 calling $(make-target-directory).
18621 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18623 * bits/types.h (__snseconds_t): Removed.
18624 * time/time.h (struct timespec): Replace __snseconds_t with
18626 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18627 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18630 (__SNSECONDS_T_TYPE): Likewise.
18631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18632 (__SNSECONDS_T_TYPE): Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18634 (__SNSECONDS_T_TYPE): Likewise.
18636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18638 * sysdeps/mach/hurd/bits/typesizes.h
18639 (__SYSCALL_SLONG_TYPE): New macro.
18640 (__SYSCALL_ULONG_TYPE): Likewise.
18642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18644 * bits/types.h (__syscall_slong_t): New type.
18645 (__syscall_ulong_t): Likewise.
18647 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18648 (__SYSCALL_ULONG_TYPE): Likewise.
18649 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18650 (__SYSCALL_SLONG_TYPE): Likewise.
18651 (__SYSCALL_ULONG_TYPE): Likewise.
18652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18653 (__SYSCALL_SLONG_TYPE): Likewise.
18654 (__SYSCALL_ULONG_TYPE): Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18656 (__SYSCALL_SLONG_TYPE): Likewise.
18657 (__SYSCALL_ULONG_TYPE): Likewise.
18659 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18661 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18662 Add sigaltstack-offsets.sym.
18663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18664 <sigaltstack-offsets.h>.
18665 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18666 longjmp_msg pointer.
18667 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18668 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18670 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18672 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18674 * elf/stackguard-macros.h: Remove file.
18675 * sysdeps/generic/stackguard-macros.h: New file.
18676 * sysdeps/i386/stackguard-macros.h: Likewise.
18677 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18678 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18679 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18680 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18681 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18682 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18683 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18684 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18685 <elf/stackguard-macros.h>.
18688 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18689 __aligned__ in attribute.
18690 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18691 (gregset_t): Likewise.
18693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18695 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18696 * sysdeps/x86_64/64/Implies-after: Here. New file.
18697 * sysdeps/x86_64/x32/Implies-after: New file.
18699 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18701 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18702 and access return value for _dl_profile_fixup. Use R10_LP to
18705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18711 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18712 * sysdeps/x86_64/x32/sysdep.h: New file.
18714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18716 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18717 * sysdeps/x86_64/setjmp.S: Likewise.
18719 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18721 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18723 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18725 remove unused global constant.
18727 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18729 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18730 include of <not-cancel.h>.
18732 2012-05-15 Roland McGrath <roland@hack.frob.com>
18734 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18736 2012-05-15 Jeff Law <law@redhat.com>
18737 Andreas Jaeger <aj@suse.de>
18740 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18742 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18743 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18745 code changing __hst_map_handle.map.
18747 2012-05-15 Roland McGrath <roland@hack.frob.com>
18749 * configure.in (sysnames): Look for Implies-before and Implies-after
18751 * configure: Regenerated.
18753 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18755 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18756 8-byte data alignment with LP_SIZE alignment.
18758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18765 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18777 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18778 (stackinfo_sub_sp): Likewise.
18780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18792 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18797 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18801 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18802 into R11_LP and load __x86_64_shared_cache_size_half into
18805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18807 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18810 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18814 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18819 powerpc32/power7/fpu/s_logb.c via #include.
18820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18821 powerpc32/power7/fpu/s_logbf.c via #include.
18822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18823 powerpc32/power7/fpu/s_logbl.c via #include.
18825 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18827 * README.libm: Remove file.
18829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18831 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18832 count for x32. Use R*_LP and omit operand-size suffix.
18834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18836 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18837 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18838 * sysdeps/x86_64/x32/shlib-versions: New file.
18840 2012-05-14 Roland McGrath <roland@hack.frob.com>
18842 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18843 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18844 Use _dl_fatal_printf instead.
18846 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18848 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18849 set if not set by the user. Do not allow for being unset.
18850 * sysdeps/unix/sysv/linux/configure: Regenerated.
18852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18855 the `q' suffix from lea and replace .quad with ASM_ADDR.
18857 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18860 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18862 (PTR_DEMANGLE): Likewise.
18864 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18866 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18868 (ASM_ADDR): Likewise.
18869 (RAX_LP): Likewise.
18870 (RBP_LP): Likewise.
18871 (RBX_LP): Likewise.
18872 (RCX_LP): Likewise.
18873 (RDI_LP): Likewise.
18874 (RSI_LP): Likewise.
18875 (RSP_LP): Likewise.
18878 (R10_LP): Likewise.
18879 (R10_LP): Likewise.
18880 (R11_LP): Likewise.
18881 (R12_LP): Likewise.
18882 (R13_LP): Likewise.
18883 (R14_LP): Likewise.
18884 (R15_LP): Likewise.
18886 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18888 * sysdeps/x86_64/x32/dl-machine.h: New file.
18890 2012-05-14 Andreas Jaeger <aj@suse.de>
18892 * manual/Makefile (subdir): Remove export of subdir.
18893 (all): Remove target.
18894 (.PHONY): Remove all from list.
18895 (mkinstalldirs): Remove.
18896 (.PHONY): Remove installdirs from list.
18897 ($(inst_infodir)/libc.info): Use make-target-directory.
18898 (installdirs): Remove.
18899 (subdir_%): Remove.
18900 (glibc-targets): Remove.
18903 ($(objpfx)stubs ../po/manual.pot): Remove.
18904 ($(objpfx)stamp%): Remove.
18905 (make-target-directory): Remove.
18906 (subdir_install): Remove.
18907 (routines): Remove.
18914 * manual/.gitignore: Remove, it's not needed anymore.
18915 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18917 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18919 (texis): Renamed to $(objpfx)texis.
18920 (texis-path): New, contains path to generated files.
18921 (chapters.%): Use texis-path for complete path, add extra argument
18923 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18924 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18925 (summary,texi, stamp-summary): Use complete path of
18926 files. Generate files in build dir.
18927 (dir-add.texi): Build in build dir.
18928 (libm-err.texi,stamp-libm-err): Likewise.
18929 (version.texi, stamp-version): Likewise.
18930 (.%c.texi): Likewise.
18931 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18932 (mostlyclean): Remove target.
18933 (realclean): Remove target.
18934 (generated): Add new variable with contents from mostlyclean and
18935 realclean, remove entries duplicated in common-mostlyclean, add
18936 stamp-libm-err and stamp-version.
18937 (generated-dirs): Add libc directory.
18938 ($(inst_infodir)/libc.info): Install files from build dir.
18940 * manual/install.texi (Configuring and compiling): Adjust since
18941 the info files are not part of the tar ball anymore.
18943 2012-05-14 Andreas Jaeger <aj@suse.de>
18945 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18948 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18951 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18952 to 2.2.0 where earlier.
18953 * sysdeps/unix/sysv/linux/configure: Regenerated.
18954 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18955 Remove conditional code.
18956 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18957 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18958 Remove conditional code.
18959 [!__NR_lchown]: Likewise.
18960 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18961 [__NR_lchown]: Likewise.
18962 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18963 comment referencing __ASSUME_LCHOWN_SYSCALL.
18964 * sysdeps/unix/sysv/linux/i386/sigaction.c
18965 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18966 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18967 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18968 Remove conditional code.
18969 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18970 (__protocol_available): Remove #if 0 code.
18971 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18973 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18974 * sysdeps/unix/sysv/linux/kernel-features.h
18975 (__ASSUME_GETCWD_SYSCALL): Don't define.
18976 (__ASSUME_REALTIME_SIGNALS): Likewise.
18977 (__ASSUME_PREAD_SYSCALL): Likewise.
18978 (__ASSUME_PWRITE_SYSCALL): Likewise.
18979 (__ASSUME_POLL_SYSCALL): Likewise.
18980 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18981 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18983 (__ASSUME_SIOCGIFNAME): Don't define.
18984 (__ASSUME_MSG_NOSIGNAL): Likewise.
18985 (__ASSUME_SENDFILE): Define unconditionally.
18986 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18987 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18989 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18990 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18991 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18992 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18993 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18994 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18995 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19009 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19012 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19015 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19016 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19018 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19021 Remove conditional code.
19022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19023 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19024 Remove conditional code.
19025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19026 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19027 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19028 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19029 Remove conditional code.
19030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19031 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19032 Remove conditional code.
19033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19034 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19035 Remove conditional code.
19036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19037 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19038 Remove conditional code.
19039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19040 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19041 Remove conditional code.
19042 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19043 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19046 * sysdeps/unix/sysv/linux/sigaction.c
19047 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19048 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19049 * sysdeps/unix/sysv/linux/sigpending.c
19050 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19051 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19052 * sysdeps/unix/sysv/linux/sigprocmask.c
19053 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19054 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19055 * sysdeps/unix/sysv/linux/sigsuspend.c
19056 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19057 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19059 (__libc_missing_rt_sigs): Remove.
19060 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19061 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19062 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19063 Remove conditional code.
19064 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19065 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19068 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19069 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19070 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19072 2012-05-14 Andreas Jaeger <aj@suse.de>
19074 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19075 it's not used in glibc.
19076 (__coshm1): Likewise.
19077 (__acosh1p): Likewise.
19080 * manual/string.texi (Copying and Concatenation): Add missing
19081 variable in concat example.
19082 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19088 __builtin_clzl with __builtin_clzll.
19090 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19093 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19096 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19098 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19099 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19100 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19103 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19105 * NEWS: Update ia64 info.
19107 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19109 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19112 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19114 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19115 * sysdeps/unix/syscalls.list (dup3): Likewise.
19116 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19117 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19119 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19121 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19122 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19124 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19126 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19128 (TLS_IE): Use mov/add instead of movq/addq to load thread
19130 (TLS_GD_PREFIX): New.
19133 2012-05-11 David S. Miller <davem@davemloft.net>
19135 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19136 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19137 (_FPU_SETCW): Likewise.
19139 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19141 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19142 is 32-byte aligned.
19144 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19147 * iconvdata/gb18030.c: Update tables.
19148 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19149 characters specially.
19150 (BODY for TO_LOOP): Add encoding of missing ranges.
19152 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19155 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19156 * sysdeps/mach/hurd/dup3.c: Likewise.
19157 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19158 * sysdeps/powerpc/memmove.c:: Likewise.
19160 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19163 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19165 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19167 * elf/elf.h (R_X86_64_RELATIVE64): New.
19168 (R_X86_64_NUM): Updated.
19169 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19170 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19171 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19172 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19173 tst-quad1pie tst-quad2pie
19174 (modules-names): Add tst-quadmod1 tst-quadmod2.
19175 ($(objpfx)tst-quad1): New dependency.
19176 ($(objpfx)tst-quad2): Likewise.
19177 ($(objpfx)tst-quad1pie): Likewise.
19178 ($(objpfx)tst-quad2pie): Likewise.
19179 * sysdeps/x86_64/tst-quad1.c: New file.
19180 * sysdeps/x86_64/tst-quad1pie.c: New file.
19181 * sysdeps/x86_64/tst-quad2.c: Likewise.
19182 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19183 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19184 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19185 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19186 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19190 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19191 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19192 * streams/stropts.h (t_scalar_t): Define type.
19194 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19195 (_PATH_PRESERVE): Set to "/var/lib".
19196 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19198 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19201 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19202 if __dir_mkfile succeeded.
19204 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19205 checking for _hurd_dtablesize. Unlock it right after having
19206 finished _hurd_dtable allocation.
19208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19210 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19211 * sysdeps/mach/hurd/configure: Regenerated.
19212 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19213 special-casing to...
19214 * sysdeps/gnu/configure.in: ... this new file.
19215 * sysdeps/unix/sysv/linux/configure: Regenerated.
19216 * sysdeps/gnu/configure: New generated file.
19218 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19219 for Linux: use nsec instead of usec, as well as:
19220 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19221 members of type struct timespec.
19222 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19224 (struct stat64): Likewise.
19225 (_STATBUF_ST_NSEC): New macro.
19226 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19228 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19229 __strtoul_internal rather than strtoul.
19231 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19233 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19238 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19239 which preserves existing values.
19240 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19242 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19244 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19245 TIMEOUT values. Return EINVAL for NFDS values either negative or
19246 greater than FD_SETSIZE.
19248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19250 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19251 allocated, call __vm_protect to finish enabling the existing space, and
19252 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19253 allocate the remainder.
19255 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19257 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19258 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19260 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19262 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19263 sysdeps/mach/hurd/readlink.c.
19265 * posix/tst-sysconf.c (posix_options): Only use
19266 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19267 _POSIX_SYNCHRONIZED_IO when they are defined
19268 * sysdeps/mach/hurd/bits/posix_opt.h:
19269 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19270 (_XOPEN_REALTIME): Undefine macro.
19271 (_XOPEN_REALTIME_THREADS): Undefine macro.
19272 (_XOPEN_SHM): Undefine macro.
19273 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19275 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19277 (_POSIX_ASYNC_IO): Undefine macro.
19278 (_POSIX_PRIORITIZED_IO): Undefine macro.
19279 (_POSIX_SPIN_LOCKS): Define macro to -1.
19281 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19282 SA_NODEFER, SA_RESETHAND.
19283 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19284 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19289 * elf/Makefile (pldd-modules): Define unconditionally.
19291 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19293 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19297 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19298 Return ENOENT when name is empty.
19299 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19303 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19305 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19309 Fix mlock in all cases except non-readable pages.
19310 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19311 instead of VM_PROT_ALL as parameter to __vm_wire function.
19313 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19314 (__mkdir): When path is `/', just fail with EEXIST.
19315 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19317 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19319 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19320 <sys/uio.h> (for writev).
19321 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19322 and <sys/param.h> (for MIN).
19324 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19326 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19327 REQUESTED_TIME. Properly set the remaining time and return EINTR
19330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19332 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19333 Depend on against $(link-rpcuserlibs).
19335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19337 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19338 (__libc_stack_end): Do not use attribute_relro.
19339 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19340 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19341 to libthread-provided value.
19342 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19348 * bits/libc-lock.h (__libc_once_get): New macro.
19349 * sysdeps/mach/bits/libc-lock.h: Likewise.
19350 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19352 instead of using implementation details.
19354 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19355 * libio/freopen.c: Likewise.
19356 * libio/freopen64.c: Likewise.
19357 * misc/syslog.c: Likewise.
19358 * nscd/connections.c: Likewise.
19359 * nscd/netgroupcache.c: Likewise.
19360 * sysdeps/posix/getcwd.c: Likewise.
19362 2012-05-10 Roland McGrath <roland@hack.frob.com>
19364 * math/w_ilogbf.c: Add #include <limits.h>.
19366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19368 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19369 path instead of returning without unlocking.
19371 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19372 immediate-write ioctls.
19373 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19377 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19378 __builtin_frame_address instead of making assumptions about the
19379 location of the return address relative to DATA. Force early load of
19380 the return address.
19381 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19382 __builtin_frame_address.
19385 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19386 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19387 implement dup3 and do some further code clean-ups.
19388 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19389 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19393 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19395 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19396 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19397 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19398 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19399 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19402 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19403 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19404 when handler == SIG_ERR, not when handler != SIG_ERR.
19406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19408 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19409 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19412 accept4 for GNU Hurd.
19413 * include/sys/socket.h (__libc_accept4): New prototype.
19414 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19415 to implement __libc_accept4.
19416 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19420 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19421 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19422 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19423 signal-defines.sym.
19425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19427 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19431 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19432 assertion on O_CLOEXEC flag.
19433 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19434 * hurd/intern-fd.c: Likewise.
19435 * hurd/port2fd.c: Likewise.
19437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19440 * bits/in.h (IPV6_PKTINFO): Define new macro.
19441 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19443 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19448 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19450 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19451 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19453 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19454 * math/libm-test.inc (logb_test) : Additional logb tests.
19456 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19457 Andreas Jaeger <aj@suse.de>
19459 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19460 * configure: Regenerated.
19461 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19462 * config.make.in (link-obsolete-rpc): New substituted variable.
19463 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19464 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19465 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19466 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19467 so that libc.a contains the symbols.
19468 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19469 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19470 * sunrpc/auth_none.c: Likewise.
19471 * sunrpc/auth_unix.c: Likewise.
19472 * sunrpc/authdes_prot.c: Likewise.
19473 * sunrpc/authuxprot.c: Likewise.
19474 * sunrpc/clnt_gen.c: Likewise.
19475 * sunrpc/clnt_perr.c: Likewise.
19476 * sunrpc/clnt_raw.c: Likewise.
19477 * sunrpc/clnt_simp.c: Likewise.
19478 * sunrpc/clnt_tcp.c: Likewise.
19479 * sunrpc/clnt_udp.c: Likewise.
19480 * sunrpc/clnt_unix.c: Likewise.
19481 * sunrpc/des_crypt.c: Likewise.
19482 * sunrpc/des_soft.c: Likewise.
19483 * sunrpc/get_myaddr.c: Likewise.
19484 * sunrpc/key_call.c: Likewise.
19485 * sunrpc/key_prot.c: Likewise.
19486 * sunrpc/netname.c: Likewise.
19487 * sunrpc/pm_getmaps.c: Likewise.
19488 * sunrpc/pm_getport.c: Likewise.
19489 * sunrpc/pmap_clnt.c: Likewise.
19490 * sunrpc/pmap_prot.c: Likewise.
19491 * sunrpc/pmap_prot2.c: Likewise.
19492 * sunrpc/pmap_rmt.c: Likewise.
19493 * sunrpc/publickey.c: Likewise.
19494 * sunrpc/rpc_cmsg.c: Likewise.
19495 * sunrpc/rpc_common.c: Likewise.
19496 * sunrpc/rpc_dtable.c: Likewise.
19497 * sunrpc/rpc_prot.c: Likewise.
19498 * sunrpc/rpc_thread.c: Likewise.
19499 * sunrpc/rtime.c: Likewise.
19500 * sunrpc/svc.c: Likewise.
19501 * sunrpc/svc_auth.c: Likewise.
19502 * sunrpc/svc_raw.c: Likewise.
19503 * sunrpc/svc_run.c: Likewise.
19504 * sunrpc/svc_tcp.c: Likewise.
19505 * sunrpc/svc_udp.c: Likewise.
19506 * sunrpc/svc_unix.c: Likewise.
19507 * sunrpc/svcauth_des.c: Likewise.
19508 * sunrpc/xcrypt.c: Likewise.
19509 * sunrpc/xdr.c: Likewise.
19510 * sunrpc/xdr_array.c: Likewise.
19511 * sunrpc/xdr_float.c: Likewise.
19512 * sunrpc/xdr_intXX_t.c: Likewise.
19513 * sunrpc/xdr_mem.c: Likewise.
19514 * sunrpc/xdr_rec.c: Likewise.
19515 * sunrpc/xdr_ref.c: Likewise.
19516 * sunrpc/xdr_sizeof.c: Likewise.
19517 * sunrpc/xdr_stdio.c: Likewise.
19519 2012-05-10 Roland McGrath <roland@hack.frob.com>
19521 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19522 change. Update copyright years.
19524 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19526 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19528 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19529 Joseph Myers <joseph@codesourcery.com>
19530 Paul Pluzhnikov <ppluzhnikov@google.com>
19533 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19535 [cross-compiling] (extra-libs): Likewise.
19536 [cross-compiling] (extra-libs-others): Likewise.
19537 [cross-compiling] (librpcsvc-routines): Likewise.
19538 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19539 [cross-compiling] (omit-deps): Likewise.
19540 (sunrpc-CPPFLAGS): New variable.
19541 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19542 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19543 (cross-rpcgen-objs): New variable.
19544 (extra-objs): Append $(cross-rpcgen-objs).
19545 ($(cross-rpcgen-objs)): New rule.
19546 ($(objpfx)cross-rpcgen): Likewise.
19547 (rpcgen-cmd): Define to use $(built-program-file). Expand
19549 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19550 ($(objpfx)x%.stmp): Likewise.
19551 * sunrpc/proto.h [IS_IN_build] (_): Define.
19552 [IS_IN_build] (_libc_intl_domainname): Likewise.
19554 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19556 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19557 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19558 and R_X86_64_TPOFF64.
19560 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19563 sysdeps/unix/sysv/syscalls.list.
19566 * sysdeps/unix/sysv/syscalls.list: Remove file.
19568 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19571 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19572 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19573 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19574 (__LC_IDENTIFICATION): Make these macros useful in #if
19575 expressions, as required by C99.
19577 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19579 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19580 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19583 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19585 * stdlib/longlong.h: Updated from GCC.
19587 2012-05-09 Andreas Jaeger <aj@suse.de>
19589 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19590 default is first entry.
19591 (run_mode): Set type.
19592 (main): Remove informal message about syslog.
19593 (options): Fix typo.
19596 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19599 (llrintf): Likewise.
19600 (llrint): Likewise.
19603 (nearbyint): Likewise.
19604 (nearbyintf): Likewise.
19606 2012-05-09 Andreas Jaeger <aj@suse.de>
19607 Pedro Alves <palves@redhat.com>
19609 * nscd/nscd.c (run_mode): Use enum.
19610 (main): Cleanup coding style issue.
19612 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19613 Andreas Jaeger <aj@suse.de>
19615 * nscd/nscd.c (go_background): Replaced with...
19616 (run_mode): ... this.
19617 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19618 (options): Add -F --foreground.
19619 (main): Implement it.
19620 (parse_opt): Parse it.
19622 2012-05-09 Andreas Jaeger <aj@suse.de>
19625 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19626 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19627 -Wconversion warning.
19628 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19631 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19633 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19635 (LC_ALL): Use macro-int-constant.
19636 (LC_COLLATE): Likewise.
19637 (LC_CTYPE): Likewise.
19638 (LC_MESSAGES): Likewise.
19639 (LC_MONETARY): Likewise.
19640 (LC_NUMERIC): Likewise.
19641 (LC_TIME): Likewise.
19642 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19643 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19645 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19647 [C99-based standards] (float_t): Expect type.
19648 [C99-based standards] (double_t): Expect type.
19649 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19651 [C99-based standards] (HUGE_VALL): Likewise.
19652 [C99-based standards] (INFINITY): Likewise.
19653 [C99-based standards] (NAN): Likewise.
19654 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19655 [C99-based standards] (FP_NAN): Likewise.
19656 [C99-based standards] (FP_NORMAL): Likewise.
19657 [C99-based standards] (FP_SUBNORMAL): Likewise.
19658 [C99-based standards] (FP_ZERO): Likewise.
19659 [C99-based standards] (FP_FAST_FMA): Use
19660 optional-macro-int-constant. Specify type. Require == 1.
19661 [C99-based standards] (FP_FAST_FMAF): Likewise.
19662 [C99-based standards] (FP_FAST_FMAL): Likewise.
19663 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19664 [C99-based standards] (FP_ILOGBNAN): Likewise.
19665 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19667 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19668 [C99-based standards] (math_errhandling): Specify type.
19669 [ISO99 || ISO11] (signgam): Do not allow.
19670 [non-C99-based standards] (copysignf): Do not allow.
19671 [non-C99-based standards] (exp2f): Likewise.
19672 [non-C99-based standards] (log2f): Likewise.
19673 [non-C99-based standards] (modff): Allow.
19674 [non-C99-based standards] (erff): Do not allow.
19675 [non-C99-based standards] (erfcf): Likewise.
19676 [non-C99-based standards] (gammaf): Likewise.
19677 [non-C99-based standards] (hypotf): Likewise.
19678 [non-C99-based standards] (j0f): Likewise.
19679 [non-C99-based standards] (j1f): Likewise.
19680 [non-C99-based standards] (jnf): Likewise.
19681 [non-C99-based standards] (lgammaf): Likewise.
19682 [non-C99-based standards] (tgammaf): Likewise.
19683 [non-C99-based standards] (y0f): Likewise.
19684 [non-C99-based standards] (y1f): Likewise.
19685 [non-C99-based standards] (ynf): Likewise.
19686 [non-C99-based standards] (isnanf): Likewise.
19687 [non-C99-based standards] (acoshf): Likewise.
19688 [non-C99-based standards] (asinhf): Likewise.
19689 [non-C99-based standards] (atanhf): Likewise.
19690 [non-C99-based standards] (cbrtf): Likewise.
19691 [non-C99-based standards] (expm1f): Likewise.
19692 [non-C99-based standards] (ilogbf): Likewise.
19693 [non-C99-based standards] (log1pf): Likewise.
19694 [non-C99-based standards] (logbf): Likewise.
19695 [non-C99-based standards] (nextafterf): Likewise.
19696 [non-C99-based standards] (remainderf): Likewise.
19697 [non-C99-based standards] (rintf): Likewise.
19698 [non-C99-based standards] (scalbf): Likewise.
19699 [non-C99-based standards] (copysignl): Likewise.
19700 [non-C99-based standards] (exp2l): Likewise.
19701 [non-C99-based standards] (log2l): Likewise.
19702 [non-C99-based standards] (modfl): Allow.
19703 [non-C99-based standards] (erfl): Do not allow.
19704 [non-C99-based standards] (erfcl): Likewise.
19705 [non-C99-based standards] (gammal): Likewise.
19706 [non-C99-based standards] (hypotl): Likewise.
19707 [non-C99-based standards] (j0l): Likewise.
19708 [non-C99-based standards] (j1l): Likewise.
19709 [non-C99-based standards] (jnl): Likewise.
19710 [non-C99-based standards] (lgammal): Likewise.
19711 [non-C99-based standards] (tgammal): Likewise.
19712 [non-C99-based standards] (y0l): Likewise.
19713 [non-C99-based standards] (y1l): Likewise.
19714 [non-C99-based standards] (ynl): Likewise.
19715 [non-C99-based standards] (isnanl): Likewise.
19716 [non-C99-based standards] (acoshl): Likewise.
19717 [non-C99-based standards] (asinhl): Likewise.
19718 [non-C99-based standards] (atanhl): Likewise.
19719 [non-C99-based standards] (cbrtl): Likewise.
19720 [non-C99-based standards] (expm1l): Likewise.
19721 [non-C99-based standards] (ilogbl): Likewise.
19722 [non-C99-based standards] (log1pl): Likewise.
19723 [non-C99-based standards] (logbl): Likewise.
19724 [non-C99-based standards] (nextafterl): Likewise.
19725 [non-C99-based standards] (remainderl): Likewise.
19726 [non-C99-based standards] (rintl): Likewise.
19727 [non-C99-based standards] (scalbl): Likewise.
19728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19729 [non-C99-based standards] (FP_*): Do not allow.
19730 [C99-based standards] (FP_*): Change to
19731 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19732 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19734 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19735 (SIG_ERR): Likewise.
19736 [X/Open-based standards] (SIG_HOLD): Likewise.
19737 (SIG_IGN): Likewise.
19738 (SIGABRT): Use macro-int-constant. Specify type. Require
19740 (SIGFPE): Likewise.
19741 (SIGILL): Likewise.
19742 (SIGINT): Likewise.
19743 (SIGSEGV): Likewise.
19744 (SIGTER): Likewise.
19745 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19763 [X/Open-based standards] (SIGTRAP): Likewise.
19764 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19765 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19766 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19767 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19768 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19771 2012-05-08 Ian Wienand <ianw@vmware.com>
19774 * time/tzset.c (__tzset_parse_tz): Update default rules for
19775 daylight time changes in the Energy Policy Act of 2005.
19777 2012-05-09 Andreas Jaeger <aj@suse.de>
19780 * elf/ldconfig.c (parse_conf): Change string to make clear that
19781 ldconfig only issued a warning if ld.so.conf does not exist.
19783 2012-05-08 David S. Miller <davem@davemloft.net>
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19786 movxtod instead of popping the value on the stack.
19788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19790 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19792 * config.h.in: Add HAVE_ARM_PCS_VFP.
19794 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19797 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19798 checking but the checks are disabled for any reason.
19800 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19802 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19803 and ELF64_R_TYPE with ELFW(R_TYPE).
19805 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19807 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19808 (ulimit): Likewise.
19810 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19811 (settimeofday): Likewise.
19813 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19815 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19816 a struct th_u2 inside the union, and move tu_block/tu_code into
19817 a new th_u3 union of tu_block/tu_code inside of that. Move
19818 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19819 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19820 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19821 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19822 (th_stuff): Change to th_u1.tu_stuff.
19824 (th_msg): Change to th_u1.th_u2.tu_data.
19826 2012-05-07 David S. Miller <davem@davemloft.net>
19828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19832 (SETUP_PIC_REG): Use it.
19833 (SETUP_PIC_REG_LEAF): Use it.
19835 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19841 (EXPL_FINITE): Likewise.
19842 (FLDLOG): Likewise.
19843 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19844 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19846 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19848 (EXPL_FINITE): Likewise.
19849 (FLDLOG): Likewise.
19850 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19851 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19853 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19854 test of -max_value argument for long double.
19855 * sysdeps/i386/fpu/libm-test-ulps: Update.
19856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19858 2012-05-06 David S. Miller <davem@davemloft.net>
19860 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19861 quad soft-float symbols whose references which are compiler
19863 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19865 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19869 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19871 (EXPL_FINITE): Likewise.
19872 (FLDLOG): Likewise.
19875 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19876 Adjust comments for base varying.
19877 (__expl_finite): Change alias to EXPL_FINITE.
19878 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19880 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19881 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19883 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19886 (EXPL_FINITE): Likewise.
19887 (FLDLOG): Likewise.
19890 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19891 Adjust comments for base varying.
19892 (__expl_finite): Change alias to EXPL_FINITE.
19893 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19898 * math/libm-test.inc (check_float_internal): Correct ulp
19899 calculation for subnormal expected results.
19901 2012-05-06 Andreas Jaeger <aj@suse.de>
19903 * Makeconfig (+math-flags): New, set to -frounding-math.
19904 (+cflags): Add +math-flags so that all of glibc gets compiled with
19907 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19909 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19911 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19917 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19918 (__ieee754_expl): Allow for and saturate large arguments.
19919 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19920 (u_threshold): Likewise.
19921 (__exp): Call __ieee754_exp before checking for overflow and
19923 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19924 (u_threshold): Likewise.
19925 (__expf): Call __ieee754_expf before checking for overflow and
19927 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19928 (u_threshold): Likewise.
19929 (__expl): Call __ieee754_expl before checking for overflow and
19931 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19932 (__ieee754_expl): Allow for and saturate large arguments.
19933 * math/libm-test.inc (exp_test): Add another test. Do not allow
19934 missing overflow exception on overflow.
19935 (expm1_test): Do not allow missing overflow exception on overflow.
19937 * sysdeps/i386/fpu/e_expl.c: Move to ...
19938 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19939 rather than using inline asm.
19940 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19941 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19942 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19944 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19947 (signal): Likewise.
19951 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19953 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19954 sysdeps/unix/common/syscalls.list.
19955 (fchmod): Likewise.
19956 (fchown): Likewise.
19957 (ftruncate): Likewise.
19958 (getrusage): Likewise.
19959 (gettimeofday): Likewise.
19960 (setpgid): Likewise.
19961 (setregid): Likewise.
19962 (setreuid): Likewise.
19963 (sigaction): Likewise.
19964 (truncate): Likewise.
19965 (vhangup): Likewise.
19966 * sysdeps/unix/common/syscalls.list: Remove file.
19967 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19968 * sysdeps/unix/sysv/linux/Implies: Likewise.
19970 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19987 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19990 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19993 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20000 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20004 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20007 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20011 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20015 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20017 * sysdeps/unix/common/bits/dirent.h: Remove file.
20018 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20020 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20021 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20022 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20023 * sysdeps/unix/bsd/isatty.c: Likewise.
20024 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20025 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20026 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20028 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20031 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20032 long double comparison inaccuracies.
20033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20036 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20038 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20039 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20041 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20045 nonzero digits before rounding a hex value.
20046 * stdlib/tst-strtod.c (tests): Add another test.
20048 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20050 * sysdeps/s390/fpu/libm-test-ulps: Update.
20052 2012-05-03 Andreas Jaeger <aj@suse.de>
20054 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20055 does not get optimized out.
20056 (malloc_opt_barrier): New.
20058 2012-05-03 Andreas Jaeger <aj@suse.de>
20059 Roland McGrath <roland@hack.frob.com>
20061 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20062 intermediate file deletion.
20063 (generated): Add .symlist files.
20065 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20068 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20069 Redirect under this condition.
20070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20071 [__USE_GNU] (__dprintf_chk): Not under this condition.
20072 [__USE_GNU] (__vdprintf_chk): Likewise.
20073 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20074 under this condition.
20075 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20076 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20077 [__USE_XOPEN2K8] (vdprintf): Likewise.
20078 [__USE_GNU] (__dprintf_chk): Not under this condition.
20079 [__USE_GNU] (__vdprintf_chk): Likewise.
20080 [__USE_GNU] (dprintf): Likewise.
20081 [__USE_GNU] (vdprintf): Likewise.
20083 2012-05-03 Roland McGrath <roland@hack.frob.com>
20085 * elf/Makefile (common-generated): Set this instead of generated for
20086 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20087 $(all-built-dso)-derived lists.
20089 2012-05-03 Andreas Jaeger <aj@suse.de>
20091 * sysdeps/i386/fpu/libm-test-ulps: Update.
20094 * FAQ.in: Likewise.
20095 * scripts/gen-FAQ.pl: Likewise.
20096 * manual/install.texi (Installation): Point to online location of
20098 * Makefile (files-for-dist): Remove FAQ.
20101 2012-05-02 Allan McRae <allan@archlinux.org>
20103 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20104 (LDFLAGS-reldepmod5.so): Likewise.
20105 (LDFLAGS-reldep6mod1.so): Likewise.
20106 (LDFLAGS-reldep6mod4.so): Likewise.
20107 (LDFLAGS-reldep8mod3.so): Likewise.
20108 (LDFLAGS-unload4mod1.so): Likewise.
20109 (LDFLAGS-unload4mod2.so): Likewise.
20110 (LDFLAGS-tst-initorder): Likewise.
20111 (LDFLAGS-tst-initordera2.so): Likewise.
20112 (LDFLAGS-tst-initordera3.so): Likewise.
20113 (LDFLAGS-tst-initordera4.so): Likewise.
20114 (LDFLAGS-tst-initorderb2.so): Likewise.
20115 (LDFLAGS-noload): Likewise.
20116 (LDFLAGS-next): Likewise.
20117 (LDFLAGS-order2mod1.so): Likewise.
20118 (LDFLAGS-order2mod2.so): Likewise.
20119 (LDFLAGS-tst-initorder2): Likewise.
20120 (LDFLAGS-tst-initorder2a.so): Likewise.
20121 (LDFLAGS-tst-initorder2b.so): Likewise.
20122 (LDFLAGS-tst-initorder2c.so): Likewise.
20123 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20125 2012-05-02 David S. Miller <davem@davemloft.net>
20127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20129 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20132 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20134 2012-05-02 Andreas Jaeger <aj@suse.de>
20136 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20137 since we manipulate rounding mode.
20138 (CPPFLAGS-test-idouble.c): Likewise.
20139 (CPPFLAGS-test-ifloat.c): Likewise.
20140 (CFLAGS-test-ldouble.c): Likewise.
20141 (CFLAGS-test-double.c): Likewise.
20142 (CFLAGS-test-float.c): Likewise.
20143 (CFLAGS-test-misc.c): Likewise.
20144 (CFLAGS-test-test-fenv.c): Likewise.
20146 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20150 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20151 comparisons to determine direction to adjust input.
20153 2012-05-01 Roland McGrath <roland@hack.frob.com>
20155 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20156 output to the target.
20158 * scripts/localplt.awk: New file.
20159 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20160 (check-localplt-CFLAGS): Variable removed.
20161 ($(all-built-dso:=.jmprel)): New static pattern rule.
20162 (generated): Add those targets.
20163 (localplt-built-dso): New variable.
20164 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20166 * elf/check-localplt.c: File removed.
20168 * scripts/check-execstack.awk: New file.
20169 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20170 (check-execstack-CFLAGS): Variable removed.
20171 ($(objpfx)check-execstack.h): Target removed.
20172 ($(objpfx)execstack-default): New target.
20173 (generated): Add that instead of check-execstack.h.
20174 ($(all-built-dso:=.phdr)): New static pattern rule.
20175 (generated): Add those targets.
20176 * elf/check-execstack.c: File removed.
20178 * scripts/check-textrel.awk: New file.
20179 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20180 (check-textrel-CFLAGS): Variable removed.
20181 (all-built-dso): Use := to define.o
20182 ($(all-built-dso:=.dyn)): New static pattern rule.
20183 (generated): Add those targets.
20184 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20185 * config.make.in (READELF): New substituted variable.
20186 * elf/check-textrel.c: File removed.
20188 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20190 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20192 * conform/data/ctype.h-data [C99-based standards] (isblank):
20194 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20195 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20197 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20198 Specify type. Require positive value.
20199 (EILSEQ): Likewise.
20200 (ERANGE): Likewise.
20201 [ISO || POSIX] (EILSEQ): Do not expect.
20202 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20203 Specify type. Require positive value.
20204 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20205 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20253 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20278 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20279 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20280 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20282 (FLT_ROUNDS): Expect as macro, not constant.
20283 (FLT_MANT_DIG): Use macro-int-constant.
20284 (DBL_MANT_DIG): Likewise.
20285 (LDBL_MANT_DIG): Likewise.
20286 (FLT_DIG): Likewise.
20287 (DBL_DIG): Likewise.
20288 (LDBL_DIG): Likewise.
20289 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20290 (DBL_MIN_EXP): Likewise.
20291 (LDBL_MIN_EXP): Likewise.
20292 (FLT_MAX_EXP): Use macro-int-constant.
20293 (DBL_MAX_EXP): Likewise.
20294 (LDBL_MAX_EXP): Likewise.
20295 (FLT_MAX_10_EXP): Likewise.
20296 (DBL_MAX_10_EXP): Likewise.
20297 (LDBL_MAX_10_EXP): Likewise.
20298 (FLT_MAX): Use macro-constant.
20299 (DBL_MAX): Likewise.
20300 (LDBL_MAX): Likewise.
20301 (FLT_EPSILON): Use macro-constant. Give upper bound.
20302 (DBL_EPSILON): Likewise.
20303 (LDBL_EPSILON): Likewise.
20304 (FLT_MIN): Likewise.
20305 (DBL_MIN): Likewise.
20306 (LDBL_MIN): Likewise.
20307 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20308 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20309 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20310 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20311 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20312 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20313 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20314 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20315 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20316 [ISO11] (FLT_TRUE_MIN): Likewise.
20317 [ISO11] (LDBL_TRUE_MIN): Likewise.
20318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20319 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20320 (SCHAR_MIN): Use macro-int-constant. Specify type.
20321 (SCHAR_MAX): Likewise.
20322 (UCHAR_MAX): Likewise.
20323 (CHAR_MIN): Likewise.
20324 (CHAR_MAX): Likewise.
20325 (MB_LEN_MAX): Use macro-int-constant.
20326 (SHRT_MIN): Use macro-int-constant. Specify type.
20327 (SHRT_MAX): Likewise.
20328 (USHRT_MAX): Likewise.
20329 (INT_MAX): Likewise.
20330 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20332 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20334 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20336 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20337 bound negative. Suffix upper bound with "L".
20338 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20340 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20342 [C99-based standards] (LLONG_MAX): Likewise.
20343 [C99-based standards] (ULLONG_MAX): Likewise.
20344 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20346 [ISO11] (max_align_t): Require type.
20347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20349 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20350 from $CFLAGS, without defining away __attribute__ calls.
20351 (checknamespace): Use $CFLAGS_namespace.
20353 * conform/conformtest.pl (@keywords): Only include C99 keywords
20354 for standards based on C99 or C11.
20356 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20358 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20361 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20362 usability of symbols in #if.
20364 * conform/conformtest.pl: If macro or constant types start
20365 "promoted:", expect the symbol to be of the following type
20366 promoted by the integer promotions.
20368 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20369 in one place. Also handle "macro-constant".
20371 * conform/conformtest.pl: Only accept expected macro values with
20372 "==". Parse all "macro" lines in one place.
20373 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20375 * conform/conformtest.pl: Handle braced types on "constant" lines
20376 instead of handling "typed-constant".
20377 * conform/data/signal.h-data: Use "constant" instead of
20380 * conform/conformtest.pl: Handle "optional-" at start of lines in
20381 one place rather than duplicating several cases. Handle each
20382 format of "macro" line with initial "optional-".
20384 * conform/conformtest.pl: Only accept expected constant or
20385 optional-constant values with "==". Parse all "constant" lines in
20386 one place. Parse all "optional-constant" lines in one place.
20387 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20388 * conform/data/fmtmsg.h-data: Likewise.
20389 * conform/data/netinet/in.h-data: Likewise.
20390 * conform/data/tar.h-data: Likewise.
20391 * conform/data/limits.h-data: Use "==" form on "constant" and
20392 "optional-constant" lines.
20394 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20395 Use -std=c99 for XOPEN2K.
20396 (@knownproblems): Remove.
20397 (newtoken): Don't check %isknown.
20399 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20400 Do not expect macro.
20401 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20413 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20414 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20431 [XPG3] (acosh): Likewise.
20432 [XPG3] (asinh): Likewise.
20433 [XPG3] (atanh): Likewise.
20434 [XPG3] (cbrt): Likewise.
20435 [XPG3] (expm1): Likewise.
20436 [XPG3] (ilogb): Likewise.
20437 [XPG3] (log1p): Likewise.
20438 [XPG3] (logb): Likewise.
20439 [XPG3] (nextafter): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20442 [XPG3] (remainder): Likewise.
20443 [XPG3] (rint): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20451 [UNIX98 || XOPEN2K] (scalb): Expect.
20452 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20453 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20590 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20591 _XOPEN_SOURCE_EXTENDED for XPG4.
20593 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20595 * Makeconfig (localtime): Remove variable.
20596 (inst_localtime-file): Likewise.
20598 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20619 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20623 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20624 comparisons to determine direction to adjust input.
20625 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20626 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20627 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20629 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20633 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20634 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20636 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20638 * math/libm-test.inc (nexttoward_test): Add more tests.
20640 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20644 in version GLIBC_2.1, not GLIBC_2.0.
20645 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20648 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20651 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20654 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20655 * math/libm-test.inc (acos_test): Add more tests.
20656 (asin_test): Likewise.
20657 * sysdeps/i386/fpu/libm-test-ulps: Update.
20658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20663 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20664 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20665 * math/libm-test.inc (acos_test_tonearest): New function.
20666 (acos_test_towardzero): Likewise.
20667 (acos_test_downward): Likewise.
20668 (acos_test_upward): Likewise.
20669 (asin_test_tonearest): Likewise.
20670 (asin_test_towardzero): Likewise.
20671 (asin_test_downward): Likewise.
20672 (asin_test_upward): Likewise.
20673 (main): Call the new functions.
20674 * sysdeps/i386/fpu/libm-test-ulps: Update.
20675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20679 * math/e_exp10.c: Include <float.h>.
20680 (__ieee754_exp10): Handle underflow here rather than multiplying
20681 large negative argument by M_LN10.
20682 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20684 * math/e_exp10l.c: Include <float.h>.
20685 (__ieee754_exp10l): Handle underflow here rather than multiplying
20686 large negative argument by M_LN10l.
20687 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20688 spurious overflow exception on underflow.
20690 2012-04-29 Marek Polacek <polacek@redhat.com>
20692 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20693 (__fortify_function): New macro.
20694 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20695 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20696 __extern_always_inline.
20697 * libio/bits/stdio2.h: Likewise.
20698 * libio/bits/stdio.h: Likewise.
20699 * string/string.h: Likewise.
20700 * string/bits/string3.h: Likewise.
20701 * include/stdio.h: Likewise.
20702 * stdlib/bits/stdlib.h: Likewise.
20703 * stdlib/stdlib.h: Likewise.
20704 * rt/bits/mqueue2.h: Likewise.
20705 * rt/mqueue.h: Likewise.
20706 * posix/bits/unistd.h: Likewise.
20707 * posix/unistd.h: Likewise.
20708 * io/bits/poll2.h: Likewise.
20709 * io/bits/fcntl2.h: Likewise.
20710 * io/fcntl.h: Likewise.
20711 * io/sys/poll.h: Likewise.
20712 * misc/bits/syslog.h: Likewise.
20713 * misc/bits/syslog-ldbl.h: Likewise.
20714 * misc/sys/syslog.h: Likewise.
20715 * socket/bits/socket2.h: Likewise.
20716 * socket/sys/socket.h: Likewise.
20717 * debug/tst-chk1.c: Likewise.
20718 * wcsmbs/bits/wchar2.h: Likewise.
20719 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20720 * wcsmbs/wchar.h: Likewise.
20722 2012-04-29 Andreas Jaeger <aj@suse.de>
20724 * Makerules (tests): Remove enable-check-abi protection.
20725 (check-abi-warn): Remove.
20726 (check-abi-%): Remove check-abi-warn usage.
20728 * configure.in: Remove check-abi configure option.
20729 * configure: Regenerated.
20730 * config.make.in (enable-check-abi): Remove.
20732 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20735 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20736 double functions to double *_finite functions.
20739 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20740 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20742 * stdio-common/Makefile (tests): Add tst-sprintf3.
20743 * stdio-common/tst-sprintf3.c: New file.
20745 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20746 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20748 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20750 * conform/conformtest.pl: Remove duplicate typed-constant
20753 2012-04-28 David S. Miller <davem@davemloft.net>
20755 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20756 (check-abi-%): Remove AWK script prerequisite and explicit
20758 (check-abi): Rewrite to just diff the symlist with the abilist.
20759 (config-tls, config-abi-config): Delete, no longer used.
20760 (update-abi-%): Remove AWK script and explicit abilist directory.
20761 (update-abi): Rewrite to simply compare and conditionally copy the
20762 symlist and the sysdep abilist file. Remove update-abi-config
20764 * abilist/ld.abilist: Remove.
20765 * abilist/libBrokenLocale.abilist: Remove.
20766 * abilist/libanl.abilist: Remove.
20767 * abilist/libcrypt.abilist: Remove.
20768 * abilist/libdl.abilist: Remove.
20769 * abilist/librt.abilist: Remove.
20770 * abilist/libthread_db.abilist: Remove.
20771 * abilist/libutil.abilist: Remove.
20772 * scripts/extract-abilist.awk: Remove.
20773 * scripts/merge-abilist.awk: Remove.
20774 * sysdeps/generic/libcidn.abilist: New file.
20775 * sysdeps/generic/libnss_compat.abilist: New file.
20776 * sysdeps/generic/libnss_db.abilist: New file.
20777 * sysdeps/generic/libnss_dns.abilist: New file.
20778 * sysdeps/generic/libnss_files.abilist: New file.
20779 * sysdeps/generic/libnss_hesiod.abilist: New file.
20780 * sysdeps/generic/libnss_nis.abilist: New file.
20781 * sysdeps/generic/libnss_nisplus.abilist: New file.
20782 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20783 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20784 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20787 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20788 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20789 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20792 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20794 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20796 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20797 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20798 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20799 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20801 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20802 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20803 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20804 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20805 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20806 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20808 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20809 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20810 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20915 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20916 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20917 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20920 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20921 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20923 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20924 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20925 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20926 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20927 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20928 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20980 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20982 * conform/conformtest.pl: Fix typo in handling typed-constant from
20985 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20987 * README: Cut down references to pre-2.6 Linux kernels and
20988 Linuxthreads. Update lists of configurations in libc and ports
20989 and sort alphabetically. Say "or newer" with Linux kernel version
20992 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20994 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20997 * math/libm-test.inc (logb_test_downward): New test to expose
20998 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21001 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21004 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21006 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21007 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21009 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21011 * sysdeps/unix/i386/brk.S: Remove file.
21012 * sysdeps/unix/i386/dl-brk.S: Likewise.
21013 * sysdeps/unix/i386/pipe.S: Likewise.
21014 * sysdeps/unix/i386/sigreturn.S: Likewise.
21015 * sysdeps/unix/i386/syscall.S: Likewise.
21016 * sysdeps/unix/i386/vfork.S: Likewise.
21017 * sysdeps/unix/i386/wait.S: Likewise.
21019 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21020 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21022 * configure.in (arm*-none*): Do not allow without
21023 --enable-hacker-mode.
21024 (netbsd*): Remove case setting base_os.
21025 (386bsd*): Likewise.
21026 (freebsd*): Likewise.
21029 (sunos*): Likewise.
21030 (ultrix*): Likewise.
21031 (newsos*): Likewise.
21032 (dynix*): Likewise.
21038 (minix*): Likewise.
21039 (irix4*): Likewise.
21040 (irix6*): Likewise.
21041 (solaris[2-9]*): Likewise.
21043 * configure: Regenerated.
21045 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21048 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21049 overflow or cancellation in calculating denominator.
21050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21052 down expression to avoid unexpected rounding in newer GCCs.
21053 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21055 2012-04-26 David S. Miller <davem@davemloft.net>
21057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21058 long-double compat symbols.
21059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21073 2012-04-25 David S. Miller <davem@davemloft.net>
21075 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21076 HWCAP_* values only after the memory barriers have been defined.
21077 (atomic_full_barrier): Define.
21078 (atomic_read_barrier): Define.
21079 (atomic_write_barrier): Define.
21081 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21083 * shlib-versions: Add libgcc_s version information.
21084 * sysdeps/generic/libgcc_s.h: Remove.
21085 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21087 * sysdeps/gnu/unwind-resume.c: Likewise.
21088 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21090 2012-04-25 David S. Miller <davem@davemloft.net>
21092 * sysdeps/unix/sparc/brk.S: Delete.
21093 * sysdeps/unix/sparc/dl-brk.S: Delete.
21094 * sysdeps/unix/sparc/pipe.S: Delete.
21095 * sysdeps/unix/sparc/sysdep.S: Delete.
21096 * sysdeps/unix/sparc/sysdep.h: Delete.
21097 * sysdeps/unix/sparc/vfork.S: Delete.
21098 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21099 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21101 ret_ERRVAL, r0, r1, MOVE): Define.
21102 (JUMPTARGET): Remove.
21103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21104 sysdeps/unix/sparc/sysdep.h
21105 (ENTRY, END): Remove.
21106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21108 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21110 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21111 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21114 * timezone/README: Update upstream location and email address for
21116 * timezone/zdump.c: Update from tzcode 2012b.
21117 * timezone/zic.c: Likewise.
21119 * configure.in (libc_cv_as_needed): Remove test.
21120 * configure: Regenerated.
21121 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21122 conditional definition.
21123 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21124 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21125 * config.make.in (have-as-needed): Remove variable.
21127 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21128 Paul Pluzhnikov <ppluzhnikov@google.com>
21130 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21133 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21135 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21136 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21137 * sysdeps/sh/strlen.S: Likewise.
21139 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21141 * sysdeps/unix/fork.S: Remove file.
21142 * sysdeps/unix/i386/fork.S: Likewise.
21143 * sysdeps/unix/sparc/fork.S: Likewise.
21145 * sysdeps/unix/system.c: Remove file.
21146 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21148 * sysdeps/unix/getegid.S: Remove file.
21149 * sysdeps/unix/geteuid.S: Likewise.
21151 2012-04-24 Roland McGrath <roland@hack.frob.com>
21153 * scripts/check-localplt.awk: New file.
21154 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21156 * scripts/data/localplt-generic.data: Add a comment.
21158 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21159 NODE when __dir_mkfile failed.
21160 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21161 Reported by Ludovic Courtès <ludo@gnu.org>.
21163 2012-04-24 Andreas Jaeger <aj@suse.de>
21165 * Makerules (common-clean): Also remove gen-as-const-headers
21168 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21170 * Makerules (native-compile): Do not change working directory for
21171 build. Use $(OUTPUT_OPTION) in command.
21172 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21174 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21177 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21178 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21179 * math/libm-test.inc (floor_test): Add more tests.
21180 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21182 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21184 * sysdeps/unix/getdents.c: Remove file.
21185 * sysdeps/unix/sysv/getdents.c: Likewise.
21186 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21188 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21189 sysdeps/unix/mman/syscalls.list.
21191 (mprotect): Likewise.
21193 (munmap): Likewise.
21194 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21195 * sysdeps/unix/mman/syscalls.list: Remove.
21196 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21198 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21199 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21200 * configure: Regenerated.
21201 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21202 $(libgcc_s_suffix).
21203 * config.make.in (libgcc_s_suffix): Remove variable.
21205 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21207 * sysdeps/unix/sysv/gethostname.c: Move to ...
21208 * sysdeps/posix/gethostname.c: ... here.
21210 * sysdeps/unix/execve.S: Remove file.
21212 * sysdeps/unix/_exit.S: Remove file.
21214 2012-04-23 Andreas Jaeger <aj@suse.de>
21217 * manual/Makefile: Remove make dist support, there's no
21218 need for a stand-alone documentation tar ball.
21219 (TEXI2DVI): Define always, it's not in Makeconfig.
21222 (edition): Removed.
21223 (glibc-doc-$(edition).tar): Removed
21227 (ETAGS): Remove, it's in Makeconfig.
21228 (move-if-change): Remove, it's in Makeconfig.
21230 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21233 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21234 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21235 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21236 (strtod_l, strtof_l, strtold_l): Remove __wur.
21237 It is not necessarily an error to ignore strtol's return value.
21238 One can reliably look at the stored endptr to decide whether
21239 the number had valid syntax.
21241 2012-04-21 Andreas Jaeger <aj@suse.de>
21244 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21246 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21248 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21249 * sysdeps/unix/sysv/Versions: Remove file.
21251 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21256 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21260 version from __vm86.
21262 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/unix/common/lxstat.c: Remove file.
21265 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21267 * sysdeps/unix/sysv/Makefile: Remove file.
21269 * sysdeps/unix/sysv/direct.h: Remove file.
21271 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21272 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21273 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21274 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21275 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21276 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21277 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21279 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21281 * sysdeps/unix/xmknod.c: Remove file.
21282 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21284 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21286 * sysdeps/unix/sysv/i386/time.S: Remove file.
21288 * sysdeps/unix/fxstat.c: Remove file.
21289 * sysdeps/unix/xstat.c: Likewise.
21290 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21292 * sysdeps/unix/sysv/sigaction.c: Remove file.
21294 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21295 (sysdep_headers): Remove variable.
21296 [termio.h not in sysdep_headers] (generated): Likewise.
21297 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21298 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21299 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21300 * sysdeps/unix/sysv/tcflow.c: Likewise.
21301 * sysdeps/unix/sysv/tcflush.c: Likewise.
21302 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21303 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21304 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21305 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21306 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21308 * sysdeps/unix/siglist.c: Remove file.
21310 * sysdeps/unix/getppid.S: Remove file.
21312 * sysdeps/unix/mkdir.c: Remove file.
21313 * sysdeps/unix/rmdir.c: Likewise.
21315 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21317 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21320 errlist-compat value.
21322 2012-04-18 David S. Miller <davem@davemloft.net>
21324 * sysdeps/generic/memcopy.h (reg_char): Delete.
21325 * debug/strcat_chk.c: Use char, not reg_char.
21326 * debug/strcpy_chk.c: Likewise.
21327 * debug/strncat_chk.c: Likewise.
21328 * debug/strncpy_chk.c: Likewise.
21329 * string/memchr.c: Likewise.
21330 * string/memrchr.c: Likewise.
21331 * string/rawmemchr.c: Likewise.
21332 * string/strcat.c: Likewise.
21333 * string/strchr.c: Likewise.
21334 * string/strchrnul.c: Likewise.
21335 * string/strcmp.c: Likewise.
21336 * string/strcpy.c: Likewise.
21337 * string/strncat.c: Likewise.
21338 * string/strncmp.c: Likewise.
21339 * string/strncpy.c: Likewise.
21341 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21343 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21344 __builtin_memcopy is called when src and dest ranges are known to not
21347 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21349 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21350 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21351 fwd_align_merge macro call.
21352 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21353 bwd_align_merge macro call.
21354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21356 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21359 bwd_align_merge macros.
21360 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21361 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21362 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21364 2012-04-18 David S. Miller <davem@davemloft.net>
21366 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21368 2012-04-18 Andreas Jaeger <aj@suse.de>
21371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21372 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21375 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21376 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21379 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21380 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21381 Adjust for changed ldbl-128 files.
21383 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21384 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21385 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21387 2012-04-17 David S. Miller <davem@davemloft.net>
21389 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21391 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21393 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21394 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21395 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21396 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21397 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21398 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21400 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21403 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21404 * math/libm-test.inc: Add ilogb errno and exception tests.
21405 * math/w_ilogb.c: New file: ilogb wrapper.
21406 * math/w_ilogbf.c: New file: ilogbf wrapper.
21407 * math/w_ilogbl.c: New file: ilogbl wrapper.
21408 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21409 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21410 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21411 exception being thrown with 0.0 as argument.
21412 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21413 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21414 exception being thrown with 0.0 as argument.
21415 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21416 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21417 exception being thrown with 0.0 as argument.
21418 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21419 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21420 exception being thrown with 0.0 as argument.
21421 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21422 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21423 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21424 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21425 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21426 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21427 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21428 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21429 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21431 2012-04-17 Petr Baudis <pasky@ucw.cz>
21433 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21436 2012-04-16 Marek Polacek <polacek@redhat.com>
21438 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21440 2012-04-16 Marek Polacek <polacek@redhat.com>
21442 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21443 operands of fdivp instruction.
21445 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21447 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21448 * elf/tst-auditmod3b.c: Likewise.
21449 * elf/tst-auditmod4b.c: Likewise.
21450 * elf/tst-auditmod5b.c: Likewise.
21451 * elf/tst-auditmod6b.c: Likewise.
21452 * elf/tst-auditmod6c.c: Likewise.
21453 * elf/tst-auditmod7b.c: Likewise.
21454 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21455 * sysdeps/x86_64/preconfigure.in: Likewise.
21456 * sysdeps/x86_64/preconfigure: Regenerated.
21458 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21460 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21463 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21466 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21468 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21471 * locale/iso-639.def: Fix gl language name. Spotted by
21474 2012-04-12 Roland McGrath <roland@hack.frob.com>
21477 * libio/libio.h (__io_write_fn): Update comment.
21479 2012-04-12 Petr Baudis <pasky@ucw.cz>
21482 * stdio.texi (Hook Functions): The user provided writer function
21483 is not allowed to return -1.
21485 2012-04-11 David S. Miller <davem@davemloft.net>
21487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21489 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21491 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21492 Add a leading slash to rtkaio.
21494 2012-04-11 Jim Meyering <meyering@redhat.com>
21497 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21498 It is not necessarily an error to ignore fwrite's return
21499 value. One can reliably use ferror to test for errors after
21502 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21504 * bits/types.h (__snseconds_t): New type.
21505 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21507 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21508 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21509 (__SNSECONDS_T_TYPE): Likewise.
21510 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21511 (__SNSECONDS_T_TYPE): Likewise.
21512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21513 (__SNSECONDS_T_TYPE): Likewise.
21515 2012-04-10 Andreas Jaeger <aj@suse.de>
21518 * manual/time.texi (Processor Time): Return type of times is
21519 elapsed real time since an arbitrary point in the past.
21520 (CPU Time): Move CLK_TCK from here...
21521 (Processor Time): ...to here. Correct description.
21522 * manual/conf.texi (Constants for Sysconf): Correct description of
21525 2012-04-10 David S. Miller <davem@davemloft.net>
21528 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21529 where the is a gap between DT_REL(A) and DT_JMPREL.
21531 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21533 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21534 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21535 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21537 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21539 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21540 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21541 (dl_main): Handle --inhibit-cache.
21542 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21544 * elf/dl-load.c (_dl_map_object): Use it.
21545 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21547 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21550 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21551 (__ieee754_powl): Saturate large exponents rather than testing for
21552 overflow of y*log2(x).
21553 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21554 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21558 * math/s_ctan.c: Include <float.h>.
21559 (__ctan): Avoid internal overflow or cancellation in calculating
21561 * math/s_ctanf.c: Likewise.
21562 * math/s_ctanl.c: Likewise.
21563 * math/s_ctanh.c: Likewise.
21564 * math/s_ctanhf.c: Likewise.
21565 * math/s_ctanhl.c: Likewise.
21566 * math/libm-test.inc (ctan_test): Add more tests.
21567 (ctanh_test): Likewise.
21568 * sysdeps/i386/fpu/libm-test-ulps: Update.
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571 2012-04-09 Andreas Jaeger <aj@suse.de>
21574 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21575 is an optional BSD extension.
21578 * manual/stdio.texi (Opening Streams): Document additional fopen
21581 2012-04-09 Roland McGrath <roland@hack.frob.com>
21583 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21584 %eax without telling the compiler.
21586 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21589 * manual/install.texi: Use sourceware.org.
21591 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21594 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21595 (__ieee754_pow): Generate overflow and underflow using huge*huge
21596 and tiny*tiny rather than just returning constant infinity or zero
21597 for large exponents.
21598 * math/libm-test.inc (pow_test): Require overflow exceptions for
21599 applicable cases of large exponents.
21602 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21603 (__ieee754_pow): Use iterative multiplication algorithm only for
21604 integer exponents with absolute value below 1024. Check for odd
21605 integer exponents when using algorithm for real exponents.
21606 * math/libm-test.inc (pow_test): Add more tests.
21607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21609 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21612 * math/libm-test.inc (exp_test): Do not allow overflow exception
21615 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21618 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21619 instead of __kernel_standard_f.
21621 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21623 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21624 * sysdeps/x86_64/memset_chk.S: Likewise.
21626 2012-04-08 Andreas Jaeger <aj@suse.de>
21629 * manual/startup.texi (Environment Access): Describe return value
21630 for putenv and setenv.
21633 * manual/filesys.texi (Directory Entries): Add description for
21637 * manual/filesys.texi (Directory Entries): Clarify that it's file
21638 system not operating system in the description of DT_UNKNOWN.
21641 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21643 2012-04-08 Stephen Compall <s11@member.fsf.org>
21646 * manual/llio.texi (Opening and Closing Files): Add cross
21647 reference to explain mode argument.
21649 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21651 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21652 * sysdeps/x86_64/memset_chk.S: Likewise.
21654 2012-04-07 David S. Miller <davem@davemloft.net>
21656 * elf/elf.h (R_SPARC_WDISP10): Define.
21657 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21659 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21660 R_SPARC_SIZE64 and R_SPARC_H34.
21662 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21665 conditions and remove no longer applicable assertion.
21667 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21669 * bits/byteswap.h: Include <features.h>.
21670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21673 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21675 * bits/byteswap.h (__bswap_16): Removed.
21676 Include <bits/byteswap-16.h> to get __bswap_16.
21677 * sysdeps/i386/bits/byteswap.h: Likewise.
21678 * sysdeps/s390/bits/byteswap.h: Likewise.
21679 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21680 * bits/byteswap-16.h: New file.
21681 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21682 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21683 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21684 * string/Makefile (headers): Add bits/byteswap-16.h.
21686 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21689 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21691 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21692 * nss/tst-nss-static.c: New.
21694 2012-04-06 Robert Millan <rmh@gnu.org>
21697 * manual/llio.texi (File Position Primitive): lseek
21698 refers to WHENCE when it really means OFFSET.
21700 2012-04-06 Andreas Jaeger <aj@suse.de>
21702 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21703 strncmp declarations.
21705 * abilist/libc.abilist: Add __poll and __ppoll.
21707 2012-04-05 David S. Miller <davem@davemloft.net>
21709 * scripts/check-local-headers.sh: Accept a host triplet in the
21710 path matched by the exclude regexp.
21712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21714 * sysdeps/powerpc/powerpc32/dl-machine.h
21715 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21716 * sysdeps/s390/s390-32/dl-machine.h
21717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21718 * sysdeps/sparc/sparc32/dl-machine.h
21719 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21720 * sysdeps/sparc/sparc64/dl-machine.h
21721 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21723 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21725 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21726 undefined symbol errors.
21728 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21731 2012-04-05 Michael Matz <matz@suse.de>
21734 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21736 2012-04-05 Andreas Jaeger <aj@suse.de>
21739 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21742 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21744 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21745 which ROUND is no valid rounding mode.
21747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21749 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21751 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21753 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21756 an exception using FPU order intentionally.
21758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21760 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21761 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21762 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21763 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21765 2012-04-05 Simon Josefsson <simon@josefsson.org>
21768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21769 EINVAL when BUFLEN is too smal.
21771 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21774 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21775 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21777 2012-04-03 Andreas Jaeger <aj@suse.de>
21780 * manual/setjmp.texi (System V contexts): Fix sentence.
21783 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21784 New macro for this case.
21785 [!__GNUC__] (__bswap_64): New inline function for this case.
21786 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21787 * bits/byteswap.h: Likewise.
21788 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21789 ull, guard with __GLIBC_HAVE_LONG_LONG.
21791 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21792 __GLIBC_HAVE_LONG_LONG.
21794 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21795 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21797 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21800 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21801 inptr and inend, rather than using last_ch.
21803 2012-04-02 David S. Miller <davem@davemloft.net>
21805 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21806 * stdio-common/printf-parse.h (read_int): Change return type to
21807 'int', return -1 on INT_MAX overflow.
21808 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21809 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21810 overflows INT_MAX. Check for overflow of in-format-string precision
21811 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21812 SIZE_MAX not INT_MAX for integer overflow test.
21813 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21814 skip the construct in the format string but do not record anything.
21815 * stdio-common/bug22.c: Adjust to test both width/prevision
21816 INT_MAX overflow as well as total length INT_MAX overflow. Check
21817 explicitly for proper errno values.
21819 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21821 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21823 * string/test-strcmp.c [! WIDE]: Likewise.
21824 * time/tst-mktime2.c: Likewise for INT_MAX.
21825 * string/test-string.h: #include <sys/param.h> for MIN.
21827 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21828 * sysdeps/i386/init-first.c (init): Likewise.
21829 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21830 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21831 * sysdeps/sh/init-first.c (init): Likewise.
21833 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21835 * po/ru.po: Update from translation team.
21836 * po/vi.po: Likewise.
21838 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21840 * resolv/nss_dns/dns-host.c: Merge copyright years.
21842 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21844 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21845 Optimize memcpy with prefetch if
21846 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21847 src, dst pointers have unequal 16 byte alignments.
21849 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21852 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21853 from a CNAME entry and return the minimum ttl for the query.
21854 (gaih_getanswer_slice): Likewise.
21856 2012-03-30 Jeff Law <law@redhat.com>
21858 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21860 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21861 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21863 * resolv/nss_dns/dns-host.c: Update copyright year.
21865 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21867 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21868 requests to save a system call. Fix check that all bytes are sent.
21870 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21871 comments for sendmmsg.
21873 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21876 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21877 with only 1 character between 0x0041 and 0x01b0.
21878 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21879 * wcsmbs/tst-mbsnrtowcs.c: New file.
21881 2012-03-29 David S. Miller <davem@davemloft.net>
21883 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21884 small copies by hand.
21886 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21889 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21890 _nss_compat_initgroups_dyn): Fall back to malloc/free
21891 for large group memberships.
21893 2012-03-28 David S. Miller <davem@davemloft.net>
21895 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21896 that branches into memcpy.
21897 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21898 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21900 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21903 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21904 implementation too.
21905 * sysdeps/sparc/mempcpy.S: New file.
21907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21908 the IFUNC routine in the libc case.
21909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21911 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21913 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21914 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21915 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21916 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21917 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21918 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21920 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21921 loop to 256 bytes instead of 64 bytes and fix test signedness.
21923 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21924 * sysdeps/sparc/sparc32/Makefile: rather than here...
21925 * sysdeps/sparc/sparc64/Makefile: and here.
21927 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21929 * malloc/mallocbug.c: Avoid warnings about unused variables.
21931 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21934 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21935 in the right place. Discard and retry query if response is
21936 larger than input buffer size.
21938 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21944 x for large integer exponent.
21945 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21946 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21947 sign of result as needed afterwards.
21948 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21950 result for underflowing pow the same as for overflow.
21951 (__kernel_standard_l): Handle powl overflow and underflow here
21952 rather than calling __kernel_standard.
21953 * math/libm-test.inc (pow_test): Add more tests.
21968 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21969 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21970 (__kernel_standard_l): New function.
21971 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21973 * math/w_acosl.c (__acosl): Likewise.
21974 * math/w_asinl.c (__asinl): Likewise.
21975 * math/w_atan2l.c (__atan2l): Likewise.
21976 * math/w_atanhl.c (__atanhl): Likewise.
21977 * math/w_coshl.c (__coshl): Likewise.
21978 * math/w_exp10l.c (__exp10l): Likewise.
21979 * math/w_exp2l.c (__exp2l): Likewise.
21980 * math/w_fmodl.c (__fmodl): Likewise.
21981 * math/w_hypotl.c (__hypotl): Likewise.
21982 * math/w_j0l.c (__j0l, __y0l): Likewise.
21983 * math/w_j1l.c (__j1l, __y1l): Likewise.
21984 * math/w_jnl.c (__jnl, __ynl): Likewise.
21985 * math/w_lgammal.c (__lgammal): Likewise.
21986 * math/w_log10l.c (__log10l): Likewise.
21987 * math/w_log2l.c (__log2l): Likewise.
21988 * math/w_logl.c (__logl): Likewise.
21989 * math/w_powl.c (__powl): Likewise.
21990 * math/w_remainderl.c (__remainderl): Likewise.
21991 * math/w_scalbl.c (sysv_scalbl): Likewise.
21992 * math/w_sinhl.c (__sinhl): Likewise.
21993 * math/w_sqrtl.c (__sqrtl): Likewise.
21994 * math/w_tgammal.c (__tgammal): Likewise.
21995 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21996 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21997 * math/libm-test.inc (acos_test): Add more tests.
21998 (acosh_test): Likewise.
21999 (asin_test): Likewise.
22000 (atanh_test): Likewise.
22001 (exp_test): Likewise.
22002 (exp10_test): Likewise.
22003 (exp2_test): Likewise.
22004 (expm1_test): Likewise.
22005 (lgamma_test): Likewise.
22006 (log_test): Likewise.
22007 (log10_test): Likewise.
22008 (log1p_test): Likewise.
22009 (log2_test): Likewise.
22010 (pow_test): Do not allow some spurious overflow exceptions.
22011 (sqrt_test): Add more tests.
22012 (tgamma_test): Likewise.
22013 (y0_test): Likewise.
22014 (y1_test): Likewise.
22015 (yn_test): Likewise.
22017 2012-03-27 Anton Blanchard <anton@samba.org>
22019 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22021 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22023 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22025 2012-03-27 David S. Miller <davem@davemloft.net>
22027 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22029 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22030 have-as-vis3 check.
22032 2012-03-27 Andreas Jaeger <aj@suse.de>
22034 * sysdeps/x86_64/elf/configure.in: Moved to ...
22035 * sysdeps/x86_64/configure.in: ... here.
22036 * sysdeps/x86_64/elf/start.S: Moved to ...
22037 * sysdeps/x86_64/start.S: ... here.
22038 * sysdeps/x86_64/elf/configure: Delete.
22040 * sysdeps/x86_64/configure.in: Merge contents from
22041 sysdeps/i386/configure.in (without i686 check).
22043 * sysdeps/i386/elf/Versions: Merge into ...
22044 * sysdeps/i386/Versions: ... this.
22045 * sysdeps/i386/elf/Versions: Delete file.
22046 * sysdeps/i386/elf/start.S: Moved to ...
22047 * sysdeps/i386/start.S: ...here.
22048 * sysdeps/i386/elf/configure.in: Merge into...
22049 * sysdeps/i386/configure.in: ...here.
22050 * sysdeps/i386/elf/configure.in: Delete file.
22051 * sysdeps/i386/elf/configure: Delete file.
22053 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22054 * debug/backtracesyms.c: ... here.
22055 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22056 * debug/backtracesymsfd.c: ... here.
22057 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22058 * sysdeps/generic/ifunc-sel.h: ... here.
22060 * sysdeps/unix/i386/start.c: Delete file.
22061 * sysdeps/unix/sparc/start.c: Delete file.
22062 * sysdeps/unix/start.c: Delete file.
22064 * sysdeps/sh/elf/configure.in: Moved to ...
22065 * sysdeps/sh/configure.in: ... here.
22066 * sysdeps/sh/elf/start.S: Moved to ...
22067 * sysdeps/sh/start.S: ... here.
22068 * sysdeps/sh/elf/configure: Delete file.
22070 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22071 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22072 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22073 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22074 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22075 * sysdeps/powerpc/powerpc64/start.S: here.
22076 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22077 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22078 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22079 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22080 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22082 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22083 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22084 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22085 * sysdeps/powerpc/powerpc32/start.S: ... here.
22086 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22087 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22088 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22090 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22091 * sysdeps/powerpc/ifunc-sel.h: ... here.
22092 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22093 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22095 * sysdeps/sparc/elf/configure.in: Moved to ...
22096 * sysdeps/sparc/configure.in: ... here.
22097 * sysdeps/sparc/elf/configure: Delete file.
22098 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22099 * sysdeps/sparc/sparc32/start.S: ... here.
22100 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22101 * sysdeps/sparc/sparc64/start.S: ... here.
22102 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22103 * sysdeps/sparc/sparc32/Makefile: ... this.
22104 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22105 * sysdeps/sparc/sparc64/Makefile: ... this.
22107 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22108 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22109 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22110 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22111 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22112 * sysdeps/s390/s390-32/setjmp.S: ... here.
22113 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22114 * sysdeps/s390/s390-32/configure.in: ... here.
22115 * sysdeps/s390/s390-32/elf/configure: Delete file.
22116 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22117 * sysdeps/s390/s390-32/start.S: ... here.
22119 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22120 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22121 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22122 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22123 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22124 * sysdeps/s390/s390-64/setjmp.S: ... here.
22125 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22126 * sysdeps/s390/s390-64/configure.in: ... here
22127 * sysdeps/s390/s390-64/elf/configure: Delete file.
22128 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22129 * sysdeps/s390/s390-64/start.S: ... here.
22130 * sysdeps/s390/s390-64/elf/configure: Delete.
22132 * configure.in: Remove support for elf directories in sysdeps.
22134 * configure: Regenerated.
22135 * sysdeps/i386/configure: Regenerated.
22136 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22137 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22138 * sysdeps/s390/s390-32/configure: Regenerated.
22139 * sysdeps/s390/s390-64/configure: Regenerated.
22140 * sysdeps/sh/configure: Regenerated.
22141 * sysdeps/sparc/configure: Regenerated.
22142 * sysdeps/x86_64/configure: Regenerated.
22144 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22148 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22149 denormal result into account.
22151 2012-03-25 Roland McGrath <roland@hack.frob.com>
22153 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22154 Reported by Allan McRae <allan@archlinux.org>.
22156 2012-03-23 Jeff Law <law@redhat.com>
22158 * nss/getnssent.c (__nss_getent): Fix typo.
22160 2012-03-23 David S. Miller <davem@davemloft.net>
22162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22164 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22166 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22167 to pad to uint64_t for each field.
22168 (dl_tls_index): Replace unsigned long with uint64_t.
22170 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22171 Paul Pluzhnikov <ppluzhnikov@google.com>
22174 * grp/Makefile (otherlibs): Don't set it.
22175 * inet/Makefile (otherlibs): Likewise.
22176 * login/Makefile (otherlibs): Likewise.
22177 * nscd/Makefile (otherlibs): Likewise.
22178 * posix/Makefile (otherlibs): Likewise.
22179 * pwd/Makefile (otherlibs): Likewise.
22180 * rt/Makefile (otherlibs): Likewise.
22181 * sunrpc/Makefile (otherlibs): Likewise.
22182 * nss/Makefile (otherlibs): Likewise.
22183 Add libnss_files to routines and static-only-routines.
22184 ($(objpfx)getent): Remove rule.
22185 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22186 static-only-routines.
22188 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22191 * math/s_cexp.c: Include <float.h>.
22192 (__cexp): Handle exp result overflowing not necessarily
22193 overflowing both real and imaginary parts of result.
22194 * math/s_cexpf.c: Likewise.
22195 * math/s_cexpl.c: Likewise.
22196 * math/libm-test.inc (cexp_test): Add more tests.
22197 * sysdeps/i386/fpu/libm-test-ulps: Update.
22198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22200 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22202 * include/link.h (ELFW): New macro.
22203 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22204 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22206 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22208 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22211 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22213 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22215 (struct La_x32_retval): Likewise.
22217 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22219 * sysdeps/x86_64/preconfigure.in: New file.
22220 * sysdeps/x86_64/preconfigure: New generated file.
22222 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22225 * math/e_exp2l.c: Include <float.h>.
22226 (__ieee754_exp2l): Handle overflow and underflow cases
22227 separately. Only pass fractional part of argument to
22229 * math/libm-test.inc (exp2_test): Add more tests.
22231 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22232 negating x to take absolute value.
22233 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22235 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22238 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22239 computing low part if x was negated.
22240 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22242 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22244 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22245 la_x32_gnu_pltexit.
22246 (pltexit): Cast int_retval to ptrdiff_t.
22247 * elf/tst-auditmod3b.c: Likewise.
22248 * elf/tst-auditmod4b.c: Likewise.
22249 * elf/tst-auditmod5b.c: Likewise.
22250 * elf/tst-auditmod6b.c: Likewise.
22251 * elf/tst-auditmod6c.c: Likewise.
22252 * elf/tst-auditmod7b.c: Likewise.
22254 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22255 and x32_gnu_pltexit.
22257 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22258 __ELF_NATIVE_CLASS.
22259 (La_x32_regs): New macro.
22260 (La_x32_retval): Likewise.
22261 (la_x32_gnu_pltenter): New function prototype.
22262 (la_x32_gnu_pltexit): Likewise.
22264 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22271 * configure.in (libc_cv_cc_nofma): Check for option to disable
22272 generation of FMA instructions.
22273 * configure: Regenerate.
22274 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22275 * sysdeps/ieee754/dbl-64/Makefile: New file.
22276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22277 Remove brandred-fma4.
22278 (CFLAGS-brandred-fma4.c): Remove.
22279 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22285 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22287 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22288 LLONG_MAX != LONG_MAX.
22289 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22290 (_fitoa_word): Likewise.
22291 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22292 LLONG_MAX != LONG_MAX.
22293 * stdio-common/_itowa.h: Include <_itoa.h>.
22294 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22295 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22296 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22297 only if not defined.
22298 (_ITOA_WORD_TYPE): Likewise.
22299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22300 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22302 2012-03-21 David S. Miller <davem@davemloft.net>
22304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22306 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22308 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22309 of x86_64 when setting libc_cv_slibdir, libdir and
22311 * sysdeps/unix/sysv/linux/configure: Regenerated.
22313 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22315 * manual/lang.texi (Old Varargs): Remove section.
22316 (How Variadic): Update menu.
22317 (va_start): Do not mention varargs.h.
22319 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22320 Joseph Myers <joseph@codesourcery.com>
22322 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22324 * configure: Regenerated.
22326 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22328 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22329 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22332 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22335 * Makefile (files-for-dist): Remove NOTES.
22336 (NOTES): Remove rule.
22337 * README: Don't refer to NOTES.
22338 * manual/creature.texi: Don't include macros.texi.
22339 * manual/intro.texi (creature.texi): Remove comment referring to
22342 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22343 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22344 * configure: Regenerated.
22345 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22346 LIBC_TRY_CC_OPTION.
22347 (libc_cv_as_i686): Likewise.
22348 (libc_cv_cc_avx): Likewise.
22349 (libc_cv_cc_sse2avx): Likewise.
22350 (libc_cv_cc_fma4): Likewise.
22351 (libc_cv_cc_novzeroupper): Likewise.
22352 * sysdeps/i386/configure: Regenerated.
22355 * sysdeps/i386/fpu/s_cexp.S: Remove.
22356 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22357 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22358 * math/libm-test.inc (cexp_test): Add more tests.
22359 * sysdeps/i386/fpu/libm-test-ulps: Update.
22360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22362 2012-03-21 Allan McRae <allan@archlinux.org>
22364 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22366 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22369 * math/w_exp2.c: Do not include <float.h>.
22370 (o_threshold, u_threshold): Remove.
22371 (__exp2): Calculate result before checking finiteness and calling
22373 * math/w_exp2f.c: Likewise.
22374 * math/w_exp2l.c: Likewise.
22375 * math/libm-test.inc (exp2_test): Require overflow exception for
22379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22380 range of signed 64-bit integers before using fistpll. Remove
22381 checks for whether integers fit in mantissa bits.
22382 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22383 the range of signed 32-bit integers before using fistpl. Remove
22384 checks for whether integers fit in mantissa bits.
22385 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22386 (__ieee754_powl): Test for y outside the range of signed 64-bit
22387 integers before using fistpll. Reduce 64-bit values to 63-bit
22389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22390 divide-by-zero is raised for zero to large negative powers.
22391 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22392 (__ieee754_powl): Test for y outside the range of signed 64-bit
22393 integers before using fistpll. Reduce 64-bit values to 63-bit
22395 * math/libm-test.inc (pow_test): Add more tests.
22397 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22399 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22400 <stdio-common/_itoa.h>.
22401 * debug/segfault.c: Likewise.
22402 * elf/dl-cache.c: Likewise.
22403 * elf/dl-minimal.c: Likewise.
22404 * elf/dl-misc.c: Likewise.
22405 * elf/dl-sysdep.c: Likewise.
22406 * elf/dl-version.c: Likewise.
22407 * elf/rtld.c: Likewise.
22408 * hurd/hurdsock.c: Likewise.
22409 * hurd/lookup-retry.c: Likewise.
22410 * malloc/malloc.c: Likewise.
22411 * malloc/mtrace.c: Likewise.
22412 * nscd/nscd_getgr_r.c: Likewise.
22413 * nscd/nscd_getpw_r.c: Likewise.
22414 * nscd/nscd_getserv_r.c: Likewise.
22415 * posix/getopt_init.c: Likewise.
22416 * posix/wordexp.c: Likewise.
22417 * stdio-common/_itoa.c: Likewise.
22418 * stdio-common/printf_fphex.c: Likewise.
22419 * stdio-common/vfprintf.c: Likewise.
22420 * string/_strerror.c: Likewise.
22421 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22422 * sysdeps/i386/i686/hp-timing.h: Likewise.
22423 * sysdeps/mach/_strerror.c: Likewise.
22424 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22425 * sysdeps/mach/hurd/sethostid.c: Likewise.
22426 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22427 * sysdeps/mach/xpg-strerror.c: Likewise.
22428 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22429 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22430 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22431 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22433 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22434 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22435 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22436 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22437 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22438 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22439 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22440 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22442 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22443 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22444 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22446 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22447 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22448 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22450 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22452 * stdio-common/_itoa.h: Moved to ...
22453 * sysdeps/generic/_itoa.h: Here.
22455 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22457 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22458 instead of "_itoa.h" and "_itowa.h".
22459 * stdio-common/vfprintf.: Likewise.
22461 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22463 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22465 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22466 (__signbit): Likwise.
22467 (llrintf): Likwise.
22470 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22472 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22475 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22477 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22478 OVERFLOW_EXCEPTION_OK.
22479 * math/libm-test.inc ("Philosophy"): Update comment about
22481 (OVERFLOW_EXCEPTION): Define.
22482 (OVERFLOW_EXCEPTION_OK): Likewise.
22483 (INVALID_EXCEPTION_OK): Renumber.
22484 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22485 (IGNORE_ZERO_INF_SIGN): Likewise.
22486 (test_exceptions): Handle FE_OVERFLOW.
22487 (exp10_test): Expect overflow exceptions.
22488 (exp2_test): Likewise.
22489 (expm1_test): Likewise.
22490 (nextafter_test): Likewise.
22491 (pow_test): Likewise.
22492 (scalbn_test): Likewise.
22493 (scalbln_test): Likewise.
22495 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22497 * sysdeps/x86_64/bits/atomic.h
22498 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22500 (atomic_exchange_acq): Likewise.
22501 (__arch_exchange_and_add_body): Likewise.
22502 (__arch_add_body): Likewise.
22503 (atomic_add_negative): Likewise.
22504 (atomic_add_zero): Likewise.
22506 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22508 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22509 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22513 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22514 Check __x86_64__ instead of __WORDSIZE.
22516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22518 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22520 2012-03-19 David S. Miller <davem@davemloft.net>
22522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22524 * sysdeps/sparc/fpu/fenv_private.h: New file.
22525 * sysdeps/sparc/fpu/math_private.h: Use it.
22526 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22529 (libc_feholdexcept_setroundl): Remove.
22530 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22537 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22538 int64_t instead of long int.
22539 (INSERT_WORDS64): Likwise.
22541 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22543 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22544 _Unwind_GetCFA return to _Unwind_Ptr first.
22546 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22549 * math/s_clog.c: Include <float.h>.
22550 (__clog): Scale large or subnormal inputs.
22551 * math/s_clogf.c: Likewise.
22552 * math/s_clogl.c: Likewise.
22553 * math/s_clog10.c: Include <float.h>.
22554 (M_LOG10_2): Define.
22555 (__clog10): Scale large or subnormal inputs.
22556 * math/s_clog10f.c: Likewise.
22557 * math/s_clog10l.c: Likewise.
22558 * math/libm-test.inc (clog_test): Add more tests.
22559 (clog10_test): Likewise.
22560 * sysdeps/i386/fpu/libm-test-ulps: Update.
22561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22564 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22566 * math/libm-test.inc (atan2_test): Add another test.
22568 * Makerules (common-objdir-compile): Remove.
22569 * sysdeps/unix/Makefile (config-generated): Do not add
22570 $(unix-generated) to variable.
22571 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22572 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22574 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22576 [generic bits/local_lim.h] (before-compile): Do not append to
22578 [generic bits/local_lim.h] (common-generated): Likewise.
22579 [generic sys/param.h] (before-compile): Do not append to variable.
22580 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22581 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22582 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22585 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22586 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22587 [generic sys/param.h] ($(addprefix
22588 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22589 [generic sys/param.h] (common-generated): Do not append to
22591 [generic sys/param.h] (sysdep_headers): Likewise.
22592 [generic bits/errno.h] (before-compile): Do not append to
22594 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22596 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22597 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22598 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22599 [generic bits/errno.h] (common-generated): Do not append to
22601 [generic bits/ioctls.h] (before-compile): Do not append to
22603 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22605 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22606 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22607 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22609 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22610 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22611 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22612 [generic bits/ioctls.h] (common-generated): Do not append to
22614 [generic sys/syscall.h] (syscall.h): Remove variable.
22615 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22617 [generic sys/syscall.h] (before-compile): Do not append to
22619 [generic sys/syscall.h] (common-generated): Likewise.
22620 * sysdeps/unix/errnos-tmpl.c: Remove file.
22621 * sysdeps/unix/errnos.awk: Likewise.
22622 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22623 * sysdeps/unix/ioctls.awk: Likewise.
22624 * sysdeps/unix/mk-local_lim.c: Likewise.
22625 * sysdeps/unix/snarf-ioctls: Likewise.
22627 2012-03-19 Richard Henderson <rth@twiddle.net>
22629 * sysdeps/i386/fpu/fenv_private.h: New file.
22630 * sysdeps/i386/fpu/math_private.h: Use it.
22631 (math_opt_barrier, math_force_eval): Remove.
22632 (libc_feholdexcept_setround_53bit): Remove.
22633 (libc_feupdateenv_53bit): Remove.
22634 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22635 (math_opt_barrier, math_force_eval): Remove.
22636 (libc_feholdexcept): Remove.
22637 (libc_feholdexcept_setround): Remove.
22638 (libc_fetestexcept, libc_fesetenv): Remove.
22639 (libc_feupdateenv_test): Remove.
22640 (libc_feupdateenv, libc_feholdsetround): Remove.
22641 (libc_feresetround): Remove.
22643 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22644 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22646 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22647 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22648 (libc_feupdateenv_testl): New.
22649 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22650 (libc_feupdateenv_testf): New.
22651 (libc_feupdateenv): Use libc_feupdateenv_test.
22652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22653 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22655 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22656 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22657 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22658 (libc_feresetround_noex): New.
22659 (libc_feresetround_noexf): New.
22660 (libc_feresetround_noexl): New.
22661 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22662 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22663 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22664 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22669 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22670 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22671 SET_RESTORE_ROUND_NOEX.
22672 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22673 SET_RESTORE_ROUND_NOEXF.
22674 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22675 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22676 (libc_feholdsetroundf): New.
22677 (libc_feresetround, libc_feresetroundf): New.
22679 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22680 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22681 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22683 * sysdeps/generic/math_private.h: Include <fenv.h>.
22684 (default_libc_feholdexcept): New.
22685 (default_libc_feholdexcept_setround): New.
22686 (default_libc_fesetenv, default_libc_feupdateenv): New.
22687 (libc_feholdexcept): Only define if undefined.
22688 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22689 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22690 (libc_feholdexcept_setroundl): Likewise.
22691 (libc_feholdexcept_setround_53bit): Likewise.
22692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22693 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22694 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22695 (libc_feupdateenv_53bit): Likewise.
22696 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22697 (libc_feholdexcept): Convert from macro to inline function.
22698 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22699 (libc_fesetenv, libc_feupdateenv): Likewise.
22701 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22702 not previously defined.
22703 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22704 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22705 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22706 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22707 * sysdeps/ieee754/flt-32/math_private.h: New file.
22708 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22709 math_private.h below SET_FLOAT_WORD.
22710 (__isnan, __isinf_ns, __finite): Remove.
22711 (__isnanf, __isinf_nsf, __finitef): Remove.
22713 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22717 2012-03-17 David S. Miller <davem@davemloft.net>
22720 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22723 2012-03-16 David S. Miller <davem@davemloft.net>
22725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22729 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22731 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22732 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22733 sysdep_routines when subdir is sysvipc.
22734 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22735 __getshmlba helper.
22737 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22739 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22741 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22744 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22747 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22748 (__lround): Renamed to ...
22749 (__llround): This. Replace long int with long long int.
22750 Define lround functions as aliases of llround functions.
22751 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22753 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22755 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22756 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22757 adresses to uintptr_t. Replace "long int" and "unsigned long
22758 int" with "greg_t" on va_arg.
22760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22762 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22763 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22765 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22766 Move e_machine check before EI_CLASS check. Handle x32
22767 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22768 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22769 SKIP_EM_IA_64 and include
22770 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22772 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22773 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22774 (add_system_dir): New macro.
22776 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22777 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22779 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22790 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22792 * math/w_j0f.c (j0f): Likewise.
22794 * math/w_j0l.c (__j0l): Likewise.
22796 * math/w_j1.c (j1): Likewise.
22798 * math/w_j1f.c (j1f): Likewise.
22800 * math/w_j1l.c (__j1l): Likewise.
22802 * math/w_jn.c (jn): Likewise.
22804 * math/w_jnf.c (jnf): Likewise.
22806 * math/w_jnl.c (__jnl): Likewise.
22808 * math/libm-test.inc (j0_test): Add more tests.
22809 (j1_test): Likewise.
22810 (jn_test): Likewise. Add trailing semicolon to existing test.
22811 (y0_test): Likewise.
22812 (y1_test): Likewise.
22813 * sysdeps/i386/fpu/libm-test-ulps: Update.
22814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22819 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22820 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22822 (__tanl): Set errno for infinite argument.
22823 * sysdeps/i386/fpu/mptan.c: Remove.
22824 * sysdeps/i386/fpu/s_tan.S: Likewise.
22825 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22826 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22827 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22828 * math/libm-test.inc (tan_test): Add more tests and enable more
22829 tests for double and long double.
22830 * sysdeps/i386/fpu/libm-test-ulps: Update.
22831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22833 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22835 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22836 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22838 2012-03-16 Roland McGrath <roland@hack.frob.com>
22840 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22841 * configure.in: Use it for both main tree and add-ons.
22842 * configure: Regenerated.
22844 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22846 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22848 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22850 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22854 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22855 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22856 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22860 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22862 != 0 for prec == 2.
22863 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22864 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22865 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22866 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22867 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22868 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22869 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22870 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22871 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22872 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22873 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22874 * math/libm-test.inc (cos_test): Add more tests and enable more
22875 tests for long double.
22876 (sin_test): Likewise.
22877 (sincos_test): Likewise.
22878 * sysdeps/i386/fpu/libm-test-ulps: Update.
22879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22881 2012-03-16 David S. Miller <davem@davemloft.net>
22883 * sysdeps/sparc/fpu/math_private.h: New file.
22885 2012-03-15 David S. Miller <davem@davemloft.net>
22887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22901 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22902 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22904 * sysdeps/sparc/sparc-ifunc.h: New file.
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22950 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22952 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22956 2012-03-15 Andreas Jaeger <aj@suse.de>
22959 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22960 ieee754/flt-32 implementation for sin, cos and sincos.
22961 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22962 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22963 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22964 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22965 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22966 ieee754/flt-32 implementation for tan.
22968 * math/libm-test.inc (cos_test): Enable some large input tests for
22970 (sin_test): Likewise.
22971 (sincos_test): Likewise.
22972 (tan_test): Add tests for large input.
22974 * sysdeps/i386/fpu/libm-test-ulps: Update.
22976 2012-03-15 Andreas Jaeger <aj@suse.de>
22979 * math/libm-test.inc (cos_test): Add more test cases.
22980 (sin_test): Likewise.
22981 (sincos_test): Likewise.
22983 2012-03-15 Andreas Jaeger <aj@suse.de>
22986 * math/libm-test.inc (cos_test): Add a test case for large input
22988 (sin_test): Likewise.
22989 (sincos_test): Likewise.
22991 2012-03-15 Andreas Jaeger <aj@suse.de>,
22992 Joseph Myers <joseph@codesourcery.com>
22995 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22996 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22997 * sysdeps/i386/fpu/branred.c: Likewise.
22998 * sysdeps/i386/fpu/dosincos.c: Likewise.
22999 * sysdeps/i386/fpu/mpa.c: Likewise.
23000 * sysdeps/i386/fpu/s_cos.S: Likewise.
23001 * sysdeps/i386/fpu/s_sin.S: Likewise.
23002 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23003 * sysdeps/i386/fpu/sincos32.c: Likewise.
23005 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23007 (libc_feupdateenv_53bit): Define.
23008 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23010 (libc_feupdateenv_53bit): Define.
23012 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23013 53 bit (without extend i386 double precision).
23015 * math/libm-test.inc (sincos_test): Add tests for large input.
23019 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23021 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23025 2012-03-15 David S. Miller <davem@davemloft.net>
23027 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23028 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23029 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23055 fmin/fmax sysdep routines.
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23058 2012-03-14 David S. Miller <davem@davemloft.net>
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23132 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23137 * sysdeps/sparc/configure.in: New file.
23138 * sysdeps/sparc/configure: Generate.
23139 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23140 * configure: Regenerate.
23141 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23142 * config.make.in (have-as-vis3): New.
23143 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23144 available use -Av9d instead of -Av9a.
23145 * sysdeps/sparc/sparc64/Makefile: Likewise.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23156 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23161 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23162 fzeros/fnegs to load 0x80000000 into a float register instead of
23164 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23166 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23170 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23171 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23172 ($(inst_includedir)/bits/syscall.h): Remove rule.
23173 ($(objpfx)bits/syscall.d): Include instead of
23174 $(objpfx)syscall-list.d.
23175 (generated): Change syscall-list.h and syscall-list.d to
23176 bits/syscall.h and bits/syscall.d.
23178 2012-03-14 Roland McGrath <roland@hack.frob.com>
23181 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23183 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23186 * math/s_csqrt.c: Include <float.h>.
23187 (__csqrt): Scale large or subnormal inputs.
23188 * math/s_csqrtf.c: Likewise.
23189 * math/s_csqrtl.c: Likewise.
23190 * math/libm-test.inc (csqrt_test): Add more tests.
23191 * sysdeps/i386/fpu/libm-test-ulps: Update.
23192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23195 * math/libm-test.inc (hypot_test): Add more tests.
23197 2012-03-13 David S. Miller <davem@davemloft.net>
23200 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23201 double-precision for the calculation instead of scaling.
23203 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23205 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23206 manipulate bits before adding and subtracting TWO52[sx].
23207 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23210 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23212 2012-03-13 David S. Miller <davem@davemloft.net>
23214 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23215 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23217 rtld-global-offsets.h
23218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23220 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23223 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23225 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23226 'err' in the ifdef scope in which it is actually used.
23228 * nss/nss_db/db-init.c: Include string.h
23230 2012-03-12 David S. Miller <davem@davemloft.net>
23232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23233 masking out of the most significant byte of random value used.
23234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23235 Fix coding style in previous change.
23237 * sysdeps/unix/sysv/linux/kernel-features.h
23238 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23239 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23241 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23244 2012-03-11 David S. Miller <davem@davemloft.net>
23246 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23247 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23249 for 'resultvar' otherwise things get truncated on 64-bit.
23251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23252 Fix masking out of the most significant byte of random value used.
23254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23256 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23260 2012-03-09 David S. Miller <davem@davemloft.net>
23262 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23263 variables with appropriate CPP guards.
23264 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23265 frame pointer, not the stack pointer. Correct layout comments. Fix test
23266 on resulting framesize and the management of the outregs buffer for pltexit.
23267 Preserve floating point return values across _dl_call_pltexit call.
23268 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23269 framesize and the management of the outregs buffer for pltexit.
23270 Preserve floating point return values across _dl_call_pltexit
23272 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23273 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23274 (print_exit): Fix format string for return register value.
23276 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23278 * sunrpc/Makefile (others): Add rpcgen.
23279 ($(objpfx)rpcgen): Remove special build rule and dependency on
23281 * sunrpc/rpcgen.c: New file.
23283 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23286 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23287 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23288 * sysdeps/i386/crti.S: Likewise.
23289 * sysdeps/i386/crtn.S: Likewise.
23290 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23291 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23292 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23293 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23294 * sysdeps/sh/crti.S: Likewise.
23295 * sysdeps/sh/crtn.S: Likewise.
23296 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23299 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23301 * locale/programs/locfile-kw.gperf: Likewise.
23302 * locale/programs/charmap-kw.h: Regenerated.
23303 * locale/programs/locfile-kw.h: Likewise.
23306 * intl/plural.y: Replace FSF snail mail address with URL.
23307 * intl/plural.c: Regenerated.
23309 2012-03-09 Richard Henderson <rth@twiddle.net>
23311 * include/math_private.h: Remove file.
23312 * math/math_private.h: Move file ...
23313 * sysdeps/generic/math_private.h: ... here.
23315 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23316 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23317 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23319 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23320 and <math_private.h>.
23321 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23322 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23323 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23324 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23325 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23409 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23412 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23413 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23418 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23419 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23420 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23421 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23422 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23423 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23424 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23426 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23427 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23431 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23432 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23441 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23442 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23444 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23445 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23446 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23448 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23449 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23450 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23451 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23452 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23453 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23454 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23455 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23456 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23457 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23458 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23460 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23463 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23464 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23465 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23467 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23468 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23469 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23470 * sysdeps/ieee754/k_standard.c: Likewise.
23471 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23603 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23631 * sysdeps/ieee754/s_lib_version.c: Likewise.
23632 * sysdeps/ieee754/s_matherr.c: Likewise.
23633 * sysdeps/ieee754/s_signgam.c: Likewise.
23634 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23635 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23636 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23637 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23638 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23639 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23640 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23641 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23642 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23643 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23644 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23645 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23646 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23647 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23648 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23649 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23651 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23652 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23656 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23658 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23659 * sunrpc/rpc_main.c: Likewise.
23660 * sunrpc/rpc_svcout.c: Likewise.
23662 2012-03-09 David S. Miller <davem@davemloft.net>
23664 * include/math_private.h: New file.
23666 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23668 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23669 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23670 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23671 from <bits/socket_type.h>.
23672 (enum __socket_type): Don't define here.
23673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23675 bits/socket_type.h.
23678 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23679 checking __USE_GNU.
23681 * Makerules ($(inst_includedir)/%.h): New rule.
23682 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23683 (install-others): Remove variable setting.
23684 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23686 2012-03-08 Richard Henderson <rth@twiddle.net>
23688 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23689 from macro to inline function; merge with the
23690 !__LIBC_INTERNAL_MATH_INLINES version.
23691 (__ieee754_sqrtf): Likewise.
23693 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23694 to inline function.
23695 (__rintf, __floor, __floorf): Likewise.
23697 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23698 macro to inline function.
23699 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23702 not <math/math_private.h>.
23704 2012-03-08 David S. Miller <davem@davemloft.net>
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23708 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23710 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23712 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23714 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23715 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23717 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23719 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23720 be defined individually, they must be defined as a block. Define
23721 S for printing a string instead of hidint the different by using a
23722 macro for adding the 'l'.
23723 * stdio-common/tst-fphex-wide.c: Adjust.
23725 2012-03-07 Marek Polacek <polacek@redhat.com>
23727 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23729 2012-03-08 Marek Polacek <polacek@redhat.com>
23732 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23733 * stdio-common/tst-fphex.c: Define a few macros to make the
23734 test reusable. Use them.
23735 * stdio-common/tst-fphex-wide.c: New file.
23737 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23740 * manual/macros.texi (gnusystems): New macro.
23741 (nongnusystems): Likewise.
23742 (gnulinuxhurdsystems): Likewise.
23743 (gnuhurdsystems): Likewise..
23744 (gnulinuxsystems): Likewise.
23745 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23746 variants of the GNU system, not "GNU system".
23747 * manual/conf.texi: Likewise.
23748 * manual/errno.texi: Likewise. Update example of errno macro
23750 * manual/filesys.texi: Likewise.
23751 (getumask): Document as specific to GNU/Hurd.
23752 * manual/install.texi: Likewise. Reword some references to
23754 * manual/intro.texi: Likewise.
23755 * manual/io.texi: Likewise.
23756 (File Name Portability): Detail which constraints are inapplicable
23757 to all GNU systems and which are only inapplicable to GNU/Hurd.
23758 * manual/job.texi: Likewise.
23759 * manual/llio.texi: Likewise.
23760 (O_NOCTTY): Document as present on GNU/Linux.
23761 * manual/maint.texi: Likewise.
23762 * manual/memory.texi: Likewise.
23763 * manual/pattern.texi: Likewise.
23764 * manual/pipe.texi: Likewise.
23765 * manual/process.texi: Likewise.
23766 * manual/resource.texi: Likewise.
23767 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23769 * manual/setjmp.texi: Likewise.
23770 * manual/signal.texi: Likewise.
23771 * manual/startup.texi: Likewise.
23772 * manual/stdio.texi: Likewise.
23773 * manual/terminal.texi: Likewise.
23774 (ONLCR): Document as POSIX.
23775 (OXTABS): Document availability on GNU/Linux as XTABS.
23776 (ONOEOT): Document availability separately from other bits.
23777 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23778 * manual/time.texi: Likewise.
23779 * manual/users.texi: Likewise.
23780 * INSTALL: Regenerated.
23781 * sysdeps/gnu/errlist.c: Regenerated.
23783 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23784 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23785 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23787 * configure: Regenerated.
23789 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23792 default includes instead of AC_HEADER_CHECK.
23793 * sysdeps/i386/configure: Regenerated.
23796 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23797 * math/s_cacoshf.c (__cacoshf): Likewise.
23798 * math/s_cacoshl.c (__cacoshl): Likewise.
23799 * math/s_casinh.c (__casinh): Set signs of result from argument.
23800 * math/s_casinhf.c (__casinhf): Likewise.
23801 * math/s_casinhl.c (__casinhl): Likewise.
23802 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23803 (casinh_test): Add more tests.
23804 * sysdeps/i386/fpu/libm-test-ulps: Update.
23805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23807 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23809 * po/zh_TW.po: Update from translation team.
23811 * login/Makefile (distribute): Remove variable.
23812 * catgets/Makefile: Likewise.
23813 * mach/Makefile: Likewise.
23814 * malloc/Makefile: Likewise.
23815 * misc/Makefile: Likewise.
23816 * iconv/Makefile: Likewise.
23817 * nscd/Makefile: Likewise.
23818 * hurd/Makefile: Likewise.
23819 * manual/Makefile: Likewise.
23820 * locale/Makefile: Likewise.
23821 * intl/Makefile: Likewise.
23822 * conform/Makefile: Likewise.
23823 * nss/Makefile: Likewise.
23824 * time/Makefile: Likewise.
23825 * soft-fp/Makefile: Likewise.
23826 * dirent/Makefile: Likewise.
23827 * gmon/Makefile: Likewise.
23828 * po/Makefile: Likewise.
23829 * rt/Makefile: Likewise.
23830 * socket/Makefile: Likewise.
23831 * math/Makefile: Likewise.
23832 * signal/Makefile: Likewise.
23833 * debug/Makefile: Likewise.
23834 * elf/Makefile: Likewise.
23835 * timezone/Makefile: Likewise.
23836 * stdlib/Makefile: Likewise.
23837 * iconvdata/Makefile: Likewise.
23838 * sunrpc/Makefile: Likewise.
23839 * io/Makefile: Likewise.
23840 * argp/Makefile: Likewise.
23841 * inet/Makefile: Likewise.
23842 * hesiod/Makefile: Likewise.
23843 * grp/Makefile: Likewise.
23844 * csu/Makefile: Likewise.
23845 * wctype/Makefile: Likewise.
23846 * crypt/Makefile: Likewise.
23847 * libio/Makefile: Likewise.
23848 * string/Makefile: Likewise.
23849 * nis/Makefile: Likewise.
23850 * resolv/Makefile: Likewise.
23851 * stdio-common/Makefile: Likewise.
23852 * wcsmbs/Makefile: Likewise.
23853 * dlfcn/Makefile: Likewise.
23854 * posix/Makefile: Likewise.
23857 * timezone/Makefile: Don't install timezone files, just the programs
23860 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23862 * nss/databases.def: Add missing gshadow entry.
23864 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23866 2012-03-06 Marek Polacek <polacek@redhat.com>
23869 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23870 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23871 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23872 * stdio-common/tst-long-dbl-fphex.c: New file.
23874 2012-03-06 David S. Miller <davem@davemloft.net>
23876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23877 (set_obp_int): New function.
23878 (get_obp_int): New function.
23879 (__get_clockfreq_via_dev_openprom): Likewise.
23880 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23881 Avoid unused variable warnings on 'val' and use builtin_expect.
23882 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23884 (INLINE_CLONE_SYSCALL): Likewise.
23886 2012-03-05 David S. Miller <davem@davemloft.net>
23888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23890 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23894 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23895 only for |x| >= 40.
23896 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23898 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23901 Replace gettimeofday with __vdso_gettimeofday.
23903 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23904 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23905 __vdso_clock_gettime and __vdso_getcpu.
23907 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23908 time with __vdso_time.
23910 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23912 * manual/lang.texi (size_t): Note types to which size_t may be
23913 equivalent with the GNU C Library, but do not describe when
23914 differences between them are significant.
23916 2012-03-05 Andreas Jaeger <aj@suse.de>
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23920 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23923 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23924 (__ieee754_pow): Save and restore rounding mode and use
23925 round-to-nearest for main computations.
23926 * math/libm-test.inc (pow_test_tonearest): New function.
23927 (pow_test_towardzero): Likewise.
23928 (pow_test_downward): Likewise.
23929 (pow_test_upward): Likewise.
23930 (main): Call the new functions.
23931 * sysdeps/i386/fpu/libm-test-ulps: Update.
23932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23935 * math/libm-test.inc (cosh_test_tonearest): New function.
23936 (cosh_test_towardzero): Likewise.
23937 (cosh_test_downward): Likewise.
23938 (cosh_test_upward): Likewise.
23939 (sinh_test_tonearest): Likewise.
23940 (sinh_test_towardzero): Likewise.
23941 (sinh_test_downward): Likewise.
23942 (sinh_test_upward): Likewise.
23943 (main): Call the new functions.
23944 * sysdeps/i386/fpu/libm-test-ulps: Update.
23945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23947 2012-03-05 Tom de Vries <tom@codesourcery.com>
23949 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23950 default stack guard is set in last bytes.
23951 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23953 2012-03-05 Kees Cook <keescook@chromium.org>
23955 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23958 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23959 possibly allocate from heap instead of stack.
23960 * stdio-common/bug-vfprintf-nargs.c: New file.
23961 * stdio-common/Makefile (tests): Add nargs overflow test.
23963 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23967 2012-03-03 Marek Polacek <polacek@redhat.com>
23969 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23970 * math/math_private.h: Likewise.
23971 * stdlib/tst-strtod.c: Likewise.
23972 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23973 * sysdeps/x86_64/bits/atomic.h: Likewise.
23975 2012-03-02 David S. Miller <davem@davemloft.net>
23977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23981 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23982 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23983 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23984 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23986 2012-03-02 Roland McGrath <roland@hack.frob.com>
23989 * manual/examples/README: New file, says the example source files
23990 can be used under GPL>=2.
23991 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23992 line containing just "*/".
23993 * manual/examples/add.c: Add copyright header (GPL>=2).
23994 * manual/examples/argp-ex1.c: Likewise.
23995 * manual/examples/argp-ex2.c: Likewise.
23996 * manual/examples/argp-ex3.c: Likewise.
23997 * manual/examples/argp-ex4.c: Likewise.
23998 * manual/examples/atexit.c: Likewise.
23999 * manual/examples/db.c: Likewise.
24000 * manual/examples/dir.c: Likewise.
24001 * manual/examples/dir2.c: Likewise.
24002 * manual/examples/execinfo.c: Likewise.
24003 * manual/examples/filecli.c: Likewise.
24004 * manual/examples/filesrv.c: Likewise.
24005 * manual/examples/fmtmsgexpl.c: Likewise.
24006 * manual/examples/genpass.c: Likewise.
24007 * manual/examples/inetcli.c: Likewise.
24008 * manual/examples/inetsrv.c: Likewise.
24009 * manual/examples/isockad.c: Likewise.
24010 * manual/examples/longopt.c: Likewise.
24011 * manual/examples/memopen.c: Likewise.
24012 * manual/examples/memstrm.c: Likewise.
24013 * manual/examples/mkfsock.c: Likewise.
24014 * manual/examples/mkisock.c: Likewise.
24015 * manual/examples/mygetpass.c: Likewise.
24016 * manual/examples/pipe.c: Likewise.
24017 * manual/examples/popen.c: Likewise.
24018 * manual/examples/rprintf.c: Likewise.
24019 * manual/examples/search.c: Likewise.
24020 * manual/examples/select.c: Likewise.
24021 * manual/examples/setjmp.c: Likewise.
24022 * manual/examples/sigh1.c: Likewise.
24023 * manual/examples/sigusr.c: Likewise.
24024 * manual/examples/stpcpy.c: Likewise.
24025 * manual/examples/strdupa.c: Likewise.
24026 * manual/examples/strftim.c: Likewise.
24027 * manual/examples/strncat.c: Likewise.
24028 * manual/examples/subopt.c: Likewise.
24029 * manual/examples/swapcontext.c: Likewise.
24030 * manual/examples/termios.c: Likewise.
24031 * manual/examples/testopt.c: Likewise.
24032 * manual/examples/testpass.c: Likewise.
24033 * manual/examples/timeval_subtract.c: Likewise.
24036 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24038 * manual/timeval_subtract.c.texi: ... here, new file.
24040 2012-03-02 David S. Miller <davem@davemloft.net>
24042 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24044 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24047 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24048 (__sin): Save and restore rounding mode and use round-to-nearest
24049 for all computations.
24050 (__cos): Save and restore rounding mode and use round-to-nearest
24051 for all computations.
24052 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24054 (tan): Save and restore rounding mode and use round-to-nearest for
24056 * math/libm-test.inc (cos_test_tonearest): New function.
24057 (cos_test_towardzero): Likewise.
24058 (cos_test_downward): Likewise.
24059 (cos_test_upward): Likewise.
24060 (sin_test_tonearest): Likewise.
24061 (sin_test_towardzero): Likewise.
24062 (sin_test_downward): Likewise.
24063 (sin_test_upward): Likewise.
24064 (tan_test_tonearest): Likewise.
24065 (tan_test_towardzero): Likewise.
24066 (tan_test_downward): Likewise.
24067 (tan_test_upward): Likewise.
24068 (main): Call the new functions.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24073 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24074 small n, then large n, before computing and testing k+n.
24075 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24080 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24081 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24082 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24083 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24088 * math/libm-test.inc (scalbn_test): Add more tests.
24089 (scalbln_test): Likewise.
24091 * manual/filesys.texi (mode_t): Describe constraints on size and
24092 signedness, not exact equivalence to a particular type.
24094 (ino64_t): Likewise.
24096 (nlink_t): Likewise.
24097 (blkcnt_t): Likewise.
24098 (blkcnt64_t): Likewise.
24099 * manual/llio.texi (off_t): Likewise.
24102 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24103 (__ieee754_exp): Save and restore rounding mode and use
24104 round-to-nearest for all computations.
24105 * math/libm-test.inc (exp_test_tonearest): New function.
24106 (exp_test_towardzero): Likewise.
24107 (exp_test_downward): Likewise.
24108 (exp_test_upward): Likewise.
24109 (main): Call the new functions.
24110 * sysdeps/i386/fpu/libm-test-ulps: Update.
24111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24113 2012-03-01 Chris Demetriou <cgd@google.com>
24115 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24116 have predictable order.
24118 2012-03-01 David S. Miller <davem@davemloft.net>
24120 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24122 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24127 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24128 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24129 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24131 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24132 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24133 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24134 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24135 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24140 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24143 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24144 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24145 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24146 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24147 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24150 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24151 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24152 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24153 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24156 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24157 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24159 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24160 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24161 * sysdeps/sparc/elf/configure: Regenerated.
24163 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24165 * configure.in (AS, LD): Require binutils 2.20 or later.
24166 * configure: Regenerated.
24167 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24168 as required minimum version.
24169 * INSTALL: Regenerated.
24173 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24174 before squaring exponent.
24175 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24176 bottom long double and 27 bits of top long double before squaring
24178 * math/libm-test.inc (erfc_test): Add more tests.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24183 2012-03-01 Kai Tietz <ktietz@redhat.com>
24185 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24186 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24187 containing bit-fields.
24188 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24189 * soft-fp/single.h (_FP_UNION_S): Likewise.
24190 * soft-fp/double.h (_FP_UNION_D): Likewise.
24192 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24195 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24196 not include ../strcmp.S.
24197 [USE_AS_STRNCASECMP_L]: Likewise.
24198 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24199 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24200 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24201 (__strncasecmp_l_ia32): Define as alias to
24202 __strncasecmp_l_nonascii.
24205 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24206 * sysdeps/i386/fpu/libm-test-ulps: Update.
24207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24209 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24212 2012-02-29 Jeff Law <law@redhat.com>
24214 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24215 out of bounds read.
24217 2012-02-29 Marek Polacek <polacek@redhat.com>
24220 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24221 * elf/Makefile: Add rules to run tst-unused-dep.out.
24223 2012-02-28 David S. Miller <davem@davemloft.net>
24225 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24226 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24227 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24229 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24232 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24234 * math/libm-test.inc (llround_test): Move one test from
24235 lround_test. Use TEST_f_L in moved test.
24236 (lround_test): Move misplaced test to llround_test. Add testcase
24239 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24241 * sysdeps/x86_64/fpu/e_expf.S: New file.
24242 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24244 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24247 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24248 of remain_len that may cause incomplete multi-byte character and
24250 * posix/bug-regex33.c: New file.
24251 * posix/Makefile (tests): Add bug-regex33.
24253 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24255 * manual/macros.texi: New file.
24256 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24257 * manual/libc.texinfo: Include macros.texi.
24258 * manual/creatute.texi: Likewise.
24259 * manual/install.texi: Likewise.
24260 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24261 @glibcadj{} in references to the GNU C Library.
24262 * manual/charset.texi: Likewise.
24263 * manual/conf.texi: Likewise.
24264 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24265 when not using those macros.
24266 * manual/creature.texi: Likewise.
24267 * manual/crypt.texi: Likewise.
24268 * manual/errno.texi: Likewise.
24269 * manual/filesys.texi: Likewise.
24270 * manual/header.texi: Likewise.
24271 * manual/install.texi: Likewise.
24272 * manual/intro.texi: Likewise.
24273 * manual/io.texi: Likewise.
24274 * manual/job.texi: Likewise.
24275 * manual/lang.texi: Likewise.
24276 * manual/libc.texiinfo: Likewise.
24277 * manual/llio.texi: Likewise.
24278 * manual/locale.texi: Likewise.
24279 * manual/maint.texi: Likewise.
24280 * manual/math.texi: Likewise.
24281 * manual/memory.texi: Likewise.
24282 * manual/message.texi: Likewise.
24283 * manual/nss.texi: Likewise.
24284 * manual/pattern.texi: Likewise.
24285 * manual/process.texi: Likewise.
24286 * manual/resource.texi: Likewise.
24287 * manual/search.texi: Likewise.
24288 * manual/setjmp.texi: Likewise.
24289 * manual/signal.texi: Likewise.
24290 * manual/socket.texi: Likewise.
24291 * manual/startup.texi: Likewise.
24292 * manual/stdio.texi: Likewise.
24293 * manual/string.texi: Likewise.
24294 * manual/sysinfo.texi: Likewise.
24295 * manual/syslog.texi: Likewise.
24296 * manual/terminal.texi: Likewise.
24297 * manual/time.texi: Likewise.
24298 * manual/users.texi: Likewise.
24299 * INSTALL: Regenerated.
24300 * NOTES: Regenerated.
24301 * sysdeps/gnu/errlist.c: Regenerated.
24303 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24305 * include/dirent.h: Include <dirstream.h> before
24308 2012-02-28 David S. Miller <davem@davemloft.net>
24310 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24311 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24312 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24315 2012-02-27 David S. Miller <davem@davemloft.net>
24317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24319 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24323 frame pointer instead of stack pointer relative arg slot.
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24325 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24326 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24328 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24331 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24333 2012-02-27 David S. Miller <davem@davemloft.net>
24335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24341 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24342 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24344 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24346 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24347 later. Allow versions 5-9.
24348 * configure: Regenerated.
24349 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24350 required minimum version and 4.6 as recommended version. Do not
24351 mention bugs in GCC 2.7 and 2.8.
24352 * INSTALL: Regenerated.
24354 2012-02-27 David S. Miller <davem@davemloft.net>
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24362 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24363 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24366 manipulate bits before adding and subtracting TWO112[sx].
24367 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24369 2012-02-27 Roland McGrath <roland@hack.frob.com>
24372 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24373 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24374 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24375 being in POSIX, because they are in 1003.1-2008.
24377 * rt/tst-aio.c: Include <fcntl.h>.
24378 * rt/tst-aio7.c: Likewise.
24379 * rt/tst-aio64.c: Likewise.
24381 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24383 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24385 * manual/install.texi (--with-headers): Describe headers as
24386 interface headers, not private headers.
24387 (Specific advice for GNU/Linux systems): Describe use of headers
24388 from "make headers_install", not private headers from older
24390 * INSTALL: Regenerated.
24391 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24393 * sysdeps/unix/sysv/linux/configure: Regenerated.
24395 * manual/llio.texi (fclean): Remove documentation.
24397 * manual/Makefile (libc-texi-generated): New variable. Include
24399 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24400 $(libc-texi-generated), not duplicated list of files.
24401 (version.texi, stamp-version): New rules.
24402 (realclean): Remove $(libc-texi-generated), not individual files
24403 from that list. Do not remove dir-add.texinfo.
24404 * manual/libc.texinfo: Comment out uses of edition numbers and
24405 references to printed manual. Remove last-updated dates.
24406 (EDITION): Comment out.
24408 (VERSION, UPDATED): Remove.
24409 (version.texi): Include.
24411 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24413 * sysdeps/posix/spawni.c: Include <signal.h>.
24414 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24415 * sysdeps/pthread/aio_fsync.c: Likewise.
24417 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24419 * conform/Makefile (tests): Run only when not cross-compiling and
24420 when fast-check is not defined.
24422 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24423 * conform/data/limits.h-data: Fixes for POSIX2008.
24424 * conform/run-conformtest.sh: Run all tests.
24425 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24427 * include/bits/dlfcn.h: Likewise.
24428 * include/langinfo.h: Likewise.
24429 * include/monetary.h: Likewise.
24430 * include/sys/poll.h: Likewise.
24432 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24434 * posix/spawn.h: Define __need_sigset_t.
24435 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24436 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24437 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24438 to get sigevent_t only.
24439 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24440 only for __USE_GNU.
24441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24442 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24443 process_vm_writev only for __USE_GNU.
24444 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24446 * conform/Makefile: For now ignore errors from run-conformtest.
24447 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24448 POSIX to avoid namespace pollution. Don't prepend headers.
24449 * conform/data/aio.h-data: Fixes for POSIX testing.
24450 * conform/data/fcntl.h-data: Likewise.
24451 * conform/data/glob.h-data: Likewise.
24452 * conform/data/grp.h-data: Likewise.
24453 * conform/data/pthread.h-data: Likewise.
24454 * conform/data/pwd.h-data: Likewise.
24455 * conform/data/signal.h-data: Likewise.
24456 * conform/data/spawn.h-data: Likewise.
24457 * conform/data/stdio.h-data: Likewise.
24458 * conform/data/stdlib.h-data: Likewise.
24459 * conform/data/stropts.h-data: Likewise.
24460 * conform/data/sys/mman.h-data: Likewise.
24461 * conform/data/sys/stat.h-data: Likewise.
24462 * conform/data/sys/types.h-data: Likewise.
24463 * conform/data/sys/wait.h-data: Likewise.
24464 * conform/data/time.h-data: Likewise.
24465 * conform/data/unistd.h-data: Likewise.
24466 * conform/data/utime.h-data: Likewise.
24468 * io/sys/stat.h: fchmod was always in POSIX.
24469 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24470 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24471 * rt/aio.h: Define __need_timespec before including <time.h>.
24472 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24473 struct. Add forward declaration of pthread_attr_t and use it in
24475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24477 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24478 always remove CLK_TCK definition.
24480 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24482 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24484 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24486 * conform/run-conformtest.sh: New file.
24487 * conform/Makefile: Run run-conformtest for tests.
24488 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24491 * conform/data/uchar.h-data: New file.
24492 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24493 * conform/data/arpa/inet.h-data: Likewise.
24494 * conform/data/assert.h-data: Likewise.
24495 * conform/data/complex.h-data: Likewise.
24496 * conform/data/cpio.h-data: Likewise.
24497 * conform/data/ctype.h-data: Likewise.
24498 * conform/data/dirent.h-data: Likewise.
24499 * conform/data/dlfcn.h-data: Likewise.
24500 * conform/data/errno.h-data: Likewise.
24501 * conform/data/fcntl.h-data: Likewise.
24502 * conform/data/float.h-data: Likewise.
24503 * conform/data/fmtmsg.h-data: Likewise.
24504 * conform/data/fnmatch.h-data: Likewise.
24505 * conform/data/ftw.h-data: Likewise.
24506 * conform/data/glob.h-data: Likewise.
24507 * conform/data/grp.h-data: Likewise.
24508 * conform/data/iconv.h-data: Likewise.
24509 * conform/data/inttypes.h-data: Likewise.
24510 * conform/data/langinfo.h-data: Likewise.
24511 * conform/data/libgen.h-data: Likewise.
24512 * conform/data/limits.h-data: Likewise.
24513 * conform/data/locale.h-data: Likewise.
24514 * conform/data/math.h-data: Likewise.
24515 * conform/data/monetary.h-data: Likewise.
24516 * conform/data/mqueue.h-data: Likewise.
24517 * conform/data/ndbm.h-data: Likewise.
24518 * conform/data/net/if.h-data: Likewise.
24519 * conform/data/netdb.h-data: Likewise.
24520 * conform/data/netinet/in.h-data: Likewise.
24521 * conform/data/nl_types.h-data: Likewise.
24522 * conform/data/poll.h-data: Likewise.
24523 * conform/data/pthread.h-data: Likewise.
24524 * conform/data/pwd.h-data: Likewise.
24525 * conform/data/regex.h-data: Likewise.
24526 * conform/data/sched.h-data: Likewise.
24527 * conform/data/search.h-data: Likewise.
24528 * conform/data/semaphore.h-data: Likewise.
24529 * conform/data/setjmp.h-data: Likewise.
24530 * conform/data/signal.h-data: Likewise.
24531 * conform/data/spawn.h-data: Likewise.
24532 * conform/data/stdarg.h-data: Likewise.
24533 * conform/data/stdio.h-data: Likewise.
24534 * conform/data/stdlib.h-data: Likewise.
24535 * conform/data/string.h-data: Likewise.
24536 * conform/data/strings.h-data: Likewise.
24537 * conform/data/stropts.h-data: Likewise.
24538 * conform/data/sys/ipc.h-data: Likewise.
24539 * conform/data/sys/mman.h-data: Likewise.
24540 * conform/data/sys/msg.h-data: Likewise.
24541 * conform/data/sys/resource.h-data: Likewise.
24542 * conform/data/sys/select.h-data: Likewise.
24543 * conform/data/sys/sem.h-data: Likewise.
24544 * conform/data/sys/shm.h-data: Likewise.
24545 * conform/data/sys/socket.h-data: Likewise.
24546 * conform/data/sys/stat.h-data: Likewise.
24547 * conform/data/sys/statvfs.h-data: Likewise.
24548 * conform/data/sys/time.h-data: Likewise.
24549 * conform/data/sys/timeb.h-data: Likewise.
24550 * conform/data/sys/times.h-data: Likewise.
24551 * conform/data/sys/types.h-data: Likewise.
24552 * conform/data/sys/uio.h-data: Likewise.
24553 * conform/data/sys/un.h-data: Likewise.
24554 * conform/data/sys/utsname.h-data: Likewise.
24555 * conform/data/sys/wait.h-data: Likewise.
24556 * conform/data/syslog.h-data: Likewise.
24557 * conform/data/tar.h-data: Likewise.
24558 * conform/data/termios.h-data: Likewise.
24559 * conform/data/utime.h-data: Likewise.
24560 * conform/data/utmpx.h-data: Likewise.
24561 * conform/data/varargs.h-data: Likewise.
24562 * conform/data/wchar.h-data: Likewise.
24563 * conform/data/wctype.h-data: Likewise.
24564 * conform/data/wordexp.h-data: Likewise.
24566 * include/stropts.h: New file.
24567 * include/uchar.h: New file.
24568 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24569 * include/assert.h: Likewise.
24570 * include/ctype.h: Likewise.
24571 * include/dirent.h: Likewise.
24572 * include/dlfcn.h: Likewise.
24573 * include/fcntl.h: Likewise.
24574 * include/fnmatch.h: Likewise.
24575 * include/glob.h: Likewise.
24576 * include/grp.h: Likewise.
24577 * include/libio.h: Likewise.
24578 * include/locale.h: Likewise.
24579 * include/math.h: Likewise.
24580 * include/net/if.h: Likewise.
24581 * include/netdb.h: Likewise.
24582 * include/netinet/in.h: Likewise.
24583 * include/pthread.h: Likewise.
24584 * include/pwd.h: Likewise.
24585 * include/regex.h: Likewise.
24586 * include/sched.h: Likewise.
24587 * include/search.h: Likewise.
24588 * include/setjmp.h: Likewise.
24589 * include/signal.h: Likewise.
24590 * include/stdio.h: Likewise.
24591 * include/stdlib.h: Likewise.
24592 * include/string.h: Likewise.
24593 * include/sys/cdefs.h: Likewise.
24594 * include/sys/mman.h: Likewise.
24595 * include/sys/msg.h: Likewise.
24596 * include/sys/resource.h: Likewise.
24597 * include/sys/select.h: Likewise.
24598 * include/sys/socket.h: Likewise.
24599 * include/sys/stat.h: Likewise.
24600 * include/sys/statvfs.h: Likewise.
24601 * include/sys/time.h: Likewise.
24602 * include/sys/times.h: Likewise.
24603 * include/sys/uio.h: Likewise.
24604 * include/sys/utsname.h: Likewise.
24605 * include/sys/wait.h: Likewise.
24606 * include/termios.h: Likewise.
24607 * include/time.h: Likewise.
24608 * include/ulimit.h: Likewise.
24609 * include/unistd.h: Likewise.
24610 * include/utime.h: Likewise.
24611 * include/wchar.h: Likewise.
24612 * include/wctype.h: Likewise.
24613 * include/wordexp.h: Likewise.
24615 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24617 * time/time.h: TIME_UTC must be a macro.
24618 Make timespec_get available for ISO C11 only as well.
24620 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24622 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24623 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24625 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24627 * configure.in: Use -o not -a in test for unsupported multi-arch.
24629 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24631 * manual/texinfo.tex: Update to version 2012-01-19.16.
24633 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24635 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24637 2012-02-24 Roland McGrath <roland@hack.frob.com>
24640 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24641 * manual/fdl-1.3.texi: New file.
24642 * manual/fdl-1.1.texi: File removed.
24645 * manual/libc.texinfo (FDL_VERSION): New @set.
24646 Use it for mention of FDL in cover text.
24647 (Documentation License): Use it in @include file name.
24649 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24650 Roland McGrath <roland@hack.frob.com>
24653 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24654 not LONG_LONG_MAX and LONG_LONG_MIN.
24655 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24656 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24658 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24660 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24664 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24665 manipulate bits before adding and subtracting TWO23[sx].
24666 * math/libm-test.inc (nearbyint_test): Add more tests.
24668 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24671 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24672 bits before adding and subtracting TWO23[sx].
24673 * math/libm-test.inc (rint_test): Add more tests.
24674 (rint_test_tonearest): Likewise.
24675 (rint_test_towardzero): Likewise.
24676 (rint_test_downward): Likewise.
24677 (rint_test_upward: Likewise.
24679 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24682 * include/stdc-predef.h: New file. Extracted from features.h.
24683 * include/features.h: Include stdc-predef.h.
24684 * Makefile (headers): Add stdc-predef.h.
24685 * CONFORMANCE (Compiler limitations): Update.
24687 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24689 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24691 2012-02-21 David S. Miller <davem@davemloft.net>
24693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24696 2012-02-20 David S. Miller <davem@davemloft.net>
24698 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24699 using a normal save/restore sequence, rather than allocating a
24700 dummy stack frame just to store a frame pointer and restore.
24701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24703 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24705 * manual/install.texi: Fix stray word in line-wrapped comment.
24707 2012-02-20 David S. Miller <davem@davemloft.net>
24709 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24710 both binutils and gcc support GOTDATA.
24712 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24713 "rd %pc" in the PIC register setup sequences.
24715 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24716 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24717 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24718 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24719 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24722 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24724 (SYSCALL_ERROR_HANDLER): Likewise.
24725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24726 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24728 (SYSCALL_ERROR_HANDLER): Likewise.
24730 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24731 (HAVE_GCC_GOTDATA): New.
24732 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24733 relocation support in both binutils and gcc.
24734 * sysdeps/sparc/elf/configure: Regenerate.
24736 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24737 * sysdeps/sparc/sparc32/elf/configure: Delete.
24738 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24739 * sysdeps/sparc/sparc64/elf/configure: Delete.
24740 * sysdeps/sparc/elf/configure.in: New file.
24741 * sysdeps/sparc/elf/configure: Generate.
24743 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24744 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24745 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24746 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24747 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24749 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24751 * manual/install.texi: Do not mention specific glibc version
24753 * manual/libc.texinfo (VERSION, UPDATED): Update.
24754 (@copying): Use @copyright{} and range of years.
24756 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24759 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24760 [crti.S not in sysdirs] (generated): Do not append.
24761 [crti.S not in sysdirs] (omit-deps): Likewise.
24762 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24763 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24764 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24765 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24766 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24768 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24769 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24770 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24771 * csu/defs.awk: Remove file.
24772 * sysdeps/generic/initfini.c: Likewise.
24773 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24775 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24778 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24780 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24781 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24782 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24783 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24785 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24787 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24788 (__EPOLL_PACKED): Define to empty if not defined by
24790 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24794 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24796 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24797 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24798 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24799 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24801 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24805 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24807 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24810 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24816 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24817 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24819 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24821 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24822 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24824 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24826 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24829 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24831 * math/w_acos.c: Use non-signaling floating-point comparisons.
24832 * math/w_acosf.c: Likewise.
24833 * math/w_acosh.c: Likewise.
24834 * math/w_acoshf.c: Likewise.
24835 * math/w_acoshl.c: Likewise.
24836 * math/w_acosl.c: Likewise.
24837 * math/w_asin.c: Likewise.
24838 * math/w_asinf.c: Likewise.
24839 * math/w_asinl.c: Likewise.
24840 * math/w_atanh.c: Likewise.
24841 * math/w_atanhf.c: Likewise.
24842 * math/w_atanhl.c: Likewise.
24843 * math/w_exp2.c: Likewise.
24844 * math/w_exp2f.c: Likewise.
24845 * math/w_exp2l.c: Likewise.
24846 * math/w_j0.c: Likewise.
24847 * math/w_j0f.c: Likewise.
24848 * math/w_j0l.c: Likewise.
24849 * math/w_j1.c: Likewise.
24850 * math/w_j1f.c: Likewise.
24851 * math/w_j1l.c: Likewise.
24852 * math/w_jn.c: Likewise.
24853 * math/w_jnf.c: Likewise.
24854 * math/w_log.c: Likewise.
24855 * math/w_log10.c: Likewise.
24856 * math/w_log10f.c: Likewise.
24857 * math/w_log10l.c: Likewise.
24858 * math/w_log2.c: Likewise.
24859 * math/w_log2f.c: Likewise.
24860 * math/w_log2l.c: Likewise.
24861 * math/w_logf.c: Likewise.
24862 * math/w_logl.c: Likewise.
24863 * math/w_sqrt.c: Likewise.
24864 * math/w_sqrtf.c: Likewise.
24865 * math/w_sqrtl.c: Likewise.
24866 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24869 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24870 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24872 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24875 * manual/string.texi (strnlen): Use correct parameter name in
24876 equivalent expression.
24878 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24881 * manual/users.texi (seteuid): Consistently use neweuid for
24884 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24887 * manual/nss.texi (Services in the NSS configuration): Correct
24888 list of services in example configuration file.
24890 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24893 * manual/arith.texi: Remove statements about negative zero
24894 behaving identically to zero.
24896 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24899 * manual/install.texi: Do not document upgrading from libc5.
24901 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24904 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24906 2012-02-18 David S. Miller <davem@davemloft.net>
24908 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24909 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24910 %o7 across the call.
24911 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24913 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24914 SETUP_PIC_REG_LEAF.
24915 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24916 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24917 * sysdeps/sparc/crtn.S: Likewise.
24919 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24921 * aout/Makefile: Remove.
24923 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24926 * manual/examples/argp-ex1.c (main): Format definition in GNU
24928 * manual/examples/argp-ex2.c (main): Likewise.
24929 * manual/examples/argp-ex3.c (main): Likewise.
24930 * manual/examples/argp-ex4.c (main): Likewise.
24931 * manual/examples/longopt.c (main): Use new-style prototype
24933 * manual/examples/strncat.c (main): Specify return type and use
24934 (void) for arguments.
24935 * manual/examples/subopt.c (main): Use char **argv argument.
24937 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24940 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24943 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24946 * manual/string.texi (strchr): Change when strchrnul is
24949 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24952 * manual/locale.texi (setlocale): Document LOCPATH.
24954 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24957 * manual/process.texi (execle): Move @dots{} before last argument.
24959 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24962 * manual/charset.texi (Generic Charset Conversion): Fix typo
24963 (LC_TYPE -> LC_CTYPE).
24965 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24968 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24969 (scalbnf): Likewise.
24970 (scalbnl): Likewise.
24971 (scalbln): Likewise.
24972 (scalblnf): Likewise.
24973 (scalblnl): Likewise.
24974 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24975 (vwarnx): Likewise.
24978 * manual/filesys.texi (telldir): Use braces around return type.
24979 * manual/llio.texi (mmap): Add space after comma.
24980 (mmap64): Likewise.
24981 * manual/math.texi (jn): Use @var{} on parameter names.
24987 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24989 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24991 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24992 (sched_get_priority_max): Likewise.
24993 * manual/signal.texi (sigvec): Add space after comma.
24994 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24996 (if_indextoname): Likewise.
24997 (if_freenameindex): Likewise.
24998 (sendto): Use ',' instead of '.' in prototype.
24999 * manual/startup.texi (syscall): Use @dots{} instead of literal
25001 * manual/stdio.texi (__fpending): Separate initial words of
25002 paragraph from @deftypefun line.
25003 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25005 (vsyslog): Use @var{} on parameter names.
25006 * manual/terminal.texi (stty): Use @var{} on parameter names.
25007 * manual/users.texi (getutmp): Use @var{} on parameter names.
25008 (getutmpx): Likewise.
25010 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25013 * manual/stdio.texi (fopen): Fix typos in description of
25016 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25019 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25020 get clock_id definition.
25022 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25025 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25026 (madvise): Cast every argument to void on its own.
25028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25031 * manual/startup.texi (Exit Status): Fix typo.
25033 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25036 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25037 * manual/examples/argp-ex2.c: Likewise.
25038 * manual/examples/argp-ex3.c: Likewise.
25040 2012-02-16 Richard Henderson <rth@redhat.com>
25042 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25043 * sysdeps/s390/s390-32/initfini.c: Remove.
25044 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25045 * sysdeps/s390/s390-64/initfini.c: Remove.
25047 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25049 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25050 compiler output for sysdeps/generic/initfini.c.
25051 * sysdeps/sh/elf/initfini.c: Remove file.
25053 2012-02-16 David S. Miller <davem@davemloft.net>
25056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25058 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25059 * sysdeps/sparc/crti.S: New file.
25060 * sysdeps/sparc/crtn.S: New file.
25061 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25062 * sysdeps/sparc/sparc64/Makefile: Likewise.
25064 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25067 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25069 2012-02-15 Roland McGrath <roland@hack.frob.com>
25072 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25074 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25075 (write, read, close): Likewise.
25076 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25078 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25080 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25081 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25082 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25083 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25085 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25089 2012-02-14 Marek Polacek <polacek@redhat.com>
25091 * sysdeps/x86_64/crti.S: New file.
25092 * sysdeps/x86_64/crtn.S: New file.
25093 * sysdeps/x86_64/elf/initfini.c: Remove file.
25095 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25097 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25098 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25099 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25100 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25102 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25106 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25108 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25109 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25110 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25111 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25113 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25117 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25119 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25120 __feraiseexcept instead of feraiseexcept.
25122 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25123 nanosleep invocations.
25124 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25125 strings, and add error checking for a nanosleep invocations.
25127 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25129 Replace FSF snail mail address with URLs, as per GNU coding standards.
25130 Most of the snail mail addresses were wrong anyway, and omitting
25131 them makes the source code easier to maintain. Almost all of the
25132 changes are to license notices and to locale LC_IDENTIFICATION
25133 addresses, except for this one:
25134 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25135 not its snail mail address.
25137 2012-02-09 Richard Henderson <rth@twiddle.net>
25139 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25140 of kernel-features.h.
25142 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25144 2012-02-08 Marek Polacek <polacek@redhat.com>
25146 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25147 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25148 * sysdeps/gnu/_G_config.h: Likewise.
25149 * sysdeps/generic/_G_config.h: Likewise.
25151 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25153 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157 * sysdeps/powerpc/powerpc32/crti.S: New file.
25158 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25159 * sysdeps/powerpc/powerpc64/crti.S: New file.
25160 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25162 * Makeconfig (have-initfini): Don't set.
25163 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25164 * configure.in (nopic_initfini): Don't substitute.
25165 * config.h.in (HAVE_INITFINI): Don't #undef.
25166 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25167 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25169 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25171 Support crti.S and crtn.S provided directly by architectures.
25172 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25173 [crti.S in sysdirs] (omit-deps): Likewise.
25174 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25175 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25176 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25177 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25178 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25179 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25180 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25181 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25182 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25183 compiler output for sysdeps/generic/initfini.c.
25184 * sysdeps/i386/elf/Makefile: Remove file.
25185 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25187 2012-02-07 Marek Polacek <polacek@redhat.com>
25189 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25190 * sysdeps/gnu/_G_config.h: Likewise.
25191 * sysdeps/mach/hurd/_G_config.h: Likewise.
25193 2012-02-07 Marek Polacek <polacek@redhat.com>
25195 * math/Makefile (tests): Add tst-CMPLX2.
25196 * math/tst-CMPLX2.c: New file.
25198 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25200 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25202 * math/libm-test.inc (jn_test): Add missing L suffix.
25204 2012-02-06 Marek Polacek <polacek@redhat.com>
25206 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25207 * sysdeps/i386/fpu/e_powf.S: Likewise.
25208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25209 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25211 * sysdeps/i386/fpu/e_pow.S: Likewise.
25212 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25214 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25216 * sysdeps/i386/fpu/e_log2.S: Likewise.
25217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25219 * sysdeps/i386/fpu/e_powl.S: Likewise.
25220 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25221 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25222 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25223 * sysdeps/i386/fpu/e_logl.S: Likewise.
25224 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25225 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25226 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25227 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25228 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25229 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25230 * sysdeps/i386/fpu/e_log.S: Likewise.
25231 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25233 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25234 * sysdeps/i386/fpu/e_logf.S: Likewise.
25235 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25236 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25237 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25238 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25239 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25240 * sysdeps/i386/fpu/e_log10.S: Likewise.
25241 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25242 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25243 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25244 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25245 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25246 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25247 * sysdeps/i386/asm-syntax.h: Likewise.
25248 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25250 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25251 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25252 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25253 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25254 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25255 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25256 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25257 * sysdeps/powerpc/sysdep.h: Likewise.
25258 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25259 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25261 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25264 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25266 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25268 * sysdeps/i386/sysdep.h: Include <features.h>.
25269 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25272 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25274 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25276 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25279 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25281 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25282 (SETUP_PIC_REG): Use GET_PC_THUNK.
25283 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25286 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25288 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25289 for non-PIC compilation.
25290 (SETUP_PIC_REG): Add .p2align directive.
25291 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25292 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25306 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25307 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25308 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25309 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25310 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25311 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25312 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25313 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25314 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25315 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25317 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25319 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25320 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25321 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25322 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25323 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25326 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25330 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25331 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25333 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25335 * math/tst-CMPLX.c: Include <stdio.h>.
25337 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25339 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25341 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25342 * sysdeps/sparc/bits/mathdef.h: Likewise.
25344 2012-01-31 Marek Polacek <polacek@redhat.com>
25346 * libio/libio.h: Don't define _PARAMS.
25347 * locale/programs/config.h: Don't define PARAMS.
25348 * stdlib/strtol_l.c: Likewise.
25349 (__strtol_l): Remove PARAMS from the prototype.
25351 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25353 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25354 names. Just use the correct names. Remove unnecessary wrapper
25356 * malloc/arena.c: Likewise.
25357 * malloc/hooks.c: Likewise.
25359 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25360 ARENA_TEST says not to. Simplify test for creation of a new arena.
25361 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25363 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25365 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25367 (update_get_addr): New function.
25368 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25369 GET_ADDR_MODULE parameter.
25371 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25373 * crypt/cert.c: Remove __STDC__ conditionals.
25374 * crypt/crypt-entry.c: Likewise.
25375 * crypt/crypt_util.c: Likewise.
25376 * libio/filedoalloc.c: Likewise.
25377 * libio/fileops.c: Likewise.
25378 * libio/genops.c: Likewise.
25379 * libio/iofclose.c: Likewise.
25380 * libio/iofdopen.c: Likewise.
25381 * libio/iofopen.c: Likewise.
25382 * libio/iofopen64.c: Likewise.
25383 * libio/iogetdelim.c: Likewise.
25384 * libio/iopopen.c: Likewise.
25385 * libio/obprintf.c: Likewise.
25386 * libio/oldfileops.c: Likewise.
25387 * libio/oldiofclose.c: Likewise.
25388 * libio/oldiofdopen.c: Likewise.
25389 * libio/oldiofopen.c: Likewise.
25390 * libio/oldiopopen.c: Likewise.
25391 * libio/wfiledoalloc.c: Likewise.
25392 * libio/wgenops.c: Likewise.
25393 * locale/programs/xmalloc.c: Likewise.
25394 * misc/syslog.c: Likewise.
25395 * stdio-common/xbug.c: Likewise.
25396 * string/memchr.c: Likewise.
25397 * string/memcmp.c: Likewise.
25398 * string/memrchr.c: Likewise.
25399 * string/rawmemchr.c: Likewise.
25400 * sysdeps/posix/getcwd.c: Likewise.
25401 * time/strftime_l.c: Likewise.
25403 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25405 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25406 * config.make.in (config-cflags-sse2avx): Define.
25407 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25410 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25412 * scripts/config.guess: Update from upstream config git repository.
25413 * scripts/config.sub: Likewise.
25415 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25417 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25419 (R_TILEPRO_*, R_TILEGX_*): New macros.
25421 * scripts/firstversions.awk: Fix bug in version range handling.
25423 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25425 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25427 * include/sys/epoll.h: New file.
25428 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25431 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25433 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25434 Avoid unnecessary __WORDSIZE == 64 test.
25435 (fmaxf): Use VEX format if possible.
25440 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25441 * math/math_private.h: Remove libc_fegetround* and
25443 * sysdeps/i386/configure.in: Check for -msse2avx.
25444 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25445 also if SSE2AVX is defined.
25446 Remove libc_fegetround* and libc_fesetround*.
25447 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25448 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25451 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25452 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25457 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25459 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25461 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25463 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25465 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25468 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25470 * Makeconfig (libm): Define.
25471 * elf/Makefile: Add rules to build and run tst-relsort1.
25472 * elf/tst-relsort1.c: New file.
25473 * elf/tst-relsort1mod1.c: New file.
25474 * elf/tst-relsort1mod2.c: New file.
25476 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25478 * math/s_ldexp.c: Remove __STDC__ conditionals.
25479 * math/s_ldexpf.c: Likewise.
25480 * math/s_ldexpl.c: Likewise.
25481 * math/s_nextafter.c: Likewise.
25482 * math/s_nexttowardf.c: Likewise.
25483 * math/s_significand.c: Likewise.
25484 * math/s_significandf.c: Likewise.
25485 * math/s_significandl.c: Likewise.
25486 * math/w_jnl.c: Likewise.
25487 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25488 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25489 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25490 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25491 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25506 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25507 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25508 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25509 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25510 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25511 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25512 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25513 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25514 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25515 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25516 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25517 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25518 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25521 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25522 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25523 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25524 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25525 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25526 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25527 * sysdeps/ieee754/k_standard.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25607 * sysdeps/ieee754/s_matherr.c: Likewise.
25608 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25609 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25613 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25615 * crypt/md5.h: Remove __STDC__ conditionals.
25616 * libio/libioP.h: Likewise.
25617 * locale/programs/config.h: Likewise.
25618 * sysdeps/generic/sysdep.h: Likewise.
25619 * sysdeps/i386/asm-syntax.h: Likewise.
25620 * sysdeps/s390/asm-syntax.h: Likewise.
25621 * sysdeps/unix/sysdep.h: Likewise.
25622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25625 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25627 * libio/libio.h: Remove __STDC__ conditionals.
25628 * malloc/obstack.h: Likewise.
25629 * math/complex.h: Likewise.
25630 * math/math.h: Likewise.
25631 * sysdeps/generic/_G_config.h: Likewise.
25632 * sysdeps/gnu/_G_config.h: Likewise.
25633 * sysdeps/mach/hurd/_G_config.h: Likewise.
25634 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25635 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25636 * sysdeps/sparc/bits/mathdef.h: Likewise.
25638 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25641 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25642 Clean up HAS_* macros.
25643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25644 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25654 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25656 * elf/tst-unique3.cc (gets): Remove declaration.
25657 * elf/tst-unique3lib.cc (gets): Likewise.
25658 * elf/tst-unique3lib2.cc (gets): Likewise.
25659 * elf/tst-unique4.cc (gets): Likewise.
25661 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25663 * include/stdio.h: Add C++ protection. Add gets declarations and
25665 * debug/tst-chk1.c: Don't declare gets here.
25666 * stdio-common/tst-gets.c: Likewise.
25668 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25670 * posix/glob: Remove directory.
25672 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25674 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25676 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25678 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25679 of the non-standard EPFNOSUPPORT.
25681 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25683 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25684 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25685 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25687 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25689 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25691 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25693 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25695 * nscd/grpcache.c (cache_addgr): Likewise.
25696 * nscd/hstcache.c (cache_addhst): Likewise.
25697 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25698 * nscd/pwdcache.c (cache_addpw): Likewise.
25699 * nscd/servicescache.c (cache_addserv): Likewise.
25701 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25703 * malloc/malloc.c: Various cleanups.
25704 * malloc/hooks.c: Likewise.
25706 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25707 * stdlib/bug-fmtmsg1.c: New file.
25709 * stdlib/fmtmsg.c (init): Add missing unlock.
25710 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25712 2012-01-12 Marek Polacek <polacek@redhat.com>
25714 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25717 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25719 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25720 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25721 macro to ensure uniqueness of label name.
25722 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25723 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25725 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25727 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25730 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25734 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25736 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25738 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25739 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25742 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25744 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25745 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25749 * math/bits/math-finite.h: Add ldexp support.
25751 2012-01-10 Marek Polacek <polacek@redhat.com>
25753 * locale/programs/localedef.h (show_archive_content): Add noreturn
25756 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25758 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25760 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25762 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25764 * io/Makefile (headers): Add bits/poll2.h.
25766 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25769 typo #include statement.
25771 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25773 * include/sys/cdefs.h: Define __attribute_alloc_size.
25774 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25775 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25776 * elf/pldd.c: Likewise.
25777 * iconv/iconv_charmap.c: Likewise.
25778 * iconv/iconvconfig.c: Likewise.
25779 * iconv/strtab.c: Likewise.
25780 * locale/programs/locale.c: Likewise.
25781 * locale/programs/localedef.h: Likewise.
25782 * locale/programs/simple-hash.c: Likewise.
25783 * nscd/nscd.h: Likewise.
25784 * nss/makedb.c: Likewise.
25785 * sysdeps/generic/ldconfig.h: Likewise.
25786 * locale/programs/localedef.c: Remove xmalloc prototype.
25787 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25789 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25791 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25794 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25796 * math/Makefile (tests): Add tst-CMPLX.
25797 * math/tst-CMPLX.c: New file.
25799 * math/complex.h (CMPLXL): Fix typo.
25801 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25802 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25804 * debug/tst-chk1.c: Add poll and ppoll tests.
25805 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25806 * include/sys/poll.h: Add hidden proto for ppoll.
25807 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25808 * sysdeps/mach/hurd/ppoll.c: Likewise.
25809 * io/ppoll.c: Likewise.
25810 * debug/poll_chk.c: New file.
25811 * debug/ppoll_chk.c: New file.
25812 * include/bits/poll2.h: New file.
25813 * io/bits/poll2.h: New file.
25816 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25818 * configure.in: static is always set to yes. Remove.
25819 * config.make.in: Don't set build-static.
25820 * Makeconfig: Remove use of build-static.
25821 * dlfcn/Makefile: Likewise.
25822 * elf/Makefile: Likewise.
25823 * math/Makefile: Likewise.
25824 * misc/Makefile: Likewise.
25825 * nptl/Makefile: Likewise.
25826 * sysdeps/mach/hurd/Makefile: Likewise.
25828 * configure.in: PWD_P is not used anymore.
25829 * config.make.in: Remove PWD_P entry.
25831 * configure.in: Remove last remnants of RANLIB.
25832 No need to check for signed size_t anymore.
25833 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25835 Remove __builtin_expect test because we require at least gcc 3.4.
25836 * aclocal.m4: Likewise.
25838 * wcsmbs/mbrtoc16.c: Implement using towc function.
25839 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25840 * wcsmbs/wcsmbsload.c: Likewise.
25841 * iconv/gconv_simple.c: Likewise.
25842 * iconv/gconv_int.h: Likewise.
25843 * iconv/gconv_builtin.h: Likewise.
25844 * iconv/iconv_prog.c: Remove CHAR16 handling.
25846 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25848 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25850 * configure.in: Remove --with-elf and --enable-bounded options.
25851 Dont set base_machine for ia64. More non-ELF conditions removed.
25852 Remove testing and setting of leading underscore information.
25853 * config.make.in (build-bounded): Set to no.
25854 * config.h.in: Remove NO_UNDERSCORES entry.
25855 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25857 * csu/start.c: Remove !NO_UNDERSCORE code.
25858 * locale/localeinfo.h: Likewise.
25859 * sysdeps/generic/machine-gmon.h: Likewise.
25860 * sysdeps/generic/sysdep.h: Likewise.
25861 * sysdeps/i386/sysdep.h: Likewise.
25862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25863 * sysdeps/mach/sysdep.h: Likewise.
25864 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25865 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25866 * sysdeps/sh/sysdep.h: Likewise.
25867 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25868 * sysdeps/unix/i386/sysdep.S: Likewise.
25869 * sysdeps/unix/sparc/start.c: Likewise.
25870 * sysdeps/unix/sparc/sysdep.S: Likewise.
25871 * sysdeps/unix/sparc/sysdep.h: Likewise.
25872 * sysdeps/unix/start.c: Likewise.
25873 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25874 * sysdeps/x86_64/sysdep.h: Likewise.
25876 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25879 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25881 * argp/argp-fmtstream.h: Use const instead __const.
25882 * argp/argp.h: Likewise.
25883 * assert/assert.h: Likewise.
25884 * bits/fenv.h: Likewise.
25885 * bits/sched.h: Likewise.
25886 * bits/sigset.h: Likewise.
25887 * bits/sigthread.h: Likewise.
25888 * catgets/nl_types.h: Likewise.
25889 * conform/data/pthread.h-data: Likewise.
25890 * crypt/crypt-private.h: Likewise.
25891 * crypt/crypt.h: Likewise.
25892 * crypt/crypt_util.c: Likewise.
25893 * ctype/ctype.h: Likewise.
25894 * debug/execinfo.h: Likewise.
25895 * debug/mbsnrtowcs_chk.c: Likewise.
25896 * debug/mbsrtowcs_chk.c: Likewise.
25897 * debug/wcsnrtombs_chk.c: Likewise.
25898 * debug/wcsrtombs_chk.c: Likewise.
25899 * debug/wcstombs_chk.c: Likewise.
25900 * dirent/dirent.h: Likewise.
25901 * dlfcn/dlfcn.h: Likewise.
25902 * elf/neededtest4.c: Likewise.
25903 * grp/grp.h: Likewise.
25904 * gshadow/gshadow.h: Likewise.
25905 * iconv/gconv.h: Likewise.
25906 * iconv/gconv_int.h: Likewise.
25907 * iconv/gconv_simple.c: Likewise.
25908 * iconv/iconv.h: Likewise.
25909 * iconv/loop.c: Likewise.
25910 * iconv/skeleton.c: Likewise.
25911 * include/aio.h: Likewise.
25912 * include/aliases.h: Likewise.
25913 * include/argz.h: Likewise.
25914 * include/arpa/inet.h: Likewise.
25915 * include/assert.h: Likewise.
25916 * include/dirent.h: Likewise.
25917 * include/dlfcn.h: Likewise.
25918 * include/execinfo.h: Likewise.
25919 * include/fcntl.h: Likewise.
25920 * include/fenv.h: Likewise.
25921 * include/glob.h: Likewise.
25922 * include/grp.h: Likewise.
25923 * include/libintl.h: Likewise.
25924 * include/mntent.h: Likewise.
25925 * include/netdb.h: Likewise.
25926 * include/pwd.h: Likewise.
25927 * include/rpc/netdb.h: Likewise.
25928 * include/sched.h: Likewise.
25929 * include/search.h: Likewise.
25930 * include/shadow.h: Likewise.
25931 * include/signal.h: Likewise.
25932 * include/stdio.h: Likewise.
25933 * include/stdlib.h: Likewise.
25934 * include/string.h: Likewise.
25935 * include/sys/socket.h: Likewise.
25936 * include/sys/stat.h: Likewise.
25937 * include/sys/statfs.h: Likewise.
25938 * include/sys/statvfs.h: Likewise.
25939 * include/sys/syslog.h: Likewise.
25940 * include/sys/time.h: Likewise.
25941 * include/sys/uio.h: Likewise.
25942 * include/time.h: Likewise.
25943 * include/unistd.h: Likewise.
25944 * include/utmp.h: Likewise.
25945 * include/wchar.h: Likewise.
25946 * include/wctype.h: Likewise.
25947 * inet/aliases.h: Likewise.
25948 * inet/arpa/inet.h: Likewise.
25949 * inet/netinet/ether.h: Likewise.
25950 * inet/netinet/in.h: Likewise.
25951 * intl/libintl.h: Likewise.
25952 * io/bits/fcntl2.h: Likewise.
25953 * io/fcntl.h: Likewise.
25954 * io/ftw.h: Likewise.
25955 * io/sys/poll.h: Likewise.
25956 * io/sys/stat.h: Likewise.
25957 * io/sys/statfs.h: Likewise.
25958 * io/sys/statvfs.h: Likewise.
25959 * io/utime.h: Likewise.
25960 * libio/bits/stdio.h: Likewise.
25961 * libio/bits/stdio2.h: Likewise.
25962 * libio/libio.h: Likewise.
25963 * libio/libioP.h: Likewise.
25964 * libio/stdio.h: Likewise.
25965 * locale/lc-ctype.c: Likewise.
25966 * locale/locale.h: Likewise.
25967 * login/utmp.h: Likewise.
25968 * malloc/arena.c: Likewise.
25969 * malloc/malloc.c: Likewise.
25970 * malloc/malloc.h: Likewise.
25971 * malloc/mcheck.c: Likewise.
25972 * malloc/mtrace.c: Likewise.
25973 * math/bits/mathcalls.h: Likewise.
25974 * math/fenv.h: Likewise.
25975 * math/math_private.h: Likewise.
25976 * misc/bits/error.h: Likewise.
25977 * misc/bits/syslog.h: Likewise.
25978 * misc/err.h: Likewise.
25979 * misc/error.h: Likewise.
25980 * misc/fstab.h: Likewise.
25981 * misc/mntent.h: Likewise.
25982 * misc/regexp.h: Likewise.
25983 * misc/search.h: Likewise.
25984 * misc/sgtty.h: Likewise.
25985 * misc/sys/mman.h: Likewise.
25986 * misc/sys/syslog.h: Likewise.
25987 * misc/sys/uio.h: Likewise.
25988 * misc/sys/xattr.h: Likewise.
25989 * misc/ttyent.h: Likewise.
25990 * nis/rpcsvc/ypclnt.h: Likewise.
25991 * nss/nss.h: Likewise.
25992 * posix/bits/unistd.h: Likewise.
25993 * posix/fnmatch.h: Likewise.
25994 * posix/glob.h: Likewise.
25995 * posix/sched.h: Likewise.
25996 * posix/spawn.h: Likewise.
25997 * posix/sys/wait.h: Likewise.
25998 * posix/unistd.h: Likewise.
25999 * posix/wordexp.h: Likewise.
26000 * pwd/pwd.h: Likewise.
26001 * resolv/netdb.h: Likewise.
26002 * resource/sys/resource.h: Likewise.
26003 * rt/aio.h: Likewise.
26004 * rt/bits/mqueue2.h: Likewise.
26005 * rt/mqueue.h: Likewise.
26006 * shadow/shadow.h: Likewise.
26007 * signal/signal.h: Likewise.
26008 * socket/send.c: Likewise.
26009 * socket/sendto.c: Likewise.
26010 * socket/sys/socket.h: Likewise.
26011 * stdio-common/printf.h: Likewise.
26012 * stdlib/bits/stdlib.h: Likewise.
26013 * stdlib/fmtmsg.h: Likewise.
26014 * stdlib/monetary.h: Likewise.
26015 * stdlib/stdlib.h: Likewise.
26016 * stdlib/ucontext.h: Likewise.
26017 * streams/stropts.h: Likewise.
26018 * string/argz.h: Likewise.
26019 * string/bits/string2.h: Likewise.
26020 * string/string.h: Likewise.
26021 * string/strings.h: Likewise.
26022 * sunrpc/rpc/auth.h: Likewise.
26023 * sunrpc/rpc/auth_des.h: Likewise.
26024 * sunrpc/rpc/clnt.h: Likewise.
26025 * sunrpc/rpc/netdb.h: Likewise.
26026 * sunrpc/rpc/pmap_clnt.h: Likewise.
26027 * sunrpc/rpc/xdr.h: Likewise.
26028 * sysdeps/generic/inttypes.h: Likewise.
26029 * sysdeps/generic/net/if.h: Likewise.
26030 * sysdeps/generic/sys/swap.h: Likewise.
26031 * sysdeps/gnu/net/if.h: Likewise.
26032 * sysdeps/gnu/utmpx.h: Likewise.
26033 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26034 * sysdeps/i386/i486/bits/string.h: Likewise.
26035 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26036 * sysdeps/s390/bits/string.h: Likewise.
26037 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26038 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26039 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26040 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26041 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26042 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26043 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26044 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26045 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26046 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26047 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26048 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26049 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26050 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26051 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26052 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26053 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26055 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26059 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26060 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26061 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26062 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26063 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26065 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26066 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26067 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26068 * sysvipc/sys/ipc.h: Likewise.
26069 * sysvipc/sys/msg.h: Likewise.
26070 * sysvipc/sys/sem.h: Likewise.
26071 * sysvipc/sys/shm.h: Likewise.
26072 * termios/termios.h: Likewise.
26073 * time/sys/time.h: Likewise.
26074 * time/time.h: Likewise.
26075 * wcsmbs/bits/wchar2.h: Likewise.
26076 * wcsmbs/uchar.h: Likewise.
26077 * wcsmbs/wchar.h: Likewise.
26078 * wctype/wctype.h: Likewise.
26081 * Makeconfig: Remove all but ELF support including AIX support.
26082 * Makerules: Likewise.
26083 * config.h.in: Likewise.
26084 * config.make.in: Likewise.
26085 * configure: Likewise.
26086 * configure.in: Likewise.
26087 * csu/Makefile: Likewise.
26088 * csu/version.c: Likewise.
26089 * debug/Makefile: Likewise.
26090 * dlfcn/Makefile: Likewise.
26091 * elf/Makefile: Likewise.
26092 * extra-lib.mk: Likewise.
26093 * iconv/Makefile: Likewise.
26094 * include/libc-symbols.h: Likewise.
26095 * include/shlib-compat.h: Likewise.
26096 * resolv/Makefile: Likewise.
26097 * resolv/res_libc.c: Likewise.
26098 * rt/Makefile: Likewise.
26099 * sysdeps/i386/asm-syntax.h: Likewise.
26100 * sysdeps/i386/sysdep.h: Likewise.
26101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26102 * sysdeps/mach/sysdep.h: Likewise.
26103 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26104 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26105 * sysdeps/s390/asm-syntax.h: Likewise.
26106 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26108 * sysdeps/sh/sysdep.h: Likewise.
26109 * sysdeps/unix/sparc/sysdep.h: Likewise.
26110 * sysdeps/wordsize-32/divdi3.c: Likewise.
26111 * sysdeps/x86_64/sysdep.h: Likewise.
26113 * argp/Versions: Remove _argp_unlock_xxx.
26116 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26117 * abilist/libBrokenLocale.abilist: Likewise.
26118 * abilist/libanl.abilist: Likewise.
26119 * abilist/libc.abilist: Likewise.
26120 * abilist/libcrypt.abilist: Likewise.
26121 * abilist/libdl.abilist: Likewise.
26122 * abilist/libm.abilist: Likewise.
26123 * abilist/libnsl.abilist: Likewise.
26124 * abilist/libpthread.abilist: Likewise.
26125 * abilist/libresolv.abilist: Likewise.
26126 * abilist/librt.abilist: Likewise.
26127 * abilist/libthread_db.abilist: Likewise.
26128 * abilist/libutil.abilist: Likewise.
26129 * abilist/libnss_db.abilist: New file.
26131 * scripts/abilist.awk: Add support for indirect functions.
26133 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26135 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26137 * shlib-versions: Remove entries for ports architectures.
26139 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26141 * elf/stackguard-macros.h: Remove support for IA-64.
26142 * elf/tst-auditmod1.c: Likewise.
26143 * sysdeps/generic/ldsodefs.h: Likewise.
26145 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26146 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26150 * configure.in: Remove --enable-omitfp support.
26152 * config.make.in: Likewise.
26153 * Makeconfig: Likewise.
26154 * manual/install.texi: Likewise.
26156 In case anyone cares, the IA-64 architecture could move to ports.
26157 * sysdeps/ia64/*: Removed.
26158 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26159 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26162 * configure.in: Remove entries for unsupported architectures.
26165 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26166 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26168 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26169 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26170 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26171 fall back to using wcrtomb.
26172 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26173 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26175 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26176 * wcsmbs/tst-c16c32-1.c: New file.
26178 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26181 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26183 * elf/tst-unique3.cc: Add explicit declaration of gets.
26184 * elf/tst-unique3lib.cc: Likewise.
26185 * elf/tst-unique3lib2.cc: Likewise.
26186 * elf/tst-unique4.cc: Likewise.
26188 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26190 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26193 * assert/assert.h (static_assert): Don't define for C++.
26194 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26195 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26197 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26199 * iconv/loop.c (single loop): Fix assertion in storing of
26202 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26204 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26206 * posix/getconf.c: Update copyright year.
26207 * nss/getent.c: Likewise.
26208 * nss/makedb.c: Likewise.
26209 * iconv/iconvconfig.c: Likewise.
26210 * iconv/iconv_prog.c: Likewise.
26211 * elf/ldconfig.c: Likewise.
26212 * elf/pldd.c: Likewise.
26213 * elf/sotruss.ksh: Likewise.
26214 * catgets/gencat.c: Likewise.
26215 * csu/version.c: Likewise.
26216 * elf/ldd.bash.in: Likewise.
26217 * elf/sprof.c (print_version): Likewise.
26218 * locale/programs/locale.c: Likewise.
26219 * locale/programs/localedef.c: Likewise.
26220 * login/programs/pt_chown.c: Likewise.
26221 * nscd/nscd.c (print_version): Likewise.
26222 * debug/xtrace.sh: Likewise.
26223 * malloc/memusage.sh: Likewise.
26224 * malloc/mtrace.pl: Likewise.
26225 * debug/catchsegv.sh: Likewise.
26227 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26229 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26232 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26235 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26236 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26238 * iconv/gconv_int.h: Likewise.
26239 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26240 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26241 from libc for GLIBC_2.16.
26242 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26243 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26244 * wcsmbs/uchar.h: Really define mbstate_t.
26245 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26246 * wcsmbs/c16rtomb.c: New file.
26247 * wcsmbs/mbrtoc16.c: New file.
26248 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26249 for C/POSIX locale.
26250 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26251 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26253 * wcsmbs/wchar.h: Add missing __restrict.
26255 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26258 * time/Makefile (routines): Add timespec_get.
26259 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26260 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26261 timespec for ISO C11.
26262 * time/timespec_get.c: New file.
26263 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26264 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26267 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26268 * stdlib/stdlib.h: Declare aligned_alloc.
26269 * Versions.def: Add GLIBC_2.16 for libc.
26270 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26273 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26276 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26280 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26283 * assert/assert.h (static_assert): Define.
26285 * version.h: Update for 2.16 development version.
26288 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26291 * version.h (RELEASE): Bump for 2.15 release.
26292 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26294 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26295 Patch by Marek Polacek <mpolacek@redhat.com>.
26297 * bits/byteswap.h: Protect long long constants with __extension__.
26298 * sysdeps/i386/bits/byteswap.h: Likewise.
26299 * sysdeps/ia64/bits/byteswap.h: Likewise.
26300 * sysdeps/s390/bits/byteswap.h: Likewise.
26301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26303 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26307 destination buffer.
26308 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26310 2011-12-23 Marek Polacek <polacek@redhat.com>
26312 * elf/dl-addr.c (determine_info): Add inline keyword.
26313 * elf/tst-auditmod4b.c (check_avx): Likewise.
26314 * elf/tst-auditmod6b.c (check_avx): Likewise.
26315 * elf/tst-auditmod6c.c (check_avx): Likewise.
26316 * elf/tst-auditmod7b.c (check_avx): Likewise.
26318 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26320 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26323 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26326 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26327 processing for last bytes.
26329 2011-08-06 Bruno Haible <bruno@clisp.org>
26332 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26333 U+0385, not to U+1FEE.
26336 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26337 entry for U+00A5 U+0301.
26339 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26342 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26343 buffer for the output is too small.
26345 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26349 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26350 SSE flags if possible.
26352 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26356 processing for last bytes.
26358 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26360 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26361 (syscall-list-default-options, syscall-list-default-condition)
26362 (syscall-list-includes): Define.
26363 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26364 list of ABIs and options and #if conditions for each ABI. Do not
26365 handle common syscalls between ABIs specially.
26366 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26368 (syscall-list-variants, syscall-list-32bit-options)
26369 (syscall-list-32bit-condition, syscall-list-64bit-options)
26370 (syscall-list-64bit-condition): Define.
26371 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26372 (syscall-list-variants, syscall-list-32bit-options)
26373 (syscall-list-32bit-condition, syscall-list-64bit-options)
26374 (syscall-list-64bit-condition): Define.
26375 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26377 (syscall-list-variants, syscall-list-32bit-options)
26378 (syscall-list-32bit-condition, syscall-list-64bit-options)
26379 (syscall-list-64bit-condition): Define.
26380 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26382 (syscall-list-variants, syscall-list-32bit-options)
26383 (syscall-list-32bit-condition, syscall-list-64bit-options)
26384 (syscall-list-64bit-condition): Define.
26386 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26388 * locale/iso-639.def: Add brx entry.
26391 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26392 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26394 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26395 __feraiseexcept_renamed.
26397 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26400 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26401 EPOLLET with unsigned values.
26402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26403 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26405 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26406 to large cancellation.
26407 * math/s_cacoshf.c: Likewise.
26408 * math/s_cacoshl.c: Likewise.
26410 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26414 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26415 * math/s_cacoshf.c: Likewise.
26416 * math/s_cacoshl.c: Likewise.
26418 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26421 * iconv/gconv.h: Define __GCONV_SWAP.
26422 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26423 * iconvdata/utf-16.c: Likewise.
26424 * iconvdata/utf-32.c: Likewise.
26426 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26430 numerator after shifting it by one limb.
26432 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26434 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26435 under [__USE_EXTERN_INLINES].
26437 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26440 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26442 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26444 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26445 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26447 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26448 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26449 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26450 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26451 for strncasecmp/strncasecmp_l compilation.
26452 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26453 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26455 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26458 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26461 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26464 * time/tzfile.c (__tzfile_read): Check values from file header.
26466 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26468 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26469 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26470 * powerpc/powerpc32/dl-start.S: Likewise.
26471 * powerpc/powerpc32/elf/start.S: Likewise.
26472 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26473 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26474 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26475 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26476 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26477 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26478 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26479 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26480 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26481 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26482 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26483 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26484 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26485 * powerpc/powerpc32/memset.S: Likewise.
26486 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26487 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26488 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26489 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26490 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26491 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26492 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26493 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26494 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26495 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26496 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26497 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26498 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26500 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26502 * math/libm-test.inc: Added more nearbyint tests.
26503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26508 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26510 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26513 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26515 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26516 Add wcscpy-ssse3 wcscpy-c.
26517 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26518 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26519 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26520 * sysdeps/x86_64/wcschr.S: New file.
26521 * sysdeps/x86_64/wcsrchr.S: New file.
26522 * string/test-strcmp.c: Remove checking of wcscmp function for
26524 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26525 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26526 wcsrchr-sse2 wcsrchr-c.
26527 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26528 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26529 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26530 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26531 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26532 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26533 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26534 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26535 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26536 * wcsmbc/wcschr.c (WCSCHR): New macro.
26538 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26540 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26541 * wcsmbs/test-wcsrchr.c: New file.
26542 * string/test-strrchr.c: Add wcsrchr support.
26544 * wcsmbs/test-wcscpy.c: New file.
26545 * string/test-strcpy.c: Add wcscpy support.
26548 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26550 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26553 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26556 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26558 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26561 Minor optimizations.
26563 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26564 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26565 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26567 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26569 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26570 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26571 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26572 for gcc to avoid warnings.
26573 * inet/Makefile (tests): Add tst-checks.
26574 * inet/tst-checks.c: New file.
26576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26579 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26582 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26583 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26585 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26587 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26589 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26592 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26594 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26596 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26597 conditional on GCC version.
26598 (__arch_compare_and_exchange_val_8_acq)
26599 (__arch_compare_and_exchange_val_16_acq)
26600 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26601 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26602 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26604 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26606 * sysdeps/sh/backtrace.c: New file.
26608 2011-12-02 Andreas Schwab <schwab@redhat.com>
26610 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26613 2011-12-01 Andreas Schwab <schwab@redhat.com>
26615 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26616 falling back to utime.
26618 2011-11-30 Andreas Schwab <schwab@redhat.com>
26620 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26621 expectations for float.
26623 2011-11-29 Andreas Schwab <schwab@redhat.com>
26625 * locale/weight.h (findidx): Add parameter len.
26626 * locale/weightwc.h (findidx): Likewise.
26627 * posix/fnmatch_loop.c (FCT): Adjust caller.
26628 * posix/regcomp.c (build_equiv_class): Likewise.
26629 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26630 * posix/regexec.c (check_node_accept_bytes): Likewise.
26631 * string/strcoll_l.c (STRCOLL): Likewise.
26632 * string/strxfrm_l.c (STRXFRM): Likewise.
26634 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26636 * Makefile.in: Remove CVSOPT handling.
26637 * configure.in: Remove use of AC_REVISION.
26638 * iconvdata/Makefile (distribute): No need to filter out CVS.
26639 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26642 2011-11-16 Andreas Schwab <schwab@redhat.com>
26644 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26645 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26646 [USE_AS_STRNCASECMP_L]: Likewise.
26647 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26648 NO_TLS_DIRECT_SEG_REFS.
26649 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26650 Fix argument offsets for non-PIC.
26651 [USE_AS_STRNCASECMP_L]: Likewise.
26652 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26653 NO_TLS_DIRECT_SEG_REFS.
26655 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26657 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26659 * locale/loadlocale.c (_nl_load_locale): Likewise.
26661 2011-11-15 Andreas Schwab <schwab@redhat.com>
26663 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26664 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26666 (SYSCALL_GETTIME): Set errno on error.
26668 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26669 count references to noai6ai_cached.
26671 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26673 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26675 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26676 FD_CLOEXEC for /proc/self/maps.
26678 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26679 FD_CLOEXEC for /proc/meminfo.
26681 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26684 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26685 FD_CLOEXEC for given file.
26687 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26689 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26690 FD_CLOEXEC for /etc/hosts.
26691 (_gethtent): Likewise.
26693 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26695 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26696 cancellation and set FD_CLOEXEC for /etc/netgroup.
26698 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26699 reading /etc/publickey.
26701 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26702 allow cancellation when reading /etc/group.
26704 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26706 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26708 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26709 when using data file.
26711 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26713 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26714 (write_nis_obj): Use "c" and "e" in fopen.
26716 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26718 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26720 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26722 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26724 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26727 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26729 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26731 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26733 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26734 file parsing and set FD_CLOEXEC.
26736 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26738 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26740 2011-11-14 Andreas Schwab <schwab@redhat.com>
26742 * malloc/arena.c (arena_get2): Don't call reused_arena when
26743 _int_new_arena failed.
26745 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26747 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26748 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26749 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26750 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26751 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26752 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26753 to compile strcasecmp and strncasecmp.
26754 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26755 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26759 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26761 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26762 locale-defines.sym to gen-as-const-headers.
26763 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26764 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26766 to compile strcasecmp and strncasecmp.
26767 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26768 strcasecmp_l and strncasecmp_l.
26769 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26770 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26771 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26772 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26773 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26774 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26775 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26776 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26777 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26778 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26779 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26781 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26783 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26784 result of SYSDEP_GETTIME_CPU to retval.
26785 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26786 parameter list to macro. Remove trailing semicolon. Adjust users.
26788 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26791 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26793 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26795 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26796 from unused variable.
26798 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26800 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26803 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26806 * sunrpc/rpc_prot.c (rejected): Fix case value.
26808 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26809 unsigned long long int to avoid warnings in shift.
26811 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26813 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26816 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26817 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26818 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26820 * nis/nis_table.c (nis_list): Use variable of correct type for
26821 result of __follow_path call.
26823 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26825 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26826 of math functions ceil, trunc, floor, round, and sqrt, when
26827 avaliable on the platform.
26828 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26830 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26831 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26832 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26834 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26836 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26837 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26839 2011-11-11 Roland McGrath <roland@hack.frob.com>
26841 * include/unistd.h: Fix __readlink return type.
26842 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26844 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26846 * stdlib/ucontext.h: Undo last change for makecontext.
26848 2011-11-11 Andreas Schwab <schwab@redhat.com>
26850 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26852 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26853 * setjmp/setjmp.h: Mark functions as non-leaf.
26854 * setjmp/bits/setjmp2.h: Likewise.
26855 * stdlib/ucontext.h: Likewise.
26857 2011-11-10 Andreas Schwab <schwab@redhat.com>
26859 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26860 (reused_arena): Don't check arena limit.
26861 (arena_get2): Atomically check arena limit.
26863 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26865 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26866 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26871 2011-11-07 Andreas Schwab <schwab@redhat.com>
26873 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26874 handler when locking.
26876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26877 Fix size of allocated buffer.
26879 2011-11-04 Andreas Schwab <schwab@redhat.com>
26882 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26883 declarations for long double functions.
26884 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26886 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26888 2011-11-03 Andreas Schwab <schwab@redhat.com>
26890 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26893 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26896 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26898 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26900 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26902 * include/alloca.h (stackinfo_alloca_round): Define.
26903 (extend_alloca): Use it.
26904 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26905 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26908 * scripts/check-local-headers.sh: Ignore libaudit.h.
26910 * nscd/Makefile (extra-objs): Make recursively expanded.
26912 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26914 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26915 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26917 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26918 * posix/tst-rfc3484-2.c: Likewise.
26919 * posix/tst-rfc3484-3.c: Likewise.
26921 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26923 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26925 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26926 process_vm_writev from libc using GLIBC_2.15 version.
26928 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26930 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26932 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26935 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26938 * nss/getent.c (initgroups_keys): Show error message in case no group
26941 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26942 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26943 __bump_nl_timestamp.
26944 * nscd/connections (nscd_init): When host database is served open
26945 netlink socket and request notification about configuration changes.
26946 (main_loop_poll): Track netlink file descriptor and bump timestamp
26947 in case data becomes available.
26948 (main_loop_epoll): Likewise.
26949 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26950 (database_pers_head): Add extra_data fileds.
26951 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26952 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26953 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26955 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26956 in6ai data, call __free_in6ai.
26957 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26958 Add -DHAVE_NETLINK.
26959 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26960 interface information. Reuse previous data if netlink timestamp
26962 (__bump_nl_timestamp): New function.
26963 (__free_in6ai): New function.
26965 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26967 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26968 close_not_cancel_no_status here.
26969 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26971 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26974 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26977 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26978 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26979 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26981 2011-07-03 Andreas Jaeger <aj@suse.de>
26984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26985 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26986 * math/libm-test.inc (sin_test): Add test case.
26988 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26991 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26992 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26994 * elf/chroot_canon.c (chroot_canon): Cleanups.
26996 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26999 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27000 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27002 * string/test-strchr.c: Make usable for strchrnul testing.
27003 * string/test-strchrnul.c: New file.
27004 * string/Makefile (strop-tests): Add strchrnul.
27006 * po/it.po: Update from translation team.
27007 * po/es.po: Likewise.
27009 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27011 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27012 the three constants needed as parameters. Drop the others.
27013 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27014 __m128i_strloadu_tolower.
27015 Create and initialize variable zero and use it in all the places
27016 where _mm_setzero_si128 was used.
27018 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27019 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27020 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27021 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27023 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27024 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27025 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27026 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27027 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27028 __mpranred, __mptan.
27029 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27030 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27031 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27032 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27033 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27034 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27035 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27036 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27037 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27039 2011-10-28 Andreas Schwab <schwab@redhat.com>
27041 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27042 redefine if SHARED.
27043 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27046 wide char related routines to wcsmbs subdir.
27048 2011-10-27 Andreas Schwab <schwab@redhat.com>
27051 * misc/sys/cdefs.h (__THROWNL): Define.
27052 * posix/unistd.h: Use __THREADNL instead of __THREAD
27053 for memory synchronization functions.
27055 2011-10-26 Roland McGrath <roland@hack.frob.com>
27058 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27060 * manual/stdio.texi (Obstack Streams): Node removed.
27062 2011-10-26 Andreas Schwab <schwab@redhat.com>
27064 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27065 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27066 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27068 * math/math_private.h (math_force_eval): Allow non-addressable
27070 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27072 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27074 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27075 file is not needed.
27077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27078 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27079 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27080 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27081 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27082 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27083 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27084 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27086 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27099 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27100 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27101 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27102 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27103 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27104 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27106 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27107 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27109 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27110 place. Use VEX encoding when compiling for AVX.
27112 2011-10-25 Andreas Schwab <schwab@redhat.com>
27114 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27115 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27117 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27119 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27121 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27122 useless if() expression.
27123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27124 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27132 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27133 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27135 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27136 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27137 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27138 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27141 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27143 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27145 2011-10-25 Andreas Schwab <schwab@redhat.com>
27147 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27149 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27151 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27153 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27154 .text section. Avoid duplicate constants.
27155 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27165 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27167 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27168 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27171 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27172 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27178 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27179 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27180 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27181 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27182 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27183 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27184 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27185 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27186 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27188 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27189 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27190 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27191 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27192 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27193 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27194 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27195 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27196 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27197 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27198 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27199 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27201 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27203 * sysdeps/x86_64/dla.h: Move to ...
27204 * sysdeps/x86_64/fpu/dla.h: ...here.
27205 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27206 situations. Use __builtin_fma only for gcc 4.6 and up.
27208 * config.make.in: Add have-mfma4 entry.
27209 * configure.in: Substitute libc_cv_cc_fma4.
27210 * math/Makefile (dbl-only-routines): Add sincostab.
27211 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27212 Use __sincostab not sincos.
27213 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27215 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27220 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27221 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27222 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27223 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27225 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27226 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27228 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27229 define aliases when function name is a macro.
27230 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27231 sysdeps/ieee754/dbl-64/sincos.tbl.
27232 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27233 fma4-enabled routines.
27234 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27235 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27239 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27240 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27241 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27242 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27243 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27244 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27245 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27246 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27247 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27248 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27249 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27250 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27252 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27254 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27257 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27258 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27260 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27261 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27262 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27263 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27265 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27276 2011-10-24 Andreas Schwab <schwab@redhat.com>
27278 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27280 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27282 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27284 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27286 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27288 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27289 Remove unused variable magic_bits.
27290 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27292 * string/strnlen.c: Define and use STRNLEN macro.
27293 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27294 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27296 * wcsmbs/wcslen.c: Define and use WCSLEN.
27297 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27298 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27299 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27300 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27301 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27302 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27303 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27305 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27308 strnlen-sse2-no-bsf.
27309 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27311 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27312 Add strnlen support.
27313 (USE_AS_STRNLEN): New macro.
27314 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27315 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27316 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27317 * sysdeps/x86_64/wcslen.S: New file.
27319 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27321 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27322 XMM-moves are used for copying on small sizes.
27324 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27326 * wcsmbs/Makefile (strop-tests): Add wcschr.
27327 * wcsmbs/test-wcschr.c: New file.
27328 * string/test-strchr.c: Update.
27329 Add wcschr support.
27332 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27334 * wcsmbs/Makefile (strop-tests): Add wcslen.
27335 * wcsmbs/test-wcslen.c: New file.
27336 * string/test-strlen.c: Update.
27337 Add wcslen support.
27340 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27342 * po/it.po: Update from translation team.
27344 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27346 * sysdeps/x86_64/wcscmp.S: Update.
27347 Fix wrong comparison semantics.
27348 wcscmp shall use signed comparison not unsigned.
27349 Don't use substraction to avoid overflow bug.
27350 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27351 * wcsmbc/wcscmp.c: Likewise.
27352 * string/test-strcmp.c: Likewise.
27353 Add new tests to check cases with negative values.
27355 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27357 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27358 * sysdeps/x86_64/dla.h: ...here. New file.
27359 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27369 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27372 __ynl_finite aliases.
27374 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27378 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27380 [DLA_FMA] (EMULV): Use DLA_FMA.
27381 [DLA_FMA] (MUL12): Use EMULV.
27382 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27383 that are not needed.
27384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27392 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27394 * math/s_nan.c: Undef __nan.
27395 * math/s_nanf.c: Undef __nanf.
27396 * math/s_nanl.c: Undef __nanl.
27397 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27400 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27402 * math/s_catan.c: Add branch predictions.
27403 * math/s_catanf.c: Likewise.
27404 * math/s_catanh.c: Likewise.
27405 * math/s_catanhf.c: Likewise.
27406 * math/s_catanhl.c: Likewise.
27407 * math/s_catanl.c: Likewise.
27408 * math/s_cexp.c: Likewise.
27409 * math/s_cexpf.c: Likewise.
27410 * math/s_cexpl.c: Likewise.
27411 * math/s_clog.c: Likewise.
27412 * math/s_clog10.c: Likewise.
27413 * math/s_clog10f.c: Likewise.
27414 * math/s_clog10l.c: Likewise.
27415 * math/s_clogf.c: Likewise.
27416 * math/s_clogl.c: Likewise.
27417 * math/s_csqrt.c: Likewise.
27418 * math/s_csqrtf.c: Likewise.
27419 * math/s_csqrtl.c: Likewise.
27420 * math/s_ctanf.c: Likewise.
27421 * math/s_ctanh.c: Likewise.
27422 * math/s_ctanhf.c: Likewise.
27423 * math/s_ctanhl.c: Likewise.
27424 * math/s_ctanl.c: Likewise.
27426 * math/math_private.h: Define __nan, __nanf, __nanl.
27427 * math/s_cacosh.c: Include <math_private.h>.
27428 * math/s_cacoshl.c: Likewise.
27429 * math/s_casinh.c: Likewise.
27430 * math/s_casinhf.c: Likewise.
27431 * math/s_casinhl.c: Likewise.
27432 * math/s_ccos.c: Rely entire on ccosh.
27433 * math/s_ccosf.c: Rely entire on ccoshf.
27434 * math/s_ccosl.c: Rely entirely on ccoshl.
27435 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27436 Remove tests for FE_INVALID.
27437 * math/s_ccoshf.c: Likewise.
27438 * math/s_ccoshl.c: Likewise.
27439 * math/s_csin.c: Likewise.
27440 * math/s_csinf.c: Likewise.
27441 * math/s_csinh.c Likewise.
27442 * math/s_csinhf.c: Likewise.
27443 * math/s_csinhl.c: Likewise.
27444 * math/s_csinl.c: Likewise.
27445 * math/s_ctan.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27447 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27448 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27450 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27453 compilation problems.
27455 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27458 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27460 * sysdeps/i386/configure.in: Test for -mfma4 option.
27461 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27462 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27463 COMMON_CPUID_INDEX_80000001.
27464 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27465 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27466 use it if FMA3 is not supported.
27467 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27469 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27470 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27472 2011-10-20 Andreas Schwab <schwab@redhat.com>
27475 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27476 it would create a cycle with a link time dependency.
27478 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27480 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27482 * string/Makefile (strop-tests): Add rawmemchr.
27483 * string/test-rawmemchr.c: New file.
27485 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27487 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27488 when compiling str{,n}casecmp and when AVX is available. Hook up
27489 new optimized code in initializers.
27491 2011-10-19 Andreas Schwab <schwab@redhat.com>
27493 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27494 __feraiseexcept instead of feraiseexcept.
27496 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27498 * math/math_private.h: Define defaults for libc_fetestexcept and
27500 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27501 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27503 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27504 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27505 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27506 libc_fetestexcept and libc_feupdateenv.
27508 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27509 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27510 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27511 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27512 libc_feholdexcept_setround.
27514 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27515 Add s_nearbyint-c and s_nearbyintf-c.
27516 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27517 nearbyintf inlines.
27518 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27520 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27521 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27523 * math/math_private.h: Define defaults for libc_fegetround,
27524 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27525 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27526 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27528 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27529 standard functions.
27530 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27531 Remove comments and hacks for old compiler versions.
27532 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27533 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27534 libc_feholdexceptl.
27536 2011-10-18 Andreas Schwab <schwab@redhat.com>
27538 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27539 (__feraiseexcept_renamed): Add __NTH.
27540 (feraiseexcept): Add __NTH. Rename local variables to fix
27541 namespace violations.
27543 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27545 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27547 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27549 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27550 recently added interfaces.
27551 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27553 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27554 about macro parameter expansion.
27556 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27557 __NO_MATH_INLINES is defined. Cleanups.
27559 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27560 and __floorf is target has SSE4.1.
27561 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27562 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27563 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27564 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27566 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27568 (floorf): Likewise.
27570 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27572 2011-10-17 Andreas Schwab <schwab@redhat.com>
27574 * misc/sys/cdefs.h: Fix last change.
27576 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27579 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27581 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27583 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27584 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27589 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27591 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27592 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27593 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27594 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27595 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27596 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27597 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27599 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27600 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27601 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27602 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27603 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27604 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27606 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27607 ceil, ceilf, floor, floorf.
27609 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27610 Perform IRELATIVE relocations last.
27612 * elf/do-rel.h: Add another parameter nrelative, replacing the
27613 local variable with the same name. Change name of the function
27614 to end in Rel or Rela (uppercase).
27615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27616 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27617 elf_dynamic_do_##reloc function.
27619 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27621 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27622 is sufficient, at least on modern CPUs.
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27626 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27627 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27629 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27631 * math/bits/math-finite.h: Add entries for exp.
27632 * math/e_expl.c: Add __*_finite alias.
27633 * sysdeps/i386/fpu/e_exp.S: Likewise.
27634 * sysdeps/i386/fpu/e_expf.S: Likewise.
27635 * sysdeps/i386/fpu/e_expl.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27637 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27638 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27641 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27642 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27644 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27645 is sufficient, at least on modern CPUs.
27647 * ctype/ctype-info.c (__ctype_init): Define.
27648 * include/ctype.h (__ctype_init): Declare.
27649 (__ctype_b_loc): The variable is always initialized.
27650 (__ctype_toupper_loc): Likewise.
27651 (__ctype_tolower_loc): Likewise.
27652 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27653 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27655 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27657 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27659 * configure.in: Also look in $cxxmachine/include for C++ system
27662 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27664 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27665 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27666 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27667 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27668 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27669 (USE_AS_WMEMCMP): New macro.
27671 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27672 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27673 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27674 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27676 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27677 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27678 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27679 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27680 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27681 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27682 (USE_AS_WMEMCMP): New macro.
27683 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27684 * sysdeps/string/test-memcmp.c: Update.
27685 Fix simple_wmemcmp.
27687 * wcsmbs/wmemcmp.c: Update.
27688 (WMEMCMP): New macro.
27691 2011-10-12 Andreas Jaeger <aj@suse.de>
27694 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27696 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27698 * libio/iofwide.c (do_length): Avoid warning.
27700 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27702 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27704 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27706 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27707 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27708 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27709 * sysdeps/i386/i686/fpu/e_log.S: New file.
27710 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27711 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27713 * ctype/ctype.h: Add support for inlined isXXX functions when
27714 compiling C++ code.
27716 2011-10-14 Andreas Schwab <schwab@redhat.com>
27718 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27720 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27722 2011-10-13 Roland McGrath <roland@hack.frob.com>
27725 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27727 2011-10-13 Andreas Schwab <schwab@redhat.com>
27729 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27730 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27733 * sysdeps/x86_64/memrchr.S: Check for zero size.
27735 * string/stratcliff.c: Add memrchr tests.
27737 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27740 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27741 rawmemchr-sse2 rawmemchr-sse2-bsf.
27742 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27743 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27744 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27745 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27746 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27747 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27748 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27749 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27750 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27751 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27752 * string/memrchr.c (MEMRCHR): New macro.
27754 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27756 Add integration with gcc's -ffinite-math-only and optimize wrapper
27758 * Versions.def: Define GLIBC_2.15 version for libm.
27759 * math/Makefile (headers): Add bits/math-finite.h.
27760 * math/bits/math-finite.h: New file.
27761 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27762 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27763 * math/e_acoshl.c: Add __*_finite alias.
27764 * math/e_acosl.c: Likewise.
27765 * math/e_asinl.c: Likewise.
27766 * math/e_atan2l.c: Likewise.
27767 * math/e_atanhl.c: Likewise.
27768 * math/e_coshl.c: Likewise.
27769 * math/e_exp10.c: Likewise.
27770 * math/e_exp10f.c: Likewise.
27771 * math/e_exp10l.c: Likewise.
27772 * math/e_exp2l.c: Likewise.
27773 * math/e_fmodl.c: Likewise.
27774 * math/e_gammal_r.c: Likewise.
27775 * math/e_hypotl.c: Likewise.
27776 * math/e_j0l.c: Likewise.
27777 * math/e_j1l.c: Likewise.
27778 * math/e_jnl.c: Likewise.
27779 * math/e_lgammal_r.c: Likewise.
27780 * math/e_log10l.c: Likewise.
27781 * math/e_log2l.c: Likewise.
27782 * math/e_logl.c: Likewise.
27783 * math/e_powl.c: Likewise.
27784 * math/e_sinhl.c: Likewise.
27785 * math/e_sqrtl.c: Likewise.
27786 * math/e_scalb.c: Completely rewritten and optimized.
27787 * math/e_scalbf.c: Likewise.
27788 * math/e_scalbl.c: Likewise.
27789 * math/w_acos.c: Likewise.
27790 * math/w_acosf.c: Likewise.
27791 * math/w_acosl.c: Likewise.
27792 * math/w_acosh.c: Likewise.
27793 * math/w_acoshf.c: Likewise.
27794 * math/w_acoshl.c: Likewise.
27795 * math/w_asin.c: Likewise.
27796 * math/w_asinf.c: Likewise.
27797 * math/w_asinl.c: Likewise.
27798 * math/w_atan2.c: Likewise.
27799 * math/w_atan2f.c: Likewise.
27800 * math/w_atan2l.c: Likewise.
27801 * math/w_atanh.c: Likewise.
27802 * math/w_atanhf.c: Likewise.
27803 * math/w_atanhl.c: Likewise.
27804 * math/w_exp10.c: Likewise.
27805 * math/w_exp10f.c: Likewise.
27806 * math/w_exp10l.c: Likewise.
27807 * math/w_fmod.c: Likewise.
27808 * math/w_fmodf.c: Likewise.
27809 * math/w_fmodl.c: Likewise.
27810 * math/w_j0.c: Likewise.
27811 * math/w_j0f.c: Likewise.
27812 * math/w_j0l.c: Likewise.
27813 * math/w_j1.c: Likewise.
27814 * math/w_j1f.c: Likewise.
27815 * math/w_j1l.c: Likewise.
27816 * math/w_jn.c: Likewise.
27817 * math/w_jnf.c: Likewise.
27818 * math/w_log.c: Likewise.
27819 * math/w_logf.c: Likewise.
27820 * math/w_logl.c: Likewise.
27821 * math/w_log10.c: Likewise.
27822 * math/w_log10f.c: Likewise.
27823 * math/w_log10l.c: Likewise.
27824 * math/w_log2.c: Likewise.
27825 * math/w_log2f.c: Likewise.
27826 * math/w_log2l.c: Likewise.
27827 * math/w_pow.c: Likewise.
27828 * math/w_powf.c: Likewise.
27829 * math/w_powl.c: Likewise.
27830 * math/w_remainder.c: Likewise.
27831 * math/w_remainderf.c: Likewise.
27832 * math/w_remainderl.c: Likewise.
27833 * math/w_scalb.c: Likewise.
27834 * math/w_scalbf.c: Likewise.
27835 * math/w_scalbl.c: Likewise.
27836 * math/w_sqrt.c: Likewise.
27837 * math/w_sqrtf.c: Likewise.
27838 * math/w_sqrtl.c: Likewise.
27839 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27840 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27842 * math/math_private.h: Declare __kernel_standard_f.
27843 * math/w_cosh.c: Remove cruft and optimize a bit.
27844 * math/w_coshf.c: Likewise.
27845 * math/w_coshl.c: Likewise.
27846 * math/w_exp2.c: Likewise.
27847 * math/w_exp2f.c: Likewise.
27848 * math/w_exp2l.c: Likewise.
27849 * math/w_hypot.c: Likewise.
27850 * math/w_hypotf.c: Likewise.
27851 * math/w_hypotl.c: Likewise.
27852 * math/w_lgamma.c: Likewise.
27853 * math/w_lgamma_r.c: Likewise.
27854 * math/w_lgammaf.c: Likewise.
27855 * math/w_lgammaf_r.c: Likewise.
27856 * math/w_lgammal.c: Likewise.
27857 * math/w_lgammal_r.c: Likewise.
27858 * math/w_sinh.c: Likewise.
27859 * math/w_sinhf.c: Likewise.
27860 * math/w_sinhl.c: Likewise.
27861 * math/w_tgamma.c: Likewise.
27862 * math/w_tgammaf.c: Likewise.
27863 * math/w_tgammal.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27866 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27867 Minor optimizations. Pretty printing. Remove cruft.
27868 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27869 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27870 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27871 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27872 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27873 * sysdeps/i386/fpu/e_asin.S: Likewise.
27874 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27875 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27876 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27877 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27879 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27880 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27881 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27882 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27883 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27884 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27885 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27886 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27887 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27888 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27889 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27890 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27891 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27892 * sysdeps/i386/fpu/e_log.S: Likewise.
27893 * sysdeps/i386/fpu/e_log10.S: Likewise.
27894 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27895 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27896 * sysdeps/i386/fpu/e_log2.S: Likewise.
27897 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27898 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27899 * sysdeps/i386/fpu/e_logf.S: Likewise.
27900 * sysdeps/i386/fpu/e_logl.S: Likewise.
27901 * sysdeps/i386/fpu/e_pow.S: Likewise.
27902 * sysdeps/i386/fpu/e_powf.S: Likewise.
27903 * sysdeps/i386/fpu/e_powl.S: Likewise.
27904 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27905 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27906 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27909 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27910 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27911 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27912 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27929 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27931 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27933 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27934 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27935 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27936 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27937 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27938 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27939 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27940 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27941 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27942 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27944 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27946 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27947 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27948 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27949 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27950 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27951 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27952 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27953 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27954 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27999 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28004 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28005 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28006 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28007 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28008 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28009 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28010 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28011 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28012 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28013 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28014 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28015 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28016 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28017 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28018 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28019 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28021 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28023 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28024 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28025 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28026 (__isnanf): Likewise.
28027 (__isinf_ns): Likewise.
28028 (__isinf_nsf): Likewise.
28029 (__finite): Likewise.
28030 (__finitef): Likewise.
28031 (__ieee754_sqrt): Define as macro.
28032 (__ieee754_sqrtf): Define as macro.
28033 (__ieee754_sqrtl): Define as macro.
28034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28036 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28037 __FINITE_MATH_ONLY__ consistent.
28038 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28040 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28042 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28045 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28047 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28049 * po/ja.po: Update from translation team.
28051 2011-10-08 Roland McGrath <roland@hack.frob.com>
28053 * locale/programs/locarchive.c (prepare_address_space): New function.
28054 (create_archive, enlarge_archive, open_archive): Use it.
28056 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28057 inside [SHARED], where it is used.
28059 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28061 * nss/getent.c (netgroup_keys): Remove unused variable.
28062 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28064 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28066 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28067 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28068 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28069 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28070 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28071 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28072 * math/Makefile (libm-calls): Add s_isinf_ns.
28073 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28074 * math/multc3.c: Likewise.
28075 * math/s_casin.c: Likewise.
28076 * math/s_casinf.c: Likewise.
28077 * math/s_casinl.c: Likewise.
28078 * math/s_ccos.c: Likewise.
28079 * math/s_ccosf.c: Likewise.
28080 * math/s_ccosl.c: Likewise.
28081 * math/s_ctan.c: Likewise.
28082 * math/s_ctanf.c: Likewise.
28083 * math/s_ctanh.c: Likewise.
28084 * math/s_ctanhf.c: Likewise.
28085 * math/s_ctanhl.c: Likewise.
28086 * math/s_ctanl.c: Likewise.
28087 * math/w_fmod.c: Likewise.
28088 * math/w_fmodf.c: Likewise.
28089 * math/w_fmodl.c: Likewise.
28090 * math/w_remainder.c: Likewise.
28091 * math/w_remainderf.c: Likewise.
28092 * math/w_remainderl.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28094 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28095 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28097 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28098 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28099 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28100 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28102 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28104 * stdio-common/printf_fphex.c: Likewise.
28105 * stdio-common/printf_size.c: Likewise.
28107 * math/e_exp10.c: Include math_private.h using <...> not "...".
28108 * math/e_exp10f.c: Likewise.
28109 * math/e_exp10l.c: Likewise.
28110 * math/e_exp2l.c: Likewise.
28111 * math/e_j0l.c: Likewise.
28112 * math/e_j1l.c: Likewise.
28113 * math/e_jnl.c: Likewise.
28114 * math/e_lgammal_r.c: Likewise.
28115 * math/e_rem_pio2l.c: Likewise.
28116 * math/e_scalb.c: Likewise.
28117 * math/e_scalbf.c: Likewise.
28118 * math/e_scalbl.c: Likewise.
28119 * math/k_cosl.c: Likewise.
28120 * math/k_sinl.c: Likewise.
28121 * math/k_tanl.c: Likewise.
28122 * math/s_cacoshf.c: Likewise.
28123 * math/s_catan.c: Likewise.
28124 * math/s_catanf.c: Likewise.
28125 * math/s_catanh.c: Likewise.
28126 * math/s_catanhf.c: Likewise.
28127 * math/s_catanhl.c: Likewise.
28128 * math/s_catanl.c: Likewise.
28129 * math/s_ccosh.c: Likewise.
28130 * math/s_ccoshf.c: Likewise.
28131 * math/s_ccoshl.c: Likewise.
28132 * math/s_cexp.c: Likewise.
28133 * math/s_cexpf.c: Likewise.
28134 * math/s_cexpl.c: Likewise.
28135 * math/s_clog.c: Likewise.
28136 * math/s_clog10.c: Likewise.
28137 * math/s_clog10f.c: Likewise.
28138 * math/s_clog10l.c: Likewise.
28139 * math/s_clogf.c: Likewise.
28140 * math/s_clogl.c: Likewise.
28141 * math/s_csin.c: Likewise.
28142 * math/s_csinf.c: Likewise.
28143 * math/s_csinh.c: Likewise.
28144 * math/s_csinhf.c: Likewise.
28145 * math/s_csinhl.c: Likewise.
28146 * math/s_csinl.c: Likewise.
28147 * math/s_csqrt.c: Likewise.
28148 * math/s_csqrtf.c: Likewise.
28149 * math/s_csqrtl.c: Likewise.
28150 * math/s_ctan.c: Likewise.
28151 * math/s_ctanf.c: Likewise.
28152 * math/s_ctanh.c: Likewise.
28153 * math/s_ctanhf.c: Likewise.
28154 * math/s_ctanhl.c: Likewise.
28155 * math/s_ctanl.c: Likewise.
28156 * math/s_ldexp.c: Likewise.
28157 * math/s_ldexpf.c: Likewise.
28158 * math/s_ldexpl.c: Likewise.
28159 * math/s_significand.c: Likewise.
28160 * math/s_significandf.c: Likewise.
28161 * math/s_significandl.c: Likewise.
28162 * math/w_acos.c: Likewise.
28163 * math/w_acosf.c: Likewise.
28164 * math/w_acosh.c: Likewise.
28165 * math/w_acoshf.c: Likewise.
28166 * math/w_acoshl.c: Likewise.
28167 * math/w_acosl.c: Likewise.
28168 * math/w_asin.c: Likewise.
28169 * math/w_asinf.c: Likewise.
28170 * math/w_asinl.c: Likewise.
28171 * math/w_atan2.c: Likewise.
28172 * math/w_atan2f.c: Likewise.
28173 * math/w_atan2l.c: Likewise.
28174 * math/w_atanh.c: Likewise.
28175 * math/w_atanhf.c: Likewise.
28176 * math/w_atanhl.c: Likewise.
28177 * math/w_cosh.c: Likewise.
28178 * math/w_coshf.c: Likewise.
28179 * math/w_coshl.c: Likewise.
28180 * math/w_dremf.c: Likewise.
28181 * math/w_exp10.c: Likewise.
28182 * math/w_exp10f.c: Likewise.
28183 * math/w_exp10l.c: Likewise.
28184 * math/w_exp2.c: Likewise.
28185 * math/w_exp2f.c: Likewise.
28186 * math/w_fmod.c: Likewise.
28187 * math/w_fmodf.c: Likewise.
28188 * math/w_fmodl.c: Likewise.
28189 * math/w_hypot.c: Likewise.
28190 * math/w_hypotf.c: Likewise.
28191 * math/w_hypotl.c: Likewise.
28192 * math/w_j0.c: Likewise.
28193 * math/w_j0f.c: Likewise.
28194 * math/w_j0l.c: Likewise.
28195 * math/w_j1.c: Likewise.
28196 * math/w_j1f.c: Likewise.
28197 * math/w_j1l.c: Likewise.
28198 * math/w_jn.c: Likewise.
28199 * math/w_jnf.c: Likewise.
28200 * math/w_jnl.c: Likewise.
28201 * math/w_lgamma.c: Likewise.
28202 * math/w_lgamma_r.c: Likewise.
28203 * math/w_lgammaf.c: Likewise.
28204 * math/w_lgammaf_r.c: Likewise.
28205 * math/w_lgammal.c: Likewise.
28206 * math/w_lgammal_r.c: Likewise.
28207 * math/w_log.c: Likewise.
28208 * math/w_log10.c: Likewise.
28209 * math/w_log10f.c: Likewise.
28210 * math/w_log10l.c: Likewise.
28211 * math/w_log2.c: Likewise.
28212 * math/w_log2f.c: Likewise.
28213 * math/w_log2l.c: Likewise.
28214 * math/w_logf.c: Likewise.
28215 * math/w_logl.c: Likewise.
28216 * math/w_pow.c: Likewise.
28217 * math/w_powf.c: Likewise.
28218 * math/w_powl.c: Likewise.
28219 * math/w_remainder.c: Likewise.
28220 * math/w_remainderf.c: Likewise.
28221 * math/w_remainderl.c: Likewise.
28222 * math/w_scalb.c: Likewise.
28223 * math/w_scalbf.c: Likewise.
28224 * math/w_scalbl.c: Likewise.
28225 * math/w_sinh.c: Likewise.
28226 * math/w_sinhf.c: Likewise.
28227 * math/w_sinhl.c: Likewise.
28228 * math/w_sqrt.c: Likewise.
28229 * math/w_sqrtf.c: Likewise.
28230 * math/w_sqrtl.c: Likewise.
28231 * math/w_tgamma.c: Likewise.
28232 * math/w_tgammaf.c: Likewise.
28233 * math/w_tgammal.c: Likewise.
28235 * po/ja.po: Update from translation team.
28237 2011-09-29 Andreas Jaeger <aj@suse.de>
28240 * sunrpc/netname.c (netname2host): Fix logic.
28244 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28246 * math/w_remainder.c (__remainder): Likewise.
28247 * math/w_remainderf.c (__remainderf): Likewise.
28248 * math/libm-test.inc (remainder_test): Add test cases.
28250 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28252 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28255 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28257 * string/test-memcmp.c: Avoid unncessary #defines.
28258 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28260 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28262 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28263 Use new sse2 version for core i3 - i7 as it's faster
28264 than sse42 version.
28265 (bit_Prefer_PMINUB_for_stringop): New.
28266 * sysdeps/x86_64/rawmemchr.S: Update.
28267 Replace with faster SSE2 version.
28268 * sysdeps/x86_64/memrchr.S: New file.
28269 * sysdeps/x86_64/memchr.S: Update.
28270 Replace with faster SSE2 version.
28272 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28274 * elf/dl-load.c (lose): Add cast to avoid warning.
28276 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28278 * po/ca.po: Update from translation team.
28280 * inet/getnetgrent_r.c: Hook up nscd.
28281 * nscd/Makefile (routines): Add nscd_netgroup.
28282 (nscd-modules): Add netgroupcache.
28283 (CFLAGS-netgroupcache.c): Define.
28284 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28285 (cache_search): Add const to second parameter.
28286 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28288 (dbs): Add netgrdb entry.
28289 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28290 (verify_persistent_db): Handle netgrdb.
28291 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28292 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28294 (netgroup_response_header): Define.
28295 (innetgroup_response_header): Define.
28296 (datahead): Add netgroup_response_header and innetgroup_response_header
28298 * nscd/nscd.conf: Add entries for netgroup cache.
28299 * nscd/nscd.h (dbtype): Add netgrdb.
28300 (_PATH_NSCD_NETGROUP_DB): Define.
28301 (netgroup_iov_disabled): Declare.
28302 (xmalloc, xcalloc, xrealloc): Move declarations here.
28303 (cache_search): Adjust prototype.
28304 Add netgroup-related prototypes.
28305 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28306 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28307 (__nscd_innetgr): Declare.
28308 * nscd/selinux.c (perms): Use access_vector_t as element type and
28309 add netgroup-related initializers.
28310 * nscd/netgroupcache.c: New file.
28311 * nscd/nscd_netgroup.c: New file.
28312 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28313 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28314 For four parameters use innetgr.
28315 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28316 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28317 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28318 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28320 * nscd/connections.c (register_traced_file): Don't register file
28321 for disabled databases.
28323 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28325 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28327 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28328 from tree and freeing node.
28330 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28332 * nss/nsswitch.c (__nss_database_lookup): Handle
28333 nss_parse_service_list out of memory case.
28335 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28337 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28338 out of memory case.
28340 2011-10-04 Andreas Schwab <schwab@redhat.com>
28342 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28343 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28345 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28346 elf_machine_rela, elf_machine_lazy_rel.
28347 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28348 (ELF_DYNAMIC_DO_REL): Likewise.
28349 (ELF_DYNAMIC_DO_RELA): Likewise.
28350 (ELF_DYNAMIC_RELOCATE): Likewise.
28351 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28352 to ELF_DYNAMIC_DO_REL.
28353 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28354 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28355 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28358 skip_ifunc, don't call ifunc function if non-zero.
28359 (elf_machine_rela): Likewise.
28360 (elf_machine_lazy_rel): Likewise.
28361 (elf_machine_lazy_rela): Likewise.
28362 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28363 (elf_machine_lazy_rel): Likewise.
28364 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28366 (elf_machine_lazy_rel): Likewise.
28367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28369 (elf_machine_lazy_rel): Likewise.
28370 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28371 (elf_machine_lazy_rel): Likewise.
28372 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28373 (elf_machine_lazy_rel): Likewise.
28374 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28375 (elf_machine_lazy_rel): Likewise.
28376 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28377 (elf_machine_lazy_rel): Likewise.
28378 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28379 (elf_machine_lazy_rel): Likewise.
28380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28381 (elf_machine_lazy_rel): Likewise.
28383 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28385 * nss/nss_files/files-init.c (_nss_files_init): Use static
28386 initialization for all the *_traced_file variables.
28388 2011-09-28 Andreas Schwab <schwab@redhat.com>
28390 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28392 2011-09-27 Roland McGrath <roland@hack.frob.com>
28395 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28397 2011-09-27 Andreas Schwab <schwab@redhat.com>
28399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28400 Reread the line before reparsing it.
28402 2011-09-26 Andreas Schwab <schwab@redhat.com>
28404 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28406 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28407 Maxim Kuvyrkov <maxim@codesourcery.com>
28408 Joseph Myers <joseph@codesourcery.com>
28410 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28411 if needed for __stack_chk_guard.
28413 2011-09-19 Roland McGrath <roland@hack.frob.com>
28415 * sysdeps/posix/spawni.c (script_execute): Always define it.
28416 It will be optimized away if unused.
28417 (maybe_script_execute): New function.
28418 (__spawni): Call it.
28420 * Makerules: Don't include tls.make.
28421 (config-tls): Always set to thread.
28422 * tls.make.c: File removed.
28424 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28426 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28427 * config.make.in (CPPFLAGS-config): New substituted variable.
28429 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28431 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28434 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28435 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28437 2011-09-15 Roland McGrath <roland@hack.frob.com>
28439 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28440 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28442 (CALL_FAIL): Likewise.
28443 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28444 (CALL_FAIL): Macro removed.
28445 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28447 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28449 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28450 for __FINITE_MATH_ONLY__ == 1.
28452 2011-09-15 Andreas Schwab <schwab@redhat.com>
28454 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28455 __ieee754_sqrt instead of sqrt.
28456 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28457 __ieee754_sqrtf instead of sqrtf.
28458 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28459 __floorf instead of floorf.
28460 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28461 __floorf, __truncf instead of floorf, truncf.
28463 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28465 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28467 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28468 __extern_always_inline.
28469 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28472 2011-09-14 Andreas Schwab <schwab@redhat.com>
28474 * elf/rtld.c (dl_main): Also relocate in dependency order when
28475 doing symbol dependency testing.
28477 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28480 Always define `refsym'.
28482 2011-09-13 Andreas Schwab <schwab@redhat.com>
28484 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28485 (__FD_ELT): Renamed from __FDELT.
28486 * misc/bits/select2.h (__FD_ELT): Likewise.
28487 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28488 __FD_MASK instead of __FDELT, __FDMASK.
28489 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28491 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28494 * elf/Makefile (gen-ldd): Fix pattern.
28496 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28497 (init_tls): Likewise.
28499 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28501 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28503 2011-09-12 Andreas Schwab <schwab@redhat.com>
28505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28506 `struct cmsghdr *' instead of `void *'.
28507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28510 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28512 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28514 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28515 ldd_rewrite_script.
28517 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28519 * configure.in: Remove --with-tls option.
28520 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28521 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28522 out in case it is missing.
28523 * sysdeps/ia64/elf/configure.in: Likewise.
28524 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28525 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28526 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28527 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28528 * sysdeps/sh/elf/configure.in: Likewise.
28529 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28530 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28531 * sysdeps/x86_64/elf/configure.in: Likewise.
28532 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28533 * sysdeps/mach/hurd/tls.h: Likewise.
28536 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28539 * configure.in: Fix use of AC_INIT.
28541 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28543 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28545 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28547 * malloc/hooks.c: Likewise.
28550 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28551 variables statically.
28552 (narenas): Initialize.
28553 (list_lock): Initialize.
28554 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28555 initializtion of main_arena and list_lock. Small cleanups.
28556 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28557 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28558 Add initializers to main_arena and mp_.
28559 (malloc_state): Remove pagesize member. Change all users to use
28562 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28563 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28564 is always initialized.
28566 * malloc/malloc.c: Removed unused configurations and dead code.
28567 * malloc/arena.c: Likewise.
28568 * malloc/hooks.c: Likewise.
28569 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28571 * include/tls.h: Removed. USE___THREAD must always be defined.
28572 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28573 * elf/dl-libc.c: Likewise.
28574 * elf/dl-tsd.c: Likewise.
28575 * include/errno.h: Likewise.
28576 * include/netdb.h: Likewise.
28577 * include/resolv.h: Likewise.
28578 * inet/herrno-loc.c: Likewise.
28579 * inet/herrno.c: Likewise.
28580 * malloc/arena.c: Likewise.
28581 * malloc/hooks.c: Likewise.
28582 * malloc/malloc.c: Likewise.
28583 * resolv/res-state.c: Likewise.
28584 * resolv/res_libc.c: Likewise.
28585 * sysdeps/i386/dl-machine.h: Likewise.
28586 * sysdeps/ia64/dl-machine.h: Likewise.
28587 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28588 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28589 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28590 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28591 * sysdeps/sh/dl-machine.h: Likewise.
28592 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28593 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28594 * sysdeps/unix/i386/sysdep.S: Likewise.
28595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28596 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28597 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28601 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28605 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28606 * sysdeps/x86_64/dl-machine.h: Likewise.
28607 * tls.make.c: Likewise.
28609 * configure.in: Remove --with-__thread option. Make tests for
28610 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28611 tls_model attribute fail if no support is available. Remove
28613 * Makeconfig: Adjust for dropped configure option. All features are
28615 * Makerules: Likewise.
28616 * Versions.def: Likewise.
28617 * argp/argp-fmtstream.c: Likewise.
28618 * argp/argp-fmtstream.h: Likewise.
28619 * argp/argp-help.c: Likewise.
28620 * assert/assert.c: Likewise.
28621 * config.h.in: Likewise.
28622 * config.make.in: Likewise.
28623 * configure: Likewise.
28624 * configure.in: Likewise.
28625 * csu/Versions: Likewise.
28626 * csu/init.c: Likewise.
28627 * elf/tst-audit2.c: Likewise.
28628 * elf/tst-tls10.c: Likewise.
28629 * elf/tst-tls10.h: Likewise.
28630 * elf/tst-tls11.c: Likewise.
28631 * elf/tst-tls12.c: Likewise.
28632 * elf/tst-tls14.c: Likewise.
28633 * elf/tst-tlsmod11.c: Likewise.
28634 * elf/tst-tlsmod12.c: Likewise.
28635 * elf/tst-tlsmod13.c: Likewise.
28636 * elf/tst-tlsmod13a.c: Likewise.
28637 * elf/tst-tlsmod14a.c: Likewise.
28638 * elf/tst-tlsmod15b.c: Likewise.
28639 * elf/tst-tlsmod16a.c: Likewise.
28640 * elf/tst-tlsmod16b.c: Likewise.
28641 * elf/tst-tlsmod7.c: Likewise.
28642 * elf/tst-tlsmod8.c: Likewise.
28643 * elf/tst-tlsmod9.c: Likewise.
28644 * gmon/gmon.c: Likewise.
28645 * grp/fgetgrent_r.c: Likewise.
28646 * grp/putgrent.c: Likewise.
28647 * hurd/fopenport.c: Likewise.
28648 * include/libc-symbols.h: Likewise.
28649 * include/tls.h: Likewise.
28650 * intl/gettextP.h: Likewise.
28651 * intl/loadinfo.h: Likewise.
28652 * locale/global-locale.c: Likewise.
28653 * locale/localeinfo.h: Likewise.
28654 * mach/devstream.c: Likewise.
28655 * malloc/arena.c: Likewise.
28656 * malloc/set-freeres.c: Likewise.
28657 * misc/err.c: Likewise.
28658 * misc/getttyent.c: Likewise.
28659 * misc/mntent_r.c: Likewise.
28660 * posix/getopt.c: Likewise.
28661 * posix/wordexp.c: Likewise.
28662 * pwd/fgetpwent_r.c: Likewise.
28663 * resolv/Versions: Likewise.
28664 * resolv/res_hconf.c: Likewise.
28665 * shadow/fgetspent_r.c: Likewise.
28666 * shadow/putspent.c: Likewise.
28667 * stdio-common/printf_fphex.c: Likewise.
28668 * stdio-common/tmpfile.c: Likewise.
28669 * stdlib/abort.c: Likewise.
28670 * stdlib/fmtmsg.c: Likewise.
28671 * sunrpc/auth_unix.c: Likewise.
28672 * sunrpc/clnt_perr.c: Likewise.
28673 * sunrpc/clnt_tcp.c: Likewise.
28674 * sunrpc/clnt_udp.c: Likewise.
28675 * sunrpc/clnt_unix.c: Likewise.
28676 * sunrpc/openchild.c: Likewise.
28677 * sunrpc/svc_simple.c: Likewise.
28678 * sunrpc/svc_tcp.c: Likewise.
28679 * sunrpc/svc_udp.c: Likewise.
28680 * sunrpc/svc_unix.c: Likewise.
28681 * sunrpc/xdr.c: Likewise.
28682 * sunrpc/xdr_array.c: Likewise.
28683 * sunrpc/xdr_rec.c: Likewise.
28684 * sunrpc/xdr_ref.c: Likewise.
28685 * sunrpc/xdr_stdio.c: Likewise.
28687 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28689 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28691 2011-07-03 Andreas Jaeger <aj@suse.de>
28693 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28694 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28695 regenerate with gen-libm-tests.pl.
28697 2010-05-12 Petr Baudis <pasky@suse.cz>
28700 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28701 around j0() zero points by switching to j1().
28702 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28707 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28709 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28711 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28714 Patch in part by Pavel Roskin <proski@gnu.org>.
28717 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28719 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28720 Free memory block if necessary.
28723 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28724 be NULL. Don't lock in this case.
28726 2011-09-09 Roland McGrath <roland@hack.frob.com>
28728 * elf/elf.h (ELFOSABI_GNU): New macro.
28729 (ELFOSABI_LINUX): Define to that.
28731 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28733 * string/strncat.c (strncat): Undef the symbol in case it has been
28734 defined in bits/string.h.
28736 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28738 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28740 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28743 2011-08-17 Andreas Jaeger <aj@suse.de>
28745 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28747 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28748 Ian Lance Taylor <iant@google.com>
28750 * math/libm-test.inc (lround_test): New testcase.
28751 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28753 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28755 * Makefile: Remove support for automatic cvs check-ins.
28756 * Makerules: Likewise.
28757 * config.make.in: Likewise.
28758 * configure.in: Likewise.
28759 * intl/Makefile: Likewise.
28760 * locale/Makefile: Likewise.
28761 * po/Makefile: Likewise.
28762 * posix/Makefile: Likewise.
28763 * sysdeps/gnu/Makefile: Likewise.
28764 * sysdeps/mach/hurd/Makefile: Likewise.
28765 * sysdeps/sparc/sparc32/Makefile: Likewise.
28768 * posix/Makefile (bug-regex32-ENV): Define.
28769 Patch by John Stanley <jpsinthemix@verizon.net>.
28771 * misc/Makefile (headers): Add bits/select2.h.
28772 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28773 * misc/bits/select2.h: New file.
28774 * include/bits/select2.h: New file.
28775 * debug/Makefile (routines): Add fdelt_chk.
28776 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28777 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28779 * debug/fdelt_chk.c: New file.
28781 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28782 * wcsmbs/test-wmemcmp.c: Likewise.
28783 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28784 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28786 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28788 * string/Makefile (strop-tests): Add memcmp.
28789 * string/test-wmemcmp.c: New file.
28790 * string/test-memcmp.c: Add wmemcmp support.
28792 2011-09-08 Roland McGrath <roland@hack.frob.com>
28795 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28798 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28799 garbage value in a __mach_port_mod_refs call in the cases of the
28800 task-self and thread-self ports.
28802 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28804 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28806 2011-09-08 Andreas Schwab <schwab@redhat.com>
28808 * elf/dl-load.c (lose): Check for non-null L.
28810 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28812 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28814 * elf/dl-libc.c (dlerror_run): Pass back error code from
28818 * elf/dl-load.c (lose): Free l_origin if it is valid.
28820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28822 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28823 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28824 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28825 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28826 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28827 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28829 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28831 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28832 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28833 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28834 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28835 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28836 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28837 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28838 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28839 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28840 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28842 2011-08-15 Alan Modra <amodra@gmail.com>
28845 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28846 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28847 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28848 ppc_mcount to static-only-routines.
28849 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28851 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28852 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28854 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28857 for finite and infinity parameters.
28859 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28862 and add nop instructions for throughput optimization.
28863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28865 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28867 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28868 aligned copy for power7 with vector-scalar instructions.
28869 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28871 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28876 2011-09-07 Andreas Schwab <schwab@redhat.com>
28879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28882 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28884 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28885 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28886 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28887 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28890 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28892 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28893 Forgot to demangle the pointer.
28895 * sysdeps/i386/sysdep.h: Define atom_text_section.
28896 * sysdeps/x86_64/sysdep.h: Likewise.
28897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28898 section with atom_text_section.
28899 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28900 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28901 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28905 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28906 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28907 already be defined. Change to take two parameters and don't assign
28908 result to variable. Adjust all users.
28909 Define INTERNAL_GETTIME if not already defined.
28910 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28912 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28913 HAVE_CLOCK_GETTIME_VSYSCALL.
28914 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28916 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28917 gettimeofday vsyscall, just use time.
28919 2011-09-06 Andreas Schwab <schwab@redhat.com>
28921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28924 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28926 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28930 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28932 syscall if possible.
28934 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28936 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28937 e_ident. Don't pass to find_mapsXX.
28938 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28940 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28943 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28944 * sysdeps/x86_64/multiarch/strchr.S: Update.
28945 Check bit_slow_BSF bit.
28946 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28947 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28948 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28950 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28953 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28955 (tryshell): Define.
28956 (__spawni): Change last parameter to be flag. Test
28957 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28958 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28959 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28960 * posix/spawni.c: Likewise.
28961 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28962 * posix/spawnp.c: Likewise. Change normal version to use
28963 SPAWN_XFLAGS_USE_PATH.
28964 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28965 SPAWN_XFLAGS_TRY_SHELL.
28968 * posix/glob.h: Remove gcc 1.x support.
28971 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28973 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28976 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28978 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28979 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28980 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28981 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28982 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28983 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28985 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28987 * sysdeps/x86_64/wcscmp.S: New file.
28989 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28990 wcscmp-c wcscmp-sse2
28991 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28992 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28993 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28994 * wcsmbs/wcscmp.c: Allow renaming.
28996 2011-09-05 David S. Miller <davem@davemloft.net>
28998 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28999 stack slot, rather than the struct return pointer slot.
29000 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29001 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29003 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29005 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29007 * po/ja.po: Update from translation team.
29010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29011 kernel in 64-bit binaries.
29013 2011-09-01 David S. Miller <davem@davemloft.net>
29015 * elf/elf.h (HWCAP_SPARC_*): Move to..
29016 * sysdeps/sparc/sysdep.h: this new file and add new values.
29017 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29018 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29019 _DL_HWCAP_COUNT to 24.
29020 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29022 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29023 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29024 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29025 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29026 instead of magic constants.
29027 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29029 2011-08-31 David S. Miller <davem@davemloft.net>
29031 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29033 Reimplement to do errno handling inline.
29034 (SYSCALL_ERROR_HANDLER): New macro.
29035 (__SYSCALL_STRING): Do not do errno handling in asm.
29036 (__CLONE_SYSCALL_STRING): Delete.
29037 (__INTERNAL_SYSCALL_STRING): Delete.
29038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29039 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29040 (PSEUDO): Reimplement to do errno handling inline.
29041 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29042 (SYSCALL_ERROR_HANDLER): New macro.
29043 (__SYSCALL_STRING): Do not do errno handling in asm.
29044 (__CLONE_SYSCALL_STRING): Delete.
29045 (__INTERNAL_SYSCALL_STRING): Delete.
29046 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29047 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29049 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29050 (inline_syscall*): Add 'err' argument.
29051 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29052 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29053 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29054 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29056 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29057 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29059 2011-08-30 Andreas Schwab <schwab@redhat.com>
29061 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29063 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29065 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29068 2011-08-24 David S. Miller <davem@davemloft.net>
29070 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29072 2011-08-24 Andreas Schwab <schwab@redhat.com>
29074 * elf/Makefile: Add rules to build and run unload8 test.
29075 * elf/unload8.c: New file.
29076 * elf/unload8mod1.c: New file.
29077 * elf/unload8mod1x.c: New file.
29078 * elf/unload8mod2.c: New file.
29079 * elf/unload8mod3.c: New file.
29081 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29084 2011-08-23 David S. Miller <davem@davemloft.net>
29086 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29087 subtract stack bias.
29088 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29089 %sp not %fp in calculations.
29090 (_JMPBUF_UNWINDS_ADJ): Likewise.
29092 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29093 (aio_suspend): Call it to force an exception region around the
29094 AIO_MISC_WAIT() invocation.
29096 2011-08-23 Andreas Schwab <schwab@redhat.com>
29098 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29101 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29103 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29105 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29106 and <dl-machine.h>.
29107 (Elf64_FuncDesc): Remove.
29109 2011-08-22 David S. Miller <davem@davemloft.net>
29111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29112 sigaltstack check, add missing cfi directives.
29113 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29114 missing cfi directives, and sigaltstack handling.
29116 2011-08-16 Andreas Schwab <schwab@redhat.com>
29119 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29120 object is seen twice.
29121 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29123 * elf/Makefile (distribute): Add tst-initorder2.c.
29124 (tests): Add tst-initorder2.
29125 (modules-names): Add tst-initorder2a tst-initorder2b
29126 tst-initorder2c tst-initorder2d. Add rules to build them.
29127 ($(objpfx)tst-initorder2.out): New rule.
29128 * elf/tst-initorder2.c: New file.
29129 * elf/tst-initorder2.exp: New file.
29131 2011-08-22 Andreas Schwab <schwab@redhat.com>
29133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29135 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29136 dependencies back to end of function.
29138 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29139 $(elfobjdir)/ld.so.
29141 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29144 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29146 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29147 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29148 of __vdso_gettimeofday.
29149 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29150 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29152 (_libc_vdso_platform_setup): Remove initialization of
29153 __vdso_gettimeofday and __vdso_time.
29155 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29157 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29158 and fgetc_unlocked.
29159 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29162 * elf/dl-open.c (add_to_global): Report additions to the global scope
29163 for LD_DEBUG=scopes.
29164 (dl_open_worker): Also print scope of newly loaded dependencies.
29165 (_dl_show_scope): Indicate if there is no scope.
29168 * stdio-common/Makefile (tests): Add bug24.
29169 * stdio-common/bug24.c: New file.
29171 2011-08-19 Andreas Jaeger <aj@suse.de>
29174 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29175 non-existant file when using close-on-exec mode.
29177 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29180 the very first instruction.
29182 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29183 the CFI state in the end.
29184 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29185 inclusion of dl-trampoline.h.
29186 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29188 2011-08-19 Andreas Schwab <schwab@redhat.com>
29190 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29191 expectations for long double.
29193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29194 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29196 2011-08-14 David S. Miller <davem@davemloft.net>
29198 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29199 artificual limit depends upon the system page size.
29201 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29203 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29204 * resolv/Makefile: Define CFLAGS-libresolv.
29206 2011-08-17 Andreas Schwab <schwab@redhat.com>
29208 * nss/makedb.c (compute_tables): Make variables used in nested
29211 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29213 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29214 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29215 if buffer was too small.
29217 * elf/pldd.c (main): Attach to all threads in the process.
29218 Rewrite /proc handling to use *at functions.
29220 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29222 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29223 specifies first scope to show.
29224 (dl_open_worker): Update callers. Move printing scope of new
29225 object to before the relocation.
29226 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29227 * sysdeps/generic/ldsodefs.h: Update declaration.
29229 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29230 string for the scope number.
29232 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29234 * nscd/servicescache.c (cache_addserv): Make sure written is always
29237 2011-08-14 Roland McGrath <roland@hack.frob.com>
29239 * sysdeps/i386/i486/bits/atomic.h
29240 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29241 statement expression, so as to suppress "set but not used" warning.
29242 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29244 * string/strncat.c (STRNCAT): Use prototype definition.
29246 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29247 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29249 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29250 (localedef-modules): Add localedef.
29251 (locale-modules): Add locale.
29253 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29254 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29255 to avoid a warning.
29257 2011-08-14 David S. Miller <davem@davemloft.net>
29259 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29260 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29262 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29264 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29265 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29266 * elf/rtld.c (dl_main): Set l_name of vDSO.
29267 Call _dl_show_scope when DL_DEBUG_SCOPES.
29268 (process_dl_debug): Recognize scopes flag and also set it for all.
29269 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29270 Declare _dl_show_scope.
29272 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29273 (do_dlopen): Pass caller_dlopen to dl_open.
29274 (__libc_dlopen_mode): Initialize caller_dlopen.
29276 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29277 of libc. Make tolower call locale-independent. Optimize a bit by
29278 using isdigit instead of isalnum.
29279 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29281 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29283 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29284 was a dependency or dynamically loaded.
29286 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29288 * intl/l10nflist.c: Allow architecture-specific pop function.
29289 * sysdeps/x86_64/l10nflist.c: New file.
29291 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29294 2011-08-10 Andreas Schwab <schwab@redhat.com>
29296 * include/dirent.h: Add libc_hidden_proto for scandirat and
29297 scandirat64. Don't declare __scandirat64.
29298 * dirent/scandirat.c: Add libc_hidden_def.
29299 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29300 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29302 2011-08-10 David S. Miller <davem@davemloft.net>
29304 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29306 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29308 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29310 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29312 * Versions.def [libc]: Add GLIBC_2.15.
29313 * dirent/Makefile (routines): Add scandirat and scandirat64.
29314 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29316 * dirent/dirent.h: Declare scandirat and scandirat64.
29317 * dirent/scandirat.c: New file.
29318 * dirent/scandirat64.c: New file.
29319 * sysdeps/wordsize-64/scandirat.c: New file.
29320 * sysdeps/wordsize-64/scandirat64.c: New file.
29321 * dirent/opendir.c: Define opendirat.
29322 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29324 * dirent/scandir64.c: Adjust for scandir.c change.
29325 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29326 __scandirat64, and __scandir_cancel_handler.
29327 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29328 additional parameter and use openat instead of open (outside of ld.so).
29329 Add new __opendir as wrapper around __opendirat.
29330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29331 here without requiring old scandirat implementation.
29333 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29335 * dirent/scandir.c (cancel_handler): Renamed to
29336 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29337 defined. Adjust users.
29338 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29339 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29341 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29343 * string/test-string.h (IMPL): Use __STRING to expand name and then
29346 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29349 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29351 * string/Makefile: Update.
29352 (strop-tests): Append strncat.
29353 * string/test-wcscmp.c: New file.
29354 New comprehensive test for wcscmp.
29355 * string/test-strcmp.c: Update.
29356 (WIDE): New define.
29358 2011-07-22 Andreas Schwab <schwab@redhat.com>
29360 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29363 2011-07-26 Andreas Schwab <schwab@redhat.com>
29365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29366 encoding to ACE if AI_IDN.
29368 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29370 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29371 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29373 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29375 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29376 Fix overflow bug in strncat.
29377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29379 * string/test-strncat.c: Update.
29380 Add new tests for checking overflow bugs.
29382 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29385 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29386 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29387 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29388 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29389 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29390 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29391 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29392 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29394 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29395 (USE_AS_STRCAT): Define.
29396 Add strcat and strncat support.
29397 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29399 2011-07-25 Andreas Schwab <schwab@redhat.com>
29401 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29402 __n bigger than INT_MAX+1.
29403 (__strncmp_g): Likewise.
29405 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29407 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29408 * libio/stido.h: Likewise.
29410 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29412 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29415 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29418 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29422 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29427 (_dl_x86_64_save_sse): Likewise.
29429 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29431 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29433 (_dl_x86_64_save_sse): Likewise.
29435 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29437 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29439 2011-07-21 Andreas Schwab <schwab@redhat.com>
29441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29443 (_dl_x86_64_save_sse): Use correct AVX check.
29445 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29448 bug in strncpy/strncat.
29449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29451 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29453 * string/tester.c (test_strcat): Add tests for different alignments
29454 of source and destination.
29455 (test_strncat): Likewise.
29457 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29460 * posix/glob.c (glob): Check passed in values before using them in
29461 expressions to avoid some overflows.
29462 (glob_in_dir): Likewise.
29465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29466 check for AVX enablement so that we don't crash with old kernels and
29468 * elf/tst-audit4.c: Add same checks here.
29469 * elf/tst-audit6.c: Likewise.
29471 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29473 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29475 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29477 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29479 * po/cs.po: Update from translation team.
29480 * po/bg.po: Likewise.
29482 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29484 * misc/sys/cdefs.h: Add support for const attribute.
29485 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29486 to gnu_dev_{major,minor,makedev} functions.
29488 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29490 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29492 2011-07-20 Andreas Schwab <schwab@redhat.com>
29494 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29497 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29500 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29501 register in order to avoid conflicts with the soft frame pointer
29502 being held in r11 when necessary.
29503 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29504 (INTERNAL_VSYSCALL_NCS): Likewise.
29506 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29508 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29509 * elf/dl-fini.c (_dl_fini): Adjust caller.
29510 * elf/dl-close.c (_dl_close_worker): Likewise.
29511 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29513 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29515 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29516 "aux_cache->nlibs < 0".
29518 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29519 in the reload-count case.
29521 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29523 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29524 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29525 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29526 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29527 * sysdeps/x86_64/multiarch/strcat.S: New file.
29528 * sysdeps/x86_64/multiarch/strncat.S: New file.
29529 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29530 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29531 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29532 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29533 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29534 (USE_AS_STRCAT): Define.
29535 Add strcat and strncat support.
29536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29537 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29538 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29539 * string/strncat.c: Update.
29540 (USE_AS_STRNCAT): Define.
29541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29542 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29544 * sysdeps/x86_64/multiarch/init-arch.h
29545 (bit_Prefer_PMINUB_for_stringop): New.
29546 (index_Prefer_PMINUB_for_stringop): Likewise.
29547 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29548 bit_Prefer_PMINUB_for_stringop.
29550 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29552 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29554 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29555 of casting of buffer.
29556 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29557 buffer32 and buffer64.
29558 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29559 writes instead of casting of buffer.
29560 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29562 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29565 2011-07-19 Andreas Schwab <schwab@redhat.com>
29567 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29569 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29571 * nscd/nscd.c (termination_handler): Don't do anything for a database
29572 if it has not yet been initialized.
29574 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29576 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29578 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29580 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29582 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29584 * po/nl.po: Update from translation team.
29585 * po/sv.po: Likewise.
29587 2011-07-16 Roland McGrath <roland@hack.frob.com>
29589 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29590 now disallowed by GCC.
29592 * configure.in (use-default-link): Default to yes if a test -shared
29593 link meets our qualifications.
29594 * configure: Regenerated.
29596 * config.make.in (output-format): New variable.
29597 * configure.in: Check for ld --print-output-format support.
29598 * configure: Regenerated.
29599 * Makerules ($(common-objpfx)format.lds)
29600 [$(output-format) != unknown]: Just use $(output-format),
29601 instead of the linker-script munging.
29603 2011-07-14 Roland McGrath <roland@hack.frob.com>
29605 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29606 of $(common-objpfx)shlib.lds.
29607 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29609 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29610 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29612 * configure.in (-z relro check): Adjust test code to add a large
29613 writable data section after it.
29614 * configure: Regenerated.
29616 2011-07-11 Roland McGrath <roland@hack.frob.com>
29618 * configure.in (-z relro check): Fix test code to make the variable
29620 * configure: Regenerated.
29622 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29624 * nscd/nscd.h (struct traced_file): Define.
29625 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29626 elements. Add traced_files.
29627 (inotify_fd): Declare.
29628 (register_traced_file): Declare.
29629 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29630 (inotify_fd): Export.
29631 (resolv_conf_descr): Remove.
29632 (nscd_init): Move inotify descriptor creation to main.
29633 Don't register files for notification here.
29634 (register_traced_file): New function.
29635 (invalidate_cache): Don't use reset_res to determine whether to call
29636 res_init, go through the list of registered files.
29637 (main_loop_poll): The inotify descriptors are now stored in the
29638 structures for the traced files.
29639 (main_loop_epoll): Likewise
29640 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29641 to __nss_disable_nscd.
29642 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29643 for a database anymore. Check the records for all the registered
29645 * nss/Makefile (libnss_files-routines): Add files-init.
29646 (libnss_db-routines): Add db-init.
29647 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29648 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29649 * nss/nss_db/db-init.c: New file.
29650 * nss/nss_files/files-init.c: New file.
29651 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29652 __nss_lookup_function.
29653 (__nss_lookup_function): Call nss_load_library.
29654 (nss_load_all_libraries): New function.
29655 (__nss_disable_nscd): Take parameter with callback function for files
29656 to register. Set is_nscd. Load all the DSOs for the NSS modules
29657 used for the cached services.
29658 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29659 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29660 options for features to all the files in nscd.
29662 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29664 2011-07-10 Roland McGrath <roland@hack.frob.com>
29666 * csu/elf-init.c (__libc_csu_init): Comment typo.
29668 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29670 * po/pl.po: Update from translation team.
29671 * po/ja.po: Likewise.
29672 * po/ru.po: Likewise.
29673 * po/ko.po: Likewise.
29674 * po/fr.po: Likewise.
29676 2011-07-09 Roland McGrath <roland@hack.frob.com>
29678 * configure.in (.ctors/.dtors header and trailer check):
29679 Use an empirical test on a built program.
29680 * configure: Regenerated.
29682 * configure.in (-z relro check): Use an empirical test on a built DSO.
29683 Detect, but do not require, on ia64.
29684 * configure: Regenerated.
29686 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29687 Update tests that use readelf to use $READELF instead.
29688 * configure: Regenerated.
29690 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29692 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29693 if the result is not used.
29695 2011-07-05 Andreas Jaeger <aj@suse.de>
29698 * stdlib/tst-strtod.c: Add testcase.
29700 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29702 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29703 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29704 The latter has a higher limit. Take additional parameter to pass to
29706 (__pathconf): Pass file to __statfs_link_max.
29707 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29709 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29713 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29717 (__statfs_filesize_max): Likewise.
29718 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29720 2011-07-05 Andreas Jaeger <aj@suse.de>
29722 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29724 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29726 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29728 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29731 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29733 * Makefile (strop-tests): Add strncat.
29734 * string/test-strncat.c: New file.
29736 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29738 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29740 2011-06-21 Andreas Jaeger <aj@suse.de>
29742 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29743 Copy rule from iconvdata/Makefile.
29745 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29748 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29749 but no long options are defined, just return 'W'.
29751 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29754 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29756 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29758 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29760 (innetgr): Likewise.
29762 2011-07-05 Roland McGrath <roland@hack.frob.com>
29764 * config.make.in (install_root): Default to $(DESTDIR).
29766 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29770 2011-07-02 Roland McGrath <roland@hack.frob.com>
29772 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29774 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29775 containing directory rather than embedding absolute directory names.
29777 * scripts/check-local-headers.sh: Rewritten using awk.
29778 Match by word, not by line. Print error messages for matches.
29779 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29781 * Makerules [shlib-lds-flags empty]:
29782 ($(common-objpfx)libc_pic.opts): New target.
29783 ($(common-objpfx)libc_pic.os.clean): New target.
29784 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29786 * config.make.in (OBJCOPY): New variable.
29787 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29788 * configure: Regenerated.
29790 * config.make.in (use-default-link): New variable.
29791 * configure.in (use_default_link): Grok --with-default-link to set it.
29792 * configure: Regenerated.
29793 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29794 (shlib-lds, shlib-lds-flags): Define to empty.
29796 * Makerules (shlib-lds): New variable.
29797 (shlib-lds-flags): New variable.
29798 (build-shlib, build-moduile, build-module-asneeded): Use it.
29799 ($(common-objpfx)libc.so): Use $(shlib-lds).
29800 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29801 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29803 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29804 DT_FLAGS/DT_FLAGS_1 with zero flags.
29806 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29807 linker script munging.
29809 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29811 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29813 * crypt/sha512.c (sha512_process_block): Perform total addition using
29814 128-bit if possible.
29815 (__sha512_finish_ctx): Likewise.
29816 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29818 * crypt/sha256.c (SWAP64): Define.
29819 (sha256_process_block): Perform total addition using 64-bit if
29821 (__sha256_finish_ctx): Likewise.
29823 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29825 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29827 * nscd/hstcache.c (cache_addhst): Likewise.
29828 * nscd/grpcache.c (cache_addgr): Likewise.
29829 * nscd/aicache.c (addhstaiX): Likewise
29830 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29832 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29834 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29835 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29836 * nscd/hstcache.c (cache_addhst): Likewise.
29837 * nscd/grpcache.c (cache_addgr): Likewise.
29838 * nscd/aicache.c (addhstaiX): Likewise
29840 2011-07-01 Andreas Schwab <schwab@redhat.com>
29842 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29843 domain only when needed.
29845 2011-06-30 Andreas Schwab <schwab@redhat.com>
29847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29848 is always restored.
29850 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29852 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29853 are re-adding the entry.
29854 * nscd/servicescache.c (cache_addserv): Likewise.
29856 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29858 * sysdeps/generic/dl-irel.h: fix protection against multiple
29860 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29862 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29865 * malloc/memusage.sh: Fix quoting in message.
29866 * debug/xtrace.sh: Likewise.
29868 * configure.in: Remove support for --experimental-malloc option, make
29870 * config.make.in: Likewise.
29871 * malloc/Makefile: Likewise.
29873 2011-06-27 Andreas Schwab <schwab@redhat.com>
29875 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29876 two-byte characters.
29878 2011-06-27 Roland McGrath <roland@hack.frob.com>
29880 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29881 AC_CACHE_CHECK invocation.
29882 * configure: Regenerated.
29884 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29886 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29889 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29890 bit from old_res_options.
29892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29894 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29895 value type for setfct.
29897 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29899 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29900 __gettimeofday instead of gettimeofday.
29902 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29904 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29906 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29908 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29913 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29916 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29917 strcpy-sse2-unaligned strncpy-sse2-unaligned
29918 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29919 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29920 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29921 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29922 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29923 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29924 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29925 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29926 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29927 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29928 (STRCPY): Support SSE2 and SSSE3 versions.
29930 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29933 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29934 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29935 kernels which artificially limit size of requests.
29937 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29940 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29941 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29942 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29943 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29944 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29945 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29946 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29947 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29948 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29949 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29950 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29951 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29952 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29953 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29955 Enable unaligned load optimization for Intel Core i3, i5 and i7
29957 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29959 (index_Fast_Unaligned_Load): Define.
29960 (HAS_FAST_UNALIGNED_LOAD): Define.
29962 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29964 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29966 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29969 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29970 until it is clear that the information is realy needed.
29971 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29973 2011-06-22 Andreas Schwab <schwab@redhat.com>
29975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29977 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29980 /sys/devices/system/cpu/online if it is usable.
29982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29983 reading the information from the /proc filesystem to once a second.
29985 2011-06-21 Andreas Jaeger <aj@suse.de>
29987 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29988 NULL after inclusion of kernel headers.
29990 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29992 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29993 calls to internal_setent.
29996 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29997 addresses using gethostbyname4_r ignore IPv4 addresses.
29999 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30000 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30002 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30004 2011-06-20 David S. Miller <davem@davemloft.net>
30006 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30008 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30010 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30011 (elf_irel): Use it.
30012 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30013 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30014 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30015 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30016 * sysdeps/x86_64/dl-irel.h: Likewise.
30018 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30019 * elf/dl-sym.c: Likewise.
30021 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30023 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30024 need to dereference resplen2.
30026 2011-06-14 Andreas Schwab <schwab@redhat.com>
30028 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30030 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30032 * Makeconfig: Define vardbdir and inst_vardbdir.
30033 * nss/Makefile: Add rules to install db-Makefile.
30035 * nss/nss_db/db-XXX.c: Cleanup.
30037 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30038 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30040 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30041 * nss/makedb.c: Implement -g option to specify that value strings
30042 are generated and should not be added to table iterated over for
30044 * nss/nss_db/db-initgroups.c: New file.
30046 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30049 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30050 (internal_getgrouplist): Adjust to name change.
30051 Update use_initgroups_entry if this is not the first call.
30052 * nss/databases.def: Add initgroups entry.
30054 * nss/makedb.c (compute_tables): Check result of multiple hash table
30055 sizes to minimize maximum chain length.
30057 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30059 * Versions.def: Add entry for libnss_db.
30060 * shlib-versions: Likewise.
30061 * nss/Makefile: Add rules to build libnss_db.
30062 * nss/Versions: Add libnss_db information. Organize libnss_files
30064 * nss/db-Makefile: Add gshadow support. Change rules for the new
30065 makedb progra. Some minor improvements to generate smaller files.
30066 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30068 * nss/makedb.c: ...here.
30069 Improve database format to be smaller and require less memory at
30071 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30073 * nss/nss_db/db-netgrp.c: Likewise.
30074 * nss/nss_db/db-open.c: Likewise.
30075 * nss/nss_files/flies-XXX.x: Adjust comments.
30076 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30077 * nss/nss_files/files-grp.c: Likewise.
30078 * nss/nss_files/files-hosts.c: Likewise.
30079 * nss/nss_files/files-network.c: Likewise.
30080 * nss/nss_files/files-proto.c: Likewise.
30081 * nss/nss_files/files-pwd.c: Likewise.
30082 * nss/nss_files/files-rpc.c: Likewise.
30083 * nss/nss_files/files-service.c: Likewise.
30084 * nss/nss_files/files-sgrp.c: Likewise.
30085 * nss/nss_files/files-spwd.c: Likewise.
30086 * nss/nss_db/db-alias.c: Removed.
30087 * nss/nss_db/dummy-db.h: Removed.
30089 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30091 * nss/makedb.c: Rewritten to not use database library.
30092 * nss/Makefile: Update to build new makedb program.
30094 2011-06-14 Andreas Jaeger <aj@suse.de>
30096 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30097 memset declaration.
30099 2011-06-10 Andreas Schwab <schwab@redhat.com>
30101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30104 2011-06-10 Roland McGrath <roland@hack.frob.com>
30106 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30107 * elf/Makefile ($(objpfx)ld.so): Likewise.
30109 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30110 Don't list ld.so twice in dependencies.
30112 * posix/bug-regex31.c: Include <stdlib.h>.
30114 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30116 * nis/nss_compat/compat-spwd.c
30117 (getspent_next_nss_netgr): Remove unused variable.
30118 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30120 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30121 nonmembers" output to use the right array.
30123 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30125 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30127 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30128 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30129 * catgets/gencat.c (read_input_file): Likewise.
30130 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30132 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30133 variable definition inside #if's controlling its use.
30135 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30137 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30139 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30141 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30144 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30146 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30147 * configure: Regenerated.
30149 * Makerules: Revert last change.
30150 * elf/Makefile: Likewise.
30152 2011-06-09 Roland McGrath <roland@hack.frob.com>
30154 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30155 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30156 (reloc-link): Likewise.
30158 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30160 * elf/Makefile: Add rules to build pldd.
30161 * elf/pldd.c: New file.
30162 * elf/pldd-xx.c: New file.
30164 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30166 * version.h: Update for 2.15 development version.
30168 2011-06-07 David S. Miller <davem@davemloft.net>
30170 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30173 elf_machine_lazy_rel): Likewise.
30174 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30176 elf_machine_lazy_rel): Likewise.
30177 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30178 dl_hwcap via passed in argument.
30179 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30182 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30184 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30186 2011-06-06 Roland McGrath <roland@hack.frob.com>
30189 * manual/fdl-1.1.texi: New file, verbatim from:
30190 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30191 * manual/lgpl-2.1.texi: New file, verbatim from:
30192 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30193 * manual/Makefile (licenses): New variable, list those new file names.
30195 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30197 * manual/fdl.texi: File removed.
30198 * manual/lesser.texi: File removed.
30199 * manual/libc.texinfo (Copying, Documentation License):
30200 Use new @include file names, put @appendix directive before @include.
30202 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30205 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30206 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30207 (mq_open): Add __NTH.
30209 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30212 Assume Intel Core i3/i5/i7 processor if AVX is available.
30214 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30219 2011-05-31 Andreas Schwab <schwab@redhat.com>
30221 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30222 memory. Use alloca_account. Fix memory leak when retrying.
30224 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30226 * version.h (RELEASE): Bump for 2.14 release.
30227 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30229 * config.make.in (RANLIB): Remove entry.
30231 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30233 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30234 (libc.pot): Work around missing support for .ksh extension in xgettext.
30237 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30238 if both request failed.
30239 (send_dg): In case of server errors clear resplen or *resplen2.
30242 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30243 when there are multiple maps.
30244 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30245 (_dl_fini): Remove test here.
30247 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30249 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30252 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30253 bit from old_res_options.
30254 (gaih_inet): Likewise.
30257 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30260 * resolv/res_init.c (res_setoptions): Make the code more compact.
30263 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30267 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30269 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30272 * malloc/malloc.h: Declare malloc hook variables as volatile.
30274 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30278 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30279 raise in the comment.
30280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30282 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30284 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30287 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30288 grow the buffers more if it already has to be sufficient.
30289 (build_wcs_upper_buffer): Likewise.
30290 * posix/regexec.c (check_matching): Likewise.
30291 (clean_state_log_if_needed): Likewise.
30292 (extend_buffers): Don't enlarge buffers beyond size of the input
30294 Patches mostly by Emil Wojak <emil@wojak.eu>.
30295 * posix/bug-regex32.c: New file.
30296 * posix/Makefile (tests): Add bug-regex32.
30298 * locale/findlocale.c (_nl_find_locale): Return right away if
30299 _nl_explode_name failed.
30300 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30302 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30304 * debug/xtrace.sh: Unify messages.
30305 * malloc/memusage.sh: Likewise.
30308 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30309 time symbol from vDSO. Substitute with vsyscall if not available.
30310 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30313 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30314 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30315 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30316 Add sendmmsg and internal_sendmmsg.
30317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30318 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30321 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30322 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30323 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30325 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30328 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30329 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30335 * iconvdata/Makefile (tests): Add bug-iconv9.
30336 * iconvdata/bug-iconv9.c: New file.
30338 2011-05-27 Andreas Schwab <schwab@redhat.com>
30341 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30343 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30346 (struct user_regs_struct): Change intcs field back to cs.
30348 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30350 * po/ja.po: Update from translation team.
30352 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30355 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30356 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30358 2011-05-20 Andreas Schwab <schwab@redhat.com>
30360 * stdlib/longlong.h: Update from GCC.
30362 2011-05-23 Andreas Schwab <schwab@redhat.com>
30364 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30366 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30367 Add parameter name.
30368 (__sysconf): Pass it down.
30370 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30373 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30376 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30377 add in in __libc_use_alloca calls. Adjust callers.
30378 (glob): Use malloc in some situations.
30380 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30381 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30384 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30386 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30387 and CLOCK_BOOTTIME_ALARM.
30390 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30393 * string/_strerror.c (__strerror_r): Print negative errors as signed
30397 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30398 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30399 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30401 * configure.in: Fix typo in redirection and correct removal of test
30402 files in two cases.
30405 * locale/setlocale.c (new_composite_name): Fix test to check for
30406 identical name of all categories.
30409 * libio/filedoalloc.c (local_isatty): New function.
30410 (_IO_file_doallocate): Use local_isatty.
30411 * stdio-common/perror.c (perror): In case a new stream is used
30412 forward the stream error.
30413 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30416 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30421 * include/alloca.h (extend_alloca_account): Define.
30424 * posix/regex.h: Fix comments with documentation of user-accessible
30425 fields after compilation and describe correct free'ing of pattern
30426 after re_compile_pattern.
30427 Patch by Reuben Thomas <rrt@sc3d.org>.
30429 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30431 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30432 and -mno-altivec to prevent the compiler from using Altivec and/or
30433 VSX instructions when the corresponding registers are not available.
30435 2011-05-19 Andreas Schwab <schwab@redhat.com>
30437 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30439 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30441 * libio/freopen.c (freopen): Use __dup2, not dup2.
30442 * libio/freopen64.c (freopen64): Likewise.
30444 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30447 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30448 * math/Makefile (tests): Add test-powl.
30449 (CFLAGS-test-powl.c): Define.
30450 * math/test-powl.c: New file.
30452 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30454 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30456 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30459 * iconvdata/gb18030.c: Update to GB18020-2005.
30461 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30463 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30464 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30465 Patch by Aharon Robbins <arnold@skeeve.com>.
30468 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30472 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30473 through underflows.
30476 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30477 point to strings before performing equality test for error_one_per_line
30481 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30484 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30485 (struct user_fpregs_struct): Avoid __uint*_t types.
30488 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30489 symbol info. Use it instead of calling _dl_addr locally.
30490 (lock_and_info): New function.
30491 (tr_freehook): Call lock_and_info and pass symbol info as additional
30492 parameter to tr_where.
30493 (tr_mallochook): Likewise.
30494 (tr_reallochook): Likewise.
30495 (tr_memalignhook): Likewise.
30497 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30498 used and couldn't be at all thread-safe.
30500 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30502 * libio/freopen.c (freopen): Don't close old file descriptor
30503 before the new one is opened. Instead dup the new file descriptor
30504 to the old one after the new stream is created.
30505 * libio/freopen64.c (freopen64): Likewise.
30506 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30507 * libio/fileops.c (_IO_new_file_close_it): Handle new
30508 _IO_FLAGS2_NOCLOSE flag.
30509 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30510 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30511 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30512 _IO_FLAGS2_NOCLOSE flag.
30513 * include/unistd.h: Add hidden_proto for dup3.
30514 Define __have_dup3.
30515 * io/dup3.c: Define hidden symbol.
30516 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30519 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30520 when an incomplete long option is used.
30521 * posix/tst-getopt_long1.c: New file.
30522 * posix/Makefile (tests): Add tst-getopt_long1.
30525 * scripts/config.guess: Update from autoconf-2.68.
30526 * scripts/config.sub: Likewise.
30529 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30531 (has_cpuclock): ...this. New function.
30532 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30533 macro here based on has_cpuclock code.
30536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30537 First byte (not low byte) is now always NUL.
30538 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30541 Use non-cancelable interfaces.
30544 * locale/iso-639.def: Add entry for Sorani.
30547 * include/stdlib.h: Move include protection to the right place.
30548 Define abort_msg_s. Declare __abort_msg with it.
30549 * stdlib/abort.c (__abort_msg): Adjust type.
30550 * assert/assert.c (__assert_fail_base): New function. Majority
30551 of code from __assert_fail. Allocate memory for __abort_msg with
30553 (__assert_fail): Now call __assert_fail_base.
30554 * assert/assert-perr.c: Remove bulk of implementation. Use
30555 __assert_fail_base.
30556 * include/assert.hL Declare __assert_fail_base.
30557 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30559 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30561 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30565 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30566 until all modules are registered in the DTV.
30567 * elf/Makefile: Add rules to build and run tst-tls19.
30568 * elf/tst-tls19.c: New file.
30569 * elf/tst-tls19mod1.c: New file.
30570 * elf/tst-tls19mod2.c: New file.
30571 * elf/tst-tls19mod3.c: New file.
30572 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30575 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30579 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30580 two-byte sequence errors.
30581 * iconvdata/Makefile (tests): Add bug-iconv8.
30582 * iconvdata/bug-iconv8.c: New file.
30585 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30588 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30591 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30592 (dummy_getcfa): New function.
30593 (init): Get _Unwind_GetCFA address, use dummy if not found.
30594 (backtrace_helper): In recursion check, also check whether CFA changes.
30595 (__backtrace): Completely initialize arg.
30597 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30598 storing incomplete byte sequence in state object. Avoid testing for
30599 guaranteed too small input if we know there is enough data available.
30601 2011-05-11 Andreas Schwab <schwab@redhat.com>
30603 * Makeconfig (+link-pie): Indent.
30604 * Rules (binaries-pie): Define if $(have-fpie) and
30606 (binaries-shared): Also filter out $(binaries-pie).
30607 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30608 * nscd/Makefile (others-pie): Add nscd.
30609 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30610 ($(objpfx)nscd): Remove command override.
30611 * login/Makefile (others-pie): Add pt_chown.
30612 ($(objpfx)pt_chown): Remove command override.
30613 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30614 remove command overrides.
30616 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30618 * libio/tst_putwc.c: Fix error messages.
30621 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30622 currently writing and seek to current position when not.
30623 * libio/Makefile (tests): Add bug-fclose1.
30624 * libio/bug-fclose1.c: New file.
30626 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30629 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30630 don't set DF_1_NODELETE here.
30631 (do_lookup_x): When entering new entry test for copy relocation
30632 and if necessary set DF_1_NODELETE flag.
30633 * elf/tst-unique4.cc: New file.
30634 * elf/tst-unique4.h: New file.
30635 * elf/tst-unique4lib.cc: New file.
30636 * elf/Makefile: Add rules to build and run tst-unique4.
30637 Patch by Piotr Bury <pbury@goahead.com>.
30639 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30642 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30645 * misc/mntent_r.c (addmntent): Flush the stream after the output
30648 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30649 (is_trusted_path_normalize): Skip initial colon. Append slash
30650 to empty buffer. Duplicate is_trusted_path code but allow
30651 constructed patch to be prefix.
30652 (is_dst): Allow $ORIGIN followed by /.
30653 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30654 Correct testing of result of is_trusted_path_normalize
30655 (decompose_rpath): Fix warning.
30657 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30660 * grp/initgroups.c (internal_getgrouplist): When we found the service
30661 list through the initgroups entry in nsswitch.conf do not always
30662 continue on a successful lookup. Don't always use the
30663 __nss_group_database value if it is set.
30664 * nss/nsswitch.conf (initgroups): Change action for successful db
30665 lookup to continue for compatibility.
30667 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30670 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30672 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30674 * iconvdata/tst-tables.sh: Likewise.
30675 * iconvdata/cp770.c: New file.
30676 * iconvdata/cp771.c: New file.
30677 * iconvdata/cp772.c: New file.
30678 * iconvdata/cp773.c: New file.
30679 * iconvdata/cp774.c: New file.
30680 * iconvdata/testdata/CP770: New file.
30681 * iconvdata/testdata/CP770..UTF8: New file.
30682 * iconvdata/testdata/CP771: New file.
30683 * iconvdata/testdata/CP771..UTF8: New file.
30684 * iconvdata/testdata/CP772: New file.
30685 * iconvdata/testdata/CP772..UTF8: New file.
30686 * iconvdata/testdata/CP773: New file.
30687 * iconvdata/testdata/CP773..UTF8: New file.
30688 * iconvdata/testdata/CP774: New file.
30689 * iconvdata/testdata/CP774..UTF8: New file.
30691 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30693 * iconvdata/gen-8bit-gap.sh: Likewise.
30694 * iconvdata/gen-8bit.sh: Likewise.
30696 * locale/iso-639.def: Add ary entry.
30699 * locale/C-translit.h.in: Add U20A1 transliteration.
30702 * locale/iso-639.def: Add wae entry.
30703 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30706 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30710 * locale/C-translit.h.in: Add entry for U20B9.
30711 Patch by pravin.d.s@gmail.com.
30713 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30716 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30717 ENAMETOOLONG use generic getcwd.
30718 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30719 in rtld. Use *stat64.
30720 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30721 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30722 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30723 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30724 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30725 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30726 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30727 __fstatat64 macros.
30728 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30729 * dirent/rewinddir.c: Add libc_hidden_def.
30730 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30731 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30733 * include/dirent.h (__alloc_dir): Add flags parameter.
30734 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30735 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30737 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30738 from fdopendir if O_CLOEXEC is already set.
30740 2011-03-15 Alan Modra <amodra@gmail.com>
30742 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30743 l_tls_firstbyte_offset non-zero. Save padding offset in
30744 l_tls_firstbyte_offset for later use.
30745 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30746 freeing static tls block.
30748 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30750 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30751 where #ifdef was intended. The intent is to prevent ARG_MAX from
30752 being defined by the kernel headers.
30754 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30757 * resolv/resolv.h: Define RES_NOTLDQUERY.
30758 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30759 no-tld-query and set RES_NOTLDQUERY.
30760 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30761 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30762 modern BIND to search name as TLD unless forbidden.
30764 2011-05-07 Petr Baudis <pasky@suse.cz>
30765 Ulrich Drepper <drepper@gmail.com>
30768 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30769 (is_trusted_path): ...to here.
30770 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30771 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30772 using is_trusted_path_normalize() in setuid scripts.
30774 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30776 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30777 __BEGIN/__END_DECLS.
30779 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30782 NSS_STATUS_NOTFOUND if no record was found.
30784 2011-05-05 Andreas Schwab <schwab@redhat.com>
30786 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30787 (headers-not-in-tirpc): Remove rpc/netdb.h
30788 * resolv/netdb.h: Revert last change.
30790 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30792 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30793 circular dependency between libgcc.a and libc.a.
30795 2011-05-05 Andreas Schwab <schwab@redhat.com>
30797 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30798 * nis/Makefile: Don't install rpcsvc/*.
30799 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30800 instead of <rpc/types.h>.
30801 (MAXHOSTNAMELEN): Define.
30803 2011-05-03 Andreas Schwab <schwab@redhat.com>
30805 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30807 2011-04-28 Maciej Babinski <mbabinski@google.com>
30810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30811 gethostbyname4_r when IPv6 results are possible.
30813 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30816 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30817 _PC_PIPE_BUF handling.
30819 2011-04-30 Bruno Haible <bruno@clisp.org>
30822 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30823 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30825 * inet/getnameinfo.c (getnameinfo): Likewise.
30827 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30829 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30830 to groups setting in database lookup.
30831 * nss/nsswitch.conf: Add initgroups entry.
30833 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30836 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30838 Patch by Eric Blake <eblake@redhat.com>.
30840 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30842 * sunrpc/Makefile (need-export-routines): Add svc_run.
30843 (routines): Remove svc_run.
30844 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30845 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30846 * sunrpc/svc_run.c (svc_run): Likewise.
30847 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30849 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30851 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30852 problem in reallocation in last patch.
30854 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30856 * sunrpc/Makefile: Move inclusion of Rules.
30858 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30860 * nss/nss_files/files-initgroups.c: New file.
30861 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30862 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30863 _nss_files_initgroups_dyn.
30865 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30867 * elf/elf.h (R_ARM_IRELATIVE): Define.
30869 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30871 * po/ru.po: Update from translation team.
30873 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30875 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30878 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30882 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30883 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30884 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30885 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30887 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30891 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30895 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30898 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30900 * stdlib/bug-getcontext.c: New file.
30901 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30903 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30905 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30906 instructions into .machine "z9-109".
30907 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30908 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30910 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30912 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30913 between environment variables and auxiliary vector.
30915 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30917 * Makefile: Add rules to build linkobj/libc.so.
30918 * include/libc-symbols.h: Define libc_hidden_nolink.
30919 * include/rpc/auth.h: Mark functions which are to be hidden.
30920 * include/rpc/auth_des.h: Likewise.
30921 * include/rpc/auth_unix.h: Likewise.
30922 * include/rpc/clnt.h: Likewise.
30923 * include/rpc/des_crypt.h: Likewise.
30924 * include/rpc/key_prot.h: Likewise.
30925 * include/rpc/pmap_clnt.h: Likewise.
30926 * include/rpc/pmap_prot.h: Likewise.
30927 * include/rpc/pmap_rmt.h: Likewise.
30928 * include/rpc/rpc_msg.h: Likewise.
30929 * include/rpc/svc.h: Likewise.
30930 * include/rpc/svc_auth.h: Likewise.
30931 * include/rpc/xdr.h: Likewise.
30932 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30933 * nss/Makefile: Likewise.
30934 * sunrpc/Makefile: Don't install headers. Build library with normal
30935 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30936 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30937 for the compat linking library. Remove use of INTDEF/INTUSE.
30938 * sunrpc/auth_none.c: Likewise.
30939 * sunrpc/auth_unix.c: Likewise.
30940 * sunrpc/authdes_prot.c: Likewise.
30941 * sunrpc/authuxprot.c: Likewise.
30942 * sunrpc/clnt_gen.c: Likewise.
30943 * sunrpc/clnt_perr.c: Likewise.
30944 * sunrpc/clnt_raw.c: Likewise.
30945 * sunrpc/clnt_simp.c: Likewise.
30946 * sunrpc/clnt_tcp.c: Likewise.
30947 * sunrpc/clnt_udp.c: Likewise.
30948 * sunrpc/clnt_unix.c: Likewise.
30949 * sunrpc/des_crypt.c: Likewise.
30950 * sunrpc/des_soft.c: Likewise.
30951 * sunrpc/get_myaddr.c: Likewise.
30952 * sunrpc/key_call.c: Likewise.
30953 * sunrpc/key_prot.c: Likewise.
30954 * sunrpc/netname.c: Likewise.
30955 * sunrpc/pm_getmaps.c: Likewise.
30956 * sunrpc/pm_getport.c: Likewise.
30957 * sunrpc/pmap_clnt.c: Likewise.
30958 * sunrpc/pmap_prot.c: Likewise.
30959 * sunrpc/pmap_prot2.c: Likewise.
30960 * sunrpc/pmap_rmt.c: Likewise.
30961 * sunrpc/publickey.c: Likewise.
30962 * sunrpc/rpc_cmsg.c: Likewise.
30963 * sunrpc/rpc_common.c: Likewise.
30964 * sunrpc/rpc_dtable.c: Likewise.
30965 * sunrpc/rpc_prot.c: Likewise.
30966 * sunrpc/rpc_thread.c: Likewise.
30967 * sunrpc/rtime.c: Likewise.
30968 * sunrpc/svc.c: Likewise.
30969 * sunrpc/svc_auth.c: Likewise.
30970 * sunrpc/svc_authux.c: Likewise.
30971 * sunrpc/svc_raw.c: Likewise.
30972 * sunrpc/svc_run.c: Likewise.
30973 * sunrpc/svc_simple.c: Likewise.
30974 * sunrpc/svc_tcp.c: Likewise.
30975 * sunrpc/svc_udp.c: Likewise.
30976 * sunrpc/svc_unix.c: Likewise.
30977 * sunrpc/svcauth_des.c: Likewise.
30978 * sunrpc/xcrypt.c: Likewise.
30979 * sunrpc/xdr.c: Likewise.
30980 * sunrpc/xdr_array.c: Likewise.
30981 * sunrpc/xdr_float.c: Likewise.
30982 * sunrpc/xdr_intXX_t.c: Likewise.
30983 * sunrpc/xdr_mem.c: Likewise.
30984 * sunrpc/xdr_rec.c: Likewise.
30985 * sunrpc/xdr_ref.c: Likewise.
30986 * sunrpc/xdr_sizeof.c: Likewise.
30987 * sunrpc/xdr_stdio.c: Likewise.
30989 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30992 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30993 * sysdeps/ia64/dl-tls.h: Likewise.
30994 * sysdeps/powerpc/dl-tls.h: Likewise.
30995 * sysdeps/s390/dl-tls.h: Likewise.
30996 * sysdeps/sh/dl-tls.h: Likewise.
30997 * sysdeps/sparc/dl-tls.h: Likewise.
30998 * sysdeps/x86_64/dl-tls.h: Likewise.
30999 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31001 2011-03-14 Andreas Schwab <schwab@redhat.com>
31003 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31004 rpath element also skip the following colon.
31005 (expand_dynamic_string_token): Add is_path parameter and pass
31006 down to DL_DST_REQUIRED and _dl_dst_substitute.
31007 (decompose_rpath): Call expand_dynamic_string_token with
31008 non-zero is_path. Ignore empty rpaths.
31009 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31012 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31017 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31020 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31021 Patch by Filipe David Manana <fdmanana@apache.org>.
31023 2011-04-07 Andreas Schwab <schwab@redhat.com>
31025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31026 Maintain aligned stack.
31027 (CHECK_RSP): Remove unused macro.
31029 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31031 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31032 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31034 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31036 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31038 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31040 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31043 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31044 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31045 * sysdeps/x86_64/memmove.c: New file.
31046 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31047 (memcpy): Renamed to ...
31048 (__new_memcpy): This.
31049 (memcpy): Provide GLIBC_2_14 memcpy.
31050 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31051 (memcpy): Provide GLIBC_2_2_5 memcpy.
31053 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31056 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31058 2011-03-30 Andreas Schwab <schwab@redhat.com>
31060 * misc/syncfs.c: New file.
31061 * misc/Makefile (routines): Add syncfs.
31062 * posix/unistd.h: Declare syncfs.
31063 * sysdeps/unix/syscalls.list: Add syncfs.
31065 2011-04-01 Andreas Schwab <schwab@redhat.com>
31067 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31069 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31070 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31074 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31077 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31081 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31087 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31088 sync_file_range.c with -fexceptions.
31089 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31090 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31091 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31092 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31093 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31094 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31095 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31096 sync_file_range as cancellation point
31097 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31098 now a wrapper around __call_sync_file_range with cancellation handling.
31099 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31100 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31101 function name to __call_sync_file_range.
31102 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31103 Add call_sync_file_range.
31105 2011-04-01 Andreas Schwab <schwab@redhat.com>
31107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31110 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31112 * iconv/iconv.h: Fix typo in comment.
31113 * io/fcntl.h: Likewise.
31114 * libio/stdio.h: Likewise.
31115 * posix/spawn.h: Likewise.
31116 * posix/unistd.h: Likewise.
31117 * stdlib/stdlib.h: Likewise.
31118 * time/time.h: Likewise.
31119 * wcsmbs/wchar.h: Likewise.
31121 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31122 open_by_handle): Add.
31123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31124 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31125 Augment a few comments.
31126 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31127 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31131 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31134 * io/fcntl.h (AT_EMPTY_PATH): Define.
31136 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31138 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31139 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31140 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31142 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31143 * Versions.def: Add GLIBC_2.14.
31144 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31147 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31149 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31151 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31153 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31156 * string/test-strncmp.c (do_page_test): New function.
31157 (check2): Likewise.
31158 (test_main): Call check2.
31159 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31161 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31165 Handle cache information in CPU leaf 4.
31166 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31168 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31171 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31172 character representation.
31173 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31175 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31177 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31178 END(__isnan) to END(__isnanf) to match function entry point/label
31179 EALIGN(__isnanf,...).
31181 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31183 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31185 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31188 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31189 copy from the symbol referenced in the relocation to initialize the
31191 Patch by Piotr Bury <pbury@goahead.com>.
31192 * elf/Makefile: Add rules to build and tst-unique3.
31193 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31194 * elf/tst-unique3.cc: New file.
31195 * elf/tst-unique3.h: New file.
31196 * elf/tst-unique3lib.cc: New file.
31197 * elf/tst-unique3lib2.cc: New file.
31199 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31201 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31203 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31204 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31207 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31209 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31210 to-be-loaded object along a path to loader is ld.so.
31212 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31213 Ulrich Drepper <drepper@gmail.com>
31215 * sysdeps/x86_64/memset.S: After aligning destination, code
31216 branches to different locations depending on the value of
31217 misalignment, when multiarch is enabled. Fix this.
31219 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31221 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31222 Set _x86_64_preferred_memory_instruction for AMD processsors.
31223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31224 Set bit_Prefer_SSE_for_memop for AMD processors.
31226 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31228 * libio/fmemopen.c (fmemopen): Optimize a bit.
31230 2011-03-03 Andreas Schwab <schwab@redhat.com>
31232 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31234 2011-03-03 Roland McGrath <roland@redhat.com>
31236 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31238 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31240 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31241 __bzero_ultra1 instead of __memset_ultra1.
31243 2011-02-23 Andreas Schwab <schwab@redhat.com>
31244 Ulrich Drepper <drepper@gmail.com>
31247 * include/link.h (struct link_map): Add l_orig_initfini.
31248 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31249 returning unsuccessfully.
31250 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31251 close of a file loaded at startup, restore the original l_initfini
31253 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31254 list, store the pointer.
31255 * elf/Makefile ($(objpfx)noload-mem): New rule.
31256 (noload-ENV): Define.
31257 (tests): Add $(objpfx)noload-mem.
31258 * elf/noload.c: Include <memcheck.h>.
31259 (main): Call mtrace. Close all opened handles.
31261 2011-02-17 Andreas Schwab <schwab@redhat.com>
31264 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31265 dependencies are missing.
31267 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31269 Fix __if_freereq crash: Unlike the generic version which uses free,
31271 * sysdeps/mach/hurd/ifreq.h: New file.
31273 2011-01-27 Petr Baudis <pasky@suse.cz>
31274 Ulrich Drepper <drepper@gmail.com>
31277 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31278 to extend_alloca().
31279 * stdio-common/bug23.c: New file.
31280 * stdio-common/Makefile (tests): Add bug23.
31282 2010-09-28 Andreas Schwab <schwab@redhat.com>
31283 Ulrich Drepper <drepper@gmail.com>
31286 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31287 before performing relro protection. At old place add assertion
31288 to make sure nothing changed.
31290 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31291 Glauber de Oliveira Costa <glommer@gmail.com>
31293 * elf/elf.h: Add new ARM TLS relocs.
31295 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31298 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31300 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31302 * sysdeps/wordsize-64/tst-writev.c: New file.
31304 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31306 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31307 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31308 insns in _dl_start to prevent a TOC reference before relocs are
31311 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31314 * Makeconfig: Remove RANLIB definition.
31315 * Makerules: Don't use RANLIB.
31316 * aclocal.m4: Remove ranlib test.
31317 * configure.in: No need to check for ranlib.
31318 * elf/rtld-Rules: Don't use RANLIB.
31320 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31322 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31324 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31325 inclusion protection macro.
31327 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31328 SIGRTMIN and SIGRTMAX and print information in that case only when
31329 SIGRTMIN is defined.
31331 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31333 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31334 arginfo fn returning -1.
31336 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31337 and thousands string is zero terminated.
31339 2011-02-03 Andreas Schwab <schwab@redhat.com>
31341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31342 sysdeps/unix/sysv/linux/bits/socket.h.
31344 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31346 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31347 (__CPU_COUNT): Remove old macros.
31348 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31349 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31350 (__CPU_ALLOC, __CPU_FREE): Add macros.
31351 (__sched_cpualloc, __sched_cpufree): Add declarations.
31353 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31355 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31356 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31357 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31358 (readdhstai): Return value of addhstaiX call.
31359 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31360 (addgrbyX): Return value returned by cache_addgr.
31361 (readdgrbyname): Return value returned by addgrbyX.
31362 (readdgrbygid): Likewise.
31363 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31364 (addpwbyX): Return value returned by cache_addpw.
31365 (readdpwbyname): Return value returned by addhstbyX.
31366 (readdpwbyuid): Likewise.
31367 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31368 (addservbyX): Return value returned by cache_addserv.
31369 (readdservbyname): Return value returned by addservbyX:
31370 (readdservbyport): Likewise.
31371 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31372 (addhstbyX): Return value returned by cache_addhst.
31373 (readdhstbyname): Return value returned by addhstbyX.
31374 (readdhstbyaddr): Likewise.
31375 (readdhstbynamev6): Likewise.
31376 (readdhstbyaddrv6): Likewise.
31377 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31378 (readdinitgroups): Return value returned by addinitgroupsX.
31379 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31380 (prune_cache): Keep track of timeout value of re-added entries.
31381 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31382 * nscd/nscd.h: Adjust prototypes of readd* functions.
31384 2011-02-04 Roland McGrath <roland@redhat.com>
31386 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31387 (nis_stats): Likewise.
31388 * nis/nis_modify.c (nis_modify): Likewise.
31389 * nis/nis_remove.c (nis_remove): Likewise.
31390 * nis/nis_add.c (nis_add): Likewise.
31392 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31394 * posix/fnmatch_loop.c: Add some consts.
31396 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31398 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31401 * config.make.in (config-cflags-novzeroupper): Define.
31402 * configure.in: Substitute libc_cv_cc_novzeroupper.
31403 * elf/Makefile (AVX-CFLAGS): Define.
31404 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31405 (CFLAGS-tst-auditmod4a.c): Likewise.
31406 (CFLAGS-tst-auditmod4b.c): Likewise.
31407 (CFLAGS-tst-auditmod6b.c): Likewise.
31408 (CFLAGS-tst-auditmod6c.c): Likewise.
31409 (CFLAGS-tst-auditmod7b.c): Likewise.
31410 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31412 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31414 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31415 function to the callback.
31416 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31418 2011-02-02 Andreas Schwab <schwab@redhat.com>
31420 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31423 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31426 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31428 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31430 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31433 * elf/Makefile: Add rules to build and run new test.
31434 * elf/tst-initorder.c: New file.
31435 * elf/tst-initorder.exp: New file.
31436 * elf/tst-initordera1.c: New file.
31437 * elf/tst-initordera2.c: New file.
31438 * elf/tst-initordera3.c: New file.
31439 * elf/tst-initordera4.c: New file.
31440 * elf/tst-initorderb1.c: New file.
31441 * elf/tst-initorderb2.c: New file.
31442 * elf/tst-order-a1.c: New file.
31443 * elf/tst-order-a2.c: New file.
31444 * elf/tst-order-a3.c: New file.
31445 * elf/tst-order-a4.c: New file.
31446 * elf/tst-order-b1.c: New file.
31447 * elf/tst-order-b2.c: New file.
31448 * elf/tst-order-main.c: New file.
31449 New test case by George Gensure <werkt0@gmail.com>.
31451 2010-10-01 Andreas Schwab <schwab@redhat.com>
31453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31454 decoding ACE if AI_CANONIDN.
31456 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31458 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31460 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31462 * version.h (RELEASE): Bump for 2.13 release.
31463 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31465 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31467 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31469 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31470 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31472 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31476 * posix/getconf.c: Update copyright year.
31477 * catgets/gencat.c: Likewise.
31478 * csu/version.c: Likewise.
31479 * debug/catchsegv.sh: Likewise.
31480 * debug/xtrace.sh: Likewise.
31481 * elf/ldconfig.c: Likewise.
31482 * elf/ldd.bash.in: Likewise.
31483 * elf/sprof.c (print_version): Likewise.
31484 * iconv/iconv_prog.c: Likewise.
31485 * iconv/iconvconfig.c: Likewise.
31486 * locale/programs/locale.c: Likewise.
31487 * locale/programs/localedef.c: Likewise.
31488 * malloc/memusage.sh: Likewise.
31489 * malloc/mtrace.pl: Likewise.
31490 * nscd/nscd.c (print_version): Likewise.
31491 * nss/getent.c: Likewise.
31493 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31494 PF_CAIF, and PF_ALG.
31495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31497 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31499 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31500 (modules-names): Use them.
31501 (ifunc-test-modules, ifunc-pie-tests): Define.
31502 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31503 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31504 (test-extras): Likewise.
31505 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31506 $(compile-command.c).
31507 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31508 (all-built-dso): Define.
31509 (check-textrel.out, check-execstack.out): Depend on it.
31511 * configure.in: Don't override --enable-multi-arch.
31513 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31516 * nscd/hstcache.c (tryagain): Define.
31517 (cache_addhst): Return tryagain not notfound for temporary errors.
31518 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31521 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31525 to make the syscall.
31526 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31529 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31530 and fall back to matching as normal character if the string ends before
31531 the matching ']' is found. This is what POSIX requires.
31532 * posix/testfnm.c: Adjust test result.
31533 * posix/globtest.sh: Adjust test result. Add new test.
31534 * posix/tst-fnmatch.input: Likewise.
31535 * posix/tst-fnmatch2.c: Add new test.
31537 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31539 * elf/Makefile (check-execstack): Revert last change. Depend on
31541 (check-execstack.h): New target.
31542 (generated): Add check-execstack.h.
31543 * elf/check-execstack.c: Include "check-execstack.h".
31544 (main): Revert last change.
31545 (handle_file): Return zero if GNU_STACK is absent and
31546 DEFAULT_STACK_PERMS doesn't include PF_X.
31548 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31550 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31551 in child fails because the descriptor is already closed.
31552 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31553 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31554 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31557 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31561 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31562 temporary buffer used to handle multi lookups locally.
31563 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31565 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31567 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31570 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31572 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31573 alignment for SSE2.
31575 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31578 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31579 characters. When rounding increased number of integer digits recompute
31581 * stdio-common/tst-grouping.c: New file.
31582 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31584 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31586 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31587 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31589 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31591 * bits/select.h: Likewise.
31593 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31595 * po/ja.po: Update from translation team.
31597 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31600 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31601 implementation just like for lxstat, fxstatat, et al.
31603 2010-12-27 Jim Meyering <meyering@redhat.com>
31606 * posix/regexec.c (build_trtable): Return failure indication upon
31607 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31609 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31612 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31613 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31614 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31618 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31621 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31622 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31624 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31626 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31627 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31628 script has SORT_BY_INIT_PRIORITY.
31629 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31630 NO_CTORS_DTORS_SECTIONS is defined.
31631 * elf/soinit.c: Likewise.
31632 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31633 NO_CTORS_DTORS_SECTIONS is defined.
31634 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31635 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31636 * sysdeps/sh/init-first.c: Likewise.
31637 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31639 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31641 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31642 always use the slow path.
31644 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31646 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31647 similar rule which adds the sysdep directories to the header search in
31648 order to pick up the correct platform stackinfo.h.
31649 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31650 perform test if it is, otherwise return successfully without testing.
31651 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31652 DEFAULT_STACK_PERMS define in stackinfo.h.
31653 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31654 defined in stackinfo.h.
31655 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31656 DEFAULT_STACK_PERMS defined in stackinfo.h.
31657 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31658 * sysdeps/ia64/stackinfo.h: Likewise.
31659 * sysdeps/s390/stackinfo.h: Likewise.
31660 * sysdeps/sh/stackinfo.h: Likewise.
31661 * sysdeps/sparc/stackinfo.h: Likewise.
31662 * sysdeps/x86_64/stackinfo.h: Likewise.
31663 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31664 PF_X for powerpc64. Retain PF_X for powerpc32.
31666 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31668 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31670 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31671 GETDENTS_64BIT_ALIGNED.
31673 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31675 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31677 2010-12-10 Andreas Schwab <schwab@redhat.com>
31679 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31682 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31683 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31685 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31686 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31688 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31691 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31694 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31696 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31698 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31700 * po/it.po: Update from translation team.
31702 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31707 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31709 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31711 2010-11-24 Andreas Schwab <schwab@redhat.com>
31713 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31715 (gaih_getanswer_slice): Likewise.
31717 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31721 2010-05-31 Petr Baudis <pasky@suse.cz>
31724 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31725 silently even in the chroot mode.
31727 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31730 last patch a bit. Pretty printing
31732 2010-05-31 Petr Baudis <pasky@suse.cz>
31735 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31736 initialization of skip_initgroups_dyn.
31738 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31740 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31741 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31743 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31745 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31747 2010-11-11 Andreas Schwab <schwab@redhat.com>
31749 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31750 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31751 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31752 ($(objpfx)tst-fnmatch-mem): New rule.
31753 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31754 * posix/tst-fnmatch.c (main): Call mtrace.
31756 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31759 Support Intel processor model 6 and model 0x2c.
31761 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31766 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31769 * string/test-strncasecmp.c (check_result): New function.
31770 (do_one_test): Use it.
31771 (check1): New function.
31772 (test_main): Use it.
31773 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31774 Support strcasecmp and strncasecmp.
31776 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31779 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31780 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31782 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31784 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31788 * sysdeps/x86_64/multiarch/bzero.S: New file.
31789 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31790 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31791 * sysdeps/x86_64/multiarch/memset.S: New file.
31792 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31794 Set bit_Prefer_SSE_for_memop for Intel processors.
31795 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31797 (index_Prefer_SSE_for_memop): Define.
31798 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31800 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31802 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31805 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31808 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31809 (__x86_64_raw_data_cache_size_half): Likewise.
31810 (__x86_64_raw_shared_cache_size): Likewise.
31811 (__x86_64_raw_shared_cache_size_half): Likewise.
31813 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31814 (__x86_64_raw_data_cache_size_half): Likewise.
31815 (__x86_64_raw_shared_cache_size): Likewise.
31816 (__x86_64_raw_shared_cache_size_half): Likewise.
31817 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31818 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31819 and __x86_64_raw_shared_cache_size_half. Round
31820 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31821 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31822 to multiple of 256 bytes.
31824 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31827 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31828 of inacessible symlinks. Verify result of symlink before returning it.
31829 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31830 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31832 2010-10-28 Erich Ritz <erichritz@gmail.com>
31834 * math/math.h (isinf): Fix typo in comment.
31836 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31838 * po/da.po: Update from translation team.
31840 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31842 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31843 is added to the list.
31845 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31846 Ulrich Drepper <drepper@gmail.com>
31848 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31849 the global list here. Move code to...
31850 (_dl_add_to_namespace_list): ...here. New function.
31851 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31852 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31853 * elf/dl-load.c (lose): Don't remove the element from the list.
31854 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31855 (_dl_map_object): Likewise.
31857 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31860 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31861 into all bytes of SSE register.
31862 Patch by Richard Li <richardpku@gmail.com>.
31864 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31867 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31870 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31872 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31873 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31875 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31880 2010-10-22 Andreas Schwab <schwab@redhat.com>
31882 * include/dlfcn.h (__RTLD_SECURE): Define.
31883 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31884 mode & __RTLD_SECURE instead.
31885 (open_path): Rename preloaded parameter to secure.
31886 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31887 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31888 * elf/dl-deps.c (openaux): Likewise.
31889 * elf/rtld.c (struct map_args): Remove is_preloaded.
31890 (map_doit): Don't use it.
31891 (dl_main): Likewise.
31892 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31893 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31895 2010-09-09 Andreas Schwab <schwab@redhat.com>
31897 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31898 (sysd-rules-targets): Remove duplicates.
31899 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31900 rtld-%.$o dependency.
31902 2010-10-18 Andreas Schwab <schwab@redhat.com>
31904 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31905 _dl_map_object do it.
31907 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31909 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31910 fast fma builtins, define the macros in the C99 standard.
31911 (FP_FAST_FMAF): Likewise.
31912 (FP_FAST_FMAL): Likewise.
31913 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31915 * bits/mathdef.h: Update copyright year.
31916 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31918 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31920 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31921 builtins, define the macros in the C99 standard.
31922 (FP_FAST_FMAF): Likewise.
31923 (FP_FAST_FMAL): Likewise.
31924 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31926 (FP_FAST_FMAF): Likewise.
31928 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31931 * math/libm-test.inc (fma_test): Some new testcases.
31932 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31933 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31934 y and infinite z. Do multiplication by C already in long double.
31935 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31937 y and infinite z. Do bitwise or of inexact bit into u.d.
31938 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31939 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31940 * sysdeps/i386/fpu/s_fma.S: Removed.
31941 * sysdeps/i386/fpu/s_fmal.S: Removed.
31943 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31946 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31948 computation is not scheduled after fetestexcept. Fix value
31949 of minimum denormal long double.
31951 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31954 * math/libm-test.inc (fma_test): Add some more tests.
31955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31958 2010-10-15 Andreas Schwab <schwab@redhat.com>
31960 * scripts/data/localplt-s390-linux-gnu.data: New file.
31961 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31963 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31966 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31967 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31969 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31971 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31973 if one of x and y is very large and the other is subnormal.
31974 * sysdeps/s390/fpu/s_fmaf.c: New file.
31975 * sysdeps/s390/fpu/s_fma.c: New file.
31976 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31977 * sysdeps/powerpc/fpu/s_fma.S: New file.
31978 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31979 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31980 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31982 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31985 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31987 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31988 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31989 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31990 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31991 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31992 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31995 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31998 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31999 * posix/bug-regex31.input: Add test case.
32001 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32003 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32004 * posix/bug-regex31.input: New file.
32007 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32008 (parse_sub_exp): Fix last change, use postorder.
32010 * posix/bug-regex31.c: New file.
32011 * posix/Makefile: Add rules to build and run bug-regex31.
32013 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32016 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32019 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32020 to have entries in sys_siglist.
32023 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32026 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32029 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32030 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32031 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32032 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32033 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32034 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32035 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32036 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32037 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32038 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32039 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32040 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32041 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32042 * math/ftestexcept.c (fetestexcept): Likewise.
32043 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32044 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32045 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32046 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32047 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32048 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32049 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32051 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32054 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32057 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32059 * string/bug-strstr1.c: New file.
32060 * string/Makefile: Add rules to build and run bug-strstr1.
32062 2010-10-05 Eric Blake <eblake@redhat.com>
32065 * string/str-two-way.h (two_way_long_needle): Always clear memory
32066 when skipping input due to the shift table.
32068 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32071 * malloc/mcheck.c: Handle large requests.
32074 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32075 for strncmp and strncasecmp.
32076 * string/stratcliff.c: Add tests for strcmp and strncmp.
32077 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32079 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32081 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32084 2010-09-30 Andreas Jaeger <aj@suse.de>
32086 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32087 (CGROUP_SUPER_MAGIC): Define.
32088 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32089 Handle btrfs and cgroup file systems.
32090 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32093 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32095 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32096 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32098 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32101 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32102 trying to locate the ELF header.
32104 2010-09-27 Andreas Schwab <schwab@redhat.com>
32107 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32108 Mask out sign-bit copies when constructing f_fsid.
32110 2010-09-24 Petr Baudis <pasky@suse.cz>
32112 * debug/stack_chk_fail_local.c: Add missing licence exception.
32113 * debug/warning-nop.c: Likewise.
32115 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32117 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32118 implementing getdents64 using getdents syscall, set d_type if
32119 __ASSUME_GETDENTS32_D_TYPE.
32121 2010-09-16 Andreas Schwab <schwab@redhat.com>
32123 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32124 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32126 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32129 * posix/unistd.h: Undo change of feature selection for ftruncate from
32132 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32134 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32137 2010-09-20 Andreas Schwab <schwab@redhat.com>
32139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32141 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32143 2010-09-14 Andreas Schwab <schwab@redhat.com>
32145 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32146 variables after CHECK_SP call.
32147 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32149 2010-09-13 Andreas Schwab <schwab@redhat.com>
32150 Ulrich Drepper <drepper@redhat.com>
32152 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32153 re-relocationg ld.so.
32154 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32155 _dl_init_paths call.
32156 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32159 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32161 * resolv/res_init.c (__res_vinit): Count the default server we added.
32163 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32164 Ulrich Drepper <drepper@redhat.com>
32167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32168 (____longjmp_chk): Use %ebx for saving value across system call.
32171 2010-09-06 Andreas Schwab <schwab@redhat.com>
32173 * manual/Makefile: Don't mix pattern rules with normal rules.
32175 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32177 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32179 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32180 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32181 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32182 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32183 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32186 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32189 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32190 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32192 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32194 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32195 * sysdeps/x86_64/addmul_1.S: Likewise.
32196 * sysdeps/x86_64/lshift.S: Likewise.
32197 * sysdeps/x86_64/mul_1.S: Likewise.
32198 * sysdeps/x86_64/rshift.S: Likewise.
32199 * sysdeps/x86_64/sub_n.S: Likewise.
32200 * sysdeps/x86_64/submul_1.S: Likewise.
32202 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32204 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32205 Define __sched_param instead of SCHED_* and sched_param when
32206 <bits/sched.h> is included with __need_schedparam defined.
32207 * bits/sched.h [__need_schedparam]
32208 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32209 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32210 (__defined_schedparam): Define to 1.
32211 (__sched_param): New structure, identical to sched_param.
32212 (__need_schedparam): Undefine.
32214 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32216 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32217 (epoll_create1): Declare.
32219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32221 2010-08-31 Andreas Schwab <schwab@redhat.com>
32224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32225 shifting retval into place.
32227 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32229 * nis/rpcsvc/nis.h: Update copyright notice.
32230 * nis/rpcsvc/nis.x: Likewise.
32231 * nis/rpcsvc/nis_callback.h: Likewise.
32232 * nis/rpcsvc/nis_callback.x: Likewise.
32233 * nis/rpcsvc/nis_object.x: Likewise.
32234 * nis/rpcsvc/nis_tags.h: Likewise.
32235 * nis/rpcsvc/yp.h: Likewise.
32236 * nis/rpcsvc/yp.x: Likewise.
32237 * nis/rpcsvc/ypupd.h: Likewise.
32238 * nis/yp_xdr.c: Likewise.
32239 * nis/ypupdate_xdr.c: Likewise.
32241 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32242 mainly the body of pmap_getport. Add parameters to specify timeouts.
32243 (pmap_getport): Use __libc_rpc_getport.
32244 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32245 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32246 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32248 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32253 2010-08-27 Roland McGrath <roland@redhat.com>
32255 * sysdeps/i386/i686/multiarch/Makefile
32256 (CFLAGS-varshift.c): New variable.
32258 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32260 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32261 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32265 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32267 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32269 * sysdeps/x86_64/strlen.S: Unroll the loop.
32270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32271 strlen-sse2 strlen-sse2-bsf.
32272 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32273 __strlen_no_bsf if bit_Slow_BSF is set.
32274 (__strlen_sse42): Removed.
32275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32276 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32278 2010-08-25 Roland McGrath <roland@redhat.com>
32280 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32281 * sysdeps/x86_64/multiarch/varshift.c: New file.
32282 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32283 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32284 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32285 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32287 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32290 strlen-sse2 strlen-sse2-bsf.
32291 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32292 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32293 (__strlen_sse2): Removed.
32294 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32295 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32297 bit_Slow_BSF for Atom.
32298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32299 (index_Slow_BSF): Define.
32300 (HAS_SLOW_BSF): Define.
32302 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32305 * resolv/res_init.c (__res_vinit): When no server address at all
32306 is given default to loopback.
32308 2010-08-24 Roland McGrath <roland@redhat.com>
32310 * configure.in: Remove config-name.h generation.
32311 * configure: Regenerated.
32312 * config-name.in: File removed.
32313 * scripts/config-uname.sh: New file.
32314 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32315 ($(objdir)config-name.h): New target.
32317 * sunrpc/rpc_parse.h: Avoid nested comment.
32319 2010-08-24 Richard Henderson <rth@redhat.com>
32320 Ulrich Drepper <drepper@redhat.com>
32321 H.J. Lu <hongjiu.lu@intel.com>
32323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32325 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32326 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32327 _mm_alignr_epi8 with _mm_loadu_si128.
32328 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32329 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32330 (__m128i_shift_right): Removed.
32331 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32332 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32333 * sysdeps/x86_64/multiarch/varshift.h: New file.
32334 * sysdeps/x86_64/multiarch/varshift.S: New file.
32336 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32338 * configure.in: Move assembler checks to before sysdep dir checking.
32340 2010-08-20 Petr Baudis <pasky@suse.cz>
32342 * LICENSES: Sync the sunrpc license.
32344 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32346 * sunrpc/auth_des.c: Update copyright notice once again.
32347 * sunrpc/auth_none.c: Likewise.
32348 * sunrpc/auth_unix.c: Likewise.
32349 * sunrpc/authdes_prot.c: Likewise.
32350 * sunrpc/authuxprot.c: Likewise.
32351 * sunrpc/bindrsvprt.c: Likewise.
32352 * sunrpc/clnt_gen.c: Likewise.
32353 * sunrpc/clnt_perr.c: Likewise.
32354 * sunrpc/clnt_raw.c: Likewise.
32355 * sunrpc/clnt_simp.c: Likewise.
32356 * sunrpc/clnt_tcp.c: Likewise.
32357 * sunrpc/clnt_udp.c: Likewise.
32358 * sunrpc/clnt_unix.c: Likewise.
32359 * sunrpc/des_crypt.c: Likewise.
32360 * sunrpc/des_soft.c: Likewise.
32361 * sunrpc/get_myaddr.c: Likewise.
32362 * sunrpc/getrpcport.c: Likewise.
32363 * sunrpc/key_call.c: Likewise.
32364 * sunrpc/key_prot.c: Likewise.
32365 * sunrpc/openchild.c: Likewise.
32366 * sunrpc/pm_getmaps.c: Likewise.
32367 * sunrpc/pm_getport.c: Likewise.
32368 * sunrpc/pmap_clnt.c: Likewise.
32369 * sunrpc/pmap_prot.c: Likewise.
32370 * sunrpc/pmap_prot2.c: Likewise.
32371 * sunrpc/pmap_rmt.c: Likewise.
32372 * sunrpc/rpc/auth.h: Likewise.
32373 * sunrpc/rpc/auth_unix.h: Likewise.
32374 * sunrpc/rpc/clnt.h: Likewise.
32375 * sunrpc/rpc/des_crypt.h: Likewise.
32376 * sunrpc/rpc/key_prot.h: Likewise.
32377 * sunrpc/rpc/netdb.h: Likewise.
32378 * sunrpc/rpc/pmap_clnt.h: Likewise.
32379 * sunrpc/rpc/pmap_prot.h: Likewise.
32380 * sunrpc/rpc/pmap_rmt.h: Likewise.
32381 * sunrpc/rpc/rpc.h: Likewise.
32382 * sunrpc/rpc/rpc_des.h: Likewise.
32383 * sunrpc/rpc/rpc_msg.h: Likewise.
32384 * sunrpc/rpc/svc.h: Likewise.
32385 * sunrpc/rpc/svc_auth.h: Likewise.
32386 * sunrpc/rpc/types.h: Likewise.
32387 * sunrpc/rpc/xdr.h: Likewise.
32388 * sunrpc/rpc_clntout.c: Likewise.
32389 * sunrpc/rpc_cmsg.c: Likewise.
32390 * sunrpc/rpc_common.c: Likewise.
32391 * sunrpc/rpc_cout.c: Likewise.
32392 * sunrpc/rpc_dtable.c: Likewise.
32393 * sunrpc/rpc_hout.c: Likewise.
32394 * sunrpc/rpc_main.c: Likewise.
32395 * sunrpc/rpc_parse.c: Likewise.
32396 * sunrpc/rpc_parse.h: Likewise.
32397 * sunrpc/rpc_prot.c: Likewise.
32398 * sunrpc/rpc_sample.c: Likewise.
32399 * sunrpc/rpc_scan.c: Likewise.
32400 * sunrpc/rpc_scan.h: Likewise.
32401 * sunrpc/rpc_svcout.c: Likewise.
32402 * sunrpc/rpc_tblout.c: Likewise.
32403 * sunrpc/rpc_util.c: Likewise.
32404 * sunrpc/rpc_util.h: Likewise.
32405 * sunrpc/rpcinfo.c: Likewise.
32406 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32407 * sunrpc/rpcsvc/key_prot.x: Likewise.
32408 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32409 * sunrpc/rpcsvc/mount.x: Likewise.
32410 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32411 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32412 * sunrpc/rpcsvc/rex.x: Likewise.
32413 * sunrpc/rpcsvc/rstat.x: Likewise.
32414 * sunrpc/rpcsvc/rusers.x: Likewise.
32415 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32416 * sunrpc/rpcsvc/spray.x: Likewise.
32417 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32418 * sunrpc/rtime.c: Likewise.
32419 * sunrpc/svc.c: Likewise.
32420 * sunrpc/svc_auth.c: Likewise.
32421 * sunrpc/svc_authux.c: Likewise.
32422 * sunrpc/svc_raw.c: Likewise.
32423 * sunrpc/svc_run.c: Likewise.
32424 * sunrpc/svc_simple.c: Likewise.
32425 * sunrpc/svc_tcp.c: Likewise.
32426 * sunrpc/svc_udp.c: Likewise.
32427 * sunrpc/svc_unix.c: Likewise.
32428 * sunrpc/svcauth_des.c: Likewise.
32429 * sunrpc/xcrypt.c: Likewise.
32430 * sunrpc/xdr.c: Likewise.
32431 * sunrpc/xdr_array.c: Likewise.
32432 * sunrpc/xdr_float.c: Likewise.
32433 * sunrpc/xdr_mem.c: Likewise.
32434 * sunrpc/xdr_rec.c: Likewise.
32435 * sunrpc/xdr_ref.c: Likewise.
32436 * sunrpc/xdr_sizeof.c: Likewise.
32437 * sunrpc/xdr_stdio.c: Likewise.
32439 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32442 2010-08-19 Andreas Schwab <schwab@redhat.com>
32444 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32446 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32448 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32449 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32450 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32451 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32453 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32454 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32455 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32456 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32457 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32458 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32459 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32460 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32461 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32463 2010-07-26 Anton Blanchard <anton@samba.org>
32465 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32466 * malloc/arena.c (heap_trim): Likewise.
32468 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32470 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32473 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32475 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32477 * sysdeps/i386/elf/Makefile: New file.
32479 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32481 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32482 from fanotify_init.
32483 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32486 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32488 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32490 * sysdeps/multiarch/strcmp.S: Likewise.
32492 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32494 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32495 strncase_l-nonascii.
32496 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32497 Add strncase_l-ssse3.
32498 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32499 * sysdeps/x86_64/strcmp.S: Likewise.
32500 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32501 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32502 * sysdeps/x86_64/strncase.S: New file.
32503 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32504 * sysdeps/x86_64/strncase_l.S: New file.
32505 * string/Makefile (strop-tests): Add strncasecmp.
32506 * string/test-strncasecmp.c: New file.
32508 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32511 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32512 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32514 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32516 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32518 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32520 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32521 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32522 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32524 2010-05-01 Alan Modra <amodra@gmail.com>
32526 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32527 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32528 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32529 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32530 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32531 tidying. Don't tail-call __sigjmp_save for static lib.
32532 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32534 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32535 (CALL_MCOUNT): Add eh info, and nop after bl.
32536 (TAIL_CALL_SYSCALL_ERROR): New macro.
32537 (PSEUDO_RET): Use it.
32538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32539 Correct save location of integer regs and cr.
32540 (_dl_profile_resolve): Correct cr save location. Delete nops
32541 after bl when SHARED. Reduce cfi size a little by better
32542 placement of cfi directives.
32543 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32544 make a stack frame. Instead use parm save area as a temp.
32545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32546 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32548 Don't make a stack frame for parent, use parm save area.
32549 Increase child stack frame to 112 bytes. Don't save unused reg,
32550 and adjust reg usage. Set up cfi on error recovery and
32551 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32553 (__makecontext): Add dummy nop after jump to exit.
32554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32555 Use correct parm save area and cr save, reduce stack frame.
32556 Correct cfi for possible PSEUDO_RET frame setup.
32557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32558 Branch to local label emitted by PSEUDO_RET rather than
32561 2010-08-12 Andreas Schwab <schwab@redhat.com>
32564 * locale/programs/locale.c (print_assignment): New function.
32565 (show_locale_vars): Use it.
32567 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32569 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32571 (struct statfs64): Likewise.
32572 (_STATFS_F_FLAGS): Define.
32573 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32574 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32575 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32576 (ST_VALID): Define locally.
32577 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32578 __statvfs_getflags, use the provided value.
32579 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32580 __ASSUME_STATFS_F_FLAGS.
32582 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32584 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32585 Add sys/fanotify.h.
32586 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32587 fanotify_mask for GLIBC_2.13.
32588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32589 fanotify_init and fanotify_mark.
32590 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32591 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32593 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32595 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32596 prlimit64 for GLIBC_2.13.
32597 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32599 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32602 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32603 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32604 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32605 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32607 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32610 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32611 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32613 * nss/Makefile: Add rules to build and run tst-nss-test1.
32614 * shlib-versions: Add entry for libnss_test1.
32615 * nss/nss_test1.c: New file.
32616 * nss/tst-nss-test1.c: New file.
32618 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32619 (__nss_configure_lookup): Set appropriate entry in
32620 __nss_configure_lookup to true.
32621 * nss/nsswitch.h: Define enum with indeces of databases in
32622 databases and __nss_database_custom arrays. Declare
32623 __nss_database_custom.
32624 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32625 to avoid using nscd when custom rules are installed.
32626 * nss/getXXbyYY_r.c: Likewise.
32627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32629 * nss/nss_files/files-parse.c: Whitespace fixes.
32631 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32634 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32635 * posix/fnmatch_loop.c: Likewise.
32637 2010-07-17 Andi Kleen <ak@linux.intel.com>
32639 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32640 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32641 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32642 * Versions.def [GLIBC_2.13]: Add.
32644 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32646 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32647 Also fail if tpwd after pwuid call is NULL.
32649 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32651 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32652 when converting to ms.
32654 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32656 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32657 EOPNOTSUPP errors with ENOTTY.
32658 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32659 EOPNOTSUPP errors with ENOTTY.
32661 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32664 Add strcasecmp_l-ssse3.
32665 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32667 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32668 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32669 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32671 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32673 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32675 * string/Makefile (strop-tests): Add strcasecmp.
32676 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32677 strcasecmp_l-nonascii.
32678 (gen-as-const-headers): Add locale-defines.sym.
32679 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32680 * sysdeps/x86_64/strcasecmp.S: New file.
32681 * sysdeps/x86_64/strcasecmp_l.S: New file.
32682 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32683 * sysdeps/x86_64/locale-defines.sym: New file.
32684 * string/test-strcasecmp.c: New file.
32686 * string/test-strcasestr.c: Test both ends of the range of characters.
32687 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32689 2010-07-29 Roland McGrath <roland@redhat.com>
32692 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32694 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32696 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32699 2010-07-27 Andreas Schwab <schwab@redhat.com>
32701 * manual/memory.texi (Malloc Tunable Parameters): Document
32704 2010-07-26 Roland McGrath <roland@redhat.com>
32707 * configure.in (-fgnu89-inline check): Set and substitute
32708 gnu89_inline, not libc_cv_gnu89_inline.
32709 * configure: Regenerated.
32710 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32712 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32714 * string/test-strnlen.c: New file.
32715 * string/Makefile (strop-tests): Add strnlen.
32716 * string/tester.c (test_strnlen): Add a few more test cases.
32717 * string/tst-strlen.c: Better error reporting.
32719 * sysdeps/x86_64/strnlen.S: New file.
32721 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32723 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32724 lower-latency instructions.
32726 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32728 * string/test-strcasestr.c: New file.
32729 * string/test-strstr.c: New file.
32730 * string/Makefile (strop-tests): Add strstr and strcasestr.
32731 * string/str-two-way.h: Don't undefine MAX.
32732 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32734 2010-07-21 Andreas Schwab <schwab@redhat.com>
32736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32737 strcasestr-nonascii.
32738 (CFLAGS-strcasestr-nonascii.c): Define.
32739 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32740 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32741 Remove unused attribute.
32743 2010-07-20 Roland McGrath <roland@redhat.com>
32745 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32746 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32747 ld.so.cache was broken. With it, there is no way to disable dsocaps
32748 like LD_HWCAP_MASK can disable hwcaps.
32750 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32752 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32754 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32756 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32757 call in strcasestr.
32758 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32759 __strcasestr_sse42_nonascii.
32760 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32761 strcasestr-nonascii.c.
32762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32764 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32766 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32768 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32771 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32773 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32776 2010-07-06 Andreas Schwab <schwab@redhat.com>
32779 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32782 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32784 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32785 _PC_PIPE_BUF using F_GETPIPE_SZ.
32787 2010-07-05 Roland McGrath <roland@redhat.com>
32789 * manual/arith.texi (Rounding Functions): Fix rint description
32790 implicit in round description.
32792 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32794 * elf/Makefile: Fix linking for a few tests to make recent linker
32797 2010-06-30 Andreas Schwab <schwab@redhat.com>
32799 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32800 $(common-objpfx)libc_nonshared.a.
32802 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32804 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32805 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32806 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32807 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32808 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32809 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32810 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32811 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32826 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32827 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32828 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32829 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32830 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32831 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32832 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32833 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32834 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32835 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32836 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32837 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32853 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32855 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32856 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32857 * string/memmove.c (memmove): Renamed to ...
32858 (MEMMOVE): ...this. Default to memmove.
32859 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32860 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32863 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32864 mempcpy-ssse3-back memmove-ssse3-back.
32865 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32868 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32869 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32870 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32871 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32872 * sysdeps/x86_64/multiarch/memmove.c: New file.
32873 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32874 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32875 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32876 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32877 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32880 (index_Fast_Copy_Backward): Define.
32881 (HAS_ARCH_FEATURE): Define.
32882 (HAS_FAST_REP_STRING): Define.
32883 (HAS_FAST_COPY_BACKWARD): Define.
32885 2010-06-21 Andreas Schwab <schwab@redhat.com>
32887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32888 Restore proper fallback handling.
32890 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32893 * posix/group_member.c (__group_member): Correct checking loop.
32895 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32896 OOM in getpwuid_r correctly. Return error number when the caller
32897 should return, otherwise -1.
32898 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32899 call returning > 0 value.
32900 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32902 2010-06-07 Andreas Schwab <schwab@redhat.com>
32904 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32905 libc_nonshared.a from targets in modules-names.
32907 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32909 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32912 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32914 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32915 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32919 2010-06-02 Andreas Schwab <schwab@redhat.com>
32921 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32923 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32934 2010-06-14 Roland McGrath <roland@redhat.com>
32936 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32938 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32940 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32941 __REDIRECT followed by __THROW.
32942 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32943 * posix/getopt.h (getopt): Likewise.
32945 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32947 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32948 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32949 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32951 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32952 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32954 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32958 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32962 Properly check family and model.
32964 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32966 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32968 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32970 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32972 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32974 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32977 2010-05-19 Andreas Schwab <schwab@redhat.com>
32979 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32982 2010-05-21 Andreas Schwab <schwab@redhat.com>
32984 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32985 and internal_recvmmsg.
32986 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32987 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32988 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32989 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32991 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32992 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32993 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32995 2010-05-20 Andreas Schwab <schwab@redhat.com>
32997 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32999 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33001 POWER7 optimizations.
33002 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33003 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33005 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33007 * version.h: Update for 2.13 development version.
33009 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33011 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33012 exceptions. Return 0.
33014 2010-05-07 Roland McGrath <roland@redhat.com>
33016 * elf/ldconfig.c (main): Add a const.
33018 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33020 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33021 (args_options): Add no-idn option.
33022 (ahosts_keys_int): Add idn_flags to ai_flags.
33023 (parse_option): Handle 'i' option to clear idn_flags.
33025 * malloc/malloc.c (_int_free): Possible race in the most recently
33026 added check. Only act on the data if no current modification
33029 See ChangeLog.17 for earlier changes.