1 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6 Add `Chinese' to `nan' entry name.
8 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11 (POLYNOMIAL): Likewise.
12 (TAYLOR_SINCOS): Likewise.
13 (TAYLOR_SLOW): Likewise.
14 (__sin): Use TAYLOR_SINCOS.
16 (slow): Use TAYLOR_SLOW.
21 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23 * stdlib/strtod_l.c: Fix buffer overrun.
25 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27 * benchtests/Makefile (bench): Add sincos.
28 * benchtests/bench-sincos.c: New file.
30 * math/libm-test.inc (cos_test_data): New test inputs.
31 (sin_test_data): Likewise.
33 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
58 * config.h.in (HAVE_MIPS_NAN2008): New macro.
59 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63 * elf/cache.c (print_entry): Handle the new cache flags.
65 2013-09-18 Joseph Myers <joseph@codesourcery.com>
66 Aldy Hernandez <aldyh@redhat.com>
68 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
69 Change condition to [_SOFT_FLOAT].
70 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
71 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
72 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
73 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
74 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
75 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
76 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
77 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
78 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
79 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
80 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
81 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
82 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
83 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
84 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
85 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
88 2013-09-18 Joseph Myers <joseph@codesourcery.com>
90 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
91 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
92 (__longjmp): Use LOAD_GP to load saved GPRs.
93 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
94 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
95 (__sigsetjmp): Use SAVE_GP to save GPRs.
97 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
98 Do not append -msoft-float.
99 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
101 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
103 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
105 2013-09-17 Joseph Myers <joseph@codesourcery.com>
108 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
109 (_FPU_GETCW): Use initial "__" on variable and field names but not
110 on macro parameter name.
111 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
112 parentheses around reference to macro parameter.
114 2013-09-13 Richard Sandiford <richard@codesourcery.com>
116 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
118 (ctype_startup): Use uint32_t in cast and sizeof for
121 2013-09-11 Jia Liu <proljc@gmail.com>
123 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
125 [__FreeBSD__]: Likewise.
127 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
130 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
131 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
132 (strchr): Remove __strchr_sse42 ifunc selection.
133 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
134 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
136 2013-09-11 Will Newton <will.newton@linaro.org>
138 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
139 parameter to RES. Remove hardcoded 1000 value.
140 * benchtests/bench-skeleton.c (main): Pass RES parameter
141 to TIMING_INIT and multiply result by 1000.
143 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
147 2013-09-11 Andreas Schwab <schwab@suse.de>
149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
151 (O_TMPFILE) [__USE_GNU]: Define.
152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
155 2013-09-11 Will Newton <will.newton@linaro.org>
158 * malloc/malloc.c (__libc_memalign): Check the value of bytes
161 2013-09-11 Will Newton <will.newton@linaro.org>
164 * malloc/malloc.c (__libc_valloc): Check the value of bytes
167 2013-09-11 Will Newton <will.newton@linaro.org>
170 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
173 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
175 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
176 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
178 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
179 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
181 2013-09-10 Allan McRae <allan@archlinux.org>
184 * manual/arith.texi (Parsing of Floats): Clarify
188 * manual/install.texi (Running make install): Mention
190 * INSTALL: Regenerated.
192 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
194 * csu/init-first.c (_init): Remove the !SHARED condition around
195 FPU control word initialization.
196 * elf/dl-support.c (_dl_fpu_control): New variable.
197 (_dl_aux_init) <AT_FPUCW>: Initialize it.
198 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
199 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
200 * math/test-fpucw-static.c: New file.
201 * math/test-fpucw-ieee.c: New file.
202 * math/test-fpucw-ieee-static.c: New file.
203 * math/Makefile (tests): Add `test-fpucw-ieee' and
205 (tests-static): New variable.
206 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
208 [($(build-shared),yes)]
209 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
211 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
214 2013-09-09 Allan McRae <allan@archlinux.org>
217 * manual/string.texi (Collation Functions): Fix typo in
219 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
222 * stdlib/isomac.c (get_null_defines): Fix memory leak.
225 * libio/memstream.c (open_memstream): Fix memory leak.
226 * libio/wmemstream.c (open_wmemstream): Likewise.
229 * nscd/netgroupcache.c: Fix nesting of ifdefs.
231 2013-09-09 Will Newton <will.newton@linaro.org>
233 * malloc/Makefile: Add tst-realloc to tests.
234 * malloc/tst-realloc.c: New file.
236 2013-09-09 Allan McRae <allan@archlinux.org>
239 * COPYING: Update from GNU website to fix FSF address.
240 * COPYING.LIB: Likewise.
242 2013-09-06 David S. Miller <davem@davemloft.net>
244 * po/zh_TW.po: Update Chinese (traditional) translation from
247 2013-09-06 Richard Sandiford <richard@codesourcery.com>
248 Joseph Myers <joseph@codesourcery.com>
250 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
252 (obstack_chunk_alloc): New macro.
253 (obstack_chunk_free): Likewise.
254 (record_offset): New function.
255 (init_locale_data): Likewise.
256 (align_locale_data): Likewise.
257 (add_locale_empty): Likewise.
258 (add_locale_raw_data): Likewise.
259 (add_locale_raw_obstack): Likewise.
260 (add_locale_string): Likewise.
261 (add_locale_wstring): Likewise.
262 (add_locale_uint32): Likewise.
263 (add_locale_uint32_array): Likewise.
264 (add_locale_char): Likewise.
265 (start_locale_structure): Likewise.
266 (end_locale_structure): Likewise.
267 (start_locale_prelude): Likewise.
268 (end_locale_prelude): Likewise.
269 (write_locale_data): Take locale_file structure rather than an
271 * locale/programs/locfile.h: Include "obstack.h".
272 (struct locale_file): Change to store locale file contents instead
274 (init_locale_data): New prototype.
275 (align_locale_data): Likewise.
276 (add_locale_empty): Likewise.
277 (add_locale_raw_data): Likewise.
278 (add_locale_raw_obstack): Likewise.
279 (add_locale_string): Likewise.
280 (add_locale_wstring): Likewise.
281 (add_locale_uint32): Likewise.
282 (add_locale_uint32_array): Likewise.
283 (add_locale_char): Likewise.
284 (start_locale_structure): Likewise.
285 (end_locale_structure): Likewise.
286 (start_locale_prelude): Likewise.
287 (end_locale_prelude): Likewise.
288 (write_locale_data): Update prototype.
289 * locale/programs/3level.h (struct TABLE): Remove result field.
290 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
291 Use new locale_file interface.
292 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
293 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
294 * locale/programs/ld-address.c (address_output): Use new
295 locale_file interface.
296 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
298 (collate_finish): Don't call collseq_table_finalize.
299 (collate_output): Use new locale_file interface.
300 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
302 (NO_FINALIZE): Change to NO_ADD_LOCALE.
303 (TABLE): Move defines earlier in file.
306 (wctrans_table_add): Move macro and inline function earlier in
308 (struct wctype_table): Move type earlier in file.
309 (add_locale_wctype_table): New static prototype.
310 (struct locale_ctype_t): Use logical types instead of struct iovec
311 pointers for members.
312 (ctype_output): Use new locale_file interface.
313 (wctype_table_finalize): Change to add_locale_wctype_table. Use
314 new locale_file interface.
315 (allocate_arrays): Update for use of new locale_file interface.
316 * locale/programs/ld-identification.c (identification_output): Use
317 new locale_file interface.
318 * locale/programs/ld-measurement.c (measurement_output): Likewise.
319 * locale/programs/ld-messages.c (messages_output): Likewise.
320 * locale/programs/ld-monetary.c (monetary_output): Likewise.
321 * locale/programs/ld-name.c (name_output): Likewise.
322 * locale/programs/ld-numeric.c (numeric_output): Likewise.
323 * locale/programs/ld-paper.c (paper_output): Likewise.
324 * locale/programs/ld-telephone.c (telephone_output): Likewise.
325 * locale/programs/ld-time.c (time_output): Likewise.
327 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329 * benchtests/Makefile: Add memrchr benchmark.
330 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
331 benchmark as memrchr.
332 * benchtests/bench-memrchr-ifunc.c: New file.
333 * benchtests/bench-memrchr.c: New file.
335 2013-09-06 Will Newton <will.newton@linaro.org>
337 * benchtests/Makefile (string-bench): Add memcpy.
339 2013-09-05 Carlos O'Donell <carlos@redhat.com>
340 Cong Wang <amwang@redhat.com>
342 * sysdeps/unix/sysv/linux/bits/in.h
343 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
344 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
345 before __USE_KERNEL_IPV6_DEFS uses.
346 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
348 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
349 sockaddr_in6, or ipv6_mreq.
351 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
354 memory access for final bytes in some large inputs.
355 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
357 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359 * string/test-memrchr.c: New file.
360 * string/test-memrchr-ifunc.c: New file.
361 * string/Makefile: Add new memrchr testcase.
363 2013-09-05 Mike Frysinger <vapier@gentoo.org>
365 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
366 fanotify_init returns EPERM.
368 2013-09-04 Joseph Myers <joseph@codesourcery.com>
370 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
372 (top level): Treat second token from macro or constant entries for
373 allowed headers as allowed.
374 * include/complex.h: Condition internal declarations on
376 * include/fenv.h: Condition include of <stdbool.h> and internal
377 declarations on [!_ISOMAC].
379 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
382 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
384 2013-09-04 Joseph Myers <joseph@codesourcery.com>
386 * configure.in (--enable-versioning): Remove configure option.
387 (libc_cv_asm_symver_directive): Remove configure test.
388 (libc_cv_ld_version_script_option): Likewise.
389 (VERSIONING): Remove variable and AC_SUBST.
390 (DO_VERSIONING): Remove AC_DEFINE.
391 * configure: Regenerated.
392 * config.h.in (DO_VERSIONING): Remove macro.
393 * Makerules [$(versioning) = yes]: Change conditionals to
394 [$(build-shared) = yes].
395 * config.make.in (versioning): Remove variable.
396 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
397 [$(build-shared) = yes].
398 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
399 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
400 * elf/Makefile [$(versioning) = yes]: Change conditionals to
401 [$(build-shared) = yes].
402 * extra-lib.mk [$(versioning) = yes]: Likewise.
403 * hurd/Makefile [$(versioning) = yes]: Likewise.
404 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
406 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
408 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
409 [SHARED && !NO_HIDDEN].
410 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
412 [SHARED && DO_VERSIONING]: Likewise..
413 * libio/Makefile [$(versioning) = yes]: Change conditionals to
414 [$(build-shared) = yes].
415 * manual/install.texi (--disable-versioning): Remove
417 * INSTALL: Regenerated.
418 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
420 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
421 [$(build-shared) = yes].
422 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
423 * sysdeps/i386/i686/multiarch/strstr-c.c
424 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
425 [SHARED && !NO_HIDDEN].
426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
427 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
428 * sysdeps/powerpc/powerpc32/dl-machine.c
429 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
430 * sysdeps/powerpc/powerpc32/sysdep.h
431 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
432 to [SHARED && PIC && !NO_HIDDEN].
433 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
434 conditional to [SHARED].
436 2013-09-04 Will Newton <will.newton@linaro.org>
438 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
439 * benchtests/bench-string.h: Include bench-timing.h instead
440 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
441 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
442 call to HP_TIMING_DIFF_INIT.
443 * benchtests/bench-memccpy.c: Use bench-timing.h macros
444 instead of hp-timing.h macros.
445 * benchtests/bench-memchr.c: Likewise.
446 * benchtests/bench-memcmp.c: Likewise.
447 * benchtests/bench-memcpy.c: Likewise.
448 * benchtests/bench-memmem.c: Likewise.
449 * benchtests/bench-memmove.c: Likewise.
450 * benchtests/bench-memset.c: Likewise.
451 * benchtests/bench-rawmemchr.c: Likewise.
452 * benchtests/bench-strcasecmp.c: Likewise.
453 * benchtests/bench-strcasestr.c: Likewise.
454 * benchtests/bench-strcat.c: Likewise.
455 * benchtests/bench-strchr.c: Likewise.
456 * benchtests/bench-strcmp.c: Likewise.
457 * benchtests/bench-strcpy.c: Likewise.
458 * benchtests/bench-strcpy_chk.c: Likewise.
459 * benchtests/bench-strlen.c: Likewise.
460 * benchtests/bench-strncasecmp.c: Likewise.
461 * benchtests/bench-strncat.c: Likewise.
462 * benchtests/bench-strncmp.c: Likewise.
463 * benchtests/bench-strncpy.c: Likewise.
464 * benchtests/bench-strnlen.c: Likewise.
465 * benchtests/bench-strpbrk.c: Likewise.
466 * benchtests/bench-strrchr.c: Likewise.
467 * benchtests/bench-strspn.c: Likewise.
468 * benchtests/bench-strstr.c: Likewise.
470 2013-09-04 Will Newton <will.newton@linaro.org>
472 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
474 2013-09-03 Joseph Myers <joseph@codesourcery.com>
477 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
478 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
479 * math/libm-test.inc (lgamma_test_data): Add more tests.
480 * sysdeps/i386/fpu/libm-test-ulps: Update.
481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
485 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
486 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
489 Add strcmp-sse2-unaligned
490 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
492 2013-09-02 Mike Frysinger <vapier@gentoo.org>
494 * Versions.def (libc): Add GLIBC_2.19.
496 2013-09-02 Mike Frysinger <vapier@gentoo.org>
498 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
499 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
501 2013-09-02 Joseph Myers <joseph@codesourcery.com>
504 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
505 intermediate calculations in recurrence.
506 (__ieee754_ynf): Likewise.
507 * math/libm-test.inc (jn_test_data): Do not allow spurious
508 underflow exception. Add more tests.
509 (yn_test_data): Add more tests.
510 * sysdeps/i386/fpu/libm-test-ulps: Update.
511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
517 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
519 * csu/init-first.c: Fix then/than typos.
520 * locale/programs/ld-collate.c: Likewise.
521 * locale/programs/linereader.h: Likewise.
522 * manual/charset.texi: Likewise.
523 * manual/filesys.texi: Likewise.
524 * manual/stdio.texi: Likewise.
525 * manual/string.texi: Likewise.
526 * stdlib/fmtmsg.c: Likewise.
527 * sysdeps/i386/stpncpy.S: Likewise.
528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
529 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
530 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
531 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
533 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
535 * elf/dl-open.c: Fix typos.
536 * iconvdata/gbbig5.c: Likewise.
537 * iconvdata/iso-2022-jp.c: Likewise.
538 * iconv/gconv_int.h: Likewise.
539 * iconv/loop.c: Likewise.
540 * nis/rpcsvc/nis.h: Likewise.
541 * resolv/ns_name.c: Likewise.
542 * stdio-common/vfscanf.c: Likewise.
543 * streams/stropts.h: Likewise.
544 * sunrpc/rpc_thread.c: Likewise.
545 * sysdeps/i386/strpbrk.S: Likewise.
546 * sysdeps/ieee754/k_standard.c: Likewise.
547 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
548 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
549 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
550 * sysdeps/mach/hurd/profil.c: Likewise.
551 * sysdeps/s390/dl-procinfo.h: Likewise.
552 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
555 * sysdeps/x86_64/dl-trampoline.S: Likewise.
556 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
558 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
560 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
563 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
565 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
567 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
568 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
569 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
570 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
572 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
573 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
574 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
576 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
577 Roland McGrath <roland@hack.frob.com>
579 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
580 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
582 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
584 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
585 __executable_start symbol instead of _start.
587 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
589 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
590 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
592 * sysdeps/gnu/ldsodefs.h: ... this new file.
594 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
595 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
596 instead of ELFOSABI_LINUX.
598 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
599 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
600 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
601 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
603 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
604 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
605 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
607 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
608 (ibm_extended_long_double): Add ieee_nan member.
609 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
610 (do_test): New function.
612 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
614 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
615 functions, renamed from truncdfsf_test, trunctfsf_test,
617 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
619 (do_test): Run all these.
621 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
623 * argp/argp-help.c: Fix typos.
624 * argp/argp-parse.c: Likewise.
625 * debug/backtracesyms.c: Likewise.
626 * elf/elf.h: Likewise.
627 * malloc/malloc.c: Likewise.
628 * nis/nis_print.c: Likewise.
629 * resolv/res_comp.c: Likewise.
630 * stdlib/stdlib.h: Likewise.
631 * sunrpc/clnt_tcp.c: Likewise.
632 * sunrpc/clnt_udp.c: Likewise.
633 * sunrpc/clnt_unix.c: Likewise.
634 * sysdeps/unix/bsd/ptsname.c: Likewise.
635 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
643 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
645 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
647 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
650 2013-08-27 Mike Frysinger <vapier@gentoo.org>
653 * dlfcn/Makefile (tests): Add bug-dl-leaf.
654 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
655 ($(objpfx)bug-dl-leaf): New rule.
656 ($(objpfx)bug-dl-leaf.so): Likewise.
657 ($(objpfx)bug-dl-leaf.out): Likewise.
658 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
659 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
660 * dlfcn/bug-dl-leaf.c: New test.
661 * dlfcn/bug-dl-leaf-lib.c: Likewise.
662 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
663 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
667 2013-08-27 Roland McGrath <roland@hack.frob.com>
669 * include/netdb.h [!_ISOMAC]:
670 Don't include <tls.h>.
671 (h_errno, __libc_h_errno): Move declaration and macros out of
674 * include/resolv.h [_RESOLV_H_]:
675 Don't include <tls.h>.
676 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
677 * resolv/res_libc.c: Don't include <tls.h>.
678 (_res): Use __attribute__ ((nocommon)) in place of
679 __attribute__ ((section (".bss"))).
681 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
682 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
684 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
686 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
687 only under [SIOCGIFCONF && SIOCGIFNETMASK].
689 * resolv/res_mkquery.c: Include <sys/time.h>.
691 * inet/ifreq.c: Moved to ...
692 * sysdeps/unix/ifreq.c: ... here.
693 * inet/ifreq.c: New file, true stub version.
695 * socket/sa_len.c: New file.
696 * socket/Makefile (aux): Add it.
697 * sysdeps/unix/sysv/linux/Makefile
698 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
699 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
700 and #include <socket/sa_len.c>.
701 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
702 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
704 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
705 * bits/socket.h: ... here.
707 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
708 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
709 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
711 2013-08-27 Andreas Schwab <schwab@suse.de>
714 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
715 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
716 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
717 * string/test-strcasecmp.c (test_main): Run tests in several
719 * string/test-strncasecmp.c (test_main): Likewise.
721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
722 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
723 to __strcasecmp_nonascii and __strncasecmp_nonascii.
724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
725 (__strncasecmp_ssse3) [PIC]: Likewise.
727 2013-08-26 Roland McGrath <roland@hack.frob.com>
729 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
731 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
732 instead of explicitly declaring xdecrypt.
733 * nis/nss_nis/nis-publickey.c: Likewise.
735 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
738 * nscd/aicache.c: Include res_hconf.h.
739 (addhstaiX): Initialize res_hconf.
741 2013-08-26 Andreas Schwab <schwab@suse.de>
743 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
744 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
746 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
748 * nscd/aicache.c (addhstaiX): Fix indentation.
750 2013-08-25 Mike Frysinger <vapier@gentoo.org>
752 * configure.ac: Quote $build_pt_chown test.
753 * configure: Regenerated.
755 2013-08-23 Joseph Myers <joseph@codesourcery.com>
758 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
759 * math/s_cexpf.c (__cexpf): Likewise.
760 * math/s_cexpl.c (__cexpl): Likewise.
761 * math/libm-test.inc (cexp_test_data): Correct expected return
762 value for NaN + i0. Add another test.
764 2013-08-22 David S. Miller <davem@davemloft.net>
766 * po/ca.po: Update Catalan translation from translation project.
767 * po/uk.po: Add Ukrainian translations from translation project.
769 2013-08-21 Joseph Myers <joseph@codesourcery.com>
772 * math/s_fdim.c (__fdim): Check for infinite arguments if result
773 is infinite, not alongside NaN test.
774 * math/s_fdimf.c (__fdimf): Likewise.
775 * math/s_fdiml.c (__fdiml): Likewise.
776 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
779 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
781 * argp/argp-help.c: Fix typos.
782 * crypt/speeds.c: Likewise.
783 * csu/check_fds.c: Likewise.
784 * elf/dl-load.c: Likewise.
785 * elf/dl-open.c: Likewise.
786 * elf/reldep3.c: Likewise.
787 * elf/reldep.c: Likewise.
788 * elf/sprof.c: Likewise.
789 * iconv/iconv_charmap.c: Likewise.
790 * iconv/skeleton.c: Likewise.
791 * iconv/strtab.c: Likewise.
792 * io/lockf64.c: Likewise.
793 * libio/libioP.h: Likewise.
794 * resolv/gai_notify.c: Likewise.
795 * resolv/ns_name.c: Likewise.
796 * resolv/ns_samedomain.c: Likewise.
797 * resolv/res_send.c: Likewise.
798 * stdlib/random.c: Likewise.
799 * sunrpc/rpc/xdr.h: Likewise.
800 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
802 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
803 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
804 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
805 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
806 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
807 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
808 * sysdeps/mach/hurd/check_fds.c: Likewise.
809 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
810 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
811 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
812 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
813 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
814 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
815 * sysdeps/pthread/aio_notify.c: Likewise.
816 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
817 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
818 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
819 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
820 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
822 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
824 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
825 version if bit_Slow_SSE4_2 is set.
826 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
829 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
832 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
833 trampoline stack frame information.
834 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
835 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
836 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
837 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
838 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
839 * sysdeps/unix/sysv/linux/powerpc/init-first.c
840 (_libc_vdso_platform_setup): Initialize the signal trampolines.
841 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
843 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
844 interrupting a syscall and set with option SA_SIGINFO.
846 2013-08-20 Joseph Myers <joseph@codesourcery.com>
849 * math/s_cproj.c (__cproj): Only return an infinity if one part of
850 argument is infinite.
851 * math/s_cprojf.c (__cprojf): Likewise.
852 * math/s_cprojl.c (__cprojl): Likewise.
853 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
854 * math/libm-test.inc (cproj_test_data): Add more tests.
856 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
858 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
859 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
860 size. Use __ffs to determine corresponding shift.
862 2013-08-20 Joseph Myers <joseph@codesourcery.com>
863 Roland McGrath <roland@hack.frob.com>
865 * Makefile (INSTALL): Remove trailing blank lines from output of
868 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
870 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
871 Align 32 bit compat elf_greg to 8 bytes.
873 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
875 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
877 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
879 * string/strcoll_l.c (coll_seq): New structure.
880 (get_next_seq_cached): New function.
881 (get_next_seq): New function.
882 (do_compare): New function.
883 (STRCOLL): Use GNU style definition. Simplify implementation
884 by using get_next_seq, get_next_seq_cached and do_compare.
886 2013-08-16 Florian Weimer <fweimer@redhat.com>
890 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
892 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
894 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
895 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
896 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
898 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
899 GETDENTS_64BIT_ALIGNED.
900 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
901 * manual/filesys.texi (Reading/Closing Directory): Document
902 ENAMETOOLONG return value of readdir_r. Recommend readdir more
904 * manual/conf.texi (Limits for Files): Add portability note to
906 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
908 2013-08-13 Andreas Schwab <schwab@suse.de>
911 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
913 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
914 LDBL_MAX_EXP >= 16384]: Add tests for it.
916 2013-08-12 David S. Miller <davem@davemloft.net>
918 * version.h (RELEASE): Set to "development".
919 (VERSION): Set to "2.18.90".
920 * NEWS: Add 2.19 section.
922 2013-08-03 David S. Miller <davem@davemloft.net>
924 * po/ko.po: Update Korean translation from translation project.
926 2013-08-01 David S. Miller <davem@davemloft.net>
928 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
929 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
932 2013-07-30 David S. Miller <davem@davemloft.net>
934 * po/fr.po: Update French translation from translation project.
936 2013-07-28 David S. Miller <davem@davemloft.net>
938 * po/cs.po: Update Czech translation from translation project.
940 * po/sv.po: Update Swedish translation from translation project.
942 2013-07-27 David S. Miller <davem@davemloft.net>
944 * po/eo.po: Update Esperanto translation from translation project.
946 * po/vi.po: Update Vietnamese translation from translation project.
948 * po/de.po: Update German translation from translation project.
950 2013-07-26 David S. Miller <davem@davemloft.net>
952 * po/bg.po: Update Bulgarian translation from translation project.
954 * po/nl.po: Update Dutch translation from translation project.
955 * po/pl.po: Update Polish translation from translation project.
956 * po/ru.po: Update Russian translation from translation project.
958 2013-07-24 David S. Miller <davem@davemloft.net>
960 * po/libc.pot: Update.
962 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
966 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
967 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
968 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
970 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
972 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
974 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
975 Andreas Schwab <schwab@suse.de>
976 Roland McGrath <roland@hack.frob.com>
977 Joseph Myers <joseph@codesourcery.com>
978 Carlos O'Donell <carlos@redhat.com>
981 * config.h.in: Define HAVE_PT_CHOWN.
982 * config.make.in (build-pt-chown): New variable.
983 * configure.in (--enable-pt_chown): New configure option.
984 * configure: Regenerate.
985 * login/Makefile: Include Makeconfig. Build pt_chown only if
986 build-pt-chown is enabled.
987 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
988 pt_chown to fix pty ownership.
989 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
991 * manual/install.texi (Configuring and compiling): Mention
992 --enable-pt_chown. Add @findex for grantpt.
993 * INSTALL: Regenerate.
995 2013-07-20 David S. Miller <davem@davemloft.net>
997 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
998 difference between 32-bit and 64-bit.
1000 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1003 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1004 Avoid system header dependency with -ffreestanding.
1005 ($(objpfx)bits/syscall%d): Likewise.
1007 2013-07-13 David S. Miller <davem@davemloft.net>
1009 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1010 underflows from atanl/atan2l due to bug 15319.
1011 (casinh_test_data): Likewise.
1013 2013-07-07 David S. Miller <davem@davemloft.net>
1015 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1017 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1019 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1024 * configure.in (--enable-lock-elision): Fix message text.
1025 * INSTALL: Regenerate.
1026 * configure: Regenerate.
1028 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1032 2013-07-03 Andreas Jaeger <aj@suse.de>
1034 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1036 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1037 (ptrace_peeksiginfo_args): Add.
1038 (__ptrace_peeksiginfo_flags): Add.
1039 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1041 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1043 2013-07-03 Allan McRae <allan@archlinux.org>
1045 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 2013-07-02 David S. Miller <davem@davemloft.net>
1049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1051 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1055 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1060 2013-07-02 Andi Kleen <ak@linux.intel.com>
1062 * config.h.in (ENABLE_LOCK_ELISION): Add.
1063 * configure.in (--enable-lock-elision): Add option.
1064 * manual/install.texi: Document --enable lock elision.
1065 * configure: Regenerate
1066 * INSTALL: Regenerate.
1068 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1070 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1071 SSE4.2 strcasecmp for libc.a.
1072 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1074 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1077 * soft-fp/op-common.h (_FP_FMA): New macro.
1078 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1079 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1080 (_FP_MUL_MEAT_1_imm): ... here.
1081 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1082 (_FP_MUL_MEAT_1_wide): ... here.
1083 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1084 (_FP_MUL_MEAT_1_hard): ... here.
1085 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1086 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1087 (_FP_MUL_MEAT_2_wide): ... here.
1088 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1089 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1090 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1091 (_FP_MUL_MEAT_2_gmp): ... here.
1092 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1093 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1094 (_FP_MUL_MEAT_4_wide): ... here.
1095 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1096 (_FP_MUL_MEAT_4_gmp): ... here.
1097 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1098 (_FP_WFRACBITS_DW_S): Likewise.
1099 (_FP_WFRACXBITS_DW_S): Likewise.
1100 (_FP_HIGHBIT_DW_S): Likewise.
1101 (FP_FMA_S): Likewise.
1102 (_FP_FRAC_HIGH_DW_S): Likewise.
1103 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1104 (_FP_WFRACBITS_DW_D): Likewise.
1105 (_FP_WFRACXBITS_DW_D): Likewise.
1106 (_FP_HIGHBIT_DW_D): Likewise.
1107 (FP_FMA_D): Likewise.
1108 (_FP_FRAC_HIGH_DW_D): Likewise.
1109 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1110 (_FP_WFRACBITS_DW_E): Likewise.
1111 (_FP_WFRACXBITS_DW_E): Likewise.
1112 (_FP_HIGHBIT_DW_E): Likewise.
1113 (FP_FMA_E): Likewise.
1114 (_FP_FRAC_HIGH_DW_E): Likewise.
1115 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1116 (_FP_WFRACBITS_DW_Q): Likewise.
1117 (_FP_WFRACXBITS_DW_Q): Likewise.
1118 (_FP_HIGHBIT_DW_Q): Likewise.
1119 (FP_FMA_Q): Likewise.
1120 (_FP_FRAC_HIGH_DW_Q): Likewise.
1121 * soft-fp/fmasf4.c: New file.
1122 * soft-fp/fmadf4.c: Likewise.
1123 * soft-fp/fmatf4.c: Likewise.
1125 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1128 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1132 (index_Slow_SSE4_2): Likewise.
1133 (index_Prefer_PMINUB_for_stringop): Likewise.
1134 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1135 bit_Slow_SSE4_2 is set.
1136 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1139 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1141 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1142 rtld_global._dl_hwcap2.
1143 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1145 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1146 POWER8 feature descriptions defined in _dl_hwcap2.
1147 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1148 string handling for POWER8 feature bits.
1149 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1150 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1151 _dl_powerpc_cap_flags.
1152 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1153 * sysdeps/powerpc/rtld-global-offsets.sym
1154 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1155 _dl_hwcap2 in the rtld_global_ro structure.
1157 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1159 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1160 hardware capabilities in support of AT_HWCAP2.
1161 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1162 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1164 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1165 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1166 explicitly the unknown a_type display mechanism is used.
1167 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1168 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1170 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1171 to macro prototype for AT_HWCAP2 support.
1172 * sysdeps/i386/dl-procinfo.h: Likewise.
1173 * sysdeps/s390/dl-procinfo.h: Likewise.
1174 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1175 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1176 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1177 return -1 for unknown a_type display fallback.
1178 * sysdeps/sparc/dl-procinfo.h: Likewise.
1179 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1180 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1182 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1184 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1185 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1187 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1190 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1191 mprotect making __stack_prot writable.
1193 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1194 Joseph Myers <joseph@codesourcery.com>
1196 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1197 as being properly aligned.
1199 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1201 * dlfcn/modstatic5.c: New file.
1202 * dlfcn/tststatic5.c: New file.
1203 * dlfcn/Makefile (tests): Add tststatic5.
1204 (tests-static): Likewise.
1205 (modules-names): Add modstatic5.
1206 (tststatic5-ENV): New variable.
1207 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1210 * elf/dl-support.c (_dl_main_map): New variable.
1211 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1212 (_dl_nns, _dl_load_adds): Set to 1.
1213 (_dl_initial_searchlist): Refer to _dl_main_map.
1214 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1215 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1216 call to _dl_get_origin.
1217 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1219 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1220 * dlfcn/modstatic3.c: New file.
1221 * dlfcn/tststatic3.c: New file.
1222 * dlfcn/tststatic4.c: New file.
1223 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1224 (tests-static): Likewise.
1225 (modules-names): Add modstatic3.
1226 (tststatic3-ENV, tststatic4-ENV): New variables.
1227 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1228 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1230 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1232 * configure.in (CC): Require GCC version 4.4 or later.
1233 * configure: Regenerated.
1234 * manual/install.texi (Tools for Compilation): Update GCC version
1236 * INSTALL: Regenerated.
1238 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1241 * string/test-memcmp.c (check2): New.
1242 (main): Call check2.
1244 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1246 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1249 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1251 (dl_open_worker) [!SHARED]: ... here.
1253 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1255 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1257 2013-06-25 Richard Henderson <rth@redhat.com>
1259 * locale/programs/locarchive.c: Include <libc-internal.h>
1261 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1263 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1264 trailing whitespace removed.
1266 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1269 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1270 * locale/programs/locarchive.c: Include libc-mmap.h.
1271 (prepare_address_space): Take two new outputs (the mmap base and len).
1272 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1274 (create_archive): Declare new mmap base and len values for
1275 prepare_address_space, and store the result in ah.
1276 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1277 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1278 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1279 Declare new mmap base and len values for
1280 prepare_address_space, and store the result in new_ah.
1281 (open_archive): Declare new mmap base and len values for
1282 prepare_address_space, and store the result in ah.
1283 (close_archive): If ah->mmap_base is not NULL, use that and
1284 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1285 * sysdeps/generic/libc-mmap.h: New file.
1287 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1289 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1290 (ALIGN_UP): Likewise.
1291 (PTR_ALIGN_DOWN): Likewise.
1292 (PTR_ALIGN_UP): Likewise.
1294 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1296 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1297 entry mapped to PPC_PLATFORM_POWER8.
1298 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1300 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1301 (_dl_string_platform): Add case for exporting platform position for
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1304 search path to sysdeps/powerpc/powerpc32/power8 directory.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1306 search path to sysdeps/powerpc/powerpc64/power8 directory.
1307 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1309 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1312 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1314 * INSTALL: Regenerate.
1316 * nscd/connections.c (nscd_init): Fix comment.
1318 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1323 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1324 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1326 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1328 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1330 (DL_DST_REQ_STATIC): Remove macro.
1332 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1335 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1336 with a shift of 0 bits.
1338 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1340 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1343 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1346 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1348 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1351 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1352 accepts -fno-tree-loop-distribute-patterns.
1353 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1354 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1356 * string/memset.c (memset): Likewise.
1357 * string/test-memmove.c (simple_memmove): Disable loop transformation
1359 * string/test-memset.c (simple_memset): Likewise.
1360 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1361 * benchtests/bench-memset.c (simple_memset): Likewise.
1362 * configure: Regenerated.
1364 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1366 * math/test-misc.c (main): Ignore fesetround failure when failures
1367 of subsequent rounding tests would be ignored.
1370 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1371 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1372 * math/fegetenv.c (__fegetenv): Return 0.
1373 * math/fegetexcept.c (fegetexcept): Return 0.
1374 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1376 * math/feholdexcpt.c (feholdexcept): Return 0.
1377 * math/fesetenv.c (__fesetenv): Return 0.
1378 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1379 argument FE_TONEAREST.
1380 * math/feupdateenv.c (__feupdateenv): Return 0.
1381 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1383 2013-06-18 Roland McGrath <roland@hack.frob.com>
1385 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1386 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1387 ($(objpfx)rtld-%.os rules): Use them.
1389 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1394 2013-06-17 Roland McGrath <roland@hack.frob.com>
1396 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1397 length of target pattern, then descending length of dependency pattern.
1398 * configure.in (AWK): Require gawk 3.1.2 or newer.
1399 * manual/install.texi (Tools for Compilation): Say that we do.
1400 * configure: Regenerated.
1402 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1403 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1404 * scripts/sysd-rules.awk: ... this new script.
1405 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1406 than a glob-style pattern.
1408 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1410 * math/test-misc.c (main): Do not treat incorrectly rounded
1411 conversions as failure unless ROUNDING_TESTS passes.
1413 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1416 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1417 restore exception state around main square root computation, then
1418 check for inexactness explicitly.
1420 * math/libm-test.inc (fma_test_data): Add another test.
1422 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1424 * manual/threads.texi (Non-POSIX Extensions): New document
1425 node. Document pthread_getattr_default_np and
1426 pthread_setattr_default_np.
1428 * Versions.def (libpthread): Add GLIBC_2.18.
1429 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1438 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1449 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1452 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1454 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1455 H.J. Lu <hjl.tools@gmail.com>
1458 * sysdeps/x86_64/rtld-memset.c: Remove file.
1459 * sysdeps/x86_64/rtld-memset.S: New file.
1461 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1463 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1464 (test_in_one_mode): Take arguments for whether the rounding mode
1465 is supported for each floating-point type.
1466 (do_test): Pass new arguments to test_in_one_mode using
1469 2013-06-13 Roland McGrath <roland@hack.frob.com>
1471 * posix/tst-waitid.c (do_test): Distinguish different instances of
1472 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1473 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1474 before entering the kernel for waitpid.
1476 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1478 * NEWS: Fix note on clock function precision. Text by Roland
1481 2013-06-13 Roland McGrath <roland@hack.frob.com>
1483 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1484 it into place only when and if the sanity check passes.
1486 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1488 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1489 output for whether conversion result is exact. Take argument
1490 indicating whether type is IBM long double.
1491 (round_for_all): Change need_exact field to ibm_ld.
1492 * stdlib/tst-strtod-round.c (struct exactness): New type.
1493 (struct test): Change bool ld_ok field to struct exactness exact.
1494 (TEST): Update all definitions for change to field.
1495 (tests): Regenerate array contents.
1496 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1497 field value. Check for IBM long double here.
1498 (do_test): Update calls to test_in_one_mode.
1500 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1503 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1504 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1506 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1510 generated by the compiler on loop optimizations.
1511 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1512 general definitions.
1514 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1516 * math/bug-nextafter.c: Include <math-tests.h>.
1517 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1519 * math/bug-nexttoward.c: Include <math-tests.h>.
1520 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1522 * math/test-misc.c: Include <math-tests.h>.
1523 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1526 2013-06-12 Andreas Jaeger <aj@suse.de>
1528 * po/ia.po: Update Interlingua translation from translation
1531 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1533 * include/fenv.h: Include stdbool.h.
1534 (struct rm_ctx): New structure.
1535 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1537 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1538 (SET_RESTORE_ROUNDF): Likewise.
1539 (SET_RESTORE_ROUNDL): Likewise.
1540 (SET_RESTORE_ROUND_NOEX): Likewise.
1541 (SET_RESTORE_ROUND_NOEXF): Likewise.
1542 (SET_RESTORE_ROUND_NOEXL): Likewise.
1543 (SET_RESTORE_ROUND_53BIT): Likewise.
1544 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1545 (libc_feresetround_noexf_ctx): Likewise.
1546 (libc_feresetround_noexl_ctx): Likewise.
1547 (libc_feholdsetround_53bit_ctx): Likewise.
1548 (libc_feresetround_53bit_ctx): Likewise.
1549 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1550 (libc_feholdexcept_setround_sse_ctx): New function.
1551 (libc_fesetenv_sse_ctx): Likewise.
1552 (libc_feupdateenv_sse_ctx): Likewise.
1553 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1554 (libc_feholdexcept_setround_387_ctx): Likewise.
1555 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1556 (libc_feholdsetround_387_prec_ctx): Likewise.
1557 (libc_feholdsetround_387_ctx): Likewise.
1558 (libc_feholdsetround_387_53bit_ctx): Likewise.
1559 (libc_feholdsetround_sse_ctx): Likewise.
1560 (libc_feresetround_sse_ctx): Likewise.
1561 (libc_feresetround_387_ctx): Likewise.
1562 (libc_feupdateenv_387_ctx): Likewise.
1563 (libc_feholdexcept_setroundf_ctx): Define macro.
1564 (libc_fesetenvf_ctx): Likewise.
1565 (libc_feupdateenvf_ctx): Likewise.
1566 (libc_feholdsetroundf_ctx): Likewise.
1567 (libc_feresetroundf_ctx): Likewise.
1568 (libc_feholdexcept_setround_ctx): Likewise.
1569 (libc_fesetenv_ctx): Likewise.
1570 (libc_feupdateenv_ctx): Likewise.
1571 (libc_feholdsetround_ctx): Likewise.
1572 (libc_feresetround_ctx): Likewise.
1573 (libc_feholdexcept_setroundl_ctx): Likewise.
1574 (libc_feupdateenvl_ctx): Likewise.
1575 (libc_feholdsetroundl_ctx): Likewise.
1576 (libc_feresetroundl_ctx): Likewise.
1577 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1578 (libc_feresetround_53bit_ctx): Likewise.
1580 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * locale/iso-639.def: Convert to UTF-8.
1584 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1586 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1587 (EXCEPTION_TESTS_double): Likewise.
1588 (EXCEPTION_TESTS_long_double): Likewise.
1589 (EXCEPTION_TESTS): Likewise.
1590 * math/libm-test.inc (test_exceptions): Only test exceptions if
1591 EXCEPTION_TESTS (FLOAT).
1593 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1595 * benchtests/Makefile (string-bench): Add strcpy_chk and
1597 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1598 * benchtests/bench-stpcpy_chk.c: New file.
1599 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1600 * benchtests/bench-strcpy_chk.c: New file.
1601 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1603 (do_test): Likewise.
1605 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1607 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1608 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1609 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1610 with tabs where appropriate.
1611 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1613 [PPC_PLATFORM_PPC440]: Likewise.
1614 [PPC_PLATFORM_PPC464]: Likewise.
1615 [PPC_PLATFORM_PPC476]: Likewise.
1616 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1617 ppc464, and ppc476 platform strings merging from ports/
1620 2013-06-11 Andreas Schwab <schwab@suse.de>
1623 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1624 (from_ucs4_idx): Regenerate.
1625 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1626 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1627 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1628 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1629 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1630 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1631 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1632 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1633 from FROM_LOOP and TO_LOOP specific macros.
1634 (BODY): Handle combining characters.
1635 * iconvdata/BIG5HKSCS.irreversible: Update.
1636 * iconvdata/BIG5HKSCS.precomposed: New file.
1637 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1639 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1641 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1643 * include/sys/time.h: Fix indentation and add copyright header.
1645 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1646 (do_test): Likewise.
1647 * string/test-memchr.c (do_one_test): Likewise.
1648 (do_test): Likewise.
1649 * string/test-memcmp.c (do_one_test): Likewise.
1650 (do_test): Likewise.
1651 * string/test-memcpy.c (do_one_test): Likewise.
1652 (do_test): Likewise.
1653 * string/test-memmem.c (do_one_test): Likewise.
1654 (do_test): Likewise.
1655 (do_random_tests): Likewise.
1656 * string/test-memmove.c (do_one_test): Likewise.
1657 (do_test): Likewise.
1658 * string/test-memset.c (do_one_test): Likewise.
1659 (do_test): Likewise.
1660 * string/test-rawmemchr.c (do_one_test): Likewise.
1661 (do_test): Likewise.
1662 * string/test-strcasecmp.c (do_one_test): Likewise.
1663 (do_test): Likewise.
1664 * string/test-strcasestr.c (do_one_test): Likewise.
1665 (do_test): Likewise.
1666 * string/test-strcat.c (do_one_test): Likewise.
1667 (do_test): Likewise.
1668 * string/test-strchr.c (do_one_test): Likewise.
1669 (do_test): Likewise.
1670 * string/test-strcmp.c (do_one_test): Likewise.
1671 (do_test): Likewise.
1672 * string/test-strcpy.c (do_one_test): Likewise.
1673 (do_test): Likewise.
1674 * string/test-string.h: Likewise.
1675 (test_init): Likewise.
1676 * string/test-strlen.c (do_one_test): Likewise.
1677 (do_test): Likewise.
1678 * string/test-strncasecmp.c (do_one_test): Likewise.
1679 (do_test): Likewise.
1680 * string/test-strncat.c (do_one_test): Likewise.
1681 (do_test): Likewise.
1682 * string/test-strncmp.c (do_one_test): Likewise.
1683 (do_test_limit): Likewise.
1684 (do_test): Likewise.
1685 * string/test-strncpy.c (do_one_test): Likewise.
1686 (do_test): Likewise.
1687 * string/test-strnlen.c (do_one_test): Likewise.
1688 (do_test): Likewise.
1689 * string/test-strpbrk.c (do_one_test): Likewise.
1690 (do_test): Likewise.
1691 * string/test-strrchr.c (do_one_test): Likewise.
1692 (do_test): Likewise.
1693 * string/test-strspn.c (do_one_test): Likewise.
1694 (do_test): Likewise.
1695 * string/test-strstr.c (do_one_test): Likewise.
1696 (do_test): Likewise.
1698 * benchtests/Makefile (string-bench): Add string benchmarks.
1699 * benchtests/bench-bcopy-ifunc.c: New file.
1700 * benchtests/bench-bcopy.c: New file.
1701 * benchtests/bench-bzero-ifunc.c: New file.
1702 * benchtests/bench-bzero.c: New file.
1703 * benchtests/bench-memccpy-ifunc.c: New file.
1704 * benchtests/bench-memccpy.c: New file.
1705 * benchtests/bench-memchr-ifunc.c: New file.
1706 * benchtests/bench-memchr.c: New file.
1707 * benchtests/bench-memcmp-ifunc.c: New file.
1708 * benchtests/bench-memcmp.c: New file.
1709 * benchtests/bench-memmem-ifunc.c: New file.
1710 * benchtests/bench-memmem.c: New file.
1711 * benchtests/bench-memmove-ifunc.c: New file.
1712 * benchtests/bench-memmove.c: New file.
1713 * benchtests/bench-mempcpy-ifunc.c: New file.
1714 * benchtests/bench-mempcpy.c: New file.
1715 * benchtests/bench-memset-ifunc.c: New file.
1716 * benchtests/bench-memset.c: New file.
1717 * benchtests/bench-rawmemchr-ifunc.c: New file.
1718 * benchtests/bench-rawmemchr.c: New file.
1719 * benchtests/bench-stpcpy-ifunc.c: New file.
1720 * benchtests/bench-stpcpy.c: New file.
1721 * benchtests/bench-stpncpy-ifunc.c: New file.
1722 * benchtests/bench-stpncpy.c: New file.
1723 * benchtests/bench-strcasecmp-ifunc.c: New file.
1724 * benchtests/bench-strcasecmp.c: New file.
1725 * benchtests/bench-strcasestr-ifunc.c: New file.
1726 * benchtests/bench-strcasestr.c: New file.
1727 * benchtests/bench-strcat-ifunc.c: New file.
1728 * benchtests/bench-strcat.c: New file.
1729 * benchtests/bench-strchr-ifunc.c: New file.
1730 * benchtests/bench-strchr.c: New file.
1731 * benchtests/bench-strchrnul-ifunc.c: New file.
1732 * benchtests/bench-strchrnul.c: New file.
1733 * benchtests/bench-strcmp-ifunc.c: New file.
1734 * benchtests/bench-strcmp.c: New file.
1735 * benchtests/bench-strcpy-ifunc.c: New file.
1736 * benchtests/bench-strcpy.c: New file.
1737 * benchtests/bench-strcspn-ifunc.c: New file.
1738 * benchtests/bench-strcspn.c: New file.
1739 * benchtests/bench-strlen-ifunc.c: New file.
1740 * benchtests/bench-strlen.c: New file.
1741 * benchtests/bench-strncasecmp-ifunc.c: New file.
1742 * benchtests/bench-strncasecmp.c: New file.
1743 * benchtests/bench-strncat-ifunc.c: New file.
1744 * benchtests/bench-strncat.c: New file.
1745 * benchtests/bench-strncmp-ifunc.c: New file.
1746 * benchtests/bench-strncmp.c: New file.
1747 * benchtests/bench-strncpy-ifunc.c: New file.
1748 * benchtests/bench-strncpy.c: New file.
1749 * benchtests/bench-strnlen-ifunc.c: New file.
1750 * benchtests/bench-strnlen.c: New file.
1751 * benchtests/bench-strpbrk-ifunc.c: New file.
1752 * benchtests/bench-strpbrk.c: New file.
1753 * benchtests/bench-strrchr-ifunc.c: New file.
1754 * benchtests/bench-strrchr.c: New file.
1755 * benchtests/bench-strspn-ifunc.c: New file.
1756 * benchtests/bench-strspn.c: New file.
1757 * benchtests/bench-strstr-ifunc.c: New file.
1758 * benchtests/bench-strstr.c: New file.
1760 * benchtests/Makefile: Disable parallel execution of targets.
1761 (string-bench): Add memcpy.
1762 (benchset): New variable to store a list of benchmark sets.
1763 (bench-func): Renamed from bench.
1764 (bench-set): New target.
1765 (bench): Depend on bench-func and bench-set.
1766 * benchtests/README: Add section on benchmark sets.
1767 * benchtests/bench-memcpy-ifunc.c: New file.
1768 * benchtests/bench-memcpy.c: New file.
1769 * benchtests/bench-string.h: New file.
1771 2013-06-11 Andreas Schwab <schwab@suse.de>
1774 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1775 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1776 values in the triple.
1777 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1778 terminator in the group key.
1780 2013-06-11 Andreas Jaeger <aj@suse.de>
1782 * po/zh_TW.po: Update Chinese (traditional) translation from
1783 translation project.
1785 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1787 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1788 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1789 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1790 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1791 (clock_getcpuclockid): Likewise.
1792 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1793 Add weak_alias and libc_hidden_def.
1794 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1795 * rt/clock_gettime.c (clock_gettime): Rename to
1796 __clock_gettime. Add weak_alias and libc_hidden_def.
1797 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1798 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1799 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1800 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1801 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1803 * rt/clock_settime.c (clock_settime): Rename to
1804 __clock_settime. Add weak_alias and libc_hidden_def.
1805 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1807 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1809 * mach/err_boot.sub: Remove trailing whitespace.
1810 * mach/err_ipc.sub: Likewise.
1811 * mach/err_mach.sub: Likewise.
1813 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1814 (ROUNDING_TESTS_double): Likewise.
1815 (ROUNDING_TESTS_long_double): Likewise.
1816 (ROUNDING_TESTS): Likewise.
1817 * math/libm-test.inc: Include <math-tests.h>.
1818 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1819 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1820 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1821 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1823 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1825 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1828 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1830 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1831 otherwise empty TRANS lines.
1832 * sysdeps/gnu/errlist.c: Regenerated.
1834 * catgets/gencat.c (error_print): Use (void) in function
1836 * crypt/crypt_util.c (__init_des): Likewise.
1837 * crypt/speeds.c (Stop): Likewise.
1839 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1840 * inet/ruserpass.c (token): Likewise.
1841 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1842 * intl/localealias.c (extend_alias_table): Likewise.
1843 * intl/plural-exp.c (init_germanic_plural): Likewise.
1844 * libio/fcloseall.c (__fcloseall): Likewise.
1845 * libio/genops.c (_IO_flush_all): Likewise.
1846 (_IO_flush_all_linebuffered): Likewise.
1847 (_IO_cleanup): Likewise.
1848 (_IO_iter_begin): Likewise.
1849 (_IO_iter_end): Likewise.
1850 (_IO_list_lock): Likewise.
1851 (_IO_list_unlock): Likewise.
1852 (_IO_list_resetlock): Likewise.
1853 * libio/getchar.c (getchar): Likewise.
1854 * libio/getchar_u.c (getchar_unlocked): Likewise.
1855 * libio/getwchar.c (getwchar): Likewise.
1856 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1857 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1858 * login/getpt.c (__getpt): Likewise.
1859 * login/tst-utmp.c (main): Likewise.
1860 * malloc/hooks.c (__malloc_check_init): Likewise.
1861 * malloc/malloc.c (__malloc_stats): Likewise.
1862 * malloc/mtrace.c (tr_break): Likewise.
1864 (muntrace): Likewise.
1865 * misc/fstab.c (endfsent): Likewise.
1866 * misc/getclktck.c (__getclktck): Likewise.
1867 * misc/getdtsz.c (__getdtablesize): Likewise.
1868 * misc/gethostid.c (gethostid): Likewise.
1869 * misc/getpagesize.c (__getpagesize): Likewise.
1870 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1871 (__get_nprocs): Likewise.
1872 (__get_phys_pages): Likewise.
1873 (__get_avphys_pages): Likewise.
1874 * misc/getttyent.c (getttyent): Likewise.
1875 (setttyent): Likewise.
1876 (endttyent): Likewise.
1877 * misc/getusershell.c (getusershell): Likewise.
1878 (endusershell): Likewise.
1879 (setusershell): Likewise.
1880 (initshells): Likewise.
1881 * misc/hsearch.c (__hdestroy): Likewise.
1882 * misc/sync.c (sync): Likewise.
1883 * misc/syslog.c (closelog_internal): Likewise.
1884 (closelog): Likewise.
1885 * misc/ttyslot.c (ttyslot): Likewise.
1886 * misc/vhangup.c (vhangup): Likewise.
1887 * posix/fork.c (__fork): Likewise.
1888 * posix/getegid.c (__getegid): Likewise.
1889 * posix/geteuid.c (__geteuid): Likewise.
1890 * posix/getgid.c (__getgid): Likewise.
1891 * posix/getpid.c (__getpid): Likewise.
1892 * posix/getppid.c (__getppid): Likewise.
1893 * posix/getuid.c (__getuid): Likewise.
1894 * posix/pause.c (pause): Likewise.
1895 * posix/setpgrp.c (setpgrp): Likewise.
1896 * posix/setsid.c (__setsid): Likewise.
1897 * posix/test-vfork.c (noop): Likewise.
1898 * resolv/gethnamaddr.c (_endhtent): Likewise.
1899 (_gethtent): Likewise.
1900 (ht_endhostent): Likewise.
1901 (gethostent): Likewise.
1902 (dns_service): Likewise.
1903 * stdlib/drand48.c (drand48): Likewise.
1904 * stdlib/lrand48.c (lrand48): Likewise.
1905 * stdlib/mrand48.c (mrand48): Likewise.
1906 * stdlib/rand.c (rand): Likewise.
1907 * stdlib/random.c (__random): Likewise.
1908 * stdlib/setenv.c (clearenv): Likewise.
1909 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1910 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1911 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1912 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1913 (__get_nprocs): Likewise.
1914 (__get_phys_pages): Likewise.
1915 (__get_avphys_pages): Likewise.
1916 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1917 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1918 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1919 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1920 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1921 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1922 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1923 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1924 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1925 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1926 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1927 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1928 * sysdeps/posix/clock.c (clock): Likewise.
1929 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1930 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1931 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1932 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1933 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1935 (__get_nprocs_conf): Likewise.
1936 (__get_phys_pages): Likewise.
1937 (__get_avphys_pages): Likewise.
1938 * time/clock.c (clock): Likewise.
1939 * time/tzset.c (__tzname_max): Likewise.
1941 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1943 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1944 (__bswap_32): Do not use "register".
1945 * crypt/crypt.c (_ufc_doit_r): Likewise.
1946 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1947 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1948 * gmon/gmon.c (__monstartup): Likewise.
1949 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1950 * hurd/hurdmalloc.c (more_memory): Likewise.
1953 (realloc): Likewise.
1954 (malloc_fork_prepare): Likewise.
1955 (malloc_fork_parent): Likewise.
1956 (malloc_fork_child): Likewise.
1957 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1958 (_svcauth_des): Likewise.
1959 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1960 * inet/inet_net.c (inet_network): Likewise.
1961 * inet/inet_netof.c (inet_netof): Likewise.
1962 * inet/rcmd.c (__validuser2_sa): Likewise.
1963 * io/fts.c (fts_open): Likewise.
1964 (fts_load): Likewise.
1965 (fts_close): Likewise.
1966 (fts_read): Likewise.
1967 (fts_children): Likewise.
1968 (fts_build): Likewise.
1969 (fts_stat): Likewise.
1970 (fts_sort): Likewise.
1971 (fts_alloc): Likewise.
1972 (fts_lfree): Likewise.
1973 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1974 (_IO_file_xsgetn): Likewise.
1975 (_IO_file_xsgetn_mmap): Likewise.
1976 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1977 (_IO_cookie_write): Likewise.
1978 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1979 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1980 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1981 * malloc/obstack.c (_obstack_begin): Likewise.
1982 (_obstack_begin_1): Likewise.
1983 (_obstack_newchunk): Likewise.
1984 (_obstack_allocated_p): Likewise.
1985 (obstack_free): Likewise.
1986 (_obstack_memory_used): Likewise.
1987 * misc/getttyent.c (getttynam): Likewise.
1988 (getttyent): Likewise.
1991 * misc/getusershell.c (initshells): Likewise.
1992 * misc/syslog.c (__vsyslog_chk): Likewise.
1993 * misc/ttyslot.c (ttyslot): Likewise.
1994 * nis/nis_hash.c (__nis_hash): Likewise.
1995 * posix/fnmatch_loop.c (FCT): Likewise.
1996 * posix/getconf.c (print_all): Likewise.
1998 * posix/getopt.c (exchange): Likewise.
1999 * posix/glob.c (globfree): Likewise.
2000 (prefix_array): Likewise.
2001 (__glob_pattern_type): Likewise.
2002 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2003 (NS_GET32): Likewise.
2004 (NS_PUT16): Likewise.
2005 (NS_PUT32): Likewise.
2006 * resolv/gethnamaddr.c (getanswer): Likewise.
2007 (gethostbyname2): Likewise.
2008 (gethostbyaddr): Likewise.
2009 (_gethtent): Likewise.
2010 (_gethtbyname2): Likewise.
2011 (_gethtbyaddr): Likewise.
2012 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2013 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2014 * resolv/res_init.c (__res_vinit): Likewise.
2015 (net_mask): Likewise.
2016 * resolv/res_mkquery.c (outchar): Likewise.
2018 * stdio-common/printf_fp.c (outchar): Likewise.
2020 * stdio-common/printf_fphex.c (outchar): Likewise.
2022 * stdio-common/printf_size.c (outchar): Likewise.
2024 * stdio-common/test_rdwr.c (main): Likewise.
2025 * stdio-common/tfformat.c (matches): Likewise.
2026 * stdio-common/vfprintf.c (outchar): Likewise.
2027 (printf_unknown): Likewise.
2028 (buffered_vfprintf): Likewise.
2029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2030 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2031 (ReadFile): Likewise.
2032 * stdlib/qsort.c (SWAP): Likewise.
2033 (_quicksort): Likewise.
2034 * stdlib/setenv.c (__add_to_environ): Likewise.
2035 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2036 * stdlib/strtol_l.c (__strtol_l): Likewise.
2037 * stdlib/tst-strtod.c (main): Likewise.
2038 * stdlib/tst-strtol.c (main): Likewise.
2039 * stdlib/tst-strtoll.c (main): Likewise.
2040 * string/bits/string2.h (__strcmp_cc): Likewise.
2041 (__strcmp_cg): Likewise.
2042 (__strcspn_c1): Likewise.
2043 (__strcspn_c2): Likewise.
2044 (__strcspn_c3): Likewise.
2045 (__strspn_c1): Likewise.
2046 (__strspn_c2): Likewise.
2047 (__strspn_c3): Likewise.
2048 (__strsep_1c): Likewise.
2049 (__strsep_2c): Likewise.
2050 (__strsep_3c): Likewise.
2051 * string/memccpy.c (__memccpy): Likewise.
2052 * string/stpcpy.c (__stpcpy): Likewise.
2053 * string/strcmp.c (strcmp): Likewise.
2054 * string/strrchr.c (strrchr): Likewise.
2055 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2057 * sysdeps/mach/hurd/getcwd.c
2058 (_hurd_canonicalize_directory_name_internal): Likewise.
2059 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2060 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2061 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2062 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2063 Likewise, in both definitions.
2064 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2066 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2067 64] (__bswap_64): Likewise.
2068 * time/test_time.c (main): Likewise.
2069 * time/tzfile.c (__tzfile_read): Likewise.
2070 (__tzfile_compute): Likewise.
2071 * time/tzset.c (__tzset_parse_tz): Likewise.
2072 (tzset_internal): Likewise.
2073 (compute_change): Likewise.
2074 * wcsmbs/wcscat.c (__wcscat): Likewise.
2075 * wcsmbs/wcschr.c (wcschr): Likewise.
2076 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2077 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2078 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2079 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2080 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2081 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2082 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2083 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2084 * wcsmbs/wmemset.c (wmemset): Likewise.
2086 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2088 * scripts/config.guess: Update to version 2013-05-16.
2089 * scripts/config.sub: Update to version 2013-04-24.
2090 * scripts/install-sh: Update to version 2011-11-20.07.
2091 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2092 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2094 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2096 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2097 * elf/sln.c: Likewise.
2098 * hurd/hurd/ioctl.h: Likewise.
2099 * hurd/hurdmalloc.c: Likewise.
2100 * hurd/xattr.c: Likewise.
2101 * include/shlib-compat.h: Likewise.
2102 * inet/ruserpass.c: Likewise.
2103 * libio/iofgets_u.c: Likewise.
2104 * libio/iofgetws_u.c: Likewise.
2105 * locale/programs/ld-identification.c: Likewise.
2106 * locale/programs/ld-time.c: Likewise.
2107 * mach/msg-destroy.c: Likewise.
2108 * nss/nss_files/files-netgrp.c: Likewise.
2109 * resolv/res_data.c: Likewise.
2110 * soft-fp/op-1.h: Likewise.
2111 * soft-fp/op-2.h: Likewise.
2112 * soft-fp/op-4.h: Likewise.
2113 * soft-fp/op-common.h: Likewise.
2114 * stdio-common/printf_fphex.c: Likewise.
2115 * stdlib/strtod_l.c: Likewise.
2116 * sunrpc/rpc/clnt.h: Likewise.
2117 * sysdeps/generic/framestate.c: Likewise.
2118 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2119 * sysdeps/i386/bsd-setjmp.S: Likewise.
2120 * sysdeps/i386/__longjmp.S: Likewise.
2121 * sysdeps/i386/setjmp.S: Likewise.
2122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2123 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2124 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2140 * sysdeps/ieee754/support.c: Likewise.
2141 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2142 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2143 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2144 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2145 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2146 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2147 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2148 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2149 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2150 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2151 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2152 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2153 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2154 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2155 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2156 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2157 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2160 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2162 * posix/transbug.c: Remove executable mode.
2164 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2166 * crypt/speeds.c: Remove trailing whitespace.
2167 * dlfcn/default.c: Likewise.
2168 * elf/ifuncdep2.c: Likewise.
2169 * elf/ifuncmain1.c: Likewise.
2170 * elf/ifuncmain1vis.c: Likewise.
2171 * elf/testobj.h: Likewise.
2172 * elf/tst-stackguard1.c: Likewise.
2173 * gmon/sys/gmon.h: Likewise.
2174 * hurd/hurdmsg.c: Likewise.
2175 * hurd/new-fd.c: Likewise.
2176 * hurd/ports-get.c: Likewise.
2177 * iconvdata/ibm1008_420.c: Likewise.
2178 * inet/tst-getni1.c: Likewise.
2179 * inet/tst-getni2.c: Likewise.
2180 * libio/ioungetc.c: Likewise.
2181 * libio/wfiledoalloc.c: Likewise.
2182 * manual/libm-err-tab.pl: Likewise.
2183 * math/w_dremf.c: Likewise.
2184 * misc/ftruncate.c: Likewise.
2185 * posix/bug-glob2.c: Likewise.
2186 * posix/tst-pcre.c: Likewise.
2187 * posix/wait4.c: Likewise.
2188 * resolv/README: Likewise.
2189 * resolv/res_debug.h: Likewise.
2190 * resolv/tst-inet_ntop.c: Likewise.
2191 * setjmp/bug269-setjmp.c: Likewise.
2192 * soft-fp/extended.h: Likewise.
2193 * soft-fp/op-1.h: Likewise.
2194 * soft-fp/op-2.h: Likewise.
2195 * soft-fp/op-4.h: Likewise.
2196 * soft-fp/op-8.h: Likewise.
2197 * soft-fp/testit.c: Likewise.
2198 * stdio-common/bug16.c: Likewise.
2199 * stdlib/random.c: Likewise.
2200 * sunrpc/rpcsvc/rquota.x: Likewise.
2201 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2206 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2207 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2208 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2209 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2211 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2228 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2230 * sysdeps/ieee754/s_lib_version.c: Likewise.
2231 * sysdeps/mach/hurd/check_fds.c: Likewise.
2232 * sysdeps/mach/hurd/getsockname.c: Likewise.
2233 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2234 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2235 * sysdeps/powerpc/bits/link.h: Likewise.
2236 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2237 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2238 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2239 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2240 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2241 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2242 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2243 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2244 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2245 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2248 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2249 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2250 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2251 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2256 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2257 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2258 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2259 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2260 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2261 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2262 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2263 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2264 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2266 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2267 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2268 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2269 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2270 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2271 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2272 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2273 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2274 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2275 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2276 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2277 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2278 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2279 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2280 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2281 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2282 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2283 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2284 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2285 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2286 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2288 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2289 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2290 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2292 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2293 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2294 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2296 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2297 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2298 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2300 * sysdeps/powerpc/sysdep.h: Likewise.
2301 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2302 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2303 * sysdeps/sh/dl-trampoline.S: Likewise.
2304 * sysdeps/sh/memset.S: Likewise.
2305 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2306 * sysdeps/sh/strlen.S: Likewise.
2307 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2308 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2309 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2310 * sysdeps/sparc/sparc32/rem.S: Likewise.
2311 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2312 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2313 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2314 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2315 * sysdeps/sparc/sparc32/urem.S: Likewise.
2316 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2317 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2318 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2319 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2320 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2321 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2322 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2323 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2324 * sysdeps/unix/bsd/times.c: Likewise.
2325 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2326 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2330 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2332 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2333 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2334 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2335 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2336 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2337 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2338 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2339 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2340 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2341 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2342 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2343 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2344 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2345 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2346 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2348 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2349 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2350 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2353 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2354 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2355 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2356 * sysdeps/x86_64/strcspn.S: Likewise.
2358 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2360 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2361 generated file. Regenerate properly from gen-translit.pl.
2362 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2363 locale/C-translit.h.
2365 2013-06-05 Andreas Schwab <schwab@suse.de>
2368 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2369 week as 6 instead of -1.
2370 * time/tst-strptime.c (day_tests): Add test case.
2372 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2374 * sysdeps/generic/math_private.h
2375 (libc_feholdexcept_setround_53bit): Replace with
2376 libc_feholdsetround_53bit.
2377 (libc_feupdateenv_53bit): Replace with
2378 libc_feresetround_53bit.
2379 (SET_RESTORE_ROUND_53BIT): Adjust.
2381 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2383 * string/test-strchrnul.c: Add copyright header.
2385 * posix/tst-getaddrinfo4.c: Increase test timeout.
2387 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2390 * math/libm-test.inc (MAX_EXP): Remove
2392 (ulp): Use MIN_EXP - MANT_DIG.
2393 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2395 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2397 * po/be.po: Revert last change.
2398 * po/zh_CN.po: Likewise.
2399 * po/header.pot: Likewise.
2401 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2403 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2404 link-libc-deps to empty as target-specific variable.
2405 * Makerules (link-libc-args): New variable.
2406 (libc-for-link): Likewise.
2407 (link-libc-deps): Likewise.
2408 (lib%.so): Depend on $(link-libc-deps). Link with
2410 (build-module): Link with $(link-libc-args).
2411 (build-module-asneeded): Likewise.
2412 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2414 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2415 target-specific variable.
2416 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2417 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2418 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2420 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2422 ($(objpfx)libpcprofile.so): Likewise.
2423 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2425 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2426 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2429 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2430 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2431 * login/Makefile ($(objpfx)libutil.so): Likewise.
2432 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2433 * math/Makefile ($(objpfx)libm.so): Likewise.
2434 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2435 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2436 variable instead of depending directly on libc.
2437 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2438 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2440 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2442 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2443 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2444 ($(objpfx)libanl.so): Likewise.
2445 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2447 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2449 * sysdeps/i386/fpu/Makefile: Remove file.
2450 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2451 ($(objpfx)libm.so): Remove dependency on ld.so.
2453 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2456 * nis/yp_xdr.c (XDRMAXNAME): Define.
2457 (XDRMAXRECORD): Define.
2458 (xdr_domainname): Use XDRMAXNAME.
2459 (xdr_mapname): Likewise.
2460 (xdr_peername): Likewise.
2461 (xdr_keydat): Use XDRMAXRECORD.
2462 (xdr_valdat): Likewise.
2464 2013-05-30 Jeff Law <law@redhat.com>
2467 * manual/errno.texi (ESTALE): Update to account for more than
2468 just NFS file systems.
2469 * sysdeps/gnu/errlist.c: Regenerated.
2471 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2474 * elf/Makefile (tests): Add tst-null-argv.
2475 (modules-names): Add tst-null-argv-lib.
2476 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2477 (tst-null-argv-ENV): Set environment for tst-null-argv.
2478 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2479 (RTLD_PROGNAME): New macro.
2480 * elf/tst-null-argv.c: New test case.
2481 * elf/tst-null-argv-lib.c: Library for test case.
2482 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2483 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2484 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2485 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2486 * elf/dl-init.c (call_init): Likewise.
2487 (_dl_init): Likewise.
2488 * elf/dl-load.c (print_search_path): Likewise.
2489 (_dl_map_object): Likewise.
2490 * elf/dl-lookup.c (do_lookup_x): Likewise.
2491 (add_dependency): Likewise.
2492 (_dl_lookup_symbol_x): Likewise.
2493 (_dl_debug_bindings): Likewise.
2494 * elf/dl-open.c (_dl_show_scope): Likewise.
2495 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2496 * elf/dl-version.c (match_symbol): Likewise.
2497 (_dl_check_map_versions): Likewise.
2498 * elf/rtld.c (dl_main): Likewise.
2499 (print_unresolved): Use RTLD_PROGNAME.
2500 (print_missing_version): Likewise.
2501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2502 (elf_machine_rela): Likewise.
2503 * sysdeps/powerpc/powerpc32/dl-machine.c
2504 (__process_machine_rela): Likewise.
2505 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2509 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2511 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2518 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2520 * po/be.po: Add descriptive title.
2521 * po/zh_CN.po: Likewise.
2522 * po/header.pot: Likewise.
2524 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2526 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2528 (enlarge_archive): Likewise.
2530 2013-05-28 Ben North <ben@redfrontdoor.org>
2532 * manual/arith.texi (frexp): It is the magnitude of the return
2533 value which lies in [0.5, 1), not the return value itself.
2535 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2539 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2541 * stdio-common/bug26.c (main): Correct fscanf template.
2543 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2544 declare _dl_skip_args.
2546 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2549 * manual/platform.texi: Add missing @end deftypefun.
2551 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2554 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2555 bit of mantissa of 2^16382.
2556 * math/libm-test.inc (hypot_test_data): Add more tests.
2558 * math/libm-test.inc: Add drem and pow10 to list of tested
2560 (pow10_test): New function.
2561 (drem_test): Likewise.
2562 (drem_test_tonearest): Likewise.
2563 (drem_test_towardzero): Likewise.
2564 (drem_test_downward): Likewise.
2565 (drem_test_upward): Likewise.
2566 (main): Call the new functions.
2568 * math/libm-test.inc (finite_test_data): Remove.
2569 (finite_test): Run tests from isfinite_test_data.
2570 (gamma_test_data): Remove.
2571 (gamma_test): Run tests from lgamma_test_data.
2572 * sysdeps/i386/fpu/libm-test-ulps: Update.
2573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2577 * manual/platform.texi: Add PowerPC PPR function set documentation.
2578 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2581 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2583 * math/libm-test.inc (MAX_EXP): Define.
2585 (ulp): New function.
2586 (check_float_internal): Use ULPDIFF.
2587 (cpow_test): Disable failing test.
2588 (check_ulp): Test ulp() implemetnation.
2589 (main): Call check_ulp before starting tests.
2591 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2593 * math/gen-libm-test.pl (generate_testfile): Do not handle
2594 START_DATA and END_DATA.
2595 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2597 (acos_tonearest_test_data): Likewise.
2598 (acos_towardzero_test_data): Likewise.
2599 (acos_downward_test_data): Likewise.
2600 (acos_upward_test_data): Likewise.
2601 (acosh_test_data): Likewise.
2602 (asin_test_data): Likewise.
2603 (asin_tonearest_test_data): Likewise.
2604 (asin_towardzero_test_data): Likewise.
2605 (asin_downward_test_data): Likewise.
2606 (asin_upward_test_data): Likewise.
2607 (asinh_test_data): Likewise.
2608 (atan_test_data): Likewise.
2609 (atanh_test_data): Likewise.
2610 (atan2_test_data): Likewise.
2611 (cabs_test_data): Likewise.
2612 (cacos_test_data): Likewise.
2613 (cacosh_test_data): Likewise.
2614 (carg_test_data): Likewise.
2615 (casin_test_data): Likewise.
2616 (casinh_test_data): Likewise.
2617 (catan_test_data): Likewise.
2618 (catanh_test_data): Likewise.
2619 (cbrt_test_data): Likewise.
2620 (ccos_test_data): Likewise.
2621 (ccosh_test_data): Likewise.
2622 (ceil_test_data): Likewise.
2623 (cexp_test_data): Likewise.
2624 (cimag_test_data): Likewise.
2625 (clog_test_data): Likewise.
2626 (clog10_test_data): Likewise.
2627 (conj_test_data): Likewise.
2628 (copysign_test_data): Likewise.
2629 (cos_test_data): Likewise.
2630 (cos_tonearest_test_data): Likewise.
2631 (cos_towardzero_test_data): Likewise.
2632 (cos_downward_test_data): Likewise.
2633 (cos_upward_test_data): Likewise.
2634 (cosh_test_data): Likewise.
2635 (cosh_tonearest_test_data): Likewise.
2636 (cosh_towardzero_test_data): Likewise.
2637 (cosh_downward_test_data): Likewise.
2638 (cosh_upward_test_data): Likewise.
2639 (cpow_test_data): Likewise.
2640 (cproj_test_data): Likewise.
2641 (creal_test_data): Likewise.
2642 (csin_test_data): Likewise.
2643 (csinh_test_data): Likewise.
2644 (csqrt_test_data): Likewise.
2645 (ctan_test_data): Likewise.
2646 (ctan_tonearest_test_data): Likewise.
2647 (ctan_towardzero_test_data): Likewise.
2648 (ctan_downward_test_data): Likewise.
2649 (ctan_upward_test_data): Likewise.
2650 (ctanh_test_data): Likewise.
2651 (ctanh_tonearest_test_data): Likewise.
2652 (ctanh_towardzero_test_data): Likewise.
2653 (ctanh_downward_test_data): Likewise.
2654 (ctanh_upward_test_data): Likewise.
2655 (erf_test_data): Likewise.
2656 (erfc_test_data): Likewise.
2657 (exp_test_data): Likewise.
2658 (exp_tonearest_test_data): Likewise.
2659 (exp_towardzero_test_data): Likewise.
2660 (exp_downward_test_data): Likewise.
2661 (exp_upward_test_data): Likewise.
2662 (exp10_test_data): Likewise.
2663 (exp2_test_data): Likewise.
2664 (expm1_test_data): Likewise.
2665 (fabs_test_data): Likewise.
2666 (fdim_test_data): Likewise.
2667 (finite_test_data): Likewise.
2668 (floor_test_data): Likewise.
2669 (fma_test_data): Likewise.
2670 (fma_towardzero_test_data): Likewise.
2671 (fma_downward_test_data): Likewise.
2672 (fma_upward_test_data): Likewise.
2673 (fmax_test_data): Likewise.
2674 (fmin_test_data): Likewise.
2675 (fmod_test_data): Likewise.
2676 (fpclassify_test_data): Likewise.
2677 (frexp_test_data): Likewise.
2678 (gamma_test_data): Likewise.
2679 (hypot_test_data): Likewise.
2680 (ilogb_test_data): Likewise.
2681 (isfinite_test_data): Likewise.
2682 (isgreater_test_data): Likewise.
2683 (isgreaterequal_test_data): Likewise.
2684 (isinf_test_data): Likewise.
2685 (isless_test_data): Likewise.
2686 (islessequal_test_data): Likewise.
2687 (islessgreater_test_data): Likewise.
2688 (isnan_test_data): Likewise.
2689 (isnormal_test_data): Likewise.
2690 (issignaling_test_data): Likewise.
2691 (isunordered_test_data): Likewise.
2692 (j0_test_data): Likewise.
2693 (j1_test_data): Likewise.
2694 (jn_test_data): Likewise.
2695 (ldexp_test_data): Likewise.
2696 (lgamma_test_data): Likewise.
2697 (lrint_test_data): Likewise.
2698 (lrint_tonearest_test_data): Likewise.
2699 (lrint_towardzero_test_data): Likewise.
2700 (lrint_downward_test_data): Likewise.
2701 (lrint_upward_test_data): Likewise.
2702 (llrint_test_data): Likewise.
2703 (llrint_tonearest_test_data): Likewise.
2704 (llrint_towardzero_test_data): Likewise.
2705 (llrint_downward_test_data): Likewise.
2706 (llrint_upward_test_data): Likewise.
2707 (log_test_data): Likewise.
2708 (log10_test_data): Likewise.
2709 (log1p_test_data): Likewise.
2710 (log2_test_data): Likewise.
2711 (logb_test_data): Likewise.
2712 (logb_downward_test_data): Likewise.
2713 (lround_test_data): Likewise.
2714 (llround_test_data): Likewise.
2715 (modf_test_data): Likewise.
2716 (nearbyint_test_data): Likewise.
2717 (nextafter_test_data): Likewise.
2718 (nexttoward_test_data): Likewise.
2719 (pow_test_data): Likewise.
2720 (pow_tonearest_test_data): Likewise.
2721 (pow_towardzero_test_data): Likewise.
2722 (pow_downward_test_data): Likewise.
2723 (pow_upward_test_data): Likewise.
2724 (remainder_test_data): Likewise.
2725 (remainder_tonearest_test_data): Likewise.
2726 (remainder_towardzero_test_data): Likewise.
2727 (remainder_downward_test_data): Likewise.
2728 (remainder_upward_test_data): Likewise.
2729 (remquo_test_data): Likewise.
2730 (rint_test_data): Likewise.
2731 (rint_tonearest_test_data): Likewise.
2732 (rint_towardzero_test_data): Likewise.
2733 (rint_downward_test_data): Likewise.
2734 (rint_upward_test_data): Likewise.
2735 (round_test_data): Likewise.
2736 (scalb_test_data): Likewise.
2737 (scalbn_test_data): Likewise.
2738 (scalbln_test_data): Likewise.
2739 (signbit_test_data): Likewise.
2740 (sin_test_data): Likewise.
2741 (sin_tonearest_test_data): Likewise.
2742 (sin_towardzero_test_data): Likewise.
2743 (sin_downward_test_data): Likewise.
2744 (sin_upward_test_data): Likewise.
2745 (sincos_test_data): Likewise.
2746 (sinh_test_data): Likewise.
2747 (sinh_tonearest_test_data): Likewise.
2748 (sinh_towardzero_test_data): Likewise.
2749 (sinh_downward_test_data): Likewise.
2750 (sinh_upward_test_data): Likewise.
2751 (sqrt_test_data): Likewise.
2752 (tan_test_data): Likewise.
2753 (tan_tonearest_test_data): Likewise.
2754 (tan_towardzero_test_data): Likewise.
2755 (tan_downward_test_data): Likewise.
2756 (tan_upward_test_data): Likewise.
2757 (tanh_test_data): Likewise.
2758 (tgamma_test_data): Likewise.
2759 (trunc_test_data): Likewise.
2760 (y0_test_data): Likewise.
2761 (y1_test_data): Likewise.
2762 (yn_test_data): Likewise.
2763 (significand_test_data): Likewise.
2765 * math/gen-libm-test.pl (@functions): Remove variable.
2766 (generate_testfile): Don't handle START and END lines.
2767 * math/libm-test.inc (START): New macro.
2769 (END_COMPLEX): Likewise.
2770 (acos_test): Use END macro without arguments.
2771 (acos_test_tonearest): Likewise.
2772 (acos_test_towardzero): Likewise.
2773 (acos_test_downward): Likewise.
2774 (acos_test_upward): Likewise.
2775 (acosh_test): Likewise.
2776 (asin_test): Likewise.
2777 (asin_test_tonearest): Likewise.
2778 (asin_test_towardzero): Likewise.
2779 (asin_test_downward): Likewise.
2780 (asin_test_upward): Likewise.
2781 (asinh_test): Likewise.
2782 (atan_test): Likewise.
2783 (atanh_test): Likewise.
2784 (atan2_test): Likewise.
2785 (cabs_test): Likewise.
2786 (cacos_test): Use END_COMPLEX macro without arguments.
2787 (cacosh_test): Likewise.
2788 (carg_test): Use END macro without arguments.
2789 (casin_test): Use END_COMPLEX macro without arguments.
2790 (casinh_test): Likewise.
2791 (catan_test): Likewise.
2792 (catanh_test): Likewise.
2793 (cbrt_test): Use END macro without arguments.
2794 (ccos_test): Use END_COMPLEX macro without arguments.
2795 (ccosh_test): Likewise.
2796 (ceil_test): Use END macro without arguments.
2797 (cexp_test): Use END_COMPLEX macro without arguments.
2798 (cimag_test): Use END macro without arguments.
2799 (clog_test): Use END_COMPLEX macro without arguments.
2800 (clog10_test): Likewise.
2801 (conj_test): Likewise.
2802 (copysign_test): Use END macro without arguments.
2803 (cos_test): Likewise.
2804 (cos_test_tonearest): Likewise.
2805 (cos_test_towardzero): Likewise.
2806 (cos_test_downward): Likewise.
2807 (cos_test_upward): Likewise.
2808 (cosh_test): Likewise.
2809 (cosh_test_tonearest): Likewise.
2810 (cosh_test_towardzero): Likewise.
2811 (cosh_test_downward): Likewise.
2812 (cosh_test_upward): Likewise.
2813 (cpow_test): Use END_COMPLEX macro without arguments.
2814 (cproj_test): Likewise.
2815 (creal_test): Use END macro without arguments.
2816 (csin_test): Use END_COMPLEX macro without arguments.
2817 (csinh_test): Likewise.
2818 (csqrt_test): Likewise.
2819 (ctan_test): Likewise.
2820 (ctan_test_tonearest): Likewise.
2821 (ctan_test_towardzero): Likewise.
2822 (ctan_test_downward): Likewise.
2823 (ctan_test_upward): Likewise.
2824 (ctanh_test): Likewise.
2825 (ctanh_test_tonearest): Likewise.
2826 (ctanh_test_towardzero): Likewise.
2827 (ctanh_test_downward): Likewise.
2828 (ctanh_test_upward): Likewise.
2829 (erf_test): Use END macro without arguments.
2830 (erfc_test): Likewise.
2831 (exp_test): Likewise.
2832 (exp_test_tonearest): Likewise.
2833 (exp_test_towardzero): Likewise.
2834 (exp_test_downward): Likewise.
2835 (exp_test_upward): Likewise.
2836 (exp10_test): Likewise.
2837 (exp2_test): Likewise.
2838 (expm1_test): Likewise.
2839 (fabs_test): Likewise.
2840 (fdim_test): Likewise.
2841 (finite_test): Likewise.
2842 (floor_test): Likewise.
2843 (fma_test): Likewise.
2844 (fma_test_towardzero): Likewise.
2845 (fma_test_downward): Likewise.
2846 (fma_test_upward): Likewise.
2847 (fmax_test): Likewise.
2848 (fmin_test): Likewise.
2849 (fmod_test): Likewise.
2850 (fpclassify_test): Likewise.
2851 (frexp_test): Likewise.
2852 (gamma_test): Likewise.
2853 (hypot_test): Likewise.
2854 (ilogb_test): Likewise.
2855 (isfinite_test): Likewise.
2856 (isgreater_test): Likewise.
2857 (isgreaterequal_test): Likewise.
2858 (isinf_test): Likewise.
2859 (isless_test): Likewise.
2860 (islessequal_test): Likewise.
2861 (islessgreater_test): Likewise.
2862 (isnan_test): Likewise.
2863 (isnormal_test): Likewise.
2864 (issignaling_test): Likewise.
2865 (isunordered_test): Likewise.
2866 (j0_test): Likewise.
2867 (j1_test): Likewise.
2868 (jn_test): Likewise.
2869 (ldexp_test): Likewise.
2870 (lgamma_test): Likewise.
2871 (lrint_test): Likewise.
2872 (lrint_test_tonearest): Likewise.
2873 (lrint_test_towardzero): Likewise.
2874 (lrint_test_downward): Likewise.
2875 (lrint_test_upward): Likewise.
2876 (llrint_test): Likewise.
2877 (llrint_test_tonearest): Likewise.
2878 (llrint_test_towardzero): Likewise.
2879 (llrint_test_downward): Likewise.
2880 (llrint_test_upward): Likewise.
2881 (log_test): Likewise.
2882 (log10_test): Likewise.
2883 (log1p_test): Likewise.
2884 (log2_test): Likewise.
2885 (logb_test): Likewise.
2886 (logb_test_downward): Likewise.
2887 (lround_test): Likewise.
2888 (llround_test): Likewise.
2889 (modf_test): Likewise.
2890 (nearbyint_test): Likewise.
2891 (nextafter_test): Likewise.
2892 (nexttoward_test): Likewise.
2893 (pow_test): Likewise.
2894 (pow_test_tonearest): Likewise.
2895 (pow_test_towardzero): Likewise.
2896 (pow_test_downward): Likewise.
2897 (pow_test_upward): Likewise.
2898 (remainder_test): Likewise.
2899 (remainder_test_tonearest): Likewise.
2900 (remainder_test_towardzero): Likewise.
2901 (remainder_test_downward): Likewise.
2902 (remainder_test_upward): Likewise.
2903 (remquo_test): Likewise.
2904 (rint_test): Likewise.
2905 (rint_test_tonearest): Likewise.
2906 (rint_test_towardzero): Likewise.
2907 (rint_test_downward): Likewise.
2908 (rint_test_upward): Likewise.
2909 (round_test): Likewise.
2910 (scalb_test): Likewise.
2911 (scalbn_test): Likewise.
2912 (scalbln_test): Likewise.
2913 (signbit_test): Likewise.
2914 (sin_test): Likewise.
2915 (sin_test_tonearest): Likewise.
2916 (sin_test_towardzero): Likewise.
2917 (sin_test_downward): Likewise.
2918 (sin_test_upward): Likewise.
2919 (sincos_test): Likewise.
2920 (sinh_test): Likewise.
2921 (sinh_test_tonearest): Likewise.
2922 (sinh_test_towardzero): Likewise.
2923 (sinh_test_downward): Likewise.
2924 (sinh_test_upward): Likewise.
2925 (sqrt_test): Likewise.
2926 (tan_test): Likewise.
2927 (tan_test_tonearest): Likewise.
2928 (tan_test_towardzero): Likewise.
2929 (tan_test_downward): Likewise.
2930 (tan_test_upward): Likewise.
2931 (tanh_test): Likewise.
2932 (tgamma_test): Likewise.
2933 (trunc_test): Likewise.
2934 (y0_test): Likewise.
2935 (y1_test): Likewise.
2936 (yn_test): Likewise.
2937 (significand_test): Likewise.
2939 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2942 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2944 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2947 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2948 __ppc_mdoio and __ppc_mdoom.
2949 * manual/platform.texi: Document new functions __ppc_yield,
2950 __ppc_mdoio and __ppc_mdoom.
2952 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2954 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2955 (main): Mention "tls" pseudo-hwcap is legacy.
2956 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2958 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2960 * math/gen-libm-test.pl (parse_args): Output only string of
2961 arguments as text for test name, not full call or descriptions of
2962 tests for extra outputs.
2963 (generate_testfile): Do not pass function name to parse_args.
2964 Generate this_func variable from START.
2965 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2967 (struct test_ff_f_data): Likewise.
2968 (test_ff_f_data_nexttoward): Likewise.
2969 (struct test_fi_f_data): Likewise.
2970 (struct test_fl_f_data): Likewise.
2971 (struct test_if_f_data): Likewise.
2972 (struct test_fff_f_data): Likewise.
2973 (struct test_c_f_data): Likewise.
2974 (struct test_f_f1_data): Likewise. Remove field extra_name.
2975 (struct test_fF_f1_data): Likewise.
2976 (struct test_ffI_f1_data): Likewise.
2977 (struct test_c_c_data): Rename test_name field to arg_str.
2978 (struct test_cc_c_data): Likewise.
2979 (struct test_f_i_data): Likewise.
2980 (struct test_ff_i_data): Likewise.
2981 (struct test_f_l_data): Likewise.
2982 (struct test_f_L_data): Likewise.
2983 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2985 (COMMON_TEST_SETUP): New macro.
2986 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2987 (COMMON_TEST_CLEANUP): Likewise.
2988 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2989 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2991 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2992 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2994 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2995 (RUN_TEST_fff_f): Take argument string. Call new setup and
2997 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2998 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3000 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3001 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3003 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3004 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3006 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3007 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3009 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3010 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3012 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3013 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3015 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3016 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3018 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3019 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3021 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3022 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3024 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3025 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3027 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3028 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3030 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3031 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3033 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3034 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3036 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3037 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3039 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3040 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3042 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3044 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3046 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3047 to _sifields.sigfault.
3048 (si_addr_lsb): Define new macro.
3049 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3050 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3051 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3053 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3056 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3058 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3060 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3063 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3065 * math/gen-libm-test.pl (parse_args): Do not include expected
3066 result in test name.
3067 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3070 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3074 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3076 * benchtests/Makefile: Sort function entries.
3078 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3079 tanh, asinh, acosh, atanh.
3080 * benchtests/acos-inputs: New file.
3081 * benchtests/acosh-inputs: New file.
3082 * benchtests/asin-inputs: New file.
3083 * benchtests/asinh-inputs: New file.
3084 * benchtests/atanh-inputs: New file.
3085 * benchtests/cosh-inputs: New file.
3086 * benchtests/log-inputs: New file.
3087 * benchtests/sinh-inputs: New file.
3088 * benchtests/tanh-inputs: New file.
3090 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3093 * posix/tst-getaddrinfo4.c: New test.
3094 * posix/Makefile (tests): Add it.
3096 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3099 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3100 when no services were used.
3101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3102 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3104 2013-05-21 Andreas Schwab <schwab@suse.de>
3107 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3108 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3110 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3111 redundant variable declarations and reallocation of buffer when
3112 parsing as IPv6 address. Always set NSS status when called from
3113 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3114 buffer too small. Correct computation of needed size.
3115 * nss/Makefile (tests): Add test-digits-dots.
3116 * nss/test-digits-dots.c: New test.
3118 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3120 * benchtests/Makefile: Remove instructions for adding
3122 * benchtests/README: New file to explain how to execute and
3123 enhance the benchmark tests.
3125 2013-05-21 Andreas Schwab <schwab@suse.de>
3128 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3129 * setjmp/tst-sigsetjmp.c: New test.
3131 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3133 * sysdeps/x86_64/memset.S (memset): New implementation.
3134 (__bzero): Likewise.
3135 (__memset_tail): New function.
3137 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3139 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3140 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3141 __memcpy_sse2_unaligned ifunc selection.
3142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3143 Add memcpy-sse2-unaligned.S.
3144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3145 Add: __memcpy_sse2_unaligned.
3147 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3150 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3151 math_force_eval before restoring floating-point envrionment.
3152 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3155 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3157 (__nearbyintl): Use math_force_eval before restoring
3158 floating-point environment.
3159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3161 * math/gen-libm-test.pl (special_functions): Remove.
3162 (parse_args): Don't handle TEST_extra. Handle functions with no
3164 * math/libm-test.inc (struct test_sincos_data): Replace with
3165 struct test_fFF_11_data.
3166 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3167 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3168 (sincos_test_data): Change element type to struct
3169 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3170 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3171 RUN_TEST_LOOP_sincos.
3172 * math/README.libm-test: Don't mention special handling of
3173 individual functions.
3174 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3176 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3178 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3181 * math/gen-libm-test.pl (get_variable): Remove function.
3182 (parse_args): Don't show pointer parameters to call in test
3183 names. Use "extra output N" in test names for extra outputs
3184 rather than naming variables.
3186 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3189 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3190 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3191 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3193 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3195 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3198 * math/gen-libm-test.pl (@tests): Remove variable.
3200 (new_test): Remove function.
3201 (show_exceptions): New function.
3202 (special_functions): Use show_exceptions instead of new_test.
3203 (parse_args): Likewise.
3204 (generate_testfile): Pass only function name in generated call to
3205 print_max_error or print_complex_max_error.
3206 (get_ulps): Do not handle complex tests specially.
3207 (output_test): Rename to ...
3208 (get_all_ulps_for_test): ... this. Return a string rather than
3209 printing to a file. Require ulps to be present.
3210 (output_ulps): Generate arrays rather than #defines.
3211 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3212 (struct ulp_data): New type.
3213 (BUILD_COMPLEX_ULP): Remove macro.
3214 (compare_ulp_data): New function.
3215 (find_ulps): Likewise.
3216 (find_test_ulps): Likewise.
3217 (find_function_ulps): Likewise.
3218 (find_complex_function_ulps): Likewise.
3219 (print_max_error): Determine allowed ulps using
3221 (print_complex_max_error): Determine allowed ulps using
3222 find_complex_function_ulps.
3223 (check_float_internal): Determine max ulps using find_test_ulps.
3224 (check_float): Do not take max_ulp parameter. Update call to
3225 check_float_internal.
3226 (check_complex): Likewise.
3227 (check_int): Do not take max_ulp parameter.
3228 (check_long): Likewise.
3229 (check_bool): Likewise.
3230 (check_longlong): Likewise.
3231 (struct test_f_f_data): Remove max_ulp field.
3232 (struct test_ff_f_data): Likewise.
3233 (struct test_ff_f_data_nexttoward): Likewise.
3234 (struct test_fi_f_data): Likewise.
3235 (struct test_fl_f_data): Likewise.
3236 (struct test_if_f_data): Likewise.
3237 (struct test_fff_f_data): Likewise.
3238 (struct test_c_f_data): Likewise.
3239 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3240 (struct test_fF_f1_data): Likewise.
3241 (struct test_ffI_f1_data): Likewise.
3242 (struct test_c_c_data): Remove max_ulp field.
3243 (struct test_cc_c_data): Likewise.
3244 (struct test_f_i_data): Likewise.
3245 (struct test_ff_i_data): Likewise.
3246 (struct test_f_l_data): Likewise.
3247 (struct test_f_L_data): Likewise.
3248 (struct test_sincos_data): Likewise.
3249 (RUN_TEST_f_f): Do not handle ulps.
3250 (RUN_TEST_LOOP_f_f): Likewise.
3251 (RUN_TEST_2_f): Likewise.
3252 (RUN_TEST_LOOP_2_f): Likewise.
3253 (RUN_TEST_fff_f): Likewise.
3254 (RUN_TEST_LOOP_fff_f): Likewise.
3255 (RUN_TEST_c_f): Likewise.
3256 (RUN_TEST_LOOP_c_f): Likewise.
3257 (RUN_TEST_f_f1): Likewise.
3258 (RUN_TEST_LOOP_f_f1): Likewise.
3259 (RUN_TEST_fF_f1): Likewise.
3260 (RUN_TEST_LOOP_fF_f1): Likewise.
3261 (RUN_TEST_fI_f1): Likewise.
3262 (RUN_TEST_LOOP_fI_f1): Likewise.
3263 (RUN_TEST_ffI_f1): Likewise.
3264 (RUN_TEST_LOOP_ffI_f1): Likewise.
3265 (RUN_TEST_c_c): Likewise.
3266 (RUN_TEST_LOOP_c_c): Likewise.
3267 (RUN_TEST_cc_c): Likewise.
3268 (RUN_TEST_LOOP_cc_c): Likewise.
3269 (RUN_TEST_f_i): Likewise.
3270 (RUN_TEST_LOOP_f_i): Likewise.
3271 (RUN_TEST_f_i_tg): Likewise.
3272 (RUN_TEST_LOOP_f_i_tg): Likewise.
3273 (RUN_TEST_ff_i_tg): Likewise.
3274 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3275 (RUN_TEST_f_b): Likewise.
3276 (RUN_TEST_LOOP_f_b): Likewise.
3277 (RUN_TEST_f_b_tg): Likewise.
3278 (RUN_TEST_LOOP_f_b_tg): Likewise.
3279 (RUN_TEST_f_l): Likewise.
3280 (RUN_TEST_LOOP_f_l): Likewise.
3281 (RUN_TEST_f_L): Likewise.
3282 (RUN_TEST_LOOP_f_L): Likewise.
3283 (RUN_TEST_sincos): Likewise.
3284 (RUN_TEST_LOOP_sincos): Likewise.
3286 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3290 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3291 main case of finite arguments, set rounding mode to FE_TONEAREST
3292 and discard exceptions.
3293 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3295 (remainder_tonearest_test_data): New variable.
3296 (remainder_test_tonearest): New function.
3297 (remainder_towardzero_test_data): New variable.
3298 (remainder_test_towardzero): New function.
3299 (remainder_downward_test_data): New variable.
3300 (remainder_test_downward): New function.
3301 (remainder_upward_test_data): New variable.
3302 (remainder_test_upward): New function.
3303 (main): Call the new test functions.
3305 * math/libm-test.inc (struct test_f_f1_data): Remove field
3307 (struct test_fF_f1_data): Likewise.
3308 (struct test_ffI_f1_data): Likewise.
3309 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3310 based on value of EXTRA_EXPECTED.
3311 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3312 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3313 EXTRA_VAR based on value of EXTRA_EXPECTED.
3314 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3315 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3316 EXTRA_VAR based on value of EXTRA_EXPECTED.
3317 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3318 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3319 EXTRA_VAR based on value of EXTRA_EXPECTED.
3320 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3321 * math/gen-libm-test.pl (parse_args): Don't output initializers
3322 for extra output values.
3324 * math/libm-test.inc (check_int): Expect result to be exactly
3325 equal to expected value and do not handle ulps.
3326 (check_long): Likewise.
3327 (check_longlong): Likewise.
3329 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3331 (cimag_test_data): Likewise.
3332 (conj_test_data): Likewise.
3333 (copysign_test_data): Likewise.
3334 (cproj_test_data): Likewise.
3335 (creal_test_data): Likewise.
3336 (fabs_test_data): Likewise.
3337 (fdim_test_data): Likewise.
3338 (finite_test_data): Likewise.
3339 (floor_test_data): Likewise.
3340 (fmax_test_data): Likewise.
3341 (fmin_test_data): Likewise.
3342 (fmod_test_data): Likewise.
3343 (fpclassify_test_data): Likewise.
3344 (frexp_test_data): Likewise.
3345 (ilogb_test_data): Likewise.
3346 (isfinite_test_data): Likewise.
3347 (isgreater_test_data): Likewise.
3348 (isgreaterequal_test_data): Likewise.
3349 (isinf_test_data): Likewise.
3350 (isless_test_data): Likewise.
3351 (islessequal_test_data): Likewise.
3352 (islessgreater_test_data): Likewise.
3353 (isnan_test_data): Likewise.
3354 (isnormal_test_data): Likewise.
3355 (issignaling_test_data): Likewise.
3356 (isunordered_test_data): Likewise.
3357 (ldexp_test_data): Likewise.
3358 (lrint_test_data): Likewise.
3359 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3360 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3361 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3362 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3363 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3364 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3366 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3367 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3368 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3369 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3371 (lrint_downward_test_data): Test for "inexact" exceptions.
3372 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3373 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3374 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3376 (lrint_upward_test_data): Test for "inexact" exceptions.
3377 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3379 (llrint_test_data): Test for "inexact" exceptions.
3380 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3381 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3382 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3383 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3384 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3385 (llrint_downward_test_data): Test for "inexact" exceptions.
3386 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3387 (llrint_upward_test_data): Test for "inexact" exceptions.
3388 (logb_test_data): Likewise.
3389 (logb_downward_test_data): Likewise.
3390 (nextafter_test_data): Likewise.
3391 (nexttoward_test_data): Likewise.
3392 (remainder_test_data): Likewise.
3393 (remquo_test_data): Likewise.
3394 (scalbn_test_data): Likewise.
3395 (scalbln_test_data): Likewise.
3396 (signbit_test_data): Likewise.
3397 (sqrt_test_data): Likewise.
3398 (significand_test_data): Likewise.
3400 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3403 * benchtests/bench-modf.c (struct args): Mark arg0 as
3405 * scripts/bench.pl: Mark members of struct args as volatile.
3407 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3410 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3411 negative infinity on POWER6 or lower.
3412 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3414 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3417 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3418 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3419 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3420 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3421 (_FP_SETQNAN): New macro.
3422 (_FP_SETQNAN_SEMIRAW): Likewise.
3423 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3424 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3425 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3426 (FP_EXTEND): Use _FP_FRAC_SNANP.
3427 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3428 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3430 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3435 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3437 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3438 with DIVIDE_BY_ZERO_EXCEPTION.
3439 (gamma_test_data): Likewise.
3440 (lgamma_test_data): Likewise.
3441 (log_test_data): Likewise.
3442 (log10_test_data): Likewise.
3443 (log2_test_data): Likewise.
3444 (tgamma_test_data): Likewise.
3446 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3447 (acos_test_tonearest): Likewise.
3448 (acos_test_towardzero): Likewise.
3449 (acos_test_downward): Likewise.
3450 (acos_test_upward): Likewise.
3451 (acosh_test): Likewise.
3452 (asin_test): Likewise.
3453 (asin_test_tonearest): Likewise.
3454 (asin_test_towardzero): Likewise.
3455 (asin_test_downward): Likewise.
3456 (asin_test_upward): Likewise.
3457 (asinh_test): Likewise.
3458 (atan_test): Likewise.
3459 (atanh_test): Likewise.
3460 (atan2_test): Likewise.
3461 (cabs_test): Likewise.
3462 (cacos_test): Likewise.
3463 (cacosh_test): Likewise.
3464 (casin_test): Likewise.
3465 (casinh_test): Likewise.
3466 (catan_test): Likewise.
3467 (catanh_test): Likewise.
3468 (cbrt_test): Likewise.
3469 (ccos_test): Likewise.
3470 (ccosh_test): Likewise.
3471 (cexp_test): Likewise.
3472 (clog_test): Likewise.
3473 (clog10_test): Likewise.
3474 (cos_test): Likewise.
3475 (cos_test_tonearest): Likewise.
3476 (cos_test_towardzero): Likewise.
3477 (cos_test_downward): Likewise.
3478 (cos_test_upward): Likewise.
3479 (cosh_test): Likewise.
3480 (cosh_test_tonearest): Likewise.
3481 (cosh_test_towardzero): Likewise.
3482 (cosh_test_downward): Likewise.
3483 (cosh_test_upward): Likewise.
3484 (cpow_test): Likewise.
3485 (csin_test): Likewise.
3486 (csinh_test): Likewise.
3487 (csqrt_test): Likewise.
3488 (ctan_test): Likewise.
3489 (ctan_test_tonearest): Likewise.
3490 (ctan_test_towardzero): Likewise.
3491 (ctan_test_downward): Likewise.
3492 (ctan_test_upward): Likewise.
3493 (ctanh_test): Likewise.
3494 (ctanh_test_tonearest): Likewise.
3495 (ctanh_test_towardzero): Likewise.
3496 (ctanh_test_downward): Likewise.
3497 (ctanh_test_upward): Likewise.
3498 (erf_test): Likewise.
3499 (erfc_test): Likewise.
3500 (exp_test): Likewise.
3501 (exp_test_tonearest): Likewise.
3502 (exp_test_towardzero): Likewise.
3503 (exp_test_downward): Likewise.
3504 (exp_test_upward): Likewise.
3505 (exp10_test): Likewise.
3506 (exp2_test): Likewise.
3507 (expm1_test): Likewise.
3508 (fmod_test): Likewise.
3509 (gamma_test): Likewise.
3510 (hypot_test): Likewise.
3511 (j0_test): Likewise.
3512 (j1_test): Likewise.
3513 (jn_test): Likewise.
3514 (lgamma_test): Likewise.
3515 (log_test): Likewise.
3516 (log10_test): Likewise.
3517 (log1p_test): Likewise.
3518 (log2_test): Likewise.
3519 (logb_test_downward): Likewise.
3520 (pow_test): Likewise.
3521 (pow_test_tonearest): Likewise.
3522 (pow_test_towardzero): Likewise.
3523 (pow_test_downward): Likewise.
3524 (pow_test_upward): Likewise.
3525 (remainder_test): Likewise.
3526 (remquo_test): Likewise.
3527 (sin_test): Likewise.
3528 (sin_test_tonearest): Likewise.
3529 (sin_test_towardzero): Likewise.
3530 (sin_test_downward): Likewise.
3531 (sin_test_upward): Likewise.
3532 (sincos_test): Likewise.
3533 (sinh_test): Likewise.
3534 (sinh_test_tonearest): Likewise.
3535 (sinh_test_towardzero): Likewise.
3536 (sinh_test_downward): Likewise.
3537 (sinh_test_upward): Likewise.
3538 (sqrt_test): Likewise.
3539 (tan_test): Likewise.
3540 (tan_test_tonearest): Likewise.
3541 (tan_test_towardzero): Likewise.
3542 (tan_test_downward): Likewise.
3543 (tan_test_upward): Likewise.
3544 (tanh_test): Likewise.
3545 (tgamma_test): Likewise.
3546 (y0_test): Likewise.
3547 (y1_test): Likewise.
3548 (yn_test): Likewise.
3550 * math/gen-libm-test.pl (adjust_arg): Remove function.
3551 (special_function): Remove argument $in_func. Only handle
3552 generating output for tables of tests, not inside functions.
3553 (parse_args): Likewise.
3554 (generate_testfile): Remove variable $in_func. Update call to
3556 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3557 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3558 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3559 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3560 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3561 (MAX_VALUE_INIT): Rename macro to max_value.
3562 (MIN_VALUE_INIT): Rename macro to min_value.
3563 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3564 (plus_zero): Remove variable.
3565 (minus_zero): Likewise.
3566 (plus_infty): Likewise.
3567 (minus_infty): Likewise.
3568 (qnan_value): Likewise.
3569 (max_value): Likewise.
3570 (min_value): Likewise.
3571 (min_subnorm_value): Likewise.
3573 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3575 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3576 uint64_t or uint32_t usage.
3577 * crypt/sha256-block.c: Likewise.
3578 * crypt/sha256-crypt.c: Likewise.
3579 * crypt/sha256.c: Likewise.
3580 * crypt/sha512-block.c: Likewise.
3581 * crypt/sha512-crypt.c: Likewise.
3582 * crypt/sha512.c: Likewise.
3583 * debug/backtrace-tst.c: Likewise.
3584 * debug/pcprofiledump.c: Likewise.
3585 * elf/cache.c: Likewise.
3586 * elf/dl-cache.c: Likewise.
3587 * elf/dl-misc.c: Likewise.
3588 * elf/dl-profile.c: Likewise.
3589 * elf/dl-support.c: Likewise.
3590 * elf/ldconfig.c: Likewise.
3591 * elf/sprof.c: Likewise.
3592 * iconv/dummy-repertoire.c: Likewise.
3593 * iconv/iconv_charmap.c: Likewise.
3594 * iconv/skeleton.c: Likewise.
3595 * iconvdata/8bit-generic.c: Likewise.
3596 * iconvdata/cp737.h: Likewise.
3597 * iconvdata/cp775.h: Likewise.
3598 * iconvdata/ibm1008.h: Likewise.
3599 * iconvdata/ibm1025.h: Likewise.
3600 * iconvdata/ibm1046.h: Likewise.
3601 * iconvdata/ibm1097.h: Likewise.
3602 * iconvdata/ibm1112.h: Likewise.
3603 * iconvdata/ibm1122.h: Likewise.
3604 * iconvdata/ibm1123.h: Likewise.
3605 * iconvdata/ibm1124.h: Likewise.
3606 * iconvdata/ibm1129.h: Likewise.
3607 * iconvdata/ibm1130.h: Likewise.
3608 * iconvdata/ibm1132.h: Likewise.
3609 * iconvdata/ibm1133.h: Likewise.
3610 * iconvdata/ibm1137.h: Likewise.
3611 * iconvdata/ibm1140.h: Likewise.
3612 * iconvdata/ibm1141.h: Likewise.
3613 * iconvdata/ibm1142.h: Likewise.
3614 * iconvdata/ibm1143.h: Likewise.
3615 * iconvdata/ibm1144.h: Likewise.
3616 * iconvdata/ibm1145.h: Likewise.
3617 * iconvdata/ibm1146.h: Likewise.
3618 * iconvdata/ibm1147.h: Likewise.
3619 * iconvdata/ibm1148.h: Likewise.
3620 * iconvdata/ibm1149.h: Likewise.
3621 * iconvdata/ibm1153.h: Likewise.
3622 * iconvdata/ibm1154.h: Likewise.
3623 * iconvdata/ibm1155.h: Likewise.
3624 * iconvdata/ibm1156.h: Likewise.
3625 * iconvdata/ibm1157.h: Likewise.
3626 * iconvdata/ibm1158.h: Likewise.
3627 * iconvdata/ibm1160.h: Likewise.
3628 * iconvdata/ibm1161.h: Likewise.
3629 * iconvdata/ibm1162.h: Likewise.
3630 * iconvdata/ibm1163.h: Likewise.
3631 * iconvdata/ibm1164.h: Likewise.
3632 * iconvdata/ibm1166.h: Likewise.
3633 * iconvdata/ibm1167.h: Likewise.
3634 * iconvdata/ibm12712.h: Likewise.
3635 * iconvdata/ibm1390.h: Likewise.
3636 * iconvdata/ibm1399.h: Likewise.
3637 * iconvdata/ibm16804.h: Likewise.
3638 * iconvdata/ibm4517.h: Likewise.
3639 * iconvdata/ibm4899.h: Likewise.
3640 * iconvdata/ibm4909.h: Likewise.
3641 * iconvdata/ibm4971.h: Likewise.
3642 * iconvdata/ibm5347.h: Likewise.
3643 * iconvdata/ibm803.h: Likewise.
3644 * iconvdata/ibm856.h: Likewise.
3645 * iconvdata/ibm901.h: Likewise.
3646 * iconvdata/ibm902.h: Likewise.
3647 * iconvdata/ibm9030.h: Likewise.
3648 * iconvdata/ibm9066.h: Likewise.
3649 * iconvdata/ibm921.h: Likewise.
3650 * iconvdata/ibm922.h: Likewise.
3651 * iconvdata/ibm9448.h: Likewise.
3652 * iconvdata/isiri-3342.h: Likewise.
3653 * iconvdata/jis0201.h: Likewise.
3654 * include/link.h: Likewise.
3655 * include/netdb.h: Likewise.
3656 * inet/check_native.c: Likewise.
3657 * inet/check_pf.c: Likewise.
3658 * inet/getipv4sourcefilter.c: Likewise.
3659 * inet/getnameinfo.c: Likewise.
3660 * inet/getsourcefilter.c: Likewise.
3661 * inet/htonl.c: Likewise.
3662 * inet/setipv4sourcefilter.c: Likewise.
3663 * inet/setsourcefilter.c: Likewise.
3664 * inet/test-inet6_opt.c: Likewise.
3665 * inet/tst-network.c: Likewise.
3666 * locale/C-collate.c: Likewise.
3667 * locale/C-ctype.c: Likewise.
3668 * locale/C-time.c: Likewise.
3669 * locale/C-translit.h: Likewise.
3670 * locale/loadarchive.c: Likewise.
3671 * locale/programs/3level.h: Likewise.
3672 * locale/programs/charmap.c: Likewise.
3673 * locale/programs/charmap.h: Likewise.
3674 * locale/programs/ld-address.c: Likewise.
3675 * locale/programs/ld-collate.c: Likewise.
3676 * locale/programs/ld-ctype.c: Likewise.
3677 * locale/programs/ld-identification.c: Likewise.
3678 * locale/programs/ld-measurement.c: Likewise.
3679 * locale/programs/ld-messages.c: Likewise.
3680 * locale/programs/ld-monetary.c: Likewise.
3681 * locale/programs/ld-name.c: Likewise.
3682 * locale/programs/ld-numeric.c: Likewise.
3683 * locale/programs/ld-paper.c: Likewise.
3684 * locale/programs/ld-telephone.c: Likewise.
3685 * locale/programs/ld-time.c: Likewise.
3686 * locale/programs/linereader.c: Likewise.
3687 * locale/programs/locale.c: Likewise.
3688 * locale/programs/locarchive.c: Likewise.
3689 * locale/programs/locfile.h: Likewise.
3690 * locale/programs/repertoire.c: Likewise.
3691 * locale/programs/simple-hash.c: Likewise.
3692 * locale/programs/simple-hash.h: Likewise.
3693 * malloc/memusage.c: Likewise.
3694 * malloc/memusagestat.c: Likewise.
3695 * nis/nis_defaults.c: Likewise.
3696 * nis/nis_hash.c: Likewise.
3697 * nis/nis_print.c: Likewise.
3698 * nis/nis_xdr.c: Likewise.
3699 * nscd/connections.c: Likewise.
3700 * nscd/hstcache.c: Likewise.
3701 * nscd/nscd_gethst_r.c: Likewise.
3702 * nscd/nscd_getserv_r.c: Likewise.
3703 * nscd/nscd_helper.c: Likewise.
3704 * nscd/servicescache.c: Likewise.
3705 * nss/makedb.c: Likewise.
3706 * nss/nss_db/db-XXX.c: Likewise.
3707 * nss/nss_db/db-initgroups.c: Likewise.
3708 * nss/nss_db/db-netgrp.c: Likewise.
3709 * nss/nss_files/files-network.c: Likewise.
3710 * nss/nss_files/files-parse.c: Likewise.
3711 * posix/bug-regex5.c: Likewise.
3712 * posix/fnmatch_loop.c: Likewise.
3713 * posix/regcomp.c: Likewise.
3714 * posix/regexec.c: Likewise.
3715 * posix/tst-rfc3484-2.c: Likewise.
3716 * posix/tst-rfc3484-3.c: Likewise.
3717 * posix/tst-rfc3484.c: Likewise.
3718 * resolv/nss_dns/dns-canon.c: Likewise.
3719 * resolv/nss_dns/dns-network.c: Likewise.
3720 * resolv/res_init.c: Likewise.
3721 * resolv/res_mkquery.c: Likewise.
3722 * resolv/tst-aton.c: Likewise.
3723 * stdlib/cxa_atexit.c: Likewise.
3724 * stdlib/cxa_finalize.c: Likewise.
3725 * stdlib/gen-fpioconst.c: Likewise.
3726 * stdlib/strtol_l.c: Likewise.
3727 * string/tst-endian.c: Likewise.
3728 * sunrpc/auth_des.c: Likewise.
3729 * sunrpc/clnt_udp.c: Likewise.
3730 * sunrpc/rtime.c: Likewise.
3731 * sunrpc/svcauth_des.c: Likewise.
3732 * sunrpc/xdr.c: Likewise.
3733 * sunrpc/xdr_intXX_t.c: Likewise.
3734 * sunrpc/xdr_rec.c: Likewise.
3735 * sysdeps/generic/ldconfig.h: Likewise.
3736 * sysdeps/generic/ldsodefs.h: Likewise.
3737 * sysdeps/generic/memusage.h: Likewise.
3738 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3748 * sysdeps/posix/getaddrinfo.c: Likewise.
3749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3751 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3752 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3753 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3754 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3755 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3756 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3757 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3758 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3759 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3760 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3761 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3762 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3763 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3764 * sysdeps/x86_64/dl-tls.h: Likewise.
3765 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3766 * time/alt_digit.c: Likewise.
3767 * time/era.c: Likewise.
3768 * wcsmbs/tst-c16c32-1.c: Likewise.
3770 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3772 * math/libm-test.inc (struct test_sincos_data): New type.
3773 (RUN_TEST_LOOP_sincos): New macro.
3774 (sincos_test_data): New variable.
3775 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3777 2013-05-16 Richard Henderson <rth@redhat.com>
3779 * math/atest-exp2.c (LIMB64): New macro.
3780 (CONSTSZ): New macro.
3781 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3783 (print_mpn_fp): ... to function scope.
3784 (read_mpn_hex): Remove.
3786 (exp2_mpn): Use mp_log2.
3787 (main): Use mp_exp1.
3789 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3791 * math/libm-test.inc: Remove comment about not testing "inexact"
3793 (INEXACT_EXCEPTION): New macro.
3794 (NO_INEXACT_EXCEPTION): Likewise.
3795 (INVALID_EXCEPTION_OK): Update value.
3796 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3797 (OVERFLOW_EXCEPTION_OK): Likewise.
3798 (UNDERFLOW_EXCEPTION_OK): Likewise.
3799 (IGNORE_ZERO_INF_SIGN): Likewise.
3800 (ERRNO_UNCHANGED): Likewise.
3801 (ERRNO_EDOM): Likewise.
3802 (ERRNO_ERANGE): Likewise.
3803 (test_exceptions): Handle testing "inexact" exceptions.
3804 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3805 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3806 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3807 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3809 (rint_towardzero_test_data): Likewise.
3810 (rint_downward_test_data): Likewise.
3811 (rint_upward_test_data): Likewise.
3813 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3814 with OVERFLOW_EXCEPTION.
3815 (exp10_test_data): Likewise.
3816 (exp2_test_data): Likewise.
3817 (expm1_test_data): Likewise.
3818 (lgamma_test_data): Likewise.
3819 (pow_test_data): Likewise.
3820 (tgamma_test_data): Likewise.
3821 (yn_test_data): Remove duplicate test of overflow.
3823 * math/libm-test.inc (struct test_cc_c_data): New type.
3824 (RUN_TEST_LOOP_cc_c): New macro.
3825 (cpow_test_data): New variable.
3826 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3828 * math/libm-test.inc (struct test_f_L_data): New type.
3829 (RUN_TEST_LOOP_f_L): New macro.
3830 (llrint_test_data): New variable.
3831 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3832 (llrint_tonearest_test_data): New variable.
3833 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3834 (llrint_towardzero_test_data): New variable.
3835 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3836 (llrint_downward_test_data): New variable.
3837 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3838 (llrint_upward_test_data): New variable.
3839 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3840 (llround_test_data): New variable.
3841 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3843 2013-05-13 Peter Collingbourne <pcc@google.com>
3845 * math/atest-exp2.c (get_log2): Remove const attribute.
3847 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3849 * math/libm-test.inc (struct test_f_l_data): New type.
3850 (RUN_TEST_LOOP_f_l): New macro.
3851 (lrint_test_data): New variable.
3852 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3853 (lrint_tonearest_test_data): New variable.
3854 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3855 (lrint_towardzero_test_data): New variable.
3856 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3857 (lrint_downward_test_data): New variable.
3858 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3859 (lrint_upward_test_data): New variable.
3860 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3861 (lround_test_data): New variable.
3862 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3864 2013-05-15 Peter Collingbourne <pcc@google.com>
3866 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3867 (EXTRACT_WORDS64) Use where appropriate.
3868 (INSERT_WORDS64) Likewise.
3870 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3871 constraints with x constraints.
3872 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3874 * malloc/obstack.c (_obstack_compat): Add initializer.
3876 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3878 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3879 si_trapno and add si_addr_lsb to _sifields.sigfault.
3880 (si_trapno): Remove macro.
3881 (si_addr_lsb): Define new macro.
3882 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3884 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3886 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3887 instead of TEST_f_l.
3888 (llrint_test_tonearest): Likewise.
3889 (llrint_test_towardzero): Likewise.
3890 (llrint_test_downward): Likewise.
3891 (llrint_test_upward): Likewise.
3892 (llround_test): Likewise.
3894 * math/libm-test.inc (struct test_f_i_data): Add comment.
3895 (RUN_TEST_LOOP_f_b): New macro.
3896 (RUN_TEST_LOOP_f_b_tg): Likewise.
3897 (finite_test_data): New variable.
3898 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3899 (isfinite_test_data): New variable.
3900 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3901 (isinf_test_data): New variable.
3902 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3903 (isnan_test_data): New variable.
3904 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3905 (isnormal_test_data): New variable.
3906 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3907 (issignaling_test_data): New variable.
3908 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3909 (signbit_test_data): New variable.
3910 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3912 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3913 with INVALID_EXCEPTION.
3914 (acosh_test_data): Likewise.
3915 (asin_test_data): Likewise.
3916 (atanh_test_data): Likewise.
3917 (fmod_test_data): Likewise.
3918 (log_test_data): Likewise.
3919 (log10_test_data): Likewise.
3920 (log2_test_data): Likewise.
3921 (pow_test_data): Likewise.
3922 (sqrt_test_data): Likewise.
3923 (y0_test_data): Likewise.
3924 (y1_test_data): Likewise.
3925 (yn_test_data): Likewise.
3927 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3930 * math/libm-test.inc (struct test_ff_i_data): New type.
3931 (RUN_TEST_LOOP_ff_i_tg): New macro.
3932 (isgreater_test_data): New variable.
3933 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3934 (isgreaterequal_test_data): New variable.
3935 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3936 (isless_test_data): New variable.
3937 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3938 (islessequal_test_data): New variable.
3939 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3940 (islessgreater_test_data): New variable.
3941 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3942 (isunordered_test_data): New variable.
3943 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3945 2013-05-14 David S. Miller <davem@davemloft.net>
3947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3949 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3951 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3953 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3955 (struct test_f_i_data): Change type of max_ulp to int.
3957 * math/libm-test.inc (test_ffI_f1_data): New type.
3958 (RUN_TEST_LOOP_ffI_f1): New macro.
3959 (remquo_test_data): New variable.
3960 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3962 * setjmp/tst-setjmp-fp.c: New file.
3963 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3964 (link-libm): New variable.
3965 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3967 * math/libm-test.inc (struct test_f_i_data): New type.
3968 (RUN_TEST_LOOP_f_i): New macro.
3969 (RUN_TEST_LOOP_f_i_tg): Likewise.
3970 (fpclassify_test_data): New variable.
3971 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3972 (ilogb_test_data): New variable.
3973 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3975 * math/libm-test.inc (scalbln_test): Correct function name in END
3978 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3979 (RUN_TEST_LOOP_fI_f1): New macro.
3980 (frexp_test_data): New variable.
3981 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3983 * math/libm-test.inc (struct test_fF_f1_data): New type.
3984 (RUN_TEST_LOOP_fF_f1): New macro.
3985 (modf_test_data): New variable.
3986 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3988 * math/libm-test.inc (struct test_f_f1_data): New type.
3989 (RUN_TEST_LOOP_f_f1): New macro.
3990 (gamma_test_data): New variable.
3991 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3992 (lgamma_test_data): New variable.
3993 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3995 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3997 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3998 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3999 (main): Comment "tls" pseudo-hwcap.
4001 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4003 * math/libm-test.inc (struct test_fl_f_data): New type.
4004 (RUN_TEST_LOOP_fl_f): New variable.
4005 (scalbln_test_data): New variable.
4006 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4008 * math/libm-test.inc (struct test_fi_f_data): New type.
4009 (RUN_TEST_LOOP_fi_f): New macro.
4010 (ldexp_test_data): New variable.
4011 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4012 (scalbn_test_data): New variable.
4013 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4015 * math/libm-test.inc (struct test_c_f_data): New type.
4016 (RUN_TEST_LOOP_c_f): New macro.
4017 (cabs_test_data): New variable.
4018 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4019 (carg_test_data): New variable.
4020 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4021 (cimag_test_data): New variable.
4022 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4023 (creal_test_data): New variable.
4024 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4026 * math/libm-test.inc (struct test_if_f_data): New type.
4027 (RUN_TEST_LOOP_if_f): New macro.
4028 (jn_test_data): New variable.
4029 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4030 (yn_test_data): New variable.
4031 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4033 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4035 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4038 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4040 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4042 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4043 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4044 (bench-deps): Add bench-timing.h.
4045 * benchtests-bench-skeleton.c: Include bench-timing.h.
4046 (main): Use TIMING_* macros instead of clock_gettime.
4047 * benchtests/bench-timing.h: New file.
4050 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4051 Renamed from _LIB_VERSION.
4052 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4054 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4056 * math/libm-test.inc (struct test_fff_f_data): New type.
4057 (RUN_TEST_LOOP_fff_f): New macro.
4058 (fma_test_data): New variable.
4059 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4060 (fma_towardzero_test_data): New variable.
4061 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4062 (fma_downward_test_data): New variable.
4063 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4064 (fma_upward_test_data): New variable.
4065 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4067 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4068 (struct test_c_c_data): New type.
4069 (RUN_TEST_LOOP_c_c): New macro.
4070 (cacos_test_data): New variable.
4071 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4072 (cacosh_test_data): New variable.
4073 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4074 (casin_test_data): New variable.
4075 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4076 (casinh_test_data): New variable.
4077 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4078 (catan_test_data): New variable.
4079 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4080 (catanh_test_data): New variable.
4081 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4082 (ccos_test_data): New variable.
4083 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4084 (ccosh_test_data): New variable.
4085 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4086 (cexp_test_data): New variable.
4087 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4088 (clog_test_data): New variable.
4089 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4090 (clog10_test_data): New variable.
4091 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4092 (conj_test_data): New variable.
4093 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4094 (cproj_test_data): New variable.
4095 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4096 (csin_test_data): New variable.
4097 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4098 (csinh_test_data): New variable.
4099 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4100 (csqrt_test_data): New variable.
4101 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4102 (ctan_test_data): New variable.
4103 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4104 (ctan_tonearest_test_data): New variable.
4105 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4106 (ctan_towardzero_test_data): New variable.
4107 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4108 (ctan_downward_test_data): New variable.
4109 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4110 (ctan_upward_test_data): New variable.
4111 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4112 (ctanh_test_data): New variable.
4113 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4114 (ctanh_tonearest_test_data): New variable.
4115 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4116 (ctanh_towardzero_test_data): New variable.
4117 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4118 (ctanh_downward_test_data): New variable.
4119 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4120 (ctanh_upward_test_data): New variable.
4121 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4122 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4125 * math/libm-test.inc (struct test_ff_f_data): New type.
4126 (struct test_ff_f_data_nexttoward): Likewise.
4127 (RUN_TEST_LOOP_2_f): New macro.
4128 (RUN_TEST_LOOP_ff_f): Likewise.
4129 (atan2_test_data): New variable.
4130 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4131 (copysign_test_data): New variable.
4132 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4133 (fdim_test_data): New variable.
4134 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4135 (fmax_test_data): New variable.
4136 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4137 (fmin_test_data): New variable.
4138 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4139 (fmod_test_data): New variable.
4140 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4141 (hypot_test_data): New variable.
4142 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4143 (nextafter_test_data): New variable.
4144 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4145 (nexttoward_test_data): New variable.
4146 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4147 (pow_test_data): New variable.
4148 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4149 (pow_tonearest_test_data): New variable.
4150 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4151 (pow_towardzero_test_data): New variable.
4152 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4153 (pow_downward_test_data): New variable.
4154 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4155 (pow_upward_test_data): New variable.
4156 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4157 (remainder_test_data): New variable.
4158 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4159 (scalb_test_data): New variable.
4160 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4161 * sysdeps/i386/fpu/libm-test-ulps: Update.
4163 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4165 * math/libm-test.inc (fma_test): Use max_value instead of local
4167 (nextafter_test): Likewise.
4169 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4170 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4171 (acos_downward_test_data): New variable.
4172 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4173 (acos_upward_test_data): New variable.
4174 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4175 (acosh_test_data): New variable.
4176 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4177 (asin_test_data): New variable.
4178 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4179 (asin_tonearest_test_data): New variable.
4180 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4181 (asin_towardzero_test_data): New variable.
4182 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4183 (asin_downward_test_data): New variable.
4184 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4185 (asin_upward_test_data): New variable.
4186 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4187 (asinh_test_data): New variable.
4188 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4189 (atan_test_data): New variable.
4190 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4191 (atanh_test_data): New variable.
4192 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4193 (cbrt_test_data): New variable.
4194 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4195 (ceil_test_data): New variable.
4196 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4197 (cos_test_data): New variable.
4198 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4199 (cos_tonearest_test_data): New variable.
4200 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4201 (cos_towardzero_test_data): New variable.
4202 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4203 (cos_downward_test_data): New variable.
4204 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4205 (cos_upward_test_data): New variable.
4206 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4207 (cosh_test_data): New variable.
4208 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4209 (cosh_tonearest_test_data): New variable.
4210 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4211 (cosh_towardzero_test_data): New variable.
4212 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4213 (cosh_downward_test_data): New variable.
4214 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4215 (cosh_upward_test_data): New variable.
4216 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4217 (erf_test_data): New variable.
4218 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4219 (erfc_test_data): New variable.
4220 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4221 (exp_test_data): New variable.
4222 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4223 (exp_tonearest_test_data): New variable.
4224 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4225 (exp_towardzero_test_data): New variable.
4226 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4227 (exp_downward_test_data): New variable.
4228 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4229 (exp_upward_test_data): New variable.
4230 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4231 (exp10_test_data): New variable.
4232 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4233 (exp2_test_data): New variable.
4234 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4235 (expm1_test_data): New variable.
4236 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4237 (fabs_test_data): New variable.
4238 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4239 (floor_test_data): New variable.
4240 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4241 (j0_test_data): New variable.
4242 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4243 (j1_test_data): New variable.
4244 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4245 (log_test_data): New variable.
4246 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4247 (log10_test_data): New variable.
4248 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4249 (log1p_test_data): New variable.
4250 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4251 (log2_test_data): New variable.
4252 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4253 (logb_test_data): New variable.
4254 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4255 (logb_downward_test_data): New variable.
4256 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4257 (nearbyint_test_data): New variable.
4258 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4259 (rint_test_data): New variable.
4260 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4261 (rint_tonearest_test_data): New variable.
4262 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4263 (rint_towardzero_test_data): New variable.
4264 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4265 (rint_downward_test_data): New variable.
4266 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4267 (rint_upward_test_data): New variable.
4268 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4269 (round_test_data): New variable.
4270 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4271 (sin_test_data): New variable.
4272 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4273 (sin_tonearest_test_data): New variable.
4274 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4275 (sin_towardzero_test_data): New variable.
4276 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4277 (sin_downward_test_data): New variable.
4278 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4279 (sin_upward_test_data): New variable.
4280 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4281 (sinh_test_data): New variable.
4282 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4283 (sinh_tonearest_test_data): New variable.
4284 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4285 (sinh_towardzero_test_data): New variable.
4286 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4287 (sinh_downward_test_data): New variable.
4288 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4289 (sinh_upward_test_data): New variable.
4290 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4291 (sqrt_test_data): New variable.
4292 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4293 (tan_test_data): New variable.
4294 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4295 (tan_tonearest_test_data): New variable.
4296 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4297 (tan_towardzero_test_data): New variable.
4298 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4299 (tan_downward_test_data): New variable.
4300 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4301 (tan_upward_test_data): New variable.
4302 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4303 (tanh_test_data): New variable.
4304 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4305 (tgamma_test_data): New variable.
4306 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4307 (trunc_test_data): New variable.
4308 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (y0_test_data): New variable.
4310 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4311 (y1_test_data): New variable.
4312 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4313 (significand_test_data): New variable.
4314 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4316 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4319 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4321 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4323 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4325 2013-05-10 Andreas Jaeger <aj@suse.de>
4328 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4329 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4331 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4333 * math/gen-libm-test.pl (adjust_arg): New function.
4334 (special_functions): Handle generating output in both functions
4336 (parse_args): Likewise.
4337 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4338 $in_func argument to parse_args.
4339 * math/libm-test.inc (struct test_f_f_data): New type.
4340 (IF_ROUND_INIT_): New macro.
4341 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4342 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4343 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4344 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4345 (ROUND_RESTORE_): Likewise.
4346 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4347 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4348 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4349 (ROUND_RESTORE_FE_UPWARD): Likewise.
4350 (RUN_TEST_LOOP_f_f): New macro.
4351 (acos_test_data): New variable.
4352 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4353 (acos_tonearest_test_data): New variable.
4354 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4356 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4358 * benchtests/bench-skeleton.c (startup): Fix coding style.
4360 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4363 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4364 negative infinity argument.
4365 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4366 negative infinity argument.
4367 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4368 negative infinity argument.
4369 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4372 2013-05-10 Florian Weimer <fweimer@redhat.com>
4374 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4375 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4376 * iconv/iconv_prog.c (main): Likewise.
4377 * locale/programs/charmap-dir.c (charmap_readdir)
4378 (fopen_uncompressed): Likewise.
4379 * locale/programs/locfile.c (siblings_uncached)
4380 (write_locale_data): Use lstat64 instead of lstat.
4381 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4384 2013-05-10 Andreas Jaeger <aj@suse.de>
4387 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4391 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4393 * elf/dl-close.c (_dl_close_worker): Add comments.
4395 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4398 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4400 (__ieee754_rem_pio2l): Update comments.
4403 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4405 (__ieee754_rem_pio2l): Update comments.
4407 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4408 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4410 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4413 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4414 (M_PI_34_LOG10El): Likewise.
4415 (M_PI2_LOG10El): Likewise.
4416 (M_PI4_LOG10El): Likewise.
4417 (M_PI_LOG10El): Likewise.
4419 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4423 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4425 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4426 (MINUS_ZERO_INIT): Likewise.
4427 (PLUS_INFTY_INIT): Likewise.
4428 (MINUS_INFTY_INIT): Likewise.
4429 (QNAN_VALUE_INIT): Likewise.
4430 (MAX_VALUE_INIT): Likewise.
4431 (MIN_VALUE_INIT): Likewise.
4432 (MIN_SUBNORM_VALUE_INIT): Likewise.
4433 (plus_zero): Initialize with PLUS_ZERO_INIT.
4434 (minus_zero): Initialize with MINUS_ZERO_INIT.
4435 (plus_infty): Initialize with PLUS_INFTY_INIT.
4436 (minus_infty): Initialize with MINUS_INFTY_INIT.
4437 (qnan_value): Initialize with QNAN_VALUE_INIT.
4438 (max_value): Initialize with MAX_VALUE_INIT.
4439 (min_value): Initialize with MIN_VALUE_INIT.
4440 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4442 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4443 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4444 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4445 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4447 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4448 (RUN_TEST_2_f): Likewise.
4449 (RUN_TEST_ff_f): Likewise.
4450 (RUN_TEST_fi_f): Likewise.
4451 (RUN_TEST_fl_f): Likewise.
4452 (RUN_TEST_fff_f): Likewise.
4453 (RUN_TEST_c_f): Likewise.
4454 (RUN_TEST_f_f1): Likewise.
4455 (RUN_TEST_fF_f1): Likewise.
4456 (RUN_TEST_fI_f1): Likewise.
4457 (RUN_TEST_ffI_f1): Likewise.
4458 (RUN_TEST_c_c): Likewise.
4459 (RUN_TEST_cc_c): Likewise.
4460 (RUN_TEST_f_i): Likewise.
4461 (RUN_TEST_f_i_tg): Likewise.
4462 (RUN_TEST_ff_i_tg): Likewise.
4463 (RUN_TEST_f_b): Likewise.
4464 (RUN_TEST_f_b_tg): Likewise.
4465 (RUN_TEST_f_l): Likewise.
4466 (RUN_TEST_f_L): Likewise.
4467 (RUN_TEST_sincos): Likewise.
4468 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4469 whether to show exceptions. Do not include ");\n" in return
4471 (special_functions): Output call to RUN_TEST_sincos instead of
4472 check_float calls. Update calls to new_test.
4473 (parse_args): Output call to single RUN_TEST_* macro instead of
4474 check_* calls and other assignments. Update calls to new_test.
4480 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4481 input to result for tgamma overflow.
4482 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4483 (gamma_coeff): New variable.
4484 (NCOEFF): New macro.
4485 (gamma_positive): New function.
4486 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4487 underflow here. Use gamma_positive instead of exp (lgamma) for
4489 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4490 (gamma_coeff): New variable.
4491 (NCOEFF): New macro.
4492 (gammaf_positive): New function.
4493 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4494 underflow here. Use gamma_positive instead of exp (lgamma) for
4496 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4497 (gamma_coeff): New variable.
4498 (NCOEFF): New macro.
4499 (gammal_positive): New function.
4500 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4501 underflow here. Use gamma_positive instead of exp (lgamma) for
4503 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4504 (gamma_coeff): New variable.
4505 (NCOEFF): New macro.
4506 (gammal_positive): New function.
4507 (__ieee754_gammal_r): Handle positive infinity, overflow and
4508 underflow here. Handle NaN the same as positive infinity. Remove
4509 check x < 0xffffffff for negative integers. Use gamma_positive
4510 instead of exp (lgamma) for other arguments.
4511 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4512 (gamma_coeff): New variable.
4513 (NCOEFF): New macro.
4514 (gammal_positive): New function.
4515 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4516 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4521 * sysdeps/generic/math_private.h (__gamma_productf): New
4523 (__gamma_product): Likewise.
4524 (__gamma_productl): Likewise.
4525 * math/Makefile (libm-calls): Add gamma_product.
4526 * math/libm-test.inc (tgamma_test): Add more tests.
4527 * sysdeps/i386/fpu/libm-test-ulps: Update.
4528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4530 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4532 * benchtests/bench-skeleton.c (main): Preheat CPU.
4534 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4536 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4538 2013-05-07 Roland McGrath <roland@hack.frob.com>
4540 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4541 and _dl_skip_args_internal.
4543 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4545 * manual/message.texi (Message Translation): Talk about users.
4546 Message to key mapping impacts design.
4548 2013-05-06 Roland McGrath <roland@hack.frob.com>
4550 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4552 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4554 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4555 * sysdeps/wordsize-64/glob64.c: ... here.
4557 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4558 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4561 * debug/getlogin_r_chk.c: Moved to ...
4562 * login/getlogin_r_chk.c: ... here.
4563 * debug/Makefile (routines): Move getlogin_r_chk to ...
4564 * login/Makefile (routines): ... here.
4565 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4566 * login/Versions (libc: GLIBC_2.4): ... here.
4568 * io/poll.c (__poll): Renamed from poll.
4569 Add libc_hidden_def.
4570 (poll): Define as weak alias.
4572 * debug/ptsname_r_chk.c: Moved to ...
4573 * login/ptsname_r_chk.c: ... here.
4574 * debug/Makefile (routines): Move ptsname_r_chk to ...
4575 * login/Makefile (routines): ... here.
4576 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4577 * login/Versions (libc: GLIBC_2.4): ... here.
4579 * posix/getlogin.c: Moved to ...
4580 * login/getlogin.c: ... here.
4581 * posix/getlogin_r.c: Moved to ...
4582 * login/getlogin_r.c: ... here.
4583 * posix/getlogin_r.c: Moved to ...
4584 * login/getlogin_r.c: ... here.
4585 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4586 * login/Makefile (routines): ... here.
4587 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4588 * login/Versions (libc: GLIBC_2.0): ... here.
4590 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4591 (setrlimit): Define as weak alias.
4593 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4594 Call __ names for open, ftruncate, and close.
4595 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4596 (truncate): Define as weak alias.
4598 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4600 * math/gen-libm-test.pl (parse_args): Initialize x before each
4601 test of frexp, modf and remquo.
4603 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4606 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4610 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4612 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4614 2013-05-06 Roland McGrath <roland@hack.frob.com>
4616 * elf/dl-writev.h: New file.
4617 * elf/dl-misc.c: Include it.
4618 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4619 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4621 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4623 * math/libm-test.inc (noXFails): Remove variable.
4624 (noXPasses): Likewise.
4625 (BUILD_COMPLEX_INT): Remove macro.
4626 (print_screen): Remove xfail argument.
4627 (print_screen_max_error): Likewise.
4628 (update_stats): Likewise.
4629 (print_max_error): Likewise. Update calls to other affected
4631 (print_complex_max_error): Likewise.
4632 (test_single_exception): Update calls to print_screen.
4633 (test_single_errno): Likewise.
4634 (check_float_internal): Remove xfail argument. Update calls to
4635 other affected functions.
4636 (check_float): Likewise.
4637 (check_complex): Likewise.
4638 (check_int): Likewise.
4639 (check_long): Likewise.
4640 (check_bool): Likewise.
4641 (check_longlong): Likewise.
4642 (main): Don't print noXFails and noXPasses.
4643 * math/gen-libm-test.pl (top level): Don't mention expected
4644 failure handling in comment.
4645 (new_test): Don't handle expected failures.
4646 (parse_args): Don't mention expected failure handling in comment.
4647 (generate_testfile): Don't handle expected failures.
4648 (parse_ulps): Likewise.
4649 (print_ulps_file): Likewise.
4650 (get_failure): Remove function.
4651 (output_test): Don't handle expected failures.
4652 * make/README.libm-test: Don't mention expected failure handling.
4654 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4655 (minus_zero): Likewise.
4656 (plus_infty): Likewise.
4657 (minus_infty): Likewise.
4658 (qnan_value): Likewise.
4659 (max_value): Likewise.
4660 (min_value): Likewise.
4661 (min_subnorm_value): Likewise.
4662 (initialize): Do not initialize those variables dynamically.
4664 2013-05-03 Roland McGrath <roland@hack.frob.com>
4666 * io/open.c (__open_2): Moved to ...
4667 * io/open_2.c: ... this new file.
4668 * io/open64.c (__open64_2): Moved to ...
4669 * io/open64_2.c: ... this new file.
4670 * io/openat.c (__openat_2): Moved to ...
4671 * io/openat_2.c: ... this new file.
4672 * io/openat64.c (__openat64_2): Moved to ...
4673 * io/openat64_2.c: ... this new file.
4674 * io/Makefile (routines): Add them.
4675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4676 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4677 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4678 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4679 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4680 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4681 (__openat64): Add hidden_ver.
4682 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4683 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4685 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4686 Separately conditionalize setting of GLRO(dl_sysinfo) so
4687 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4688 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4690 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4695 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4696 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4697 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4698 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4699 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4701 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4703 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4706 * math/libm-test.inc (hypot_test): Do not use
4707 IGNORE_ZERO_INF_SIGN.
4709 2013-05-03 Andreas Jaeger <aj@suse.de>
4711 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4713 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4714 (PF_MAX): Adjust for VSOCK change.
4716 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4720 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4723 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4724 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4725 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4727 2013-05-02 David S. Miller <davem@davemloft.net>
4729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4731 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4733 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4735 2013-05-01 Roland McGrath <roland@hack.frob.com>
4737 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4739 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4742 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4743 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4744 Use __attribute__ ((__gnu_inline__)).
4745 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4746 Don't use __attribute__ ((__gnu_inline__)).
4748 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4751 * math/s_catan.c (__catan): Handle small real or imaginary part of
4752 input specially to avoid spurious underflow.
4753 * math/s_catanf.c (__catanf): Likewise.
4754 * math/s_catanh.c (__catanh): Likewise.
4755 * math/s_catanhf.c (__catanhf): Likewise.
4756 * math/s_catanhl.c (__catanhl): Likewise.
4757 * math/s_catanl.c (__catanl): Likewise.
4758 * math/libm-test.inc (catan_test): Add more tests.
4759 (catanh_test): Likewise.
4760 * sysdeps/i386/fpu/libm-test-ulps: Update.
4761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4763 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4767 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4770 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4771 accurately for denominator in atan2.
4772 * math/s_catanf.c (__catanf): Likewise.
4773 * math/s_catanh.c (__catanh): Likewise.
4774 * math/s_catanhf.c (__catanhf): Likewise.
4775 * math/s_catanhl.c (__catanhl): Likewise.
4776 * math/s_catanl.c (__catanl): Likewise.
4777 * math/libm-test.inc (catan_test): Add more tests.
4778 (catanh_test): Likewise.
4779 * sysdeps/i386/fpu/libm-test-ulps: Update.
4780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4782 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4784 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4786 * benchtests/Makefile (bench): Remove slow benchmarks.
4787 * benchtests/atan-inputs: Add slow benchmark inputs.
4788 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4789 (BENCH_FUNC): Accept variant offset.
4791 * benchtests/bench-skeleton.c (main): Run benchmark for each
4793 * benchtests/cos-inputs: Add slow benchmark inputs.
4794 * benchtests/exp-inputs: Likewise.
4795 * benchtests/pow-inputs: Likewise.
4796 * benchtests/sin-inputs: Likewise.
4797 * benchtests/slowatan-inputs: Remove.
4798 * benchtests/slowatan.c: Remove.
4799 * benchtests/slowcos-inputs: Remove.
4800 * benchtests/slowcos.c: Remove.
4801 * benchtests/slowexp-inputs: Remove.
4802 * benchtests/slowexp.c: Remove.
4803 * benchtests/slowpow-inputs: Remove.
4804 * benchtests/slowpow.c: Remove.
4805 * benchtests/slowsin-inputs: Remove.
4806 * benchtests/slowsin.c: Remove.
4807 * benchtests/slowtan-inputs: Remove.
4808 * benchtests/slowtan.c: Remove.
4809 * benchtests/tan-inputs: Add slow benchmark inputs.
4810 * scripts/bench.pl: Parse comments and directives.
4812 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4814 ($(objpfx)bench-%.c): Remove *-ITER.
4815 * benchtests/bench-modf.c: Remove definition of ITER.
4816 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4817 (main): Loop for DURATION seconds instead of fixed number of
4819 * scripts/bench.pl: Don't expect iterations in parameters.
4821 2013-04-29 Roland McGrath <roland@hack.frob.com>
4823 * io/fchdir.c (__fchdir): Renamed from fchdir.
4824 (fchdir): Define as weak alias.
4826 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4828 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4829 (ERRNO_EDOM): Likewise.
4830 (ERRNO_ERANGE): Likewise.
4831 (noErrnoTests): New variable.
4832 (init_max_error): Set errno to 0.
4833 (test_single_errno): New function.
4834 (test_errno): Likewise.
4835 (check_float_internal): Call test_errno. Set errno to 0.
4836 (check_complex): Refer to errno tests in comment.
4837 (check_int): Call test_errno. Set errno to 0.
4838 (check_long): Likewise.
4839 (check_bool): Likewise.
4840 (check_longlong): Likewise.
4841 (cos_test): Use ERRNO_* flags for errno tests instead of
4843 (expm1_test): Likewise.
4844 (fmod_test): Likewise.
4845 (ilogb_test): Likewise.
4846 (lgamma_test): Likewise.
4847 (pow_test): Likewise.
4848 (remainder_test): Likewise.
4849 (sin_test): Likewise.
4850 (tan_test): Likewise.
4851 (yn_test): Likewise.
4852 (initialize): Set errno to 0.
4853 (main): Print number of errno tests.
4854 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4856 2013-04-29 Andreas Jaeger <aj@suse.de>
4859 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4863 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4864 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4868 * stdlib/random.c (__initstate): Return NULL if
4872 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4873 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4876 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4880 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4882 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4883 of individual tests.
4884 (casin_test): Likewise.
4885 (casinh_test): Likewise.
4887 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4890 * math/s_catan.c (__catan): Handle arguments with large real or
4891 imaginary part separately without squaring.
4892 * math/s_catanf.c (__catanf): Likewise.
4893 * math/s_catanh.c (__catanh): Likewise.
4894 * math/s_catanhf.c (__catanhf): Likewise.
4895 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4897 (__catanhl): Handle arguments with large real or imaginary part
4898 separately without squaring.
4899 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4901 (__catanl): Handle arguments with large real or imaginary part
4902 separately without squaring.
4903 * math/libm-test.inc (catan_test): Add more tests.
4904 (catanh_test): Likewise.
4905 * sysdeps/i386/fpu/libm-test-ulps: Update.
4906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4908 2013-04-27 Andreas Jaeger <aj@suse.de>
4911 * stdlib/stdlib.h: Update guards for qecvt.
4912 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4915 2013-04-27 Allan McRae <allan@archlinux.org>
4917 * sysdeps/i386/fpu/libm-test-ulps: Update.
4919 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4922 * math/s_catan.c: Include <float.h>.
4923 (__catan): Ensure underflow exception occurs for underflowed
4925 * math/s_catanf.c: Include <float.h>.
4926 (__catanf): Ensure underflow exception occurs for underflowed
4928 * math/s_catanh.c: Include <float.h>.
4929 (__catanh): Ensure underflow exception occurs for underflowed
4931 * math/s_catanhf.c: Include <float.h>.
4932 (__catanhf): Ensure underflow exception occurs for underflowed
4934 * math/s_catanhl.c: Include <float.h>.
4935 (__catanhl): Ensure underflow exception occurs for underflowed
4937 * math/s_catanl.c: Include <float.h>.
4938 (__catanl): Ensure underflow exception occurs for underflowed
4940 * math/libm-test.inc (catan_test): Add more tests.
4941 (catanh_test): Likewise.
4944 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4946 * math/s_ccoshf.c (__ccoshf): Likewise.
4947 * math/s_ccoshl.c (__ccoshl): Likewise.
4948 * math/s_csin.c (__csin): Likewise.
4949 * math/s_csinf.c (__csinf): Likewise.
4950 * math/s_csinh.c (__csinh): Likewise.
4951 * math/s_csinhf.c (__csinhf): Likewise.
4952 * math/s_csinhl.c (__csinhl): Likewise.
4953 * math/s_csinl.c (__csinl): Likewise.
4954 * math/libm-test.inc (ccos_test): Add more tests.
4955 (ccosh_test): Likewise.
4956 (csin_test): Likewise.
4957 (csinh_test): Likewise.
4959 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4962 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4963 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4964 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4965 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4966 powerpc/power5+/fpu folders.
4967 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4970 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4974 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4976 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4977 additions to variable.
4978 [$(config-machine) = x86_64] (modules-names): Likewise.
4979 ($(objpfx)tst-audit3): Remove dependency.
4980 ($(objpfx)tst-audit3.out): Likewise.
4981 ($(objpfx)tst-audit4): Likewise.
4982 ($(objpfx)tst-audit4.out): Likewise.
4983 ($(objpfx)tst-audit5): Likewise.
4984 ($(objpfx)tst-audit5.out): Likewise.
4985 ($(objpfx)tst-audit6): Likewise.
4986 ($(objpfx)tst-audit6.out): Likewise.
4987 ($(objpfx)tst-audit7): Likewise.
4988 ($(objpfx)tst-audit7.out): Likewise.
4989 (tst-audit3-ENV): Remove variable.
4990 (tst-audit4-ENV): Likewise.
4991 (tst-audit5-ENV): Likewise.
4992 (tst-audit6-ENV): Likewise.
4993 (tst-audit7-ENV): Likewise.
4994 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4995 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4996 addition to variable.
4997 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4998 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4999 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5000 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5001 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5002 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5003 tst-audit3, tst-audit4 and tst-audit5.
5004 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5005 tst-audit6 and tst-audit7.
5006 [$(subdir) = elf] (modules-names): Add audit modules for those
5008 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5009 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5010 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5011 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5012 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5013 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5014 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5015 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5016 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5017 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5018 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5019 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5020 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5021 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5022 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5023 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5025 [$(subdir) = elf && $(config-cflags-avx) = yes]
5026 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5027 [$(subdir) = elf && $(config-cflags-avx) = yes]
5028 (CFLAGS-tst-auditmod4a.c): Likewise.
5029 [$(subdir) = elf && $(config-cflags-avx) = yes]
5030 (CFLAGS-tst-auditmod4b.c): Likewise.
5031 [$(subdir) = elf && $(config-cflags-avx) = yes]
5032 (CFLAGS-tst-auditmod6b.c): Likewise.
5033 [$(subdir) = elf && $(config-cflags-avx) = yes]
5034 (CFLAGS-tst-auditmod6c.c): Likewise.
5035 [$(subdir) = elf && $(config-cflags-avx) = yes]
5036 (CFLAGS-tst-auditmod7b.c): Likewise.
5037 * elf/tst-audit3.c: Move to ...
5038 * sysdeps/x86_64/tst-audit3.c: ... here.
5039 * elf/tst-audit4.c: Move to ...
5040 * sysdeps/x86_64/tst-audit4.c: ... here.
5041 * elf/tst-audit5.c: Move to ...
5042 * sysdeps/x86_64/tst-audit5.c: ... here.
5043 * elf/tst-audit6.c: Move to ...
5044 * sysdeps/x86_64/tst-audit6.c: ... here.
5045 * elf/tst-audit7.c: Move to ...
5046 * sysdeps/x86_64/tst-audit7.c: ... here.
5047 * elf/tst-auditmod3a.c: Move to ...
5048 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5049 * elf/tst-auditmod3b.c: Move to ...
5050 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5051 * elf/tst-auditmod4a.c: Move to ...
5052 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5053 * elf/tst-auditmod4b.c: Move to ...
5054 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5055 * elf/tst-auditmod5a.c: Move to ...
5056 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5057 * elf/tst-auditmod5b.c: Move to ...
5058 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5059 * elf/tst-auditmod6a.c: Move to ...
5060 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5061 * elf/tst-auditmod6b.c: Move to ...
5062 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5063 * elf/tst-auditmod6c.c: Move to ...
5064 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5065 * elf/tst-auditmod7a.c: Move to ...
5066 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5067 * elf/tst-auditmod7b.c: Move to ...
5068 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5070 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5073 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5074 define unconditionally.
5075 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5076 define unconditionally.
5077 (INT8_C, INT16_C, etc.): Likewise.
5079 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5081 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5082 __ehdr_start with hidden visibility.
5084 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5086 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5088 * math/libm-test.inc (cos_test): Use accurate hex constants.
5089 (sincost_test): Likewise.
5091 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5093 * math/libm-test.inc (catan_test): Add more tests.
5094 (catanh_test): Likewise.
5096 * math/s_catanf.c (__catanf): Use suffixed floating-point
5098 * math/s_catanhf.c (__catanhf): Likewise.
5099 * math/s_catanhl.c (__catanhl): Likewise.
5100 * math/s_catanl.c (__catanl): Likewise.
5103 * math/s_catan.c (__catan): Calculate imaginary part of result
5104 with log1p not log unless computing log of number close to 0.
5105 * math/s_catanf.c (__catanf): Likewise.
5106 * math/s_catanl.c (__catanl): Likewise.
5107 * math/s_catanh.c (__catanh): Calculate real part of result with
5108 log1p not log unless computing log of number close to 0.
5109 * math/s_catanhf.c (__catanhf): Likewise.
5110 * math/s_catanhl.c (__catanhl): Likewise.
5111 * math/libm-test.inc (catan_test): Add more tests.
5112 (catanh_test): Likewise.
5113 * sysdeps/i386/fpu/libm-test-ulps: Update.
5114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5116 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5118 * benchtests/Makefile: Mention files in which fast and slow
5119 paths of math functions are implemented.
5121 2013-04-23 Roland McGrath <roland@hack.frob.com>
5123 * sysdeps/posix/timespec_get.c: New file.
5125 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5129 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5131 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5132 powerpc/power5/fpu folders.
5133 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5134 * benchtests/Makefile: Add modf testcase.
5135 * benchtests/bench-modf.c: New file: Benchmark test for mo
5137 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5140 * time/Makefile (tests): Add tst-strptime-whitespace.
5141 * time/strptime_l.c (get_number): Use ISSPACE.
5142 (__strptime_internal): Likewise.
5143 * time/tst-strptime-whitespace.c: New test case.
5145 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5147 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5149 (_nss_files_init): Set it here.
5151 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5153 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5154 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5157 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5159 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5161 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5163 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5166 2013-04-21 David S. Miller <davem@davemloft.net>
5168 * po/ru.po: Update Russion translation from translation project.
5170 2013-04-17 Adam Conrad <adconrad@0c3.net>
5172 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5175 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5177 * configure.in: Remove i386 configure warning. Remove i386 case.
5178 * configure: Regenerate.
5179 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5180 Add example to error message.
5181 * sysdeps/i386/configure: Regenerate.
5183 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5185 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5187 * benchtests/cos-inputs: New file.
5188 * benchtests/slowcos-inputs: New file.
5189 * benchtests/slowcos.c: New file.
5190 * benchtests/slowtan-inputs: New file.
5191 * benchtests/slowtan.c: New file.
5192 * benchtests/tan-inputs: New file.
5194 2013-04-16 Roland McGrath <roland@hack.frob.com>
5196 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5199 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5201 * benchtests/Makefile: Include cppflags-iterator.mk to add
5202 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5204 * Makefile.in (bench-clean): New target.
5205 * benchtests/Makefile (bench-clean): Likewise.
5207 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5209 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5211 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5213 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5215 2013-04-15 Andreas Schwab <schwab@suse.de>
5217 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5219 * nscd/pwdcache.c (cache_addpw): Likewise.
5220 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5223 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5225 * benchtests/Makefile (bench): Write all output to
5226 bench-out.tmp together.
5228 2013-04-15 Andreas Schwab <schwab@suse.de>
5230 * nscd/nscd.c (main): Don't fork again after closing files.
5232 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5234 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5236 * benchtests/Rules (bench-deps): Collect dependencies into a
5237 single variable. Add Makefile to dependencies.
5238 ($(objpfx)bench-%.c): Depend on bench-deps.
5240 2013-04-12 Roland McGrath <roland@hack.frob.com>
5241 Xavier Roche <roche+kml2@exalead.com>
5244 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5245 just that it's a file descriptor.
5246 * manual/llio.texi (Synchronizing AIO Operations): Update description
5247 for EBADF error from aio_fsync.
5249 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5251 * Rules (bench): Move target definition...
5252 * benchtests/Makefile: ... here.
5254 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5256 * math/libm-test.inc (cos_test): Fix PI/2 test.
5257 (sincos_test): Likewise.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5259 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5261 2013-04-11 Andreas Schwab <schwab@suse.de>
5264 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5265 accept exponent character only when digits were seen.
5266 * stdio-common/Makefile (tests): Add bug26.
5267 * stdio-common/bug26.c: New file.
5270 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5273 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 * Makeconfig (rtld-prefix): Define built linker prefix.
5276 * Rules (run-bench): Use it.
5277 * math/Makefile (run-regen-ulps): Likewise.
5279 * Rules (bench): Remove eval.
5281 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5282 Roland McGrath <roland@hack.frob.com>
5283 Ondrej Bilka <neleai@seznam.cz>
5286 * time/getdate.c: Include ctype.h and alloca.h.
5287 (__getdate_r): Trim leading and trailing spaces of input.
5288 * time/tst-getdate.c (tests): Add tests with leading and
5291 2013-04-08 Roland McGrath <roland@hack.frob.com>
5294 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5295 when computing value.
5297 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5299 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5300 Use testrun.sh to run libm tests.
5303 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5305 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5308 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5310 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5312 * Makefile.in (regen-ulps): New target.
5313 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5314 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5315 [ifneq (no,$(PERL)] (regen-ulps): New target.
5316 [ifeq (no,$(PERL)] (regen-ulps): New target.
5317 * math/libm-test.inc (ulps_file_name): Define.
5318 (output_dir): New variable.
5319 (options): Add "output-dir" option.
5320 (parse_opt): Handle 'o' case.
5321 (main): If output_dir is non-NULL use it as a prefix
5323 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5325 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5328 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5329 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5330 fail configure if __sync_val_compare_and_swap is not inlined.
5331 * sysdeps/i386/configure: Regenerate.
5332 * configure.in: Build for i686 when configured for i386.
5333 * configure: Regenerate.
5334 * README: Remove i386 reference.
5336 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5338 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5341 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5343 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5344 (lmsnanval): New variables.
5345 (F): Add conversion tests.
5346 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5347 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5349 * stdio-common/tstdiomisc.c (F): Properly collect individual
5353 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5354 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5355 Instead, use input NaN values or generate a qNaN by arithmetic
5356 operation. Also fix bugs to comply with the standard.
5357 * math/libm-test.inc (remainder_test): Add more tests.
5360 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5361 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5362 input NaN values or generate a qNaN by arithmetic operation.
5364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5367 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5370 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5373 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5375 * math/s_cexpf.c (__cexpf): Likewise.
5376 * math/s_cexpl.c (__cexpl): Likewise.
5377 * math/libm-test.inc (cexp_test): Add more tests.
5379 2013-04-03 Andreas Schwab <schwab@suse.de>
5382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5383 order arrays from heap if bigger than alloca cutoff.
5385 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5387 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5388 (SNAN_TESTS_double): Refer to GCC PR56831.
5389 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5392 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5394 * Rules (bench): Move bench.out after the run is complete.
5396 * Rules (bench): Echo currently running benchmark.
5398 * benchtests/Makefile (bench): Add atan and slowatan.
5399 * benchtests/atan-inputs: New file.
5400 * benchtests/slowatan-inputs: New file.
5401 * benchtests/slowatan.c: New file.
5403 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5404 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5408 * sysdeps/unix/sysv/linux/kernel-features.h
5409 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5410 __ASSUME_XFS_RESTRICTED_CHOWN.
5411 * sysdeps/unix/sysv/linux/pathconf.c
5412 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5413 Save and restore errno.
5415 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5418 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5419 arguments using __kernel_casinh.
5420 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5421 arguments using __kernel_casinhf.
5422 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5423 arguments using __kernel_casinhl.
5424 * math/libm-test.inc (cacosh_test): Add more tests.
5425 * sysdeps/i386/fpu/libm-test-ulps: Update.
5426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5428 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5430 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5433 * bench/Makefile (bench): Add sin and slowsin.
5434 * benchtests/sin-inputs: New file.
5435 * benchtests/slowsin-inputs: New file.
5436 * benchtests/slowsin.c: New file.
5438 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5439 (bench): Add slowexp and slowpow.
5440 (exp-ITER): Increase iterations.
5441 (pow-ITER): Likewise.
5442 * benchtests/exp-inputs: Change input.
5443 * benchtests/pow-inputs: Likewise.
5444 * benchtests/slowexp-inputs: New file.
5445 * benchtests/slowexp.c: New file.
5446 * benchtests/slowpow-inputs: New file.
5447 * benchtests/slowpow.c: New file.
5449 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5453 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5456 * benchtests/Makefile: Add rint benchtest.
5457 * benchtests/rint-inputs: Input for rint benchtest.
5459 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5461 * Versions.def (libm): Add GLIBC_2.18.
5462 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5463 hidden libm prototypes.
5464 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5465 * math/Makefile (libm-calls): Add s_issignaling.
5466 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5467 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5468 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5470 * math/math.h [__USE_GNU] (issignaling): New macro.
5471 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5472 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5473 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5474 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5477 * manual/arith.texi (issignaling): New section.
5478 * manual/libm-err-tab.pl (@all_functions): Update comment.
5479 * math/gen-libm-test.pl (parse_args): Apply special handling for
5481 * math/libm-test.inc (print_float, issignaling_test): New
5483 (check_float_internal): Add issignaling checks.
5484 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5486 * sysdeps/powerpc/math-tests.h: New file.
5487 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5489 * math/test-snan.c (TEST_FUNC): Likewise.
5491 2013-03-30 David S. Miller <davem@davemloft.net>
5493 * po/de.po: Update from translation team.
5495 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5498 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5499 imaginary part less than 1.0 and real part less than 0.5
5501 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5502 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5503 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5504 (cacos_test): Add more tests.
5505 (casin_test): Likewise.
5506 (casinh_test): Likewise.
5507 * sysdeps/i386/fpu/libm-test-ulps: Update.
5508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5510 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5512 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5515 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5516 (__pow_mp): Replace ONE and MONE with their values.
5517 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5520 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5521 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5522 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5524 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5526 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5527 (__pow_mp): Replace ZERO and MZERO with their values.
5528 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5530 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5531 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5532 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5533 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5536 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5538 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5540 2013-03-28 Roland McGrath <roland@hack.frob.com>
5542 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5543 Declare with __attribute__ ((weak)).
5544 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5545 Call __call_tls_dtors only if it's not NULL.
5547 2013-03-28 Roland McGrath <roland@hack.frob.com>
5549 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5550 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5551 magic __ehdr_start linker symbol if it's defined.
5552 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5553 them up here if it was already done.
5555 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5556 (_dl_aux_init): Use const in cast when setting it.
5557 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5558 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5559 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5561 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5563 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5564 * csu/libc-tls.c: Nor here.
5565 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5567 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5568 (__libc_message): Never call vsyslog.
5570 2013-03-28 Alan Modra <amodra@gmail.com>
5572 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5574 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5577 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5584 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5587 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5588 Don't add gid passed as argument.
5590 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5592 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5595 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5596 imaginary part between 1.0 and 1.5 and real part less than 0.5
5598 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5599 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5600 * math/libm-test.inc (cacos_test): Add more tests.
5601 (casin_test): Likewise.
5602 (casinh_test): Likewise.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5608 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5612 (__dbl_mp): Likewise.
5613 (add_magnitudes): Likewise.
5614 (sub_magnitudes): Likewise.
5622 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5624 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5625 (__dubcos): Likewise.
5626 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5627 (__ieee754_acos): Likewise.
5628 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5629 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5634 (my_log2): Likewise.
5635 (checkint): Likewise.
5636 * sysdeps/ieee754/dbl-64/e_remainder.c
5637 (__ieee754_remainder): Likewise.
5638 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5641 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5643 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5644 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5645 MANTISSA_STORE_T to store computations on mantissa. Use
5646 macros for rounding and division.
5648 (__dbl_mp): Likewise.
5649 (add_magnitudes): Likewise.
5650 (sub_magnitudes): Likewise.
5653 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5654 powers of two in terms of TWOPOW macro.
5655 (mp_no): Make type of mantissa as MANTISSA_T.
5656 [!RADIXI]: Define RADIXI.
5657 [!TWO52]: Define TWO52.
5658 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5660 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5662 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5663 llroundl symbol when building for PPC32.
5665 2013-03-24 Mark H Weaver <mhw@netris.org>
5667 * manual/arith.texi (Normalization Functions): Fix prototypes for
5668 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5670 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5674 high value to check if expl overflow.
5675 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5676 to check for underflow and overflow.
5677 * math/libm-test.inc: Add exp test.
5679 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5682 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5685 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5687 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5690 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5692 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5693 wrap blocks consisting of several statements.
5695 * sysdeps/generic/math-tests.h: New file.
5696 * sysdeps/i386/fpu/math-tests.h: Likewise.
5697 * math/test-snan.c: Include it.
5698 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5700 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5703 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5704 (__ieee754_j0l): Do not improve calculations using cos of twice
5705 input for inputs above LDBL_MAX / 2.0L.
5706 (__ieee754_y0l): Likewise.
5707 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5708 (__ieee754_j1l): Do not improve calculations using cos of twice
5709 input for inputs above LDBL_MAX / 2.0L.
5710 (__ieee754_y1l): Likewise.
5711 * math/libm-test.inc (j0_test): Add another test.
5712 (j1_test): Likewise.
5713 (y0_test): Likewise.
5714 (y1_test): Likewise.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5717 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5719 * Rules ($(objpfx)bench-%.c): Include code from a C source
5722 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5725 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5726 imaginary part 1.0 and real part less than 0.5 specially.
5727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5729 * math/libm-test.inc (cacos_test): Add more tests.
5730 (casin_test): Likewise.
5731 (casinh_test): Likewise.
5732 * sysdeps/i386/fpu/libm-test-ulps: Update.
5733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5737 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5738 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5740 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5742 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5743 * config.make.in (config-cflags-sse4): Remove variable.
5744 (config-cflags-avx): Likewise.
5745 (config-cflags-sse2avx): Likewise.
5746 (config-cflags-novzeroupper): Likewise.
5747 (config-asflags-i686): Likewise.
5748 (have-mfma4): Likewise.
5749 (have-as-vis3): Likewise.
5751 * configure.in (MIG): Do not AC_SUBST.
5752 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5753 (libc_cv_cc_sse4): Do not AC_SUBST.
5754 (libc_cv_cc_avx): Likewise.
5755 (libc_cv_cc_sse2avx): Likewise.
5756 (libc_cv_cc_novzeroupper): Likewise.
5757 (libc_cv_cc_fma4): Likewise.
5758 (libc_cv_as_i686): Likewise.
5759 (libc_cv_sparc_as_vis3): Likewise.
5760 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5762 (config-asflags-i686): Likewise.
5763 (config-cflags-avx): Likewise.
5764 (config-cflags-sse2avx): Likewise.
5765 (have-mfma4): Likewise.
5766 (config-cflags-novzeroupper): Likewise.
5767 * sysdeps/mach/configure.in (MIG): Likewise.
5768 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5769 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5771 (config-cflags-avx): Likewise.
5772 (config-cflags-sse2avx): Likewise.
5773 (have-mfma4): Likewise.
5774 (config-cflags-novzeroupper): Likewise.
5775 * configure: Regenerated.
5776 * sysdeps/i386/configure: Likewise.
5777 * sysdeps/mach/configure: Likewise.
5778 * sysdeps/sparc/configure: Likewise.
5779 * sysdeps/x86_64/configure: Likewise.
5781 2013-03-20 Roland McGrath <roland@hack.frob.com>
5784 * locale/programs/localedef.c (options): Put N_ translation marker
5785 on argument names, not just descriptions.
5787 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5789 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5791 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5794 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5796 2013-03-19 Roland McGrath <roland@hack.frob.com>
5798 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5799 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5800 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5801 [!BEFORE_ABORT] (before_abort): New function.
5802 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5803 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5804 (writev_for_fatal): New function.
5805 (WRITEV_FOR_FATAL): New macro; call that.
5806 (backtrace_and_maps): New function.
5807 (BEFORE_ABORT): New macro; call that.
5808 (struct str_list): Type removed.
5809 (__libc_message, __libc_fatal): Functions removed.
5810 Include <sysdeps/posix/libc_fatal.c> instead.
5812 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5814 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5816 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5819 2013-03-19 Andreas Schwab <schwab@suse.de>
5821 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5822 * sysdeps/gnu/configure: Regenerate.
5824 * configure.in: Substitute libc_cv_rtlddir.
5825 * configure: Regenerate.
5826 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5827 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5828 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5829 * elf/Makefile (install-others, CFLAGS-interp.c)
5830 (ldso_install, common-ldd-rewrite): Likewise.
5831 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5832 $(inst_slibdir)/$(rtld-installed-name).
5833 * scripts/rellns-sh: Add -p option.
5834 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5837 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5839 * manual/nptl.texi: Renamed to ...
5840 * manual/threads.texi: ... this.
5841 * manual/Makefile (chapters): Update.
5843 2013-03-18 Roland McGrath <roland@hack.frob.com>
5846 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5847 on argument names, not just descriptions.
5848 * malloc/memusagestat.c (options): Likewise.
5849 * nss/getent.c (options): Likewise.
5851 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5854 * iconv/iconv_prog.c (options): Put N_ translation marker
5855 on argument names, not just descriptions.
5856 * iconv/iconvconfig.c (options): Likewise.
5858 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5860 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5861 implementation which is faster on all x86_64 architectures.
5862 Tested on AMD, Intel Nehalem, SNB, IVB.
5863 * sysdeps/x86_64/strnlen.S: Likewise.
5865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5866 Remove all multiarch strlen and strnlen versions.
5867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5868 Remove strlen and strnlen related parts.
5870 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5872 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5874 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5875 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5876 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5877 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5878 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5879 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5881 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5883 * manual/memory.texi (Malloc Tunable Parameters):
5884 Sort parameters alphabetically. Add comments for missing entries.
5886 2013-03-17 David S. Miller <davem@davemloft.net>
5888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5890 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5893 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5894 for arguments at most half maximum finite value.
5895 * math/libm-test.inc (j0_test): Add more tests.
5896 (j1_test): Likewise.
5897 (y0_test): Likewise.
5898 (y1_test): Likewise.
5899 * sysdeps/i386/fpu/libm-test-ulps: Update.
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5903 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5904 1 / x and functions P and Q for arguments above 0x1p256L.
5905 (__ieee754_y0l): Likewise.
5906 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5907 (__ieee754_y1l): Likewise.
5908 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5909 (j1_test): Likewise.
5910 (y0_test): Likewise.
5911 (y1_test): Likewise.
5913 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5915 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5918 2013-03-15 Roland McGrath <roland@hack.frob.com>
5920 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5921 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5922 zero since it's initialized to EXEC_PAGESIZE.
5924 * sysdeps/unix/sysv/linux/ldsodefs.h
5925 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5926 * sysdeps/generic/ldsodefs.h: ... here.
5928 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5930 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5932 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5934 * math/test-snan.c: Renamed from
5935 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5936 * math/Makefile (tests): Add test-snan.
5937 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5940 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5941 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5943 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5944 __builtin_nan family of functions.
5945 * math/libm-test.inc (initialize): Initialize qnan_value with
5946 __builtin_nan family of functions.
5947 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5949 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5951 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5952 storage class. Initialize qNaN_var and sNaN_var with
5953 __builtin_nan and __builtin_nans families of functions,
5956 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5957 (sqrt_test): Remove duplicate test with qNaN input.
5958 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5959 (round_test, signbit_test, significand_test): Note missing +/-Inf
5960 as well as qNaN tests.
5962 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5963 qNaN_var. Fix a few strings, too.
5964 * math/libm-test.inc (nan_value): Rename to qnan_value.
5965 * math/gen-libm-test.pl (%beautify): Adjust to that.
5966 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5967 * math/test-misc.c (main): Likewise.
5968 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5969 to __qnan_bytes, and __qnan_union, respectively.
5970 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5972 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5973 and lqnanval, respectively.
5974 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5975 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5976 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5977 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5979 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5980 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5983 * math/test-misc.c (main): Fix copy'n'pastos.
5984 * misc/tst-efgcvt.c (special): Likewise.
5986 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5987 Remove declarations.
5989 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5991 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5992 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5993 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5994 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5996 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5999 macro to return vdso values correctly in IFUNC implementations.
6000 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6001 Optimization by using IFUNC.
6003 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6004 Richard Henderson <rth@redhat.com>
6005 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6007 * Makefile.in (bench): New target.
6008 * NEWS: Mention the benchmark framework.
6009 * Rules (bench): Likewise.
6010 (binaries-bench): Generate binaries for functions to
6012 * benchtests/Makefile: New makefile for benchmark tests.
6013 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6015 * benchtests/exp-inputs: New input file for EXP function.
6016 * benchtests/pow-inputs: New input file for POW function.
6017 * scripts/bench.pl: New script to generate source files for
6020 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6022 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6023 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6024 computations on mantissa. Use macros for rounding and
6027 (__dbl_mp): Likewise.
6028 (add_magnitudes): Likewise.
6029 (sub_magnitudes): Likewise.
6032 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6033 powers of two in terms of TWOPOW macro.
6034 (mp_no): Make type of mantissa as MANTISSA_T.
6035 [!RADIXI]: Define RADIXI.
6036 [!TWO52]: Define TWO52.
6037 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6039 * manual/nptl.texi (cindex): Modify threads to pthreads.
6041 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/x86_64/preconfigure: Regenerated.
6045 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6048 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6050 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6051 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6053 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6054 * math/libm-test.inc (j0_test): Do not allow one spurious
6055 underflow exception.
6056 (y1_test): Likewise.
6058 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6060 * manual/Makefile (chapters): Add nptl.
6061 * manual/debug.texi (Debugging Support): Add link to Threads
6063 * manual/nptl.texi: New file.
6065 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6067 2013-03-14 Petr Baudis <pasky@ucw.cz>
6069 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6070 for non-NULL pointer before the memory validity test. Pointed
6071 out by Holger Brunck <holger.brunck@keymile.com>.
6073 2013-03-13 Andreas Schwab <schwab@suse.de>
6075 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6078 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6080 * timezone/zic.c: Update from tzcode 2013b.
6082 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6084 * manual/install.texi (Configuring and compiling):
6085 Mention i686 and i586.
6086 * INSTALL: Regenerate.
6088 2013-03-12 Roland McGrath <roland@hack.frob.com>
6090 * sysdeps/init_array/elf-init.c: New file.
6092 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6093 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6095 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6096 __gmon_start__ as global, but as static with a .preinit_array pointer.
6097 * sysdeps/init_array/gmon-start.c: New file. Use that.
6098 * sysdeps/init_array/crti.S: New file, empty except for comments.
6099 * sysdeps/init_array/crtn.S: Likewise.
6101 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6103 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6106 Remove Prefer_SSE_for_memop.
6107 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6108 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6109 HAS_PREFER_SSE_FOR_MEMOP.
6110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6113 Remove bzero, memset ifunc support.
6114 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6115 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6116 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6117 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6119 2013-03-11 Andreas Schwab <schwab@suse.de>
6122 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6125 (GLIBC_2.16): Remove pthread_atfork.
6127 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6129 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6130 (ptestcases.h): Likewise.
6132 2013-03-08 Roland McGrath <roland@hack.frob.com>
6134 * Makeconfig ($(common-objpfx)config.status): Depend on
6135 sysdeps/*/preconfigure{,.in} too.
6137 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6139 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6140 (__free_hook): Use void * instead of __malloc_ptr_t.
6141 (__malloc_hook): Likewise.
6142 (__realloc_hook): Likewise.
6143 (__memalign_hook): Likewise.
6144 (__after_morecore_hook): Likewise.
6145 * malloc/arena.c (save_malloc_hook): Likewise.
6146 (save_free_hook): Likewise.
6147 * malloc/hooks.c (malloc_hook_ini): Likewise.
6148 (realloc_hook_ini): Likewise.
6149 (memalign_hook_ini): Likewise.
6150 * malloc/malloc.c (malloc_hook_ini): Likewise.
6151 (realloc_hook_ini): Likewise.
6152 (memalign_hook_ini): Likewise.
6153 (__free_hook): Likewise.
6154 (__malloc_hook): Likewise.
6155 (__realloc_hook): Likewise.
6156 (__memalign_hook): Likewise.
6157 (__libc_malloc): Likewise.
6158 (__libc_free): Likewise.
6159 (__libc_realloc): Likewise.
6160 (__libc_memalign): Likewise.
6161 (__libc_valloc): Likewise.
6162 (__libc_pvalloc): Likewise.
6163 (__libc_calloc): Likewise.
6164 (__posix_memalign): Likewise.
6165 * malloc/morecore.c (__sbrk): Likewise.
6166 (__default_morecore): Likewise.
6168 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6170 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6171 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6174 * malloc/malloc.h (__malloc_size_t): Remove macro.
6175 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6177 (old_memalign_hook): Likewise.
6178 (old_realloc_hook): Likewise.
6179 (struct hdr): Likewise.
6181 (mallochook): Likewise.
6182 (memalignhook): Likewise.
6183 (reallochook): Likewise.
6184 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6185 (tr_old_realloc_hook): Likewise.
6186 (tr_old_memalign_hook): Likewise.
6187 (tr_mallochook): Likewise.
6188 (tr_reallochook): Likewise.
6189 (tr_memalignhook): Likewise.
6191 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6194 default_ldbl_pack and using as default implementation.
6195 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6197 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6198 redundant definition.
6199 (ldbl_insert_mantissa): Likewise.
6200 (ldbl_canonicalize): Likewise.
6201 (ldbl_nearbyint): Likewise.
6202 (ldbl_pack): Rename to ldbl_pack_ppc.
6203 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6204 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6205 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6207 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6210 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6211 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6212 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6214 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6215 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6216 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6218 2013-03-07 Andreas Jaeger <aj@suse.de>
6220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6223 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6225 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6226 Include mpa.h and declare __MPEXP.
6227 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6228 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6229 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6230 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6231 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6232 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6233 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6235 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6236 (__slowpow): Use long double EXPL and LOGL functions to
6238 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6239 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6240 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6241 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6242 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6246 intermediate variable to calculate exponent.
6248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6252 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6253 [!NO__SQR]: Define __sqr.
6254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6255 and NO__SQR. Remove all code except __mul and __sqr. Include
6256 sysdeps/ieee754/dbl-64/mpa.c.
6257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6260 * posix/Makefile (tests): Add tst-pathconf.
6261 * posix/tst-pathconf.c: New test case.
6262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6264 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6266 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6268 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6270 2013-03-06 Andreas Jaeger <aj@suse.de>
6272 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6273 definition via __MAP_ANONYMOUS.
6275 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6276 it's not part of Linux headers.
6278 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6279 (MAP_HUGE_MASK): Define.
6281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6284 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6287 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6289 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6292 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6294 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6295 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6296 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6297 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6298 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6299 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6304 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6305 Handle f2fs and efivarfs.
6307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6310 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6311 (EFIVARFS_MAGIC): Add.
6312 (F2FS_LINK_MAX): Add.
6314 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6316 * stdio-common/vfprintf.c: Replace __builtin_expect with
6319 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/generic/bp-sym.h: Remove file.
6323 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6324 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6325 <bp-sym.h> and <bp-asm.h>.
6326 (__longjmp): Don't use BP_SYM.
6327 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6329 (memcpy): Don't use BP_SYM.
6330 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6331 <bp-sym.h> and <bp-asm.h>.
6332 (memcpy): Don't use BP_SYM.
6333 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6335 (memcpy): Don't use BP_SYM.
6336 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6338 (memset): Don't use BP_SYM.
6339 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6340 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6341 (__bzero): Don't use BP_SYM.
6342 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6343 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6344 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6345 <bp-sym.h> and <bp-asm.h>.
6346 (memcmp): Don't use BP_SYM. Remove comment about bounded
6348 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6349 <bp-sym.h> and <bp-asm.h>.
6350 (memcpy): Don't use BP_SYM.
6351 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6352 <bp-sym.h> and <bp-asm.h>.
6353 (memset): Don't use BP_SYM.
6354 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6355 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6356 (__bzero): Don't use BP_SYM.
6357 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6358 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6359 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6360 <bp-sym.h> and <bp-asm.h>.
6361 (strncmp): Don't use BP_SYM. Remove comment about bounded
6363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6364 <bp-sym.h> and <bp-asm.h>.
6365 (memcpy): Don't use BP_SYM.
6366 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6367 <bp-sym.h> and <bp-asm.h>.
6368 (memset): Don't use BP_SYM.
6369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6371 (__bzero): Don't use BP_SYM.
6372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6375 <bp-sym.h> and <bp-asm.h>.
6376 (__memchr): Don't use BP_SYM.
6377 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6378 <bp-sym.h> and <bp-asm.h>.
6379 (memcmp): Don't use BP_SYM. Remove comment about bounded
6381 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6382 <bp-sym.h> and <bp-asm.h>.
6383 (memcpy): Don't use BP_SYM.
6384 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6385 <bp-sym.h> and <bp-asm.h>.
6386 (__mempcpy): Don't use BP_SYM.
6387 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6388 <bp-sym.h> and <bp-asm.h>.
6389 (__memrchr): Don't use BP_SYM.
6390 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6391 <bp-sym.h> and <bp-asm.h>.
6392 (memset): Don't use BP_SYM.
6393 (__bzero): Likewise.
6394 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6395 <bp-sym.h> and <bp-asm.h>.
6396 (__rawmemchr): Don't use BP_SYM.
6397 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6398 <bp-sym.h> and <bp-asm.h>.
6399 (__STRCMP): Don't use BP_SYM.
6400 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6401 <bp-sym.h> and <bp-asm.h>.
6402 (strchr): Don't use BP_SYM.
6403 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6404 <bp-sym.h> and <bp-asm.h>.
6405 (__strchrnul): Don't use BP_SYM.
6406 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6407 <bp-sym.h> and <bp-asm.h>.
6408 (strlen): Don't use BP_SYM.
6409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6410 <bp-sym.h> and <bp-asm.h>.
6411 (strncmp): Don't use BP_SYM. Remove comment about bounded
6413 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (__strnlen): Don't use BP_SYM.
6416 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6417 <bp-sym.h> and <bp-asm.h>.
6418 (__GI__setjmp): Don't use BP_SYM.
6419 (_setjmp): Likewise.
6420 (__sigsetjmp): Likewise.
6421 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6422 (L(start_addresses)): Don't use BP_SYM.
6424 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6426 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6427 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6428 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6429 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6430 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6432 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6433 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6434 about bounded pointers.
6435 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6436 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6437 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6439 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6440 about bounded pointers. Remove GKM FIXME comments.
6441 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6442 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6444 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6445 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6446 Remove GKM FIXME comments.
6447 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6448 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6449 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6451 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6452 about bounded pointers. Remove GKM FIXME comment.
6453 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6455 (strncmp): Don't use BP_SYM. Remove comment about bounded
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6458 <bp-sym.h> and <bp-asm.h>.
6459 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6465 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6467 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6470 2013-03-05 David S. Miller <davem@davemloft.net>
6472 * po/es.po: Update from translation team.
6474 2013-03-05 Andreas Jaeger <aj@suse.de>
6476 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6477 <bits/mman-linux.h>.
6478 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6480 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6481 <bits/mman-linux.h> to end of file.
6482 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6484 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6485 <bits/mman-linux.h> to end of file.
6486 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6488 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6489 <bits/mman-linux.h> to end of file.
6491 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6492 (MCL_CURRENT, MCL_FUTURE): Define here.
6494 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6499 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6501 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6503 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6504 fourth parameter needed for rt_sigprocmask syscall.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6506 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6508 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6509 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6510 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6512 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6515 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6516 comment about bounded pointers.
6517 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6518 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6520 2013-03-04 Andreas Jaeger <aj@suse.de>
6522 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6525 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6526 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6527 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6528 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6529 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6530 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6532 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6536 __ieee754_sqrl instead of __sqrl.
6538 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6540 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6541 * sysdeps/powerpc/fpu_control.h: ... here.
6542 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6543 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6544 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6545 * sysdeps/powerpc/bits/mathinline.h: ... here.
6547 2013-03-01 Roland McGrath <roland@hack.frob.com>
6549 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6550 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6551 to just [NEED_DL_SYSINFO_DSO].
6552 * elf/dl-support.c: Likewise.
6553 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6554 * elf/rtld.c (dl_main): Likewise.
6555 * elf/setup-vdso.h (setup_vdso): Likewise.
6556 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6557 * sysdeps/unix/sysv/linux/dl-sysdep.c
6558 (_dl_discover_osversion): Likewise.
6560 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6562 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6563 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6565 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 * NEWS: Mention libm performance improvements and non-x86 PI
6570 * csu/libc-start.c (__pthread_initialize_minimal): Change
6572 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6574 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6577 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6578 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6579 <bp-sym.h> and <bp-asm.h>.
6580 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6581 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6583 (memcpy): Don't use BP_SYM.
6584 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6586 (__mpn_add_n): Don't use BP_SYM.
6587 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6588 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6590 (__mpn_addmul_1): Don't use BP_SYM.
6591 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6592 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6594 (_setjmp): Don't use BP_SYM.
6595 (__novmx_setjmp): Likewise.
6596 (__GI__setjmp): Likewise.
6597 (__vmx_setjmp): Likewise.
6598 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6600 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6601 (__bzero): Don't use BP_SYM.
6602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6604 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6605 <bp-sym.h> and <bp-asm.h>.
6606 (memcpy): Don't use BP_SYM.
6607 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6608 <bp-sym.h> and <bp-asm.h>.
6609 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6611 <bp-sym.h> and <bp-asm.h>.
6612 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6613 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6615 (__mpn_lshift): Don't use BP_SYM.
6616 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6617 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6619 (memset): Don't use BP_SYM.
6620 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6621 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6622 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6624 (__mpn_mul_1): Don't use BP_SYM.
6625 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6626 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6627 <bp-sym.h> and <bp-asm.h>.
6628 (memcmp): Don't use BP_SYM.
6629 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6630 <bp-sym.h> and <bp-asm.h>.
6631 (memcpy): Don't use BP_SYM.
6632 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6633 <bp-sym.h> and <bp-asm.h>.
6634 (memset): Don't use BP_SYM.
6635 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6636 <bp-sym.h> and <bp-asm.h>.
6637 (strncmp): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (memcpy): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6642 <bp-sym.h> and <bp-asm.h>.
6643 (memset): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6645 <bp-sym.h> and <bp-asm.h>.
6646 (__memchr): Don't use BP_SYM.
6647 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6648 <bp-sym.h> and <bp-asm.h>.
6649 (memcmp): Don't use BP_SYM.
6650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6651 <bp-sym.h> and <bp-asm.h>.
6652 (memcpy): Don't use BP_SYM.
6653 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6654 <bp-sym.h> and <bp-asm.h>.
6655 (__mempcpy): Don't use BP_SYM.
6656 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6657 <bp-sym.h> and <bp-asm.h>.
6658 (__memrchr): Don't use BP_SYM.
6659 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6660 <bp-sym.h> and <bp-asm.h>.
6661 (memset): Don't use BP_SYM.
6662 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6663 <bp-sym.h> and <bp-asm.h>.
6664 (__rawmemchr): Don't use BP_SYM.
6665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6666 <bp-sym.h> and <bp-asm.h>.
6667 (__STRCMP): Don't use BP_SYM.
6668 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6669 <bp-sym.h> and <bp-asm.h>.
6670 (strchr): Don't use BP_SYM.
6671 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6672 <bp-sym.h> and <bp-asm.h>.
6673 (__strchrnul): Don't use BP_SYM.
6674 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6675 <bp-sym.h> and <bp-asm.h>.
6676 (strlen): Don't use BP_SYM.
6677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6678 <bp-sym.h> and <bp-asm.h>.
6679 (strncmp): Don't use BP_SYM.
6680 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (__strnlen): Don't use BP_SYM.
6683 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6685 (__mpn_rshift): Don't use BP_SYM.
6686 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6687 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6688 <bp-sym.h> and <bp-asm.h>.
6689 (__sigsetjmp): Don't use BP_SYM.
6690 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6691 (L(start_addresses)): Don't use BP_SYM.
6693 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6695 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6696 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6697 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6698 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6700 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6701 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6703 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6705 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6707 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6708 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6710 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6712 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6713 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6714 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6716 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6718 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6720 (strncmp): Don't use BP_SYM,
6721 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6723 (__mpn_sub_n): Don't use BP_SYM.
6724 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6725 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6727 (__mpn_submul_1): Don't use BP_SYM.
6728 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6730 <bp-sym.h> and <bp-asm.h>.
6731 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6733 <bp-sym.h> and <bp-asm.h>.
6734 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6737 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6740 Use ZK to minimize writes to Z.
6741 (sub_magnitudes): Simplify code a bit.
6742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6743 Use ZK to minimize writes to Z.
6744 (sub_magnitudes): Simplify code a bit.
6746 2013-02-27 Roland McGrath <roland@hack.frob.com>
6748 * csu/gmon-start.c: Add special exception to license text.
6750 2013-02-27 Richard Henderson <rth@redhat.com>
6752 * scripts/config.guess: Update from config.git.
6753 * scripts/config.sub: Likewise.
6755 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6757 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6759 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6761 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6763 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6765 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6767 2013-02-26 Roland McGrath <roland@hack.frob.com>
6769 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6770 [$(build-shared = yes].
6772 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6774 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6775 (__mul): Reduce iterations for calculating mantissa.
6777 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6779 (__mpranred): Likewise.
6782 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6783 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6785 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6787 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6788 Define __attribute__.
6790 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6792 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6794 * posix/regex_internal.h (__attribute): Remove.
6795 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6796 (re_string_context_at): Likewise.
6797 (bitset_not): Use __attribute__ and mark function as possibly
6799 (bitset_merge): Likewise.
6800 (bitset_mask): Likewise.
6801 (re_string_char_size_at): Likewise.
6802 (re_string_wchar_at): Likewise.
6803 (re_string_elem_size_at): Likewise.
6805 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6807 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6811 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6816 (__dbl_mp): Likewise.
6817 (add_magnitudes): Likewise.
6818 (sub_magnitudes): Likewise.
6822 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6825 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6828 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6832 up changes with default code.
6833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6836 2013-02-24 Allan McRae <allan@archlinux.org>
6838 * manual/socket.texi (The Internet Namespace): Order menu items
6839 to match that in the file.
6841 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6842 node listing of the info page menu.
6844 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6847 * sysdeps/i386/bp-asm.h: Remove file.
6848 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6849 (PARMS): Do not use macros from bp-asm.h.
6853 (__mpn_add_n): Do not use BP_SYM
6854 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6856 (PARMS): Do not use macros from bp-asm.h.
6859 (__mpn_addmul_1): Do not use BP_SYM
6860 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6862 (PARMS): Do not use macros from bp-asm.h.
6864 (_setjmp): Likewise. Do not use BP_SYM.
6865 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6867 (PARMS): Do not use macros from bp-asm.h.
6869 (setjmp): Likewise. Do not use BP_SYM.
6870 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6872 (PARMS): Do not use macros from bp-asm.h.
6873 (__frexp): Do not use BP_SYM.
6875 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6877 (PARMS): Do not use macros from bp-asm.h.
6878 (__frexpf): Do not use BP_SYM.
6880 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6882 (PARMS): Do not use macros from bp-asm.h.
6883 (__frexpl): Do not use BP_SYM.
6885 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6887 (PARMS): Do not use macros from bp-asm.h.
6888 (__remquo): Do not use BP_SYM.
6890 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6892 (PARMS): Do not use macros from bp-asm.h.
6893 (__remquof): Do not use BP_SYM.
6894 (remquof): Likewise.
6895 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6897 (PARMS): Do not use macros from bp-asm.h.
6898 (__remquol): Do not use BP_SYM.
6899 (remquol): Likewise.
6900 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6902 (PARMS): Do not use macros from bp-asm.h.
6905 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6906 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6908 (PARMS): Do not use macros from bp-asm.h.
6909 (strlen): Do not use BP_SYM.
6910 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6912 (PARMS): Do not use macros from bp-asm.h.
6916 (__mpn_add_n): Do not use BP_SYM.
6917 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6919 (PARMS): Do not use macros from bp-asm.h.
6922 (__mpn_addmul_1): Do not use BP_SYM.
6923 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6926 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6928 (PARMS): Do not use macros from bp-asm.h.
6931 (__mpn_lshift): Do not use BP_SYM.
6932 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6934 (PARMS): Do not use macros from bp-asm.h.
6938 (memcpy): Likewise. Do not use BP_SYM.
6939 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6940 libc_hidden_def and weak_alias.
6941 (mempcpy): Do not use BP_SYM in weak_alias.
6942 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6944 (PARMS): Do not use macros from bp-asm.h.
6947 [!BZERO_P] (CHR): Likewise.
6948 (memset): Likewise. Do not use BP_SYM.
6949 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6951 (PARMS): Do not use macros from bp-asm.h.
6954 (__mpn_mul_1): Do not use BP_SYM.
6955 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6957 (PARMS): Do not use macros from bp-asm.h.
6960 (__mpn_rshift): Do not use BP_SYM.
6961 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6963 (PARMS): Do not use macros from bp-asm.h.
6966 (strchr): Likewise. Do not use BP_SYM.
6967 (index): Do not use BP_SYM in weak_alias.
6968 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6970 (PARMS): Do not use macros from bp-asm.h.
6973 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6974 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6976 (PARMS): Do not use macros from bp-asm.h.
6977 (strlen): Do not use BP_SYM.
6978 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6980 (PARMS): Do not use macros from bp-asm.h.
6984 (__mpn_sub_n): Do not use BP_SYM.
6985 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6987 (PARMS): Do not use macros from bp-asm.h.
6990 (__mpn_submul_1): Do not use BP_SYM.
6991 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6993 (PARMS): Do not use macros from bp-asm.h.
6997 (__mpn_add_n): Do not use BP_SYM.
6998 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7001 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7003 (PARMS): Do not use macros from bp-asm.h.
7006 (memcmp): Do not use BP_SYM.
7007 (bcmp): Do not use BP_SYM in weak_alias.
7008 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7010 (PARMS): Do not use macros from bp-asm.h.
7014 (memcpy): Likewise. Do not use BP_SYM.
7015 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7017 (PARMS): Do not use macros from bp-asm.h.
7021 (memmove): Likewise. Do not use BP_SYM.
7022 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7024 (PARMS): Do not use macros from bp-asm.h.
7028 (__mempcpy): Likewise. Do not use BP_SYM.
7029 (mempcpy): Do not use BP_SYM in weak_alias.
7030 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7032 (PARMS): Do not use macros from bp-asm.h.
7035 [!BZERO_P] (CHR): Likewise.
7036 (memset): Likewise. Do not use BP_SYM.
7037 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7039 (PARMS): Do not use macros from bp-asm.h.
7041 (strcmp): Do not use BP_SYM.
7042 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7044 (PARMS): Do not use macros from bp-asm.h.
7047 [USE_AS_STRTOK_R] (SAVE): Likewise.
7048 (FUNCTION): Likewise. Do not use BP_SYM.
7049 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7051 (strtok_r): Likewise.
7052 (__GI___strtok_r): Likewise.
7053 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7054 (PARMS): Do not use macros from bp-asm.h.
7057 (__mpn_lshift): Do not use BP_SYM.
7058 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7059 (PARMS): Do not use macros from bp-asm.h.
7062 (__memchr): Do not use BP_SYM.
7063 (memchr): Do not use BP_SYM in weak_alias.
7064 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7065 (PARMS): Do not use macros from bp-asm.h.
7068 (memcmp): Do not use BP_SYM.
7069 (bcmp): Do not use BP_SYM in weak_alias.
7070 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7071 (PARMS): Do not use macros from bp-asm.h.
7074 (__mpn_mul_1): Do not use BP_SYM.
7075 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7077 (PARMS): Do not use macros from bp-asm.h.
7080 (__rawmemchr): Do not use BP_SYM.
7081 (rawmemchr): Do not use BP_SYM in weak_alias.
7082 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7083 (PARMS): Do not use macros from bp-asm.h.
7086 (__mpn_rshift): Do not use BP_SYM.
7087 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7088 (PARMS): Do not use macros from bp-asm.h.
7090 (__sigsetjmp): Likewise. Do not use BP_SYM.
7091 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7092 (_start): Do not use BP_SYM.
7093 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7094 (PARMS): Do not use macros from bp-asm.h.
7097 (__stpcpy): Likewise. Do not use BP_SYM.
7098 (stpcpy): Do not use BP_SYM in weak_alias.
7099 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7101 (PARMS): Do not use macros from bp-asm.h.
7105 (__stpncpy): Likewise. Do not use BP_SYM.
7106 (stpncpy): Do not use BP_SYM in weak_alias.
7107 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7108 (PARMS): Do not use macros from bp-asm.h.
7111 (strchr): Likewise. Do not use BP_SYM.
7112 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7114 (PARMS): Do not use macros from bp-asm.h.
7117 (__strchrnul): Likewise. Do not use BP_SYM.
7118 (strchrnul): Do not use BP_SYM in weak_alias.
7119 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7121 (PARMS): Do not use macros from bp-asm.h.
7123 (strcspn): Do not use BP_SYM.
7124 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7126 (PARMS): Do not use macros from bp-asm.h.
7129 (strpbrk): Likewise. Do not use BP_SYM.
7130 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7132 (PARMS): Do not use macros from bp-asm.h.
7135 (strrchr): Likewise. Do not use BP_SYM.
7136 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7137 (PARMS): Do not use macros from bp-asm.h.
7139 (strspn): Do not use BP_SYM.
7140 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7141 (PARMS): Do not use macros from bp-asm.h.
7145 (FUNCTION): Likewise. Do not use BP_SYM.
7146 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7148 (strtok_r): Likewise.
7149 (__GI___strtok_r): Likewise.
7150 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7151 (PARMS): Do not use macros from bp-asm.h.
7155 (__mpn_sub_n): Do not use BP_SYM.
7156 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7158 (PARMS): Do not use macros from bp-asm.h.
7161 (__mpn_submul_1): Do not use BP_SYM.
7162 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7164 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7166 (PARMS): Do not use macros from bp-asm.h.
7171 (__clone): Do not use BP_SYM.
7172 (clone): Do not use BP_SYM in weak_alias.
7173 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7175 (PARMS): Do not use macros from bp-asm.h.
7177 (__mmap64): Do not use BP_SYM.
7178 (mmap64): Do not use BP_SYM in weak_alias.
7179 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7180 <bp-sym.h> and <bp-asm.h>.
7181 (PARMS): Do not use macros from bp-asm.h.
7182 (__posix_fadvise64_l64): Do not use BP_SYM.
7183 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7184 (PARMS): Do not use macros from bp-asm.h.
7186 (semtimedop): Do not use BP_SYM.
7187 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7190 2013-02-21 Allan McRae <allan@archlinux.org>
7192 * manual/message.texi (Charset conversion in gettext):
7193 Move @end statement to beginning of line.
7195 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7202 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7207 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7209 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7210 tail-call to the resolved function if pltexit isn't needed.
7212 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7215 or Y being zero as being unlikely.
7216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7219 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7221 * manual/nss.texi (System Databases and Name Service Switch):
7222 Remove frobnicate @pxref.
7224 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7226 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7227 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7229 2013-02-20 Petr Machata <pmachata@redhat.com>
7231 * elf/elf.h (R_ARM_TARGET1): New macro.
7232 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7233 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7234 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7235 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7236 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7237 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7238 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7239 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7240 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7241 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7242 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7243 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7244 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7245 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7246 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7247 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7248 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7249 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7250 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7251 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7252 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7253 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7254 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7255 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7256 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7257 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7258 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7259 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7260 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7261 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7262 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7263 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7264 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7265 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7266 (R_ARM_THM_GOT_BREL12): Likewise.
7267 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7268 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7269 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7270 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7271 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7272 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7273 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7274 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7275 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7277 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7279 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7280 __attribute_used__ to __attribute__ ((unused)).
7282 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7284 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7290 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7293 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7295 (ENTER): Remove both macro definitions.
7297 (CHECK_BOUNDS_LOW): Likewise.
7298 (CHECK_BOUNDS_HIGH): Likewise.
7299 (CHECK_BOUNDS_BOTH): Likewise.
7300 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7301 (RETURN_BOUNDED_POINTER): Likewise.
7302 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7303 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7304 (POP_ERRNO_LOCATION_RETURN): Likewise.
7305 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7306 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7307 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7309 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7310 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7311 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7312 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7313 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7314 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7315 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7316 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7317 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7318 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7319 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7320 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7321 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7322 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7324 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7325 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7327 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7328 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7329 * sysdeps/i386/i586/memset.S (memset): Likewise.
7330 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7331 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7332 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7334 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7335 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7336 Change uses of L(2) to L(out).
7337 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7338 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7339 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7340 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7341 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7343 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7344 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7346 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7348 (RETURN): Do not use macro LEAVE.
7349 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7350 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7351 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7352 * sysdeps/i386/i686/memset.S (memset): Likewise.
7353 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7354 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7355 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7356 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7358 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7359 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7360 L(1_2) and L(1_3) into L(1).
7361 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7362 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7363 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7364 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7365 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7366 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7367 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7368 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7369 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7371 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7372 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7373 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7374 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7375 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7376 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7377 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7378 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7379 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7380 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7381 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7382 * sysdeps/i386/strspn.S (strspn): Likewise.
7383 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7385 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7386 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7387 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7388 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7390 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7391 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7392 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7394 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7396 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7398 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7401 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7403 * math/atest-exp.c (exp_mpn): Remove ROUND.
7404 * math/atest-exp2.c (exp_mpn): Likewise.
7405 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7407 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7408 * stdlib/tst-tls-atexit-lib.c: Likewise.
7409 * stdlib/tst-tls-atexit.c: Likewise.
7411 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7413 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7414 and __attribute_alloc_size__.
7416 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7418 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7419 __attribute_alloc_size__.
7420 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7421 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7423 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7425 * include/programs/xmalloc.h: New file.
7426 * catgets/gencat.c: Include it.
7427 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7428 * elf/pldd.c: Likewise.
7429 * iconv/iconv_charmap.c: Likewise.
7430 * iconv/iconvconfig.c: Likewise.
7431 * iconv/strtab.c: Likewise.
7432 * locale/programs/locale.c: Likewise.
7433 * locale/programs/localedef.h: Likewise.
7434 * locale/programs/simple-hash.c: Likewise.
7435 * nscd/nscd.h: Likewise.
7436 * nss/makedb.c: Likewise.
7437 * sysdeps/generic/ldconfig.h: Likewise.
7439 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7441 * Versions.def: Add GLIBC_2.18.
7442 * include/link.h (struct link_map): New member l_tls_dtor_count.
7443 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7444 (__call_tls_dtors): Likewise.
7445 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7446 __cxa_thread_atexit_impl.
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7463 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7464 (tests): Add test case tst-tls-atexit.
7465 (modules-names): Add shared library for tst-tls-atexit.
7466 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7467 (GLIBC_PRIVATE): Add __call_tls_dtors.
7468 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7470 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7471 * stdlib/tst-tls-atexit.c: New test case.
7472 * stdlib/tst-tls-atexit-lib.c: New test case.
7474 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7476 * elf/Versions (ld): Add _dl_find_dso_for_object.
7477 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7478 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7479 (dl_open_worker): Use _dl_find_dso_for_object.
7480 * elf/dl-sym.c (do_sym): Likewise.
7481 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7483 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7485 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7486 Syntactic changes only.
7487 (_dl_runtime_profile): Do a tail-call to the resolved function.
7489 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/x86_64/bp-asm.h: Remove file.
7493 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7494 <bp-sym.h> and <bp-asm.h>.
7495 (__clone): Do not use BP_SYM.
7496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7497 <bp-sym.h> and <bp-asm.h>.
7498 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7499 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7501 (_setjmp): Do not use BP_SYM.
7502 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7504 (setjmp): Do not use BP_SYM.
7505 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7507 (mempcpy): Do not use BP_SYM in weak_alias.
7508 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7510 (strchr): Do not use BP_SYM.
7511 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7513 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7514 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7515 (_start): Do not use BP_SYM.
7516 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7518 (strcat): Do not use BP_SYM.
7519 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7521 (STRCMP): Do not use BP_SYM.
7522 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7524 (STRCPY): Do not use BP_SYM.
7525 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7527 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7529 (FUNCTION): Do not use BP_SYM.
7530 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7532 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7534 2013-02-17 Andreas Jaeger <aj@suse.de>
7536 * time/Versions: Sort entries.
7537 * string/Versions: Likewise.
7538 * resolv/Versions: Likewise.
7539 * posix/Versions: Likewise.
7540 * iconv/Versions: Likewise.
7541 * elf/Versions: Likewise.
7542 * wcsmbs/Versions: Likewise.
7544 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7546 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7547 loop termination condition.
7549 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7550 variable to calculate EZ.
7553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7554 the lower precision input.
7556 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7559 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7560 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7561 (run-via-rtld-prefix): Do not handle %-bp tests.
7562 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7563 (all-object-suffixes): Remove .ob.
7564 (bppfx): Remove variable.
7565 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7566 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7567 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7568 [$(build-bounded) = yes] (libtype.ob): Likewise.
7569 * Makerules (elide-routines.ob): Remove variable.
7570 (do-tests-clean): Do not handle *-bp.out.
7571 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7572 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7573 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7574 (tests): Do not include $(tests-bp.out).
7575 (xtests): Do not include $(xtests-bp.out).
7576 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7577 [$(build-bounded) = yes] ($(addprefix
7578 $(objpfx),$(binaries-bounded))): Remove rule.
7579 ($(objpfx)%-bp.out): Remove rule.
7580 * config.make.in (build-bounded): Remove variable.
7581 * crypt/Makefile [$(build-bounded) = yes]
7582 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7583 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7585 [$(build-bounded) = yes] (install-lib): Likewise.
7586 [$(build-bounded) = yes] (generated): Likewise.
7587 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7589 * intl/Makefile [$(build-bounded) = yes]
7590 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7591 * math/Makefile [$(build-bounded) = yes]
7592 ($(tests:%=$(objpfx)%-bp): Likewise.
7593 * misc/Makefile [$(build-bounded) = yes]
7594 ($(objpfx)tst-tsearch-bp): Likewise.
7595 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7596 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7598 * string/Makefile (o-objects.ob): Remove variable.
7599 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7600 (CFLAGS-.ob): Remove variable.
7601 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7602 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7603 both definitions of variable.
7604 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7605 (ASFLAGS-.ob): Remove variable.
7607 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7610 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7611 Remove __BOUNDED_POINTERS__ from condition.
7612 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7613 * string/bits/string2.h [!__NO_STRING_INLINES &&
7614 !__BOUNDED_POINTERS__]: Likewise.
7615 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7617 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7618 Remove conditional code.
7619 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7620 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7621 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7625 * csu/libc-start.c: Do not include <bp-sym.h>.
7626 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7627 * elf/dl-open.c: Do not include <bp-sym.h>.
7628 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7629 * math/fegetenv.c: Do not include <bp-sym.h>.
7630 (fegetenv): Do not use BP_SYM in versioned symbols.
7631 * nptl/sysdeps/pthread/bits/libc-lockP.h
7632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7635 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7637 (__pthread_mutex_destroy): Likewise.
7638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7639 (__pthread_mutex_lock): Likewise.
7640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7641 (__pthread_mutex_trylock): Likewise.
7642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7643 (__pthread_mutex_unlock): Likewise.
7644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7645 (__pthread_mutexattr_init): Likewise.
7646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7647 (__pthread_mutexattr_destroy): Likewise.
7648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7649 (__pthread_mutexattr_settype): Likewise.
7650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7651 (__pthread_rwlock_init): Likewise.
7652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7653 (__pthread_rwlock_destroy): Likewise.
7654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7655 (__pthread_rwlock_rdlock): Likewise.
7656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7657 (__pthread_rwlock_tryrdlock): Likewise.
7658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7659 (__pthread_rwlock_wrlock): Likewise.
7660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7661 (__pthread_rwlock_trywrlock): Likewise.
7662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7663 (__pthread_rwlock_unlock): Likewise.
7664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7665 (__pthread_key_create): Likewise.
7666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7667 (__pthread_setspecific): Likewise.
7668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7669 (__pthread_getspecific): Likewise.
7670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7673 (_pthread_cleanup_push_defer): Likewise.
7674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7675 (_pthread_cleanup_pop_restore): Likewise.
7676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7677 (pthread_setcancelstate): Likewise.
7678 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7680 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7681 (memchr): Do not use BP_SYM in weak_alias.
7682 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7683 (fegetenv): Do not use BP_SYM in versioned symbols.
7684 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7685 (fesetenv): Do not use BP_SYM in versioned symbols.
7686 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7687 (feupdateenv): Do not use BP_SYM in versioned symbols.
7688 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7689 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7690 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7691 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7692 (open64): Do not use BP_SYM in weak_alias.
7693 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7694 (fegetenv): Do not use BP_SYM in versioned symbols.
7695 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7696 (fesetenv): Do not use BP_SYM in versioned symbols.
7697 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7698 (feupdateenv): Do not use BP_SYM in versioned symbols.
7699 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7700 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7701 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7702 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7703 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7704 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7705 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7707 (__libc_start_main): Do not use BP_SYM.
7709 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7712 redundant return line.
7716 (sub_magnitudes): Likewise.
7722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7726 (sub_magnitudes): Likewise.
7733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7735 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7736 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7739 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7740 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7742 of __mul for squares.
7743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7747 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7748 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7750 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7753 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7755 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7756 prototype or function definition. Rename ubp_* variables and
7757 parameters. Remove argv definitions conditional on
7758 [__BOUNDED_POINTERS__].
7759 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7760 * elf/dl-runtime.c (_dl_fixup): Likewise.
7761 * include/set-hooks.h (RUN_HOOK): Likewise.
7762 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7764 * string/strcpy.c (strcpy): Do not use __unbounded.
7765 * sysdeps/generic/frame.h (struct layout): Likewise.
7766 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7767 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7768 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7769 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7770 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7771 (__backtrace): Likewise.
7772 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7774 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7775 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7776 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7778 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7779 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7780 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7781 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7782 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7783 Do not use __unbounded.
7784 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7785 Rename __unboundedrlimits parameter to rlimits in prototype.
7786 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7787 Do not use __unbounded.
7788 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7790 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7791 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7792 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7793 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7794 __ptrvalue or __unbounded.
7795 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7796 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7798 (__new_msgctl): Do not use __ptrvalue.
7799 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7801 (__libc_msgrcv): Do not use __ptrvalue.
7802 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7803 startup_info): Do not use __unbounded.
7804 (__libc_start_main): Likewise. Rename ubp_* variables and
7805 parameters. Remove argv definitions conditional on
7806 [__BOUNDED_POINTERS__].
7807 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7809 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7811 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7813 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7815 (__new_shmctl): Do not use __ptrvalue.
7816 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7817 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7819 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7821 (__libc_sigaction): Likewise.
7822 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7825 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7827 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7829 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7831 * string/mempcpy.c: Implement by calling memcpy.
7833 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7837 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7840 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7841 values in the mantissa.
7843 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7844 minimize writes to Z.
7845 (sub_magnitudes): Simplify code a bit.
7847 2013-02-12 Roland McGrath <roland@hack.frob.com>
7849 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7850 from the message. The linker prefixes all warnings with that already.
7852 2013-02-12 Andreas Schwab <schwab@suse.de>
7855 * posix/regexec.c (extend_buffers): Add parameter min_len.
7856 (check_matching): Pass minimum needed length.
7857 (clean_state_log_if_needed): Likewise.
7858 (get_subexp): Likewise.
7859 * posix/Makefile (tests): Add bug-regex34.
7860 (bug-regex34-ENV): Define.
7861 * posix/bug-regex34.c: New file.
7864 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7865 elements compare against the byte sequence of it, not its name.
7866 * posix/Makefile (tests): Add bug-regex35.
7867 (bug-regex35-ENV): Define.
7868 * posix/bug-regex35.c: New file.
7870 2013-02-11 Tom de Vries <tom@codesourcery.com>
7872 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7874 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7875 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7876 (CHECK_EOL): Add undef.
7878 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7880 * bits/stdlib-bsearch.h: New file.
7881 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7882 * stdlib/stdlib.h: Likewise.
7884 2013-02-11 Roland McGrath <roland@hack.frob.com>
7886 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7887 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7889 * manual/search.texi (Array Search Function): Add missing const in
7891 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7892 declaration to use rlim_t.
7893 (Basic Scheduling Functions): Remove erroneous const from
7894 sched_getparam prototype. Remove erroneous * from
7895 sched_get_priority_max and sched_get_priority_min prototypes.
7896 (Resource Usage): Fix summary @comment on vtimes to refer to
7897 sys/vtimes.h rather than vtimes.h.
7898 Add missing *s in vtimes prototype.
7899 (Limits on Resources): Fix ulimit prototype to return long int.
7900 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7901 prototypes to use long int rather than double.
7902 (BSD Random): Fix initstate and setstate to use char *, not void *.
7903 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7904 prototype to make second argument 'struct aiocb64 *const[]'.
7905 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7906 (Status of AIO Operations): Remove erroneous const in aio_return and
7907 aio_return64 prototypes.
7908 (Synchronizing I/O): Fix sync prototype to return void.
7909 * manual/startup.texi (Suboptions): Remove an erroneous const in
7910 getsubopt prototype.
7911 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7912 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7913 use size_t rather than int.
7914 (Scanning All Users): Likewise for getpwent_r.
7915 (Setting Groups): Add missing const to setgroups prototype.
7916 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7917 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7918 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7919 'const void *' rather than 'const char *'.
7920 (Host Address Functions): Likewise for inet_ntop.
7921 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7922 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7923 ssize_t for return value.
7924 (Sending Data): Likewise for send, sendto, sendmsg.
7925 (Socket Option Functions): Add a missing const in setsockopt prototype.
7926 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7927 use wchar_t for the argument.
7928 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7929 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7931 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7932 double/float/long double for second argument.
7933 Fix return types of significand, significandf, significandl.
7934 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7935 argument in fchmod prototype.
7936 (File Owner): Use uid_t and gid_t in fchown prototype.
7937 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7938 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7939 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7940 use 'const struct dirent **' as argument types to CMP function pointer
7942 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7943 (File Times): Fix summary magic @comment for struct utimbuf and utime
7944 to refer to utime.h, not time.h.
7945 * manual/string.texi (Argz Functions): Add missing const in
7946 argz_extract and argz_next prototypes.
7947 (Finding Tokens in a String): Likewise for basename.
7948 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7949 (Copying and Concatenation): Fix typo in wmemmove prototype.
7950 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7951 (Signal Stack): Remove erroneous const in sigstack prototype.
7952 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7954 (Simple Calendar Time): Likewise for stime.
7955 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7957 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7958 say sys/sysctl.h instead.
7959 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7960 and vsyslog prototypes.
7962 2013-02-11 Tom de Vries <tom@codesourcery.com>
7964 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7967 2013-02-11 Roland McGrath <roland@hack.frob.com>
7969 * misc/sys/mman.h: Fix typo in mremap comment.
7971 2013-02-08 Roland McGrath <roland@hack.frob.com>
7973 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7974 the '\0' terminator.
7976 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7979 * debug/segfault.c: Don't include <bp-checks.h>.
7980 * sysdeps/generic/bp-checks.h: Remove file.
7981 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7982 (__GETDENTS): Don't use CHECK_N.
7983 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7984 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7985 (__getgroups): Don't use CHECK_N.
7986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7987 (setgroups): Don't use CHECK_N.
7988 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7989 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7990 (__libc_msgrcv): Don't use CHECK_N.
7991 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7992 (__libc_msgsnd): Don't use CHECK_N.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7995 (__libc_pread): Don't use CHECK_N.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7997 include <bp-checks.h>.
7998 (__libc_pread64): Don't use CHECK_N.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8000 include <bp-checks.h>.
8001 (__libc_pwrite): Don't use CHECK_N.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8003 include <bp-checks.h>.
8004 (__libc_pwrite64): Don't use CHECK_N.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8007 (__libc_pread): Don't use CHECK_N.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8009 include <bp-checks.h>.
8010 (__libc_pread64): Don't use CHECK_N.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8012 include <bp-checks.h>.
8013 (__libc_pwrite): Don't use CHECK_N.
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8015 include <bp-checks.h>.
8016 (__libc_pwrite64): Don't use CHECK_N.
8017 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8018 (do_pread): Don't use CHECK_N.
8019 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8020 (do_pread64): Don't use CHECK_N.
8021 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8022 (do_pwrite): Don't use CHECK_N.
8023 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8024 (do_pwrite64): Don't use CHECK_N.
8025 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8026 (__libc_readv): Don't use CHECK_N.
8027 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8028 (semop): Don't use CHECK_N.
8029 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8031 (semtimedop): Don't use CHECK_N.
8032 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8033 (__libc_pread): Don't use CHECK_N.
8034 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8036 (__libc_pread64): Don't use CHECK_N.
8037 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8039 (__libc_pwrite): Don't use CHECK_N.
8040 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8042 (__libc_pwrite64): Don't use CHECK_N.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8045 (__libc_msgrcv): Don't use CHECK_N.
8046 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8047 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8048 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8049 (__libc_writev): Don't use CHECK_N.
8051 2013-02-08 Roland McGrath <roland@hack.frob.com>
8053 * string/strcpy.c: Removed unused variable.
8055 * Makeconfig (+sysdep-includes): Define with := rather than =.
8056 Use an existing include/ subdir of each sysdeps dir before it.
8058 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8060 * nscd/connection.c (register_traced_file): Comment function.
8061 [HAVE_INOTIFY] (union __inev): Define.
8062 [HAVE_INOTIFY] (inotify_check_files): New function.
8063 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8064 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8066 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8068 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8070 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8071 loaded if not already and that a failure is permanent.
8073 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8076 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8077 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8079 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8082 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8083 (CHECK_1_NULL_OK): Likewise.
8084 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8085 (__fxstat): Do not use CHECK_1.
8086 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8088 (___fxstat64): Do not use CHECK_1.
8089 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8091 (__fxstatat): Do not use CHECK_1.
8092 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8094 (__fxstatat64): Do not use CHECK_1.
8095 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8097 (__fxstat): Do not use CHECK_1.
8098 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8100 (__fxstatat): Do not use CHECK_1.
8101 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8103 (__getresgid): Do not use CHECK_1.
8104 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8106 (__getresuid): Do not use CHECK_1.
8107 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8109 (__lxstat): Do not use CHECK_1.
8110 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8112 (__old_msgctl): Do not use CHECK_1.
8113 (__new_msgctl): Likewise.
8114 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8116 (__new_setrlimit): Do not use CHECK_1.
8117 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8119 (__old_shmctl): Do not use CHECK_1.
8120 (__new_shmctl): Likewise.
8121 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8123 (__xstat): Do not use CHECK_1.
8124 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8125 (__lxstat): Do not use CHECK_1.
8126 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8128 (___lxstat64): Do not use CHECK_1.
8129 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8130 (__old_msgctl): Do not use CHECK_1.
8131 (__new_msgctl): Likewise.
8132 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8134 (__gettimeofday): Do not use CHECK_1.
8135 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8136 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8137 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8139 (__gettimeofday): Do not use CHECK_1.
8140 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8141 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8142 (__new_shmctl): Do not use CHECK_1.
8143 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8145 (do_sigtimedwait): Do not use CHECK_1.
8146 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8148 (do_sigwaitinfo): Do not use CHECK_1.
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8151 (msgctl): Do not use CHECK_1.
8152 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8154 (shmctl): Do not use CHECK_1.
8155 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8156 (ustat): Do not use CHECK_1.
8157 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8159 (__fxstat): Do not use CHECK_1.
8160 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8162 (__fxstatat): Do not use CHECK_1.
8163 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8165 (__lxstat): Do not use CHECK_1.
8166 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8168 (__xstat): Do not use CHECK_1.
8169 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8170 (__xstat): Do not use CHECK_1.
8171 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8172 (___xstat64): Do not use CHECK_1.
8175 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8177 (CHECK_BOUNDS_HIGH): Likewise.
8178 * string/strcpy.c: Do not include <bp-checks.h>.
8179 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8181 2013-02-07 Roland McGrath <roland@hack.frob.com>
8183 * nscd/nscd-client.h (__nscd_drop_map_ref):
8184 Add __attribute__ ((unused)).
8185 * nis/nss-nisplus.h (niserr2nss): Likewise.
8187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8188 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8190 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8191 Remove inline keyword.
8192 * include/rounding-mode.h (round_away): Likewise.
8193 * libio/wfileops.c (adjust_wide_data): Likewise.
8194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8195 (__m128i_strloadu_tolower): Likewise.
8196 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8197 (__m128i_strloadu_tolower): Likewise.
8198 * time/mktime.c (ydhms_diff): Likewise.
8199 * locale/elem-hash.h (elem_hash): Likewise.
8200 * locale/setlocale.c (setdata): Likewise.
8201 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8202 (re_string_wchar_at): Likewise.
8203 (bitset_not, bitset_merge, bitset_mask): Likewise.
8204 [!(__GNUC__ > 3)] (inline): Remove macro.
8205 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8206 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8207 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8208 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8209 * string/memcmp.c (memcmp_bytes): Likewise.
8210 * locale/programs/locarchive.c (compute_hashval): Likewise.
8211 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8212 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8213 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8214 * nss/getent.c (print_rpc, print_protocols): Likewise.
8215 (print_passwd, print_group, print_aliases): Likewise.
8216 * nis/nss-nisplus.h (niserr2nss): Likewise.
8217 * nscd/connections.c (restart_p): Likewise.
8218 Change return type to bool.
8220 2013-02-05 Roland McGrath <roland@hack.frob.com>
8222 * Makeconfig (all-Depend-files): Add existing
8223 $(sorted-subdirs:=/Depend) files.
8224 (all-subdirs): Remove nss.
8225 * sysdeps/unix/inet/Subdirs: Add it here instead.
8226 * hesiod/Depend: New file.
8228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8229 instead of calling alloca.
8231 * io/lseek.c (__lseek): Rename to __libc_lseek.
8232 Define __lseek as an alias.
8234 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8236 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8238 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8239 else clause and remove check for non-standard endianness.
8241 2013-02-04 David S. Miller <davem@davemloft.net>
8243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8245 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8248 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8249 (__ubp_memchr): Remove prototype.
8250 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8251 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8252 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8253 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8254 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8256 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8257 (__ubp_memchr): Likewise.
8258 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8259 (__ubp_memchr): Likewise.
8260 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8261 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8262 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8263 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8265 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8266 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8267 (__getcwd): Do not use CHECK_STRING.
8268 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8270 (__real_chown): Do not use CHECK_STRING.
8271 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8273 (fchownat): Do not use CHECK_STRING.
8274 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8276 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8278 (__lchown): Do not use CHECK_STRING.
8279 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8280 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8281 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8282 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8284 include <bp-checks.h>.
8285 (truncate64): Do not use CHECK_STRING.
8286 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8288 (__real_chown): Do not use CHECK_STRING.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8291 (__lchown): Do not use CHECK_STRING.
8292 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8294 (__chown): Do not use CHECK_STRING.
8295 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8297 (truncate64): Do not use CHECK_STRING.
8298 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8300 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8301 (__xmknod): Do not use CHECK_STRING.
8302 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8304 (__xmknodat): Do not use CHECK_STRING.
8305 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8306 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8308 2013-02-04 Andreas Schwab <schwab@suse.de>
8311 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8312 * include/netdb.h: Likewise for h_errno.
8313 * elf/tst-stackguard1.c: Include <tls.h>.
8315 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8317 * elf/link.h (struct link_map): Extend the l_addr comment.
8318 * include/link.h (struct link_map): Likewise.
8320 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8323 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8324 (BOUNDED_1): Remove macro.
8325 * debug/backtrace.c: Don't include <bp-checks.h>.
8326 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8327 (__backtrace): Likewise.
8328 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8330 (__backtrace): Don't use BOUNDED_1.
8331 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8333 (__backtrace): Don't use BOUNDED_1.
8334 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8335 (__backtrace): Don't use BOUNDED_1.
8336 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8337 (shmat): Don't use BOUNDED_N.
8339 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/generic/bp-start.h: Remove file.
8343 * csu/libc-start.c: Don't include <bp-start.h>.
8344 (LIBC_START_MAIN): Set up __environ directly instead of using
8345 INIT_ARGV_and_ENVIRON.
8346 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8350 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8352 (CHECK_FCNTL): Likewise.
8353 (CHECK_N_PAGES): Likewise.
8356 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8358 (CHECK_SIGSET_NULL_OK): Likewise.
8359 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8361 (sigpending): Don't use CHECK_SIGSET.
8362 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8364 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8365 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8367 (do_sigsuspend): Don't use CHECK_SIGSET.
8368 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8370 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8371 (do_sigwait): Don't use CHECK_SIGSET.
8372 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8375 include <bp-checks.h>.
8376 (sigpending): Don't use CHECK_SIGSET.
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8378 include <bp-checks.h>.
8379 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8380 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8382 (sigpending): Don't use CHECK_SIGSET.
8383 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8385 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8388 * sysdeps/generic/bp-semctl.h: Remove file.
8389 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8390 <bp-checks.h> and <bp-semctl.h>.
8391 (__old_semctl): Don't use CHECK_SEMCTL.
8392 (__new_semctl): Likewise.
8393 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8395 (__old_semctl): Don't use CHECK_SEMCTL.
8396 (__new_semctl): Likewise.
8397 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8398 <bp-checks.h> and <bp-semctl.h>.
8399 (__old_semctl): Don't use CHECK_SEMCTL.
8400 (__new_semctl): Likewise.
8401 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8402 <bp-checks.h> and <bp-semctl.h>.
8403 (semctl): Don't use CHECK_SEMCTL.
8406 * Makerules (elide-bp-thunks): Remove variable.
8407 (elide-routines.oS): Don't use $(elide-bp-thunks).
8408 (elide-routines.os): Likewise.
8409 (elide-routines.o): Likewise.
8410 (elide-routines.op): Likewise.
8411 (elide-routines.og): Likewise.
8412 (objects): Don't use $(bp-thunks).
8413 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8415 (common-generated): Do not add s-proto-bp.d.
8416 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8419 Do not generate makefile rules for bounded-pointer thunks.
8420 * sysdeps/generic/bp-thunks.h: Remove file.
8421 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8422 * sysdeps/unix/s-proto-bp.S: Likewise.
8425 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8426 parts of result separately when argument is not close to line from
8427 -i to i and one part of argument is small.
8428 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8429 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8430 * math/libm-test.inc (cacos_test): Add more tests.
8431 (casin_test): Likewise.
8432 (casinh_test): Likewise.
8433 * sysdeps/i386/fpu/libm-test-ulps: Update.
8434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8436 2013-01-31 David S. Miller <davem@davemloft.net>
8438 * po/de.po: Update from translation team.
8440 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8442 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8444 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8446 * configure.in (_AC_PROG_CC_C89): New definition.
8447 * configure: Regenerate.
8449 * configure.in (AC_PROG_CPP): New definition.
8450 * configure: Regenerate.
8452 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8454 * debug/tst-backtrace.h: New file.
8455 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8456 (ret): Remove variable.
8458 (FAIL): Remove macro.
8459 (NO_INLINE): Likewise.
8460 (fn1): Use match function instead of strstr.
8461 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8462 (ret): Remove variable.
8464 (FAIL): Remove macro.
8465 (NO_INLINE): Likewise.
8466 (fn): Use match function instead of strstr.
8467 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8468 (ret): Remove variable.
8470 (FAIL): Remove macro.
8471 (NO_INLINE): Likewise.
8472 (handle_signal): Use match function instead of strstr.
8473 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8474 (ret): Remove variable.
8476 (FAIL): Remove macro.
8477 (NO_INLINE): Likewise.
8478 (handle_signal): Use match function instead of strstr.
8480 2013-01-23 Roland McGrath <roland@hack.frob.com>
8482 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8484 2013-01-23 David S. Miller <davem@davemloft.net>
8486 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8487 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8488 argument of CAS if possible.
8489 * sysdeps/sparc/sparc64/bits/atomic.h
8490 (__arch_compare_and_exchange_val_32_acq): Likewise.
8491 (__arch_compare_and_exchange_val_64_acq): Likewise.
8493 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8495 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8496 * sysdeps/posix/ulimit.c: ... this.
8498 * sysdeps/unix/bsd/ulimit.c: Remove file.
8500 2013-01-23 Adam Conrad <adconrad@0c3.net>
8502 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8503 (LDFLAGS-tst-array5): Likewise.
8505 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8508 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8509 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8510 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8511 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8513 2013-01-21 David S. Miller <davem@davemloft.net>
8515 * sysdeps/sparc/backtrace.c: New file.
8516 * sysdeps/sparc/sparc32/backtrace.h: New file.
8517 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8518 * sysdeps/sparc/sparc64/backtrace.h: New file.
8519 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8520 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8523 2013-01-21 Andreas Schwab <schwab@suse.de>
8526 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8529 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8535 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8536 Mark Mitchell <mark@codesourcery.com>
8537 Tom de Vries <tom@codesourcery.com>
8538 Paul Pluzhnikov <ppluzhnikov@google.com>
8540 * debug/tst-backtrace2.c: New file.
8541 * debug/tst-backtrace3.c: Likewise.
8542 * debug/tst-backtrace4.c: Likewise.
8543 * debug/tst-backtrace5.c: Likewise.
8544 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8545 (CFLAGS-tst-backtrace3.c): Likewise.
8546 (CFLAGS-tst-backtrace4.c): Likewise.
8547 (CFLAGS-tst-backtrace5.c): Likewise.
8548 (LDFLAGS-tst-backtrace2): Likewise.
8549 (LDFLAGS-tst-backtrace3): Likewise.
8550 (LDFLAGS-tst-backtrace4): Likewise.
8551 (LDFLAGS-tst-backtrace5): Likewise.
8552 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8553 tst-backtrace4 and tst-backtrace5.
8555 2013-01-18 Anton Blanchard <anton@samba.org>
8556 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8558 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8559 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8560 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8561 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8563 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8564 "+r" and remove output regs list as redundant. Add explicit inline
8565 asm to specify register of return val to work around compiler codegen
8566 bug. Remove (int) cast on return value. Add return type parameter to
8567 use in macro so that this macro does not truncate return value for
8569 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8570 pass to INTERNAL_VSYSCALL_NCS.
8571 (INLINE_VSYSCALL): Add 'long int' as return type to
8572 INTERNAL_VSYSCALL_NCS macro invocation.
8573 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8574 INTERNAL_VSYSCALL_NCS macro invocation.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8577 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8580 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8581 Fix application of SIMD FP exception mask.
8583 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8584 mp_no from a power of two.
8585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8586 __mpexp_twomm1. Use __pow_mp.
8588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8591 2013-01-17 David S. Miller <davem@davemloft.net>
8593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8595 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8598 * include/complex.h: Condition contents on [!_COMPLEX_H].
8599 (__kernel_casinhf): New prototype.
8600 (__kernel_casinh): Likewise.
8601 (__kernel_casinhl): Likewise.
8602 * math/Makefile (libm_calls): Add k_casinh.
8603 * math/k_casinh.c: New file.
8604 * math/k_casinhf.c: Likewise.
8605 * math/k_casinhl.c: Likewise.
8606 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8607 finite nonzero arguments.
8608 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8609 finite nonzero arguments.
8610 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8611 finite nonzero arguments.
8612 * math/s_casinh.c: Do not include <float.h>.
8613 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8614 * math/s_casinhf.c: Do not include <float.h>.
8615 (__casinhf): Move code for finite nonzero arguments to
8617 * math/s_casinhl.c: Do not include <float.h>.
8618 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8620 (__casinhl): Move code for finite nonzero arguments to
8622 * math/libm-test.inc (cacos_test): Add more tests.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8626 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8628 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8629 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8630 [!HAVE_MREMAP]: Remove [defined linux] case.
8631 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8633 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8635 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8637 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8639 * elf/elf.h (R_386_SIZE32): New relocation.
8640 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8642 (elf_machine_rela): Likewise.
8643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8644 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8646 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8648 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8649 (FP_FAST_FMA): Do not define.
8650 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8651 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8652 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8653 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8654 !_SOFT_FLOAT]: Likewise.
8655 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8658 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8659 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8660 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8661 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8662 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8663 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8666 2013-01-16 Andreas Schwab <schwab@suse.de>
8669 * include/stdlib.h (__mktemp): Add declaration.
8670 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8671 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8673 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8675 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8677 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8678 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8679 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8681 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8682 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8684 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8686 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8687 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8688 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8690 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8691 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8693 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8695 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8697 2013-01-15 David S. Miller <davem@davemloft.net>
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8700 trunc{,f} to libm-sysdep_routes.
8701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8711 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8715 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8716 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8719 nearbyint{,f} to libm-sysdep_routes.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8741 libc_feholdexcept and libc_fesetenv.
8743 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8745 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8747 2013-01-14 David S. Miller <davem@davemloft.net>
8749 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8750 (SPARC_ASM_VIS2_IFUNC): Likewise.
8751 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8753 use of 'siam' instruction.
8754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8787 routines to libm-sysdep_routines.
8788 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8791 fdim/fdimf to libm-sysdep_routines.
8792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8800 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8801 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8802 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8803 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8805 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8807 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8810 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8815 local variable MPTWO.
8816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8819 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8821 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8824 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8826 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8828 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8830 * manual/pattern.texi (glob_t): Document gl_flags.
8831 (glob64_t): Likewise.
8833 2013-01-11 David S. Miller <davem@davemloft.net>
8835 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8836 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8837 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8838 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8839 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8840 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8841 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8842 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8843 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8844 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8845 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8846 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8847 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8849 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8850 sparc V9 rather than using V8 code.
8851 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8852 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8854 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8856 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8859 2013-01-11 Roland McGrath <roland@hack.frob.com>
8861 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8862 not in the main loop.
8863 * configure: Regenerated.
8865 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8867 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8868 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8870 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8871 [!__GLIBC_HAVE_LONG_LONG] case.
8872 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8873 condition to just #else.
8874 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8875 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8876 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8877 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8879 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8880 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8881 #elif condition to just #else.
8882 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8883 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8884 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8885 #elif condition to just #else.
8887 2013-01-11 Steve Ellcey <sellcey@mips.com>
8889 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8890 (EF_MIPS_ARCH_64): Fix value.
8891 (EF_MIPS_ARCH_32R2): New.
8892 (EF_MIPS_ARCH_64R2): New.
8894 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8896 * Makeconfig (+link-pie-before-libc): New.
8897 (+link-pie-after-libc): Likewise.
8898 (+link-pie-tests): Likewise.
8899 (+link-pie): Rewritten.
8900 (link-before-libc): Remove $(config-LDFLAGS).
8901 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8902 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8903 (config-LDFLAGS): Renamed to ...
8904 (rtld-LDFLAGS): This.
8905 (rtld-tests-LDFLAGS): New macro.
8906 (link-libc-rpath-link): Likewise.
8907 (link-libc-tests-rpath-link): Likewise.
8908 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8909 (link-libc): Prepand $(link-libc-rpath-link).
8910 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8911 (test-program-prefix): New macro.
8912 (test-via-rtld-prefix): Likewise.
8913 (test-program-cmd): Likewise.
8914 (host-test-program-cmd): Likewise.
8915 * Makefile ($(common-objpfx)testrun.sh): Replace
8916 $(run-program-prefix) with $(test-program-prefix).
8917 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8919 ($(common-objpfx)shlib.lds): Likewise.
8920 (build-module-helper): Likewise.
8921 ($(common-objpfx)format.lds): Likewise.
8922 * Rules (binaries-pie-tests): New.
8923 (binaries-pie-notests): Likewise.
8924 (binaries-pie): Rewritten.
8925 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8926 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8927 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8928 (make-test-out): Replace $(host-built-program-cmd) with
8929 $(host-test-program-cmd).
8930 * config.make.in (build-hardcoded-path-in-tests): New variable.
8931 * configure.in (--enable-hardcoded-path-in-tests): New configure
8933 (hardcoded_path_in_tests): New AC_SUBST.
8934 * configure: Regenerated.
8935 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8936 $(built-program-cmd) with $(test-program-cmd).
8937 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8938 (test_program_cmd): This.
8939 * elf/Makefile ($(objpfx)order.out): Run test with
8940 $(test-program-prefix).
8941 ($(objpfx)order2.out): Likewise.
8942 ($(objpfx)tst-initorder.out): Likewise.
8943 ($(objpfx)tst-initorder2.out): Likewise.
8944 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8945 $(test-program-cmd).
8946 ($(objpfx)tst-array1-static.out): Likewise.
8947 ($(objpfx)tst-array2.out): Likewise.
8948 ($(objpfx)tst-array3.out): Likewise.
8949 ($(objpfx)tst-array4.out): Likewise.
8950 ($(objpfx)tst-array5.out): Likewise.
8951 ($(objpfx)tst-array5-static.out): Likewise.
8952 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8953 $(test-program-cmd).
8954 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8955 $(run-program-prefix) with $(test-program-prefix).
8956 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8957 (test_program_prefix): This.
8958 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8959 $(run-program-prefix) with $(test-program-prefix).
8960 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8961 (test_program_prefix): This.
8962 * iconvdata/tst-tables.sh: Likewise.
8963 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8964 $(run-program-prefix) with $(test-program-prefix).
8965 ($(objpfx)tst-translit.out): Likewise.
8966 ($(objpfx)tst-gettext2.out): Likewise.
8967 ($(objpfx)tst-gettext4.out): Likewise.
8968 ($(objpfx)tst-gettext6.out): Likewise.
8969 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8970 (test_program_prefix): This.
8971 * intl/tst-gettext2.sh: Likewise.
8972 * intl/tst-gettext4.sh Likewise.
8973 * intl/tst-gettext6.sh: Likewise.
8974 * intl/tst-translit.sh: Likewise.
8975 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8976 with $(test-program-cmd).
8977 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8978 $(run-program-prefix) with $(test-program-prefix).
8979 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8980 (test_program_prefix): This.
8981 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8982 $(run-program-prefix) with $(test-program-prefix).
8983 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8984 (test_program_prefix): This.
8985 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8986 * posix/Makefile ($(objpfx)globtest.out): Replace
8987 $(run-via-rtld-prefix) and $(test-wrapper) with
8988 $(test-program-prefix) and $(test-via-rtld-prefix).
8989 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8990 $(test-program-prefix).
8991 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8992 $(host-test-program-cmd).
8993 (tst-spawn-ARGS): Likewise.
8994 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8995 $(test-program-prefix).
8996 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8997 (test_via_rtld_prefix): This.
8998 (test_wrapper): Renamed to ...
8999 (test_program_prefix): This.
9000 (run_program_prefix): Replaced by test_program_prefix.
9001 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9002 (test_program_prefix): This.
9003 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9004 with $(host-test-program-cmd).
9005 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9006 $(run-program-prefix) with $(test-program-prefix).
9007 ($(objpfx)tst-printf.out): Likewise.
9008 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9009 $(test-program-cmd).
9010 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9011 (test_program_prefix): This.
9012 * stdio-common/tst-unbputc.sh: Likewise.
9013 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9014 $(run-program-prefix) with $(test-program-prefix).
9015 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9016 (test_program_prefix): This.
9017 * string/Makefile ($(objpfx)tst-svc.out): Replace
9018 $(built-program-cmd) with $(test-program-cmd).
9020 2013-01-11 Andreas Jaeger <aj@suse.de>
9023 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9024 value. Sync with Linux 3.7.
9026 2013-01-10 David S. Miller <davem@davemloft.net>
9028 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9029 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9030 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9032 2013-01-10 Roland McGrath <roland@hack.frob.com>
9034 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9036 * configure: Regenerated.
9038 2013-01-10 David S. Miller <davem@davemloft.net>
9040 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9041 sparc V9 rather than using V8 code.
9042 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9043 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9045 2013-01-10 Roland McGrath <roland@hack.frob.com>
9047 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9048 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9049 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9050 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9051 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9052 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9053 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9054 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9055 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9056 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9057 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9058 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9059 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9060 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9061 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9062 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9063 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9064 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9065 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9066 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9067 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9068 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9069 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9070 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9071 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9072 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9073 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9075 2013-01-10 David S. Miller <davem@davemloft.net>
9077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9079 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9081 * posix/Makefile (tests-static): New variable.
9082 (tests): Add $(tests-static).
9083 (tst-exec-static-ARGS): New variable.
9084 (tst-spawn-static-ARGS): Likewise.
9085 * posix/tst-exec-static.c: New file.
9086 * posix/tst-spawn-static.c: Likewise.
9087 * posix/tst-exec.c: Support run directly.
9088 * posix/tst-spawn.c: Likewise.
9090 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9092 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9094 * math/bits/mathcalls.h (llrint): Likewise.
9095 (llround): Likewise.
9096 * stdlib/stdlib.h (struct drand48_data): Likewise.
9097 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9098 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9099 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9101 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9103 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9104 (elf_greg_t): Likewise.
9105 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9106 (__jmp_buf): Likewise.
9107 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9109 (llrint): Likewise, for all definitions.
9110 (llrintl): Likewise.
9112 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9113 Remove [__GNUC__] condition.
9114 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9115 condition to just [__USE_ISOC99].
9116 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9118 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9121 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9122 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9124 (_POSIX_V6_ILP32_OFF32): Likewise.
9125 (_XBS5_ILP32_OFF32): Likewise.
9126 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9127 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9129 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9131 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9134 doubles __mpexp_twomm1. Adjust usage.
9135 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9138 2013-01-10 Andreas Schwab <schwab@suse.de>
9141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9142 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9144 2013-01-09 David S. Miller <davem@davemloft.net>
9147 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9148 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9149 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9150 TCP_FASTOPEN): Define.
9151 (tcp_repair_opt): New structure.
9152 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9154 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9155 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9156 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9157 (tcp_cookie_transactions): New structure.
9159 2013-01-09 Anton Blanchard <anton@samba.org>
9161 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9162 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9163 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9164 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9166 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9168 * include/features.h (__USE_ANSI): Remove.
9170 2013-01-09 Roland McGrath <roland@hack.frob.com>
9172 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9174 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9176 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9178 * sysdeps/s390/fpu/libm-test-ulps: Update.
9180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9182 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9187 (__mp_dbl): Likewise.
9188 (__dbl_mp): Likewise.
9189 (add_magnitudes): Likewise.
9190 (sub_magnitudes): Likewise.
9196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9201 (__mp_dbl): Likewise.
9202 (__dbl_mp): Likewise.
9203 (add_magnitudes): Likewise.
9204 (sub_magnitudes): Likewise.
9210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9215 (__mp_dbl): Likewise.
9216 (__dbl_mp): Likewise.
9217 (add_magnitudes): Likewise.
9218 (sub_magnitudes): Likewise.
9225 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9227 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9228 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9229 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9230 2 && __USE_EXTERN_INLINES]: Likewise.
9232 2013-01-08 Andreas Jaeger <aj@suse.de>
9235 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9237 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9238 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9240 2013-01-07 Anton Blanchard <anton@samba.org>
9242 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9243 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9244 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9245 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9246 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9247 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9248 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9249 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9252 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9253 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9254 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9258 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9260 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9262 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9263 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9264 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9267 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9268 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9269 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9270 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9271 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9272 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9273 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9275 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9276 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9277 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9278 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9279 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9280 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9283 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9284 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9286 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9288 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9289 (__MALLOC_PMT): Likewise.
9290 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9291 [__GNUC__], only on [_LIBC].
9292 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9293 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9294 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9295 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9296 forward declaration.
9297 (realloc_hook_ini): Likewise.
9298 (memalign_hook_ini): Likewise.
9299 (__libc_memalign): Do not use __MALLOC_PMT in variable
9301 (__libc_valloc): Likewise.
9302 (__libc_pvalloc): Likewise.
9303 (__libc_calloc): Likewise.
9304 (__posix_memalign): Likewise.
9307 * math/s_casinh.c: Include <float.h>.
9308 (__casinh): Do not do computation with squaring and square root
9309 for large arguments.
9310 * math/s_casinhf.c: Include <float.h>.
9311 (__casinhf): Do not do computation with squaring and square root
9312 for large arguments.
9313 * math/s_casinhl.c: Include <float.h>.
9314 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9315 (__casinhl): Do not do computation with squaring and square root
9316 for large arguments.
9317 * math/libm-test.inc (casin_test): Add more tests.
9318 (casinh_test): Likewise.
9319 * sysdeps/i386/fpu/libm-test-ulps: Update.
9320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9322 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9324 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9325 (__x86_64_raw_data_cache_size): Likewise.
9326 (__x86_64_data_cache_size_half): Likewise.
9327 (__x86_64_raw_data_cache_size_half): Likewise.
9328 (__x86_64_shared_cache_size): Likewise.
9329 (__x86_64_raw_shared_cache_size): Likewise.
9330 (__x86_64_shared_cache_size_half): Likewise.
9331 (__x86_64_raw_shared_cache_size_half): Likewise.
9332 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9334 (__x86_data_cache_size): This.
9335 (__x86_64_raw_data_cache_size): Renamed to ...
9336 (__x86_raw_data_cache_size): This.
9337 (__x86_64_data_cache_size_half): Renamed to ...
9338 (__x86_data_cache_size_half): This.
9339 (__x86_64_raw_data_cache_size_half): Renamed to ...
9340 (__x86_raw_data_cache_size_half): This.
9341 (__x86_64_shared_cache_size): Renamed to ...
9342 (__x86_shared_cache_size): This.
9343 (__x86_64_raw_shared_cache_size): Renamed to ...
9344 (__x86_raw_shared_cache_size): This.
9345 (__x86_64_shared_cache_size_half): Renamed to ...
9346 (__x86_shared_cache_size_half): This.
9347 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9348 (__x86_raw_shared_cache_size_half): This.
9349 * sysdeps/x86_64/memcpy.S: Updated.
9350 * sysdeps/x86_64/memset.S: Likewise.
9351 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9353 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9355 2013-01-04 David S. Miller <davem@davemloft.net>
9357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9359 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9361 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9362 1 to avoid redefinition warning.
9363 (__USE_GNU): Don't define.
9364 (init_signaling_nan): Protoize.
9366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9368 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9370 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9372 (__cpymn): Likewise.
9373 (norm): Remove commented code.
9375 (__mp_dbl): Likewise.
9377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9378 (__cpymn): Likewise.
9379 (norm): Remove commented code.
9381 (__mp_dbl): Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9385 mp_no value for 1.0 and 2.0.
9386 (norm): Use RADIXI instead of radixi.d.
9388 (__mul): Use 0.0 instead of zero.d.
9389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9390 mp_no value for 1.0 and 2.0.
9391 (norm): Use RADIXI instead of radixi.d.
9393 (__mul): Use 0.0 instead of zero.d.
9395 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9398 * math/s_casinh.c (__casinh): Reduce finite argument to first
9399 quadrant then set signs of results at the end.
9400 * math/s_casinhf.c (__casinhf): Likewise.
9401 * math/s_casinhl.c (__casinhl): Likewise.
9402 * math/libm-test.inc (casin_test): Add more tests.
9403 (casinh_test): Likewise.
9404 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9409 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9411 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9413 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9416 (__mp_dbl): Likewise.
9419 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9420 and adjust the header comment.
9422 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9423 variable name from declaration.
9425 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9428 Initialize COMMON_CPUID_INDEX_7 element.
9429 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9430 (CPUID_RTM): Likewise.
9431 (HAS_RTM): Likewise.
9432 (COMMON_CPUID_INDEX_7): New enum.
9434 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9437 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9438 size is zero, record memory as freed.
9440 2013-01-03 Andreas Jaeger <aj@suse.de>
9442 * po/ia.po: Add new Interlingua translation.
9444 2012-01-03 Allan McRae <allan@archlinux.org>
9446 * locale/programs/localedef.c: Fix description of '--posix' flag.
9448 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9450 * NEWS: Update dates in second copyright notice.
9451 * README: Update copyright dates in example.
9452 * manual/libc.texinfo: Update copyright dates.
9453 * scripts/test-installation.pl: Update copyright date in --version
9456 * hurd/ctty-input.c: Fix copyright notice formatting.
9457 * hurd/ctty-output.c: Likewise.
9458 * hurd/dtable.c: Likewise.
9459 * hurd/hurd-raise.c: Likewise.
9460 * hurd/hurdprio.c: Likewise.
9461 * hurd/msgportdemux.c: Likewise.
9462 * misc/sys/file.h: Likewise.
9463 * misc/sys/ioctl.h: Likewise.
9464 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9465 * sysdeps/mach/hurd/chdir.c: Likewise.
9466 * sysdeps/mach/hurd/fchdir.c: Likewise.
9467 * sysdeps/mach/hurd/rename.c: Likewise.
9468 * sysdeps/mach/hurd/rmdir.c: Likewise.
9469 * sysdeps/mach/hurd/seekdir.c: Likewise.
9470 * sysdeps/mach/hurd/setsid.c: Likewise.
9471 * sysdeps/posix/wait3.c: Likewise.
9473 * All files with FSF copyright notices: Update copyright dates
9474 using scripts/update-copyrights.
9475 * intl/plural.c: Regenerated.
9476 * locale/programs/charmap-kw.h: Likewise.
9477 * locale/programs/locfile-kw.h: Likewise.
9479 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9481 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9484 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9485 calculation loop and add branch prediction.
9487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9488 check access beyond bounds of m1np.
9490 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9492 (__inv): Remove local variable MPTWO to use the global
9494 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9497 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9498 MP3HALFS static const.
9500 2013-01-01 David S. Miller <davem@davemloft.net>
9502 * po/ca.po: Update from translation team.
9504 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9506 * scripts/update-copyrights: New file.
9507 * Makeconfig: Reformat copyright notice.
9508 * ctype/ctype.h: Likewise.
9509 * debug/swprintf_chk.c: Likewise.
9510 * elf/dl-cache.c: Likewise.
9511 * elf/dl-debug.c: Likewise.
9512 * elf/dl-object.c: Likewise.
9513 * grp/initgroups.c: Likewise.
9514 * hurd/Makefile: Likewise.
9515 * hurd/hurd/signal.h: Likewise.
9516 * hurd/hurdfault.c: Likewise.
9517 * hurd/hurdioctl.c: Likewise.
9518 * hurd/hurdlookup.c: Likewise.
9519 * hurd/intr-msg.c: Likewise.
9520 * iconv/gconv_open.c: Likewise.
9521 * libio/swprintf.c: Likewise.
9522 * locale/lc-ctype.c: Likewise.
9523 * locale/nl_langinfo.c: Likewise.
9524 * mach/Machrules: Likewise.
9525 * mach/Makefile: Likewise.
9526 * malloc/obstack.h: Likewise.
9527 * manual/Makefile: Likewise.
9528 * manual/tsort.awk: Likewise.
9529 * misc/bits/stab.def: Likewise.
9530 * nis/nis_print_group_entry.c: Likewise.
9531 * nis/nis_table.c: Likewise.
9532 * nis/nss_compat/compat-pwd.c: Likewise.
9533 * nis/nss_compat/compat-spwd.c: Likewise.
9534 * po/Makefile: Likewise.
9535 * posix/fnmatch.c: Likewise.
9536 * posix/regex.h: Likewise.
9537 * resolv/Makefile: Likewise.
9538 * resolv/nss_dns/dns-network.c: Likewise.
9539 * resolv/res_hconf.c: Likewise.
9540 * scripts/gen-sorted.awk: Likewise.
9541 * soft-fp/soft-fp.h: Likewise.
9542 * stdio-common/printf.h: Likewise.
9543 * stdlib/monetary.h: Likewise.
9544 * stdlib/random.c: Likewise.
9545 * stdlib/random_r.c: Likewise.
9546 * sysdeps/generic/Makefile: Likewise.
9547 * sysdeps/gnu/Makefile: Likewise.
9548 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9558 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9559 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9560 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9561 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9562 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9563 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9564 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9565 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9568 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9569 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9570 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9571 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9572 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9574 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9576 * sysdeps/mach/hurd/errnos.awk: Likewise.
9577 * sysdeps/mach/hurd/fork.c: Likewise.
9578 * sysdeps/mach/hurd/getcwd.c: Likewise.
9579 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9580 * sysdeps/mach/hurd/mmap.c: Likewise.
9581 * sysdeps/mach/hurd/utimes.c: Likewise.
9582 * sysdeps/mach/hurd/xmknod.c: Likewise.
9583 * sysdeps/posix/profil.c: Likewise.
9584 * sysdeps/posix/readdir_r.c: Likewise.
9585 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9586 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9587 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9592 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9594 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9595 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9596 * sysdeps/pthread/lio_listio.c: Likewise.
9597 * sysdeps/sparc/dl-procinfo.h: Likewise.
9598 * sysdeps/unix/i386/sysdep.S: Likewise.
9599 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9600 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9601 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9602 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9604 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9605 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9606 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9607 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9608 * sysdeps/wordsize-32/divdi3.c: Likewise.
9609 * time/sys/time.h: Likewise.
9610 * wcsmbs/Makefile: Likewise.
9612 2013-01-01 David S. Miller <davem@davemloft.net>
9614 * po/fr.po: Update from translation team.
9616 * catgets/gencat.c: Update copyright year.
9617 * csu/version.c: Likewise.
9618 * debug/catchsegv.sh: Likewise.
9619 * debug/pcprofiledump.c: Likewise.
9620 * debug/xtrace.sh: Likewise.
9621 * elf/ldconfig.c: Likewise.
9622 * elf/ldd.bash.in: Likewise.
9623 * elf/pldd.c: Likewise.
9624 * elf/sotruss.ksh: Likewise.
9625 * elf/sprof.c: Likewise.
9626 * iconv/iconv_prog.c: Likewise.
9627 * iconv/iconvconfig.c: Likewise.
9628 * locale/programs/locale.c: Likewise.
9629 * locale/programs/localedef.c: Likewise.
9630 * login/programs/pt_chown.c: Likewise.
9631 * malloc/memusage.sh: Likewise.
9632 * malloc/memusagestat.c: Likewise.
9633 * malloc/mtrace.pl: Likewise.
9634 * nscd/nscd.c: Likewise.
9635 * nss/getent.c: Likewise.
9636 * nss/makedb.c: Likewise.
9637 * posix/getconf.c: Likewise.
9639 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9641 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9644 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9646 * math/bits/mathcalls.h (modf): Use __nonnull.
9648 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9650 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9651 (split): Use macro CN instead of the bare value.
9652 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9655 instead of the bare value.
9658 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9660 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9662 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9664 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9666 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9667 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9668 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9669 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9671 2012-12-28 Andreas Jaeger <aj@suse.de>
9673 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9674 values are from Linux 3.7.
9676 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9677 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9679 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9681 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9684 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9686 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9687 variables with preprocessor constants.
9688 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9689 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9690 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9692 2012-12-27 Bruno Haible <bruno@clisp.org>
9695 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9698 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9701 and use variable directly.
9702 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9704 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9706 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9711 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9712 include directive. Remove local variable MPONE.
9713 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9714 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9717 2012-12-25 David S. Miller <davem@davemloft.net>
9719 * version.h (RELEASE): Set to "development".
9720 (VERSION): Set to "2.17.90".
9721 * NEWS: Add 2.18 section.
9723 2012-12-21 David S. Miller <davem@davemloft.net>
9725 * po/hr.po: Update from translation team.
9727 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9729 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9731 2012-12-19 Steve Ellcey <sellcey@mips.com>
9733 * NEWS: Mention new memcpy for MIPS.
9735 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9737 * manual/contrib.texi (Contributors): Spelling correction.
9739 2012-12-15 David S. Miller <davem@davemloft.net>
9741 * po/ru.po: Update from translation team.
9743 2012-12-13 David S. Miller <davem@davemloft.net>
9745 * NEWS: Mention IFUNC testsuite enhancements.
9747 * po/pl.po: Update from translation team.
9748 * po/bg.po: Likewise.
9750 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9751 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9753 2012-12-11 David S. Miller <davem@davemloft.net>
9755 * po/sv.po: Update from translation team.
9757 * po/vi.po: Update from translation team.
9759 * po/cs.po: Update from translation team.
9761 * po/de.po: Update from translation team.
9762 * po/eo.po: Likewise.
9763 * po/nl.po: Likewise.
9765 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9768 * manual/argp.texi (Argp Helper Functions): Move node to follow
9772 * manual/conf.texi (Limits on File System Capacity): Mention if
9773 terminating null is included in the max size.
9775 2012-12-10 Andreas Jaeger <aj@suse.de>
9777 * po/cs.po: Update from translation team.
9779 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9781 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9782 void pointer and cast to uintptr_t.
9783 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9785 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9786 * sysdeps/s390/s390-64/memset.S: Likewise.
9788 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9791 * menual/message.texi (Message Translation): Fix typos.
9792 (Helper programs for gettext): Likewise.
9794 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9797 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9800 2012-12-07 David S. Miller <davem@davemloft.net>
9802 * po/libc.pot: Update.
9804 2012-12-07 Richard Henderson <rth@redhat.com>
9807 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9808 normal/normal case to before the switch.
9809 (_FP_DIV): Likewise.
9811 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9812 Mike Frysinger <vapier@gentoo.org>
9814 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9815 check for __NR_fadvise64_64.
9817 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9819 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9820 0, not just to plain "0" as a statement.
9821 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9824 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9826 * NEWS: Use sourceware.org in Bugzilla URL.
9828 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9831 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9833 * stdio-common/tst-put-error.c (do_test): Add newline to the
9834 padded test to ensure flush.
9836 2012-12-05 Jeff Law <law@redhat.com>
9838 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9840 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9842 * README: Don't refer to ports add-on as distributed separately.
9843 Mention AArch64 in list of systems supported in the ports add-on.
9845 * LICENSES: Add more non-FSF copyright and license notices.
9847 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9850 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9852 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9853 10000 as width of padded output.
9855 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9857 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9859 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9860 variable LX with __attribute__ ((unused)).
9861 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9863 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9866 with __attribute__ ((unused)).
9868 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9870 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9872 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9874 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9875 (CFLAGS-nldbl-acos.c): New variable.
9876 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9877 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9878 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9879 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9880 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9881 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9882 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9883 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9884 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9885 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9886 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9887 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9888 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9889 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9890 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9891 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9892 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9893 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9894 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9895 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9896 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9897 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9898 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9899 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9975 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9979 whole low double instead of just low 47 bits when splitting values
9982 2012-12-03 Allan McRae <allan@archlinux.org>
9984 * manual/stdio.texi (Predefined Printf Handlers): Remove
9985 @hsep and @vsep usage.
9987 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9989 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9990 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9992 2012-12-03 Jeff Law <law@redhat.com>
9994 * time/sys/time.h (settimeofday): Do not mark TV argument
9997 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9999 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10000 when currently writing and seek to current position when not.
10001 * libio/Makefile (tests): Remove bug-fclose1.
10002 * libio/bug-fclose1.c: Delete.
10004 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10006 * manual/arith.texi (feenableexcept): Fix typo.
10007 (fedisableexcept): Likewise.
10009 2012-11-30 Roland McGrath <roland@hack.frob.com>
10011 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10012 second, differently-typed declaration, rather than a cast.
10014 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10016 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10017 * include/rpc/svc.h: ... here.
10019 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10022 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10023 depending n and resplen2 to catch cases where answer
10026 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10028 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10029 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10031 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10033 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10035 2012-11-29 Roland McGrath <roland@hack.frob.com>
10037 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10039 2012-11-28 Jeff Law <law@redhat.com>
10042 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10043 dataset_temporary. Track alloca usage into alloca_used.
10044 If dataset is large allocate and release it via malloc/free.
10046 2012-06-04 Florian Weimer <fweimer@redhat.com>
10049 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10051 2012-11-28 David S. Miller <davem@davemloft.net>
10053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10055 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10058 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10059 of pi/2 rounded to nearest to 64 bits.
10060 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10061 nearest to 64 bits.
10062 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10065 2012-11-28 Jeff Law <law@redhat.com>
10066 Martin Osvald <mosvald@redhat.com>
10069 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10070 * sunrpc/svc.c: Include time.h.
10071 (__svc_accept_failed): New function.
10072 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10073 any reason other than EINTR, call __svc_accept_failed.
10074 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10075 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10077 2012-11-28 Andreas Schwab <schwab@suse.de>
10079 * scripts/abilist.awk: Also handle indirect functions in .opd
10082 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10085 * sysdeps/x86/fpu/powl_helper.c: New file.
10086 * sysdeps/x86/fpu/Makefile: Likewise.
10087 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10089 (__ieee754_powl): Use __powl_helper for finite arguments except
10090 integer exponents below 8.
10091 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10093 (__ieee754_powl): Use __powl_helper for finite arguments except
10094 integer exponents below 8.
10095 * math/libm-test.inc (pow_test): Add more tests and enable some
10096 previously disabled tests.
10097 * sysdeps/i386/fpu/libm-test-ulps: Update.
10098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10100 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10101 Carlos O'Donell <carlos_odonell@mentor.com>
10103 * nss/makedb.c (is_prime): Assert that input is odd and greater
10104 than 4. Note that fact in a comment too.
10105 (next_prime): Add 4 to input.
10107 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10110 * libio/Makefile (tests): Add test case tst-fwrite-error.
10111 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10112 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10113 * libio/tst-fwrite-error.c: New test case.
10115 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10117 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10118 before casting to void *.
10119 * include/libc-internal.h (__pointer_type): New macro.
10120 (__integer_if_pointer_type_sub): Likewise.
10121 (__integer_if_pointer_type): Likewise.
10122 (cast_to_integer): Likewise.
10123 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10124 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10125 before casting to atomic64_t.
10126 (atomic_exchange_acq): Likewise.
10127 (__arch_exchange_and_add_body): Likewise.
10128 (__arch_add_body): Likewise.
10129 (atomic_add_negative): Likewise.
10130 (atomic_add_zero): Likewise.
10132 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10135 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10136 (add_fdes): Likewise.
10137 (linear_search_fdes): Likewise.
10138 (binary_search_unencoded_fdes): Likewise.
10140 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10142 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10144 2012-11-24 Adam Conrad <adconrad@0c3.net>
10146 * configure.in: Autodetect C++ header directories.
10147 * configure: Regenerated.
10149 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10151 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10153 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10157 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10159 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10160 LDBL_MANT_DIG == 106]: Disable some tests.
10161 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10163 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10167 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10168 input for small inputs. Return +/- pi/2 for large inputs.
10169 * math/libm-test.inc (atan_test): Add more tests.
10171 * sysdeps/generic/unwind-dw2-fde-glibc.c
10172 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10173 __attribute__ ((unused)).
10176 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10177 x * y if x and y are nonzero and z is zero.
10180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10181 nonzero exponents with absolute value below 0x1p-117 to +/-
10185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10186 up arguments below 2**-450, not just those below 2**-500.
10187 * math/libm-test.inc (hypot_test): Add another test.
10190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10191 Return a+b for ratio over 2**120, not 2**60.
10192 * math/libm-test.inc (hypot_test): Add another test.
10194 * math/libm-test.inc (clog_test): Use
10195 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10196 (clog10_test): Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10201 2012-11-22 Andreas Schwab <schwab@suse.de>
10203 * sysdeps/i386/fpu/libm-test-ulps: Update.
10205 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10207 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10208 printf output with newline.
10210 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10213 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10214 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10215 -z nodlopen, -z initfirst and -z execstack support.
10216 * configure: Regenerated.
10218 * elf/elf.h (DF_1_NODIRECT): New macro.
10219 (DF_1_IGNMULDEF): Likewise.
10220 (DF_1_NOKSYMS): Likewise.
10221 (DF_1_NOHDR): Likewise.
10222 (DF_1_EDITED): Likewise.
10223 (DF_1_NORELOC): Likewise.
10224 (DF_1_SYMINTPOSE): Likewise.
10225 (DF_1_GLOBAUDIT): Likewise.
10226 (DF_1_SINGLETON): Likewise.
10227 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10228 DT_1_SUPPORTED_MASK bits.
10229 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10231 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10233 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10235 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10237 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10240 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10241 (sendmmsg): Move declarations...
10242 * socket/sys/socket.h: ... here.
10243 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10244 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10246 * socket/recvmmsg.c: ... this new file.
10247 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10248 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10249 definition of __sendmmsg hidden.
10250 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10251 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10252 Move ENOSYS stub into and include it from...
10253 * socket/sendmmsg.c: ... this new file.
10254 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10255 (sysdep_routines): Move recvmmsg and sendmmsg...
10256 * socket/Makefile (routines): ... here.
10257 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10258 (GLIBC_PRIVATE): Add __sendmmsg.
10259 * include/sys/socket.h (__sendmmsg): Add declarations.
10260 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10263 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10266 variable I1 with __attribute__ ((unused)).
10267 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10269 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10271 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10272 DUMMY variables with __attribute__ ((unused)).
10274 * bits/byteswap.h: Include <bits/types.h>.
10275 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10277 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10279 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10280 string_t. Do not manually set errno.
10281 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10282 length with __strnlen. Make sure to both set errno and return it on
10285 2012-11-19 David S. Miller <davem@davemloft.net>
10287 With help from Joseph Myers.
10288 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10289 very large arguments properly.
10290 * math/libm-test.inc (atan_test): New tests.
10291 (atan2_test): New tests.
10292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10295 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10298 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10301 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10302 [POSIX] (EADDRNOTAVAIL): Likewise.
10303 [POSIX] (EAFNOSUPPORT): Likewise.
10304 [POSIX] (EALREADY): Likewise.
10305 [POSIX] (ECONNABORTED): Likewise.
10306 [POSIX] (ECONNREFUSED): Likewise.
10307 [POSIX] (ECONNRESET): Likewise.
10308 [POSIX] (EDESTADDRREQ): Likewise.
10309 [POSIX] (EDQUOT): Likewise.
10310 [POSIX] (EHOSTUNREACH): Likewise.
10311 [POSIX] (EIDRM): Likewise.
10312 [POSIX] (EISCONN): Likewise.
10313 [POSIX] (ELOOP): Likewise.
10314 [POSIX] (EMULTIHOP): Likewise.
10315 [POSIX] (ENETDOWN): Likewise.
10316 [POSIX] (ENETUNREACH): Likewise.
10317 [POSIX] (ENOBUFS): Likewise.
10318 [POSIX] (ENODATA): Likewise.
10319 [POSIX] (ENOLINK): Likewise.
10320 [POSIX] (ENOMSG): Likewise.
10321 [POSIX] (ENOPROTOOPT): Likewise.
10322 [POSIX] (ENOSR): Likewise.
10323 [POSIX] (ENOSTR): Likewise.
10324 [POSIX] (ENOTCONN): Likewise.
10325 [POSIX] (ENOTSOCK): Likewise.
10326 [POSIX] (EOPNOTSUPP): Likewise.
10327 [POSIX] (EOVERFLOW): Likewise.
10328 [POSIX] (EPROTO): Likewise.
10329 [POSIX] (EPROTONOSUPPORT): Likewise.
10330 [POSIX] (EPROTOTYPE): Likewise.
10331 [POSIX] (ESTALE): Likewise.
10332 [POSIX] (ETIME): Likewise.
10333 [POSIX] (ETXTBSY): Likewise.
10334 [POSIX] (EWOULDBLOCK): Likewise.
10335 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10336 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10337 [POSIX] (SEEK_CUR): Likewise.
10338 [POSIX] (SEEK_END): Likewise.
10339 [POSIX || UNIX98] (mode_t): Do not require.
10340 [POSIX] (off_t): Likewise.
10341 [POSIX] (pid_t): Likewise.
10342 [POSIX] (sys/stat.h): Do not allow header.
10343 [POSIX] (unistd.h): Likewise.
10344 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10345 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10346 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10347 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10349 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10350 sigevent): Specify elements.
10351 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10353 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10354 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10356 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10357 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10358 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10359 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10360 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10361 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10362 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10363 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10364 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10365 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10366 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10367 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10368 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10369 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10371 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10373 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10375 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10377 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10378 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10379 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10380 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10382 Specify lower bound on value.
10383 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10389 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10390 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10392 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10394 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10411 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10413 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10420 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10425 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10426 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10428 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10432 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10433 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10434 specify as optional.
10435 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10438 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10439 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10440 [XPG3] (NL_LANGMAX): Likewise.
10441 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10442 [POSIX || XPG3] (NL_NMAX): Likewise.
10443 [POSIX || XPG3] (NL_SETMAX): Likewise.
10444 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10445 [XPG3] (NZERO): Likewise.
10446 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10447 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10448 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10449 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10450 (REG_ERANGE): Expect.
10451 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10453 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10454 Use (void) in prototype.
10455 [POSIX] (*_t): Allow.
10456 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10457 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10458 (WRDE_BADVAL): Expect.
10460 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10462 [XPG3 || XPG4] (O_RSYNC): Likewise.
10463 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10465 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10466 [XPG3 || XPG4] (sigqueue): Likewise.
10467 [XPG3 || XPG4] (sigtimedwait): Likewise.
10468 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10469 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10470 [XPG3 || XPG4] (vsnprintf): Likewise.
10471 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10473 [XPG3 || XPG4] (blksize_t): Likewise.
10474 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10476 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10477 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10478 [XPG3 || XPG4] (struct itimerspec): Likewise.
10479 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10480 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10481 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10482 [XPG3 || XPG4] (clockid_t): Likewise.
10483 [XPG3 || XPG4] (timer_t): Likewise.
10484 [XPG3 || XPG4] (clock_getres): Likewise.
10485 [XPG3 || XPG4] (clock_gettime): Likewise.
10486 [XPG3 || XPG4] (clock_settime): Likewise.
10487 [XPG3 || XPG4] (nanosleep): Likewise.
10488 [XPG3 || XPG4] (timer_create): Likewise.
10489 [XPG3 || XPG4] (timer_delete): Likewise.
10490 [XPG3 || XPG4] (timer_gettime): Likewise.
10491 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10492 [XPG3 || XPG4] (timer_settime): Likewise.
10493 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10494 [XPG3 || XPG4] (getlogin_r): Likewise.
10495 [XPG3 || XPG4] (pread): Likewise.
10496 [XPG3 || XPG4] (pthread_atfork): Likewise.
10497 [XPG3 || XPG4] (pwrite): Likewise.
10500 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10503 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10505 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10506 finalizing MALLSTREAM.
10508 * sysdeps/mach/hurd/syncfs.c: New file.
10510 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10513 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10514 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10516 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10517 (_nss_dns_gethostbyname4_r): Likewise.
10518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10519 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10521 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10524 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10526 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10528 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10529 * elf/cache.c (print_entry): Print ",AArch64" for
10532 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10533 * elf/cache.c (print_entry): Print ",hard-float" for
10536 2012-11-18 David S. Miller <davem@davemloft.net>
10538 With help from Joseph Myers.
10539 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10541 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10543 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10544 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10546 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10547 * math/libm-test.inc (y0_test): New tests.
10548 (y1_test): New tests.
10549 * sysdeps/i386/fpu/libm-test-ulps: Update.
10550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10553 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10555 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10557 * configure: Regenerated.
10559 2012-11-17 David S. Miller <davem@davemloft.net>
10562 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10563 nonzero exponents with absolute value below 0x1p-128 to +/-
10566 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10568 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10570 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10572 * posix/getconf-speclist.c: New file.
10573 * posix/posix-envs.def: Likewise.
10574 * posix/confstr.c (START_ENV_GROUP): New macro.
10575 (END_ENV_GROUP): Likewise.
10576 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10577 (KNOWN_PRESENT_ENV_STRING): Likewise.
10578 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10579 (UNKNOWN_ENVIRONMENT): Likewise.
10580 (confstr): Include posix-envs.def instead of handling
10581 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10582 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10583 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10584 (END_ENV_GROUP): Likewise.
10585 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10586 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10587 (UNKNOWN_ENVIRONMENT): Likewise.
10588 (__sysconf): Include posix-envs.def instead of handling associated
10589 cases directly here.
10590 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10591 preprocessing getconf-speclist.c rather than running getconf or
10592 generating empty file.
10594 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10596 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10598 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10601 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10603 2012-11-16 David S. Miller <davem@davemloft.net>
10605 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10606 smaller than LDBL_EPSILON/2.0L, just return xm1.
10608 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10610 * elf/tst-array1.c (init): Set constructor priority to 1000.
10611 (fini): Set destructor priority to 1000.
10612 * elf/tst-array2dep.c: Likewise.
10614 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10617 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10618 (_IO_new_file_xsputn): Also return EOF if none of the input
10619 data was written when overflow failed.
10620 * libio/iopadn.c (_IO_padn): Likewise.
10621 * libio/iowpadn.c (_IO_wpadn): Likewise.
10622 * stdio-common/tst-put-error.c: Add copyright notice.
10623 (do_test): Add case for printing padded string.
10624 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10625 _IO_padn returned error.
10626 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10627 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10630 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10632 * libio/libioP.h: Add comment note that the references to C++
10633 bits are now obsolete.
10635 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10637 * math/libm-test.inc (check_complex): Use asprintf.
10639 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10641 * debug/pcprofiledump.c (print_version): Update copyright year.
10642 * malloc/memusagestat.c (print_version): Likewise.
10644 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10647 * elf/Makefile (tests): Add tst-audit8.
10648 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10649 ($(objpfx)tst-audit8.out): New target.
10650 (tst-audit8-ENV): New variable.
10651 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10652 audit if l_reloc_result is NULL.
10653 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10654 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10655 * elf/tst-audit8.c: New file.
10657 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10659 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10660 * misc/Makefile (CFLAGS-select.c): Define.
10661 * posix/Makefile (CFLAGS-pause.c): Define.
10663 2012-11-13 David S. Miller <davem@davemloft.net>
10665 * crypt/Makefile: Move test targets after toplevel Rules
10666 inclusion. Grab any necessary sysdep routines when linking.
10667 * crypt/md5.c (md5_process_block): Remove define, we will always
10668 name it __md5_process_block.
10669 (md5_finish_ctx): Update md5_process_block call.
10670 (md5_stream): Likewise.
10671 (md5_process_bytes): Likewise.
10672 (md5_process_block): Rename to __md5_process_block and move to ...
10673 * crypt/md5-block.c: ... here.
10674 * crypt/sha256.c (sha256_process_block): Move to ...
10675 * crypt/sha256-block.c: ... here.
10676 * crypt/sha512.c (sha512_process_block): Move to ...
10677 * crypt/sha512-block.c: ... here.
10678 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10680 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10681 * sysdeps/sparc/sparc64/multiarch/Makefile
10682 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10684 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10685 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10687 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10688 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10689 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10690 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10691 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10692 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10693 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10694 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10697 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10698 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10700 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10702 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10704 * timezone/tzselect.ksh: Update from tzcode git revision
10705 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10706 * timezone/zdump.c: Likewise.
10707 * timezone/zic.c: Likewise.
10708 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10709 in TZVERSION setting, not $(PKGVERSION).
10710 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10711 REPORT_BUGS_TO settings.
10714 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10717 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10719 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10720 detection to immediately after _FP_ROUND().
10721 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10724 2012-11-11 David S. Miller <davem@davemloft.net>
10726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10728 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10729 __close rather than their public counterparts.
10731 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10733 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10735 [UNIX98] (sem_timedwait): Do not expect.
10736 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10737 [XPG4 || UNIX98] (sockatmark): Do not expect.
10738 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10739 (clock_getcpuclockid): Do not expect.
10740 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10741 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10743 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10744 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10745 [UNIX98] (vwscanf): Likewise.
10746 [UNIX98] (vswscanf): Likewise.
10748 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10750 * timezone/version.h: Remove file.
10751 * timezone/README: Do not refer to version.h.
10752 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10753 $(objpfx)version.h.
10754 ($(objpfx)zdump.o): Likewise.
10755 ($(objpfx)version.h): New target.
10757 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10759 * timezone/README: Don't mention modification to tzselect.ksh.
10760 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10761 work on unmodified tzselect.ksh. Substitute version numbers in
10764 * Makefile (format-me): Remove.
10765 (INSTALL): Adjust indentation. Use commands directly instead of
10766 using $(format-me).
10768 * aclocal.m4 (ACX_PKGVERSION): New macro.
10769 (ACX_BUGURL): Likewise.
10770 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10771 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10772 (REPORT_BUGS_TO): Likewise.
10773 * configure: Regenerated.
10774 * config.h.in (PKGVERSION): New macro.
10775 (REPORT_BUGS_TO): Likewise.
10776 * config.make.in (PKGVERSION): New variable.
10777 (PKGVERSION_TEXI): Likewise.
10778 (REPORT_BUGS_TO): Likewise.
10779 (REPORT_BUGS_TEXI): Likewise.
10780 * Makefile (format-me): Use -I$(common-objpfx)manual.
10781 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10782 ($(common-objpfx)manual/%): New target.
10783 (manual/%): Remove target.
10784 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10785 (print_version): Use PKGVERSION.
10786 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10787 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10788 and REPORT_BUGS_TO.
10789 ($(objpfx)xtrace): Likewise.
10790 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10791 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10792 (print_version): Use PKGVERSION.
10793 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10794 (do_version): Use PKGVERSION.
10795 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10797 (common-ldd-rewrite): Likewise.
10798 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10799 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10800 (print_version): Use PKGVERSION.
10801 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10802 * elf/pldd.c (argp_program_bug_address): Remove variable.
10803 (more_help): New function.
10804 (argp): Use more_help.
10805 (print_version): Use PKGVERSION.
10806 * elf/sln.c (main): Use PKGVERSION.
10807 (usage): Use REPORT_BUGS_TO.
10808 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10809 (top level): Use PKGVERSION.
10810 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10811 (print_version): Use PKGVERSION.
10812 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10813 (print_version): Use PKGVERSION.
10814 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10815 (print_version): Use PKGVERSION.
10816 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10817 (print_version): Use PKGVERSION.
10818 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10819 (print_version): Use PKGVERSION.
10820 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10821 (print_version): Use PKGVERSION.
10822 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10824 ($(objpfx)memusage): Likewise.
10825 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10826 (do_version): Use PKGVERSION.
10827 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10828 (print_version): Use PKGVERSION.
10829 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10830 ($PKGVERSION): New variable.
10831 ($REPORT_BUGS_TO): Likewise.
10832 (usage): Use $REPORT_BUGS_TO.
10833 (top level): Use $PKGVERSION.
10834 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10835 ($(objpfx)pkgvers.texi): New rule.
10836 ($(objpfx)stamp-pkgvers): Likewise.
10837 * manual/install.texi: Include pkgvers.texi.
10838 (--with-pkgversion): Document new configure option.
10839 (--with-bugurl): Likewise.
10840 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10841 than necessarily for this particular distribution. Use
10842 REPORT_BUGS_TO for where to report bugs.
10843 * INSTALL: Regenerated.
10844 * manual/libc.texinfo: Include pkgvers.texi.
10845 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10846 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10847 (print_version): Use PKGVERSION.
10848 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10849 (print_version): Use PKGVERSION.
10850 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10851 (print_version): Use PKGVERSION.
10852 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10853 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10855 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10856 (print_version): Use PKGVERSION.
10857 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10858 (print_version): Use PKGVERSION.
10859 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10862 * timezone/checktab.awk: Update from tzcode 2012i.
10863 * timezone/ialloc.c: Likewise.
10864 * timezone/private.h: Likewise.
10865 * timezone/scheck.c: Likewise.
10866 * timezone/tzfile.h: Likewise.
10867 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10868 (TZVERSION): Hardcode tzcode version number.
10869 * timezone/zdump.c: Update from tzcode 2012i.
10870 * timezone/zic.c: Likewise.
10871 * timezone/version.h: New file.
10872 * timezone/README: Describe version.h. Update upstream location.
10875 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10876 (mktemp): Enable declaration.
10877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10894 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10895 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10896 for copies of such integer values.
10897 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10898 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10900 2012-11-09 Andreas Jaeger <aj@suse.de>
10902 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10903 definitions and declarations that are provided by
10904 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10906 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10908 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10909 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10910 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10913 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10915 * elf/elf.h: Update comment before AArch64 relocations.
10917 2012-11-07 David S. Miller <davem@davemloft.net>
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10920 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10921 (__start_context): Declare.
10922 (__makecontext_ret): Delete.
10923 (__makecontext): Hook up __start_context instead of
10925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10926 (sysdep_routines): Add __start_context when in stdlib.
10928 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10930 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10931 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10932 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10934 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10935 (READELF): New variable. Use it instead of hardcoded "readelf".
10937 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10939 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10940 * sysdeps/x86/Makefile: Here.
10941 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10942 * sysdeps/x86/tst-xmmymm.sh: This.
10944 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10946 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10948 [UNIX98] (pthread_barrier_t): Do not expect.
10949 [UNIX98] (pthread_barrierattr_t): Likewise.
10950 [UNIX98] (pthread_spinlock_t): Likewise.
10951 [UNIX98] (pthread_barrier_destroy): Likewise.
10952 [UNIX98] (pthread_barrier_init): Likewise.
10953 [UNIX98] (pthread_barrier_wait): Likewise.
10954 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10955 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10956 [UNIX98] (pthread_barrierattr_init): Likewise.
10957 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10958 [UNIX98] (pthread_getcpuclockid): Likewise.
10959 [UNIX98] (pthread_mutex_timedlock): Likewise.
10960 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10961 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10962 [UNIX98] (pthread_sigmask): Likewise.
10963 [UNIX98] (pthread_spin_destroy): Likewise.
10964 [UNIX98] (pthread_spin_init): Likewise.
10965 [UNIX98] (pthread_spin_lock): Likewise.
10966 [UNIX98] (pthread_spin_trylock): Likewise.
10967 [UNIX98] (pthread_spin_unlock): Likewise.
10968 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10970 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10972 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10973 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10974 [XPG3 || XPG4] (pthread_key_t): Likewise.
10975 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10976 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10977 [XPG3 || XPG4] (pthread_once_t): Likewise.
10978 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10979 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10980 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10981 [XPG3 || XPG4] (pthread_t): Likewise.
10983 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10985 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10987 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10988 Change function return type to int.
10990 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10991 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10992 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10993 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10994 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10995 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10996 [!POSIX] (posix_madvise): Likewise.
10997 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10999 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11000 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11001 (mode_t): Likewise.
11002 (posix_mem_offset): Likewise.
11003 (posix_typed_mem_get_info): Likewise.
11004 (posix_typed_mem_open): Likewise.
11006 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11007 Change condition to [XOPEN2K8].
11009 * conform/conformtest.pl: Preprocess allow-header data with -x c
11010 instead of from stdin.
11011 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11012 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11013 [C99-based standards] (cerfc): Likewise.
11014 [C99-based standards] (cexp2): Likewise.
11015 [C99-based standards] (cexpm1): Likewise.
11016 [C99-based standards] (clog10): Likewise.
11017 [C99-based standards] (clog1p): Likewise.
11018 [C99-based standards] (clog2): Likewise.
11019 [C99-based standards] (clgamma): Likewise.
11020 [C99-based standards] (ctgamma): Likewise.
11021 [C99-based standards] (cerff): Likewise.
11022 [C99-based standards] (cerfcf): Likewise.
11023 [C99-based standards] (cexp2f): Likewise.
11024 [C99-based standards] (cexpm1f): Likewise.
11025 [C99-based standards] (clog10f): Likewise.
11026 [C99-based standards] (clog1pf): Likewise.
11027 [C99-based standards] (clog2f): Likewise.
11028 [C99-based standards] (clgammaf): Likewise.
11029 [C99-based standards] (ctgammaf): Likewise.
11030 [C99-based standards] (cerfl): Likewise.
11031 [C99-based standards] (cerfcl): Likewise.
11032 [C99-based standards] (cexp2l): Likewise.
11033 [C99-based standards] (cexpm1l): Likewise.
11034 [C99-based standards] (clog10l): Likewise.
11035 [C99-based standards] (clog1pl): Likewise.
11036 [C99-based standards] (clog2l): Likewise.
11037 [C99-based standards] (clgammal): Likewise.
11038 [C99-based standards] (ctgammal): Likewise.
11039 * conform/data/inttypes.h-data [C99-based standards]: Include
11040 stdint.h-data. Remove all expectations for stdint.h contents.
11041 [C99-based standards] (PRI*): Do not allow.
11042 [C99-based standards] (SCN*): Likewise.
11043 [C99-based standards] (*_t): Likewise.
11044 [C99-based-standards] (PRId8): Expect macro.
11045 [C99-based-standards] (PRIi8): Likewise.
11046 [C99-based-standards] (PRIo8): Likewise.
11047 [C99-based-standards] (PRIu8): Likewise.
11048 [C99-based-standards] (PRIx8): Likewise.
11049 [C99-based-standards] (PRIX8): Likewise.
11050 [C99-based-standards] (SCNd8): Likewise.
11051 [C99-based-standards] (SCNi8): Likewise.
11052 [C99-based-standards] (SCNo8): Likewise.
11053 [C99-based-standards] (SCNu8): Likewise.
11054 [C99-based-standards] (SCNx8): Likewise.
11055 [C99-based-standards] (PRIdLEAST8): Likewise.
11056 [C99-based-standards] (PRIiLEAST8): Likewise.
11057 [C99-based-standards] (PRIoLEAST8): Likewise.
11058 [C99-based-standards] (PRIuLEAST8): Likewise.
11059 [C99-based-standards] (PRIxLEAST8): Likewise.
11060 [C99-based-standards] (PRIXLEAST8): Likewise.
11061 [C99-based-standards] (SCNdLEAST8): Likewise.
11062 [C99-based-standards] (SCNiLEAST8): Likewise.
11063 [C99-based-standards] (SCNoLEAST8): Likewise.
11064 [C99-based-standards] (SCNuLEAST8): Likewise.
11065 [C99-based-standards] (SCNxLEAST8): Likewise.
11066 [C99-based-standards] (PRIdFAST8): Likewise.
11067 [C99-based-standards] (PRIiFAST8): Likewise.
11068 [C99-based-standards] (PRIoFAST8): Likewise.
11069 [C99-based-standards] (PRIuFAST8): Likewise.
11070 [C99-based-standards] (PRIxFAST8): Likewise.
11071 [C99-based-standards] (PRIXFAST8): Likewise.
11072 [C99-based-standards] (SCNdFAST8): Likewise.
11073 [C99-based-standards] (SCNiFAST8): Likewise.
11074 [C99-based-standards] (SCNoFAST8): Likewise.
11075 [C99-based-standards] (SCNuFAST8): Likewise.
11076 [C99-based-standards] (SCNxFAST8): Likewise.
11077 [C99-based-standards] (PRId16): Likewise.
11078 [C99-based-standards] (PRIi16): Likewise.
11079 [C99-based-standards] (PRIo16): Likewise.
11080 [C99-based-standards] (PRIu16): Likewise.
11081 [C99-based-standards] (PRIx16): Likewise.
11082 [C99-based-standards] (PRIX16): Likewise.
11083 [C99-based-standards] (SCNd16): Likewise.
11084 [C99-based-standards] (SCNi16): Likewise.
11085 [C99-based-standards] (SCNo16): Likewise.
11086 [C99-based-standards] (SCNu16): Likewise.
11087 [C99-based-standards] (SCNx16): Likewise.
11088 [C99-based-standards] (PRIdLEAST16): Likewise.
11089 [C99-based-standards] (PRIiLEAST16): Likewise.
11090 [C99-based-standards] (PRIoLEAST16): Likewise.
11091 [C99-based-standards] (PRIuLEAST16): Likewise.
11092 [C99-based-standards] (PRIxLEAST16): Likewise.
11093 [C99-based-standards] (PRIXLEAST16): Likewise.
11094 [C99-based-standards] (SCNdLEAST16): Likewise.
11095 [C99-based-standards] (SCNiLEAST16): Likewise.
11096 [C99-based-standards] (SCNoLEAST16): Likewise.
11097 [C99-based-standards] (SCNuLEAST16): Likewise.
11098 [C99-based-standards] (SCNxLEAST16): Likewise.
11099 [C99-based-standards] (PRIdFAST16): Likewise.
11100 [C99-based-standards] (PRIiFAST16): Likewise.
11101 [C99-based-standards] (PRIoFAST16): Likewise.
11102 [C99-based-standards] (PRIuFAST16): Likewise.
11103 [C99-based-standards] (PRIxFAST16): Likewise.
11104 [C99-based-standards] (PRIXFAST16): Likewise.
11105 [C99-based-standards] (SCNdFAST16): Likewise.
11106 [C99-based-standards] (SCNiFAST16): Likewise.
11107 [C99-based-standards] (SCNoFAST16): Likewise.
11108 [C99-based-standards] (SCNuFAST16): Likewise.
11109 [C99-based-standards] (SCNxFAST16): Likewise.
11110 [C99-based-standards] (PRId32): Likewise.
11111 [C99-based-standards] (PRIi32): Likewise.
11112 [C99-based-standards] (PRIo32): Likewise.
11113 [C99-based-standards] (PRIu32): Likewise.
11114 [C99-based-standards] (PRIx32): Likewise.
11115 [C99-based-standards] (PRIX32): Likewise.
11116 [C99-based-standards] (SCNd32): Likewise.
11117 [C99-based-standards] (SCNi32): Likewise.
11118 [C99-based-standards] (SCNo32): Likewise.
11119 [C99-based-standards] (SCNu32): Likewise.
11120 [C99-based-standards] (SCNx32): Likewise.
11121 [C99-based-standards] (PRIdLEAST32): Likewise.
11122 [C99-based-standards] (PRIiLEAST32): Likewise.
11123 [C99-based-standards] (PRIoLEAST32): Likewise.
11124 [C99-based-standards] (PRIuLEAST32): Likewise.
11125 [C99-based-standards] (PRIxLEAST32): Likewise.
11126 [C99-based-standards] (PRIXLEAST32): Likewise.
11127 [C99-based-standards] (SCNdLEAST32): Likewise.
11128 [C99-based-standards] (SCNiLEAST32): Likewise.
11129 [C99-based-standards] (SCNoLEAST32): Likewise.
11130 [C99-based-standards] (SCNuLEAST32): Likewise.
11131 [C99-based-standards] (SCNxLEAST32): Likewise.
11132 [C99-based-standards] (PRIdFAST32): Likewise.
11133 [C99-based-standards] (PRIiFAST32): Likewise.
11134 [C99-based-standards] (PRIoFAST32): Likewise.
11135 [C99-based-standards] (PRIuFAST32): Likewise.
11136 [C99-based-standards] (PRIxFAST32): Likewise.
11137 [C99-based-standards] (PRIXFAST32): Likewise.
11138 [C99-based-standards] (SCNdFAST32): Likewise.
11139 [C99-based-standards] (SCNiFAST32): Likewise.
11140 [C99-based-standards] (SCNoFAST32): Likewise.
11141 [C99-based-standards] (SCNuFAST32): Likewise.
11142 [C99-based-standards] (SCNxFAST32): Likewise.
11143 [C99-based-standards] (PRId64): Likewise.
11144 [C99-based-standards] (PRIi64): Likewise.
11145 [C99-based-standards] (PRIo64): Likewise.
11146 [C99-based-standards] (PRIu64): Likewise.
11147 [C99-based-standards] (PRIx64): Likewise.
11148 [C99-based-standards] (PRIX64): Likewise.
11149 [C99-based-standards] (SCNd64): Likewise.
11150 [C99-based-standards] (SCNi64): Likewise.
11151 [C99-based-standards] (SCNo64): Likewise.
11152 [C99-based-standards] (SCNu64): Likewise.
11153 [C99-based-standards] (SCNx64): Likewise.
11154 [C99-based-standards] (PRIdLEAST64): Likewise.
11155 [C99-based-standards] (PRIiLEAST64): Likewise.
11156 [C99-based-standards] (PRIoLEAST64): Likewise.
11157 [C99-based-standards] (PRIuLEAST64): Likewise.
11158 [C99-based-standards] (PRIxLEAST64): Likewise.
11159 [C99-based-standards] (PRIXLEAST64): Likewise.
11160 [C99-based-standards] (SCNdLEAST64): Likewise.
11161 [C99-based-standards] (SCNiLEAST64): Likewise.
11162 [C99-based-standards] (SCNoLEAST64): Likewise.
11163 [C99-based-standards] (SCNuLEAST64): Likewise.
11164 [C99-based-standards] (SCNxLEAST64): Likewise.
11165 [C99-based-standards] (PRIdFAST64): Likewise.
11166 [C99-based-standards] (PRIiFAST64): Likewise.
11167 [C99-based-standards] (PRIoFAST64): Likewise.
11168 [C99-based-standards] (PRIuFAST64): Likewise.
11169 [C99-based-standards] (PRIxFAST64): Likewise.
11170 [C99-based-standards] (PRIXFAST64): Likewise.
11171 [C99-based-standards] (SCNdFAST64): Likewise.
11172 [C99-based-standards] (SCNiFAST64): Likewise.
11173 [C99-based-standards] (SCNoFAST64): Likewise.
11174 [C99-based-standards] (SCNuFAST64): Likewise.
11175 [C99-based-standards] (SCNxFAST64): Likewise.
11176 [C99-based-standards] (PRIdMAX): Likewise.
11177 [C99-based-standards] (PRIiMAX): Likewise.
11178 [C99-based-standards] (PRIoMAX): Likewise.
11179 [C99-based-standards] (PRIuMAX): Likewise.
11180 [C99-based-standards] (PRIxMAX): Likewise.
11181 [C99-based-standards] (PRIXMAX): Likewise.
11182 [C99-based-standards] (SCNdMAX): Likewise.
11183 [C99-based-standards] (SCNiMAX): Likewise.
11184 [C99-based-standards] (SCNoMAX): Likewise.
11185 [C99-based-standards] (SCNuMAX): Likewise.
11186 [C99-based-standards] (SCNxMAX): Likewise.
11187 [C99-based-standards] (PRIdPTR): Likewise.
11188 [C99-based-standards] (PRIiPTR): Likewise.
11189 [C99-based-standards] (PRIoPTR): Likewise.
11190 [C99-based-standards] (PRIuPTR): Likewise.
11191 [C99-based-standards] (PRIxPTR): Likewise.
11192 [C99-based-standards] (PRIXPTR): Likewise.
11193 [C99-based-standards] (SCNdPTR): Likewise.
11194 [C99-based-standards] (SCNiPTR): Likewise.
11195 [C99-based-standards] (SCNoPTR): Likewise.
11196 [C99-based-standards] (SCNuPTR): Likewise.
11197 [C99-based-standards] (SCNxPTR): Likewise.
11198 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11200 * conform/data/stdint.h-data: Update comments to clarify
11202 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11204 [C99-based standards] (INT8_MAX): Likewise.
11205 [C99-based standards] (INT16_MIN): Likewise.
11206 [C99-based standards] (INT16_MAX): Likewise.
11207 [C99-based standards] (INT32_MIN): Likewise.
11208 [C99-based standards] (INT32_MAX): Likewise.
11209 [C99-based standards] (INT64_MIN): Likewise.
11210 [C99-based standards] (INT64_MAX): Likewise.
11211 [C99-based standards] (UINT8_MAX): Likewise.
11212 [C99-based standards] (UINT16_MAX): Likewise.
11213 [C99-based standards] (UINT32_MAX): Likewise.
11214 [C99-based standards] (UINT64_MAX): Likewise.
11215 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11216 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11217 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11218 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11219 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11220 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11221 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11222 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11223 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11224 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11225 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11226 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11227 [C99-based standards] (INT_FAST8_MIN): Likewise.
11228 [C99-based standards] (INT_FAST8_MAX): Likewise.
11229 [C99-based standards] (INT_FAST16_MIN): Likewise.
11230 [C99-based standards] (INT_FAST16_MAX): Likewise.
11231 [C99-based standards] (INT_FAST32_MIN): Likewise.
11232 [C99-based standards] (INT_FAST32_MAX): Likewise.
11233 [C99-based standards] (INT_FAST64_MIN): Likewise.
11234 [C99-based standards] (INT_FAST64_MAX): Likewise.
11235 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11236 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11237 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11238 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11239 [C99-based standards] (INTPTR_MIN): Likewise.
11240 [C99-based standards] (INTPTR_MAX): Likewise.
11241 [C99-based standards] (UINTPTR_MAX): Likewise.
11242 [C99-based standards] (INTMAX_MIN): Likewise.
11243 [C99-based standards] (INTMAX_MAX): Likewise.
11244 [C99-based standards] (UINTMAX_MAX): Likewise.
11245 [C99-based standards] (PTRDIFF_MIN): Likewise.
11246 [C99-based standards] (PTRDIFF_MAX): Likewise.
11247 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11248 [C99-based standards] (SIZE_MAX): Likewise.
11249 [C99-based standards] (WCHAR_MAX): Likewise.
11250 [C99-based standards] (WINT_MAX): Likewise.
11251 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11252 constraint on value.
11253 [C99-based standards] (WCHAR_MIN): Likewise.
11254 [C99-based standards] (WINT_MIN): Likewise.
11255 [C99-based standards] (*_t): Allow.
11256 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11257 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11258 Include math.h-data and complex.h-data. Remove all expectations
11259 of math.h and complex.h contents.
11260 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11262 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11263 (struct tm): Expect tag.
11264 [C99-based-standards] (wcstof): Expect function.
11265 [C99-based-standards] (wcstold): Likewise.
11266 [C99-based-standards] (wcstoll): Likewise.
11267 [C99-based-standards] (wcstoull): Likewise.
11268 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11269 macro-int-constant. Specify type.
11270 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11271 constraint on value.
11272 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11274 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11276 [ISO C standards]: Do not allow headers.
11277 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11278 wcs[abcdefghijklmnopqrstuvwxyz]*.
11279 [ISO C standards] (*_t): Do not allow.
11280 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11282 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11283 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11285 [ISO C standards]: Do not allow headers.
11286 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11287 is[abcdefghijklmnopqrstuvwxyz]*.
11288 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11289 to[abcdefghijklmnopqrstuvwxyz]*.
11290 [ISO C standards] (*_t): Do not allow.
11291 * conform/data/stdalign.h-data: New file.
11292 * conform/data/stdbool.h-data: Likewise.
11293 * conform/data/stdnoreturn.h-data: Likewise.
11295 2012-11-07 Roland McGrath <roland@hack.frob.com>
11298 * manual/filesys.texi (Directory Entries): Typo fix.
11299 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11301 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11303 * elf/elf.h (EM_AARCH64): New macro.
11304 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11305 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11306 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11307 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11308 (R_AARCH64_TLSDESC): Likewise.
11309 (NT_ARM_TLS): Likewise.
11310 (NT_ARM_HW_BREAK): Likewise.
11311 (NT_ARM_HW_WATCH): Likewise.
11313 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11317 (__ieee754_powl): Saturate nonzero exponents with absolute value
11318 below 0x1p-79 to +/- 0x1p-79.
11319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11320 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11321 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11322 nonzero exponents with absolute value below 0x1p-32 to +/-
11324 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11325 (__ieee754_powl): Saturate nonzero exponents with absolute value
11326 below 0x1p-79 to +/- 0x1p-79.
11327 * math/libm-test.inc (pow_test): Add more tests.
11329 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11331 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11332 _dl_s390_cap_flags with kernel. Increase string length.
11333 (_dl_s390_platforms): Add z196 and zEC12.
11335 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11337 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11338 Change XOPEN21K to XOPEN2K.
11340 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11342 * string/memmove.c: Use memcpy when possible.
11344 2012-11-06 Andreas Jaeger <aj@suse.de>
11346 * po/eo.po: Update from translation team.
11348 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11352 exponent and small x and y exponents, scale x or y up. Increase
11353 by 2 the exponent used in scaling up.
11354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11356 * math/libm-test.inc (fma_test): Add more tests.
11357 (fma_test_towardzero): Likewise.
11358 (fma_test_downward): Likewise.
11359 (fma_test_upward): Likewise.
11361 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11364 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11368 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11369 namespace for names of struct fields.
11370 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11372 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11373 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11375 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11378 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11380 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11382 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11386 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11389 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11393 definitely overflow as x * y not x * y + z.
11394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11396 * math/libm-test.inc (fma_test): Add more tests.
11397 (fma_test_towardzero): Likewise.
11398 (fma_test_downward): Likewise.
11399 (fma_test_upward): Likewise.
11401 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11405 * include/stub-tag.h: Remove file.
11406 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11408 * manual/maint.texi (Porting): Don't reference it.
11409 * Makerules ($(objpfx)stubs): Likewise.
11410 * dirent/closedir.c: Don't include <stub-tag.h>.
11411 * dirent/dirfd.c: Likewise.
11412 * dirent/fdopendir.c: Likewise.
11413 * dirent/getdents.c: Likewise.
11414 * dirent/getdents64.c: Likewise.
11415 * dirent/opendir.c: Likewise.
11416 * dirent/readdir.c: Likewise.
11417 * dirent/readdir64.c: Likewise.
11418 * dirent/readdir64_r.c: Likewise.
11419 * dirent/readdir_r.c: Likewise.
11420 * dirent/rewinddir.c: Likewise.
11421 * dirent/seekdir.c: Likewise.
11422 * dirent/telldir.c: Likewise.
11423 * gmon/profil.c: Likewise.
11424 * grp/setgroups.c: Likewise.
11425 * inet/if_index.c: Likewise.
11426 * io/access.c: Likewise.
11427 * io/chdir.c: Likewise.
11428 * io/chmod.c: Likewise.
11429 * io/chown.c: Likewise.
11430 * io/close.c: Likewise.
11431 * io/dup.c: Likewise.
11432 * io/dup2.c: Likewise.
11433 * io/dup3.c: Likewise.
11434 * io/euidaccess.c: Likewise.
11435 * io/faccessat.c: Likewise.
11436 * io/fchdir.c: Likewise.
11437 * io/fchmod.c: Likewise.
11438 * io/fchmodat.c: Likewise.
11439 * io/fchown.c: Likewise.
11440 * io/fchownat.c: Likewise.
11441 * io/fcntl.c: Likewise.
11442 * io/flock.c: Likewise.
11443 * io/fstatfs.c: Likewise.
11444 * io/fstatfs64.c: Likewise.
11445 * io/fstatvfs.c: Likewise.
11446 * io/fstatvfs64.c: Likewise.
11447 * io/futimens.c: Likewise.
11448 * io/fxstat.c: Likewise.
11449 * io/fxstat64.c: Likewise.
11450 * io/fxstatat.c: Likewise.
11451 * io/fxstatat64.c: Likewise.
11452 * io/getcwd.c: Likewise.
11453 * io/isatty.c: Likewise.
11454 * io/lchmod.c: Likewise.
11455 * io/lchown.c: Likewise.
11456 * io/link.c: Likewise.
11457 * io/linkat.c: Likewise.
11458 * io/lseek.c: Likewise.
11459 * io/lseek64.c: Likewise.
11460 * io/lxstat64.c: Likewise.
11461 * io/mkdir.c: Likewise.
11462 * io/mkdirat.c: Likewise.
11463 * io/mkfifo.c: Likewise.
11464 * io/mkfifoat.c: Likewise.
11465 * io/open.c: Likewise.
11466 * io/open64.c: Likewise.
11467 * io/openat.c: Likewise.
11468 * io/openat64.c: Likewise.
11469 * io/pipe.c: Likewise.
11470 * io/pipe2.c: Likewise.
11471 * io/poll.c: Likewise.
11472 * io/posix_fadvise.c: Likewise.
11473 * io/posix_fadvise64.c: Likewise.
11474 * io/posix_fallocate.c: Likewise.
11475 * io/posix_fallocate64.c: Likewise.
11476 * io/read.c: Likewise.
11477 * io/readlink.c: Likewise.
11478 * io/readlinkat.c: Likewise.
11479 * io/rmdir.c: Likewise.
11480 * io/sendfile.c: Likewise.
11481 * io/sendfile64.c: Likewise.
11482 * io/statfs.c: Likewise.
11483 * io/statfs64.c: Likewise.
11484 * io/statvfs.c: Likewise.
11485 * io/statvfs64.c: Likewise.
11486 * io/symlink.c: Likewise.
11487 * io/symlinkat.c: Likewise.
11488 * io/ttyname.c: Likewise.
11489 * io/ttyname_r.c: Likewise.
11490 * io/umask.c: Likewise.
11491 * io/unlink.c: Likewise.
11492 * io/unlinkat.c: Likewise.
11493 * io/utime.c: Likewise.
11494 * io/utimensat.c: Likewise.
11495 * io/write.c: Likewise.
11496 * io/xmknod.c: Likewise.
11497 * io/xmknodat.c: Likewise.
11498 * io/xstat.c: Likewise.
11499 * io/xstat64.c: Likewise.
11500 * login/getpt.c: Likewise.
11501 * login/grantpt.c: Likewise.
11502 * login/unlockpt.c: Likewise.
11503 * math/e_acoshl.c: Likewise.
11504 * math/e_acosl.c: Likewise.
11505 * math/e_asinl.c: Likewise.
11506 * math/e_atan2l.c: Likewise.
11507 * math/e_atanhl.c: Likewise.
11508 * math/e_coshl.c: Likewise.
11509 * math/e_expl.c: Likewise.
11510 * math/e_fmodl.c: Likewise.
11511 * math/e_gammal_r.c: Likewise.
11512 * math/e_hypotl.c: Likewise.
11513 * math/e_j0l.c: Likewise.
11514 * math/e_j1l.c: Likewise.
11515 * math/e_jnl.c: Likewise.
11516 * math/e_lgammal_r.c: Likewise.
11517 * math/e_log10l.c: Likewise.
11518 * math/e_log2l.c: Likewise.
11519 * math/e_logl.c: Likewise.
11520 * math/e_powl.c: Likewise.
11521 * math/e_rem_pio2l.c: Likewise.
11522 * math/e_sinhl.c: Likewise.
11523 * math/e_sqrtl.c: Likewise.
11524 * math/fclrexcpt.c: Likewise.
11525 * math/fedisblxcpt.c: Likewise.
11526 * math/feenablxcpt.c: Likewise.
11527 * math/fegetenv.c: Likewise.
11528 * math/fegetexcept.c: Likewise.
11529 * math/fegetround.c: Likewise.
11530 * math/feholdexcpt.c: Likewise.
11531 * math/fesetenv.c: Likewise.
11532 * math/fesetround.c: Likewise.
11533 * math/feupdateenv.c: Likewise.
11534 * math/fgetexcptflg.c: Likewise.
11535 * math/fraiseexcpt.c: Likewise.
11536 * math/fsetexcptflg.c: Likewise.
11537 * math/ftestexcept.c: Likewise.
11538 * math/k_cosl.c: Likewise.
11539 * math/k_rem_pio2l.c: Likewise.
11540 * math/k_sinl.c: Likewise.
11541 * math/k_tanl.c: Likewise.
11542 * math/s_asinhl.c: Likewise.
11543 * math/s_atanl.c: Likewise.
11544 * math/s_cbrtl.c: Likewise.
11545 * math/s_erfl.c: Likewise.
11546 * math/s_expm1l.c: Likewise.
11547 * math/s_log1pl.c: Likewise.
11548 * math/s_tanhl.c: Likewise.
11549 * misc/acct.c: Likewise.
11550 * misc/brk.c: Likewise.
11551 * misc/chflags.c: Likewise.
11552 * misc/chroot.c: Likewise.
11553 * misc/fchflags.c: Likewise.
11554 * misc/fgetxattr.c: Likewise.
11555 * misc/flistxattr.c: Likewise.
11556 * misc/fremovexattr.c: Likewise.
11557 * misc/fsetxattr.c: Likewise.
11558 * misc/fsync.c: Likewise.
11559 * misc/ftruncate.c: Likewise.
11560 * misc/futimes.c: Likewise.
11561 * misc/futimesat.c: Likewise.
11562 * misc/getdomain.c: Likewise.
11563 * misc/getdtsz.c: Likewise.
11564 * misc/gethostid.c: Likewise.
11565 * misc/gethostname.c: Likewise.
11566 * misc/getloadavg.c: Likewise.
11567 * misc/getpagesize.c: Likewise.
11568 * misc/getsysstats.c: Likewise.
11569 * misc/getxattr.c: Likewise.
11570 * misc/gtty.c: Likewise.
11571 * misc/ioctl.c: Likewise.
11572 * misc/lgetxattr.c: Likewise.
11573 * misc/listxattr.c: Likewise.
11574 * misc/llistxattr.c: Likewise.
11575 * misc/lremovexattr.c: Likewise.
11576 * misc/lsetxattr.c: Likewise.
11577 * misc/lutimes.c: Likewise.
11578 * misc/madvise.c: Likewise.
11579 * misc/mincore.c: Likewise.
11580 * misc/mlock.c: Likewise.
11581 * misc/mlockall.c: Likewise.
11582 * misc/mmap.c: Likewise.
11583 * misc/mprotect.c: Likewise.
11584 * misc/msync.c: Likewise.
11585 * misc/munlock.c: Likewise.
11586 * misc/munlockall.c: Likewise.
11587 * misc/munmap.c: Likewise.
11588 * misc/preadv.c: Likewise.
11589 * misc/preadv64.c: Likewise.
11590 * misc/ptrace.c: Likewise.
11591 * misc/pwritev.c: Likewise.
11592 * misc/pwritev64.c: Likewise.
11593 * misc/readv.c: Likewise.
11594 * misc/reboot.c: Likewise.
11595 * misc/remap_file_pages.c: Likewise.
11596 * misc/removexattr.c: Likewise.
11597 * misc/revoke.c: Likewise.
11598 * misc/select.c: Likewise.
11599 * misc/setdomain.c: Likewise.
11600 * misc/setegid.c: Likewise.
11601 * misc/seteuid.c: Likewise.
11602 * misc/sethostid.c: Likewise.
11603 * misc/sethostname.c: Likewise.
11604 * misc/setregid.c: Likewise.
11605 * misc/setreuid.c: Likewise.
11606 * misc/setxattr.c: Likewise.
11607 * misc/sstk.c: Likewise.
11608 * misc/stty.c: Likewise.
11609 * misc/swapoff.c: Likewise.
11610 * misc/swapon.c: Likewise.
11611 * misc/sync.c: Likewise.
11612 * misc/syncfs.c: Likewise.
11613 * misc/syscall.c: Likewise.
11614 * misc/truncate.c: Likewise.
11615 * misc/ualarm.c: Likewise.
11616 * misc/usleep.c: Likewise.
11617 * misc/ustat.c: Likewise.
11618 * misc/utimes.c: Likewise.
11619 * misc/vhangup.c: Likewise.
11620 * misc/writev.c: Likewise.
11621 * posix/_exit.c: Likewise.
11622 * posix/alarm.c: Likewise.
11623 * posix/execve.c: Likewise.
11624 * posix/fexecve.c: Likewise.
11625 * posix/fork.c: Likewise.
11626 * posix/fpathconf.c: Likewise.
11627 * posix/getaddrinfo.c: Likewise.
11628 * posix/getegid.c: Likewise.
11629 * posix/geteuid.c: Likewise.
11630 * posix/getgid.c: Likewise.
11631 * posix/getgroups.c: Likewise.
11632 * posix/getlogin.c: Likewise.
11633 * posix/getlogin_r.c: Likewise.
11634 * posix/getpgid.c: Likewise.
11635 * posix/getpid.c: Likewise.
11636 * posix/getppid.c: Likewise.
11637 * posix/getresgid.c: Likewise.
11638 * posix/getresuid.c: Likewise.
11639 * posix/getsid.c: Likewise.
11640 * posix/getuid.c: Likewise.
11641 * posix/glob64.c: Likewise.
11642 * posix/nanosleep.c: Likewise.
11643 * posix/pathconf.c: Likewise.
11644 * posix/pause.c: Likewise.
11645 * posix/posix_madvise.c: Likewise.
11646 * posix/pread.c: Likewise.
11647 * posix/pread64.c: Likewise.
11648 * posix/pwrite.c: Likewise.
11649 * posix/pwrite64.c: Likewise.
11650 * posix/sched_getaffinity.c: Likewise.
11651 * posix/sched_getp.c: Likewise.
11652 * posix/sched_gets.c: Likewise.
11653 * posix/sched_primax.c: Likewise.
11654 * posix/sched_primin.c: Likewise.
11655 * posix/sched_rr_gi.c: Likewise.
11656 * posix/sched_setaffinity.c: Likewise.
11657 * posix/sched_setp.c: Likewise.
11658 * posix/sched_sets.c: Likewise.
11659 * posix/sched_yield.c: Likewise.
11660 * posix/setgid.c: Likewise.
11661 * posix/setlogin.c: Likewise.
11662 * posix/setpgid.c: Likewise.
11663 * posix/setresgid.c: Likewise.
11664 * posix/setresuid.c: Likewise.
11665 * posix/setsid.c: Likewise.
11666 * posix/setuid.c: Likewise.
11667 * posix/sleep.c: Likewise.
11668 * posix/spawni.c: Likewise.
11669 * posix/sysconf.c: Likewise.
11670 * posix/times.c: Likewise.
11671 * posix/wait.c: Likewise.
11672 * posix/wait3.c: Likewise.
11673 * posix/wait4.c: Likewise.
11674 * posix/waitpid.c: Likewise.
11675 * resolv/gai_sigqueue.c: Likewise.
11676 * resource/getpriority.c: Likewise.
11677 * resource/getrlimit.c: Likewise.
11678 * resource/getrusage.c: Likewise.
11679 * resource/nice.c: Likewise.
11680 * resource/setpriority.c: Likewise.
11681 * resource/setrlimit.c: Likewise.
11682 * resource/ulimit.c: Likewise.
11683 * rt/aio_cancel.c: Likewise.
11684 * rt/aio_fsync.c: Likewise.
11685 * rt/aio_read.c: Likewise.
11686 * rt/aio_sigqueue.c: Likewise.
11687 * rt/aio_suspend.c: Likewise.
11688 * rt/aio_write.c: Likewise.
11689 * rt/clock_getres.c: Likewise.
11690 * rt/clock_gettime.c: Likewise.
11691 * rt/clock_nanosleep.c: Likewise.
11692 * rt/clock_settime.c: Likewise.
11693 * rt/lio_listio.c: Likewise.
11694 * rt/mq_close.c: Likewise.
11695 * rt/mq_getattr.c: Likewise.
11696 * rt/mq_notify.c: Likewise.
11697 * rt/mq_open.c: Likewise.
11698 * rt/mq_receive.c: Likewise.
11699 * rt/mq_send.c: Likewise.
11700 * rt/mq_setattr.c: Likewise.
11701 * rt/mq_timedreceive.c: Likewise.
11702 * rt/mq_timedsend.c: Likewise.
11703 * rt/mq_unlink.c: Likewise.
11704 * rt/shm_open.c: Likewise.
11705 * rt/shm_unlink.c: Likewise.
11706 * rt/timer_create.c: Likewise.
11707 * rt/timer_delete.c: Likewise.
11708 * rt/timer_getoverr.c: Likewise.
11709 * rt/timer_gettime.c: Likewise.
11710 * rt/timer_settime.c: Likewise.
11711 * setjmp/__longjmp.c: Likewise.
11712 * setjmp/setjmp.c: Likewise.
11713 * signal/kill.c: Likewise.
11714 * signal/killpg.c: Likewise.
11715 * signal/raise.c: Likewise.
11716 * signal/sigaction.c: Likewise.
11717 * signal/sigaltstack.c: Likewise.
11718 * signal/sigblock.c: Likewise.
11719 * signal/sigignore.c: Likewise.
11720 * signal/sigintr.c: Likewise.
11721 * signal/signal.c: Likewise.
11722 * signal/sigpause.c: Likewise.
11723 * signal/sigpending.c: Likewise.
11724 * signal/sigqueue.c: Likewise.
11725 * signal/sigreturn.c: Likewise.
11726 * signal/sigset.c: Likewise.
11727 * signal/sigsetmask.c: Likewise.
11728 * signal/sigstack.c: Likewise.
11729 * signal/sigsuspend.c: Likewise.
11730 * signal/sigtimedwait.c: Likewise.
11731 * signal/sigvec.c: Likewise.
11732 * signal/sigwait.c: Likewise.
11733 * signal/sigwaitinfo.c: Likewise.
11734 * signal/sysv_signal.c: Likewise.
11735 * socket/accept.c: Likewise.
11736 * socket/accept4.c: Likewise.
11737 * socket/bind.c: Likewise.
11738 * socket/connect.c: Likewise.
11739 * socket/getpeername.c: Likewise.
11740 * socket/getsockname.c: Likewise.
11741 * socket/getsockopt.c: Likewise.
11742 * socket/isfdtype.c: Likewise.
11743 * socket/listen.c: Likewise.
11744 * socket/recv.c: Likewise.
11745 * socket/recvfrom.c: Likewise.
11746 * socket/recvmsg.c: Likewise.
11747 * socket/send.c: Likewise.
11748 * socket/sendmsg.c: Likewise.
11749 * socket/sendto.c: Likewise.
11750 * socket/setsockopt.c: Likewise.
11751 * socket/shutdown.c: Likewise.
11752 * socket/sockatmark.c: Likewise.
11753 * socket/socket.c: Likewise.
11754 * socket/socketpair.c: Likewise.
11755 * stdio-common/ctermid.c: Likewise.
11756 * stdio-common/cuserid.c: Likewise.
11757 * stdio-common/remove.c: Likewise.
11758 * stdio-common/rename.c: Likewise.
11759 * stdio-common/renameat.c: Likewise.
11760 * stdio-common/tempname.c: Likewise.
11761 * stdlib/getcontext.c: Likewise.
11762 * stdlib/makecontext.c: Likewise.
11763 * stdlib/setcontext.c: Likewise.
11764 * stdlib/swapcontext.c: Likewise.
11765 * stdlib/system.c: Likewise.
11766 * streams/fattach.c: Likewise.
11767 * streams/fdetach.c: Likewise.
11768 * streams/getmsg.c: Likewise.
11769 * streams/getpmsg.c: Likewise.
11770 * streams/putmsg.c: Likewise.
11771 * streams/putpmsg.c: Likewise.
11772 * sysdeps/unix/bsd/getpt.c: Likewise.
11773 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11774 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11775 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11778 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11779 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11780 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11781 * sysvipc/msgctl.c: Likewise.
11782 * sysvipc/msgget.c: Likewise.
11783 * sysvipc/msgrcv.c: Likewise.
11784 * sysvipc/msgsnd.c: Likewise.
11785 * sysvipc/semctl.c: Likewise.
11786 * sysvipc/semget.c: Likewise.
11787 * sysvipc/semop.c: Likewise.
11788 * sysvipc/semtimedop.c: Likewise.
11789 * sysvipc/shmat.c: Likewise.
11790 * sysvipc/shmctl.c: Likewise.
11791 * sysvipc/shmdt.c: Likewise.
11792 * sysvipc/shmget.c: Likewise.
11793 * termios/tcdrain.c: Likewise.
11794 * termios/tcflow.c: Likewise.
11795 * termios/tcflush.c: Likewise.
11796 * termios/tcgetattr.c: Likewise.
11797 * termios/tcgetpgrp.c: Likewise.
11798 * termios/tcsendbrk.c: Likewise.
11799 * termios/tcsetattr.c: Likewise.
11800 * termios/tcsetpgrp.c: Likewise.
11801 * time/adjtime.c: Likewise.
11802 * time/clock.c: Likewise.
11803 * time/getitimer.c: Likewise.
11804 * time/gettimeofday.c: Likewise.
11805 * time/setitimer.c: Likewise.
11806 * time/settimeofday.c: Likewise.
11807 * time/stime.c: Likewise.
11808 * time/time.c: Likewise.
11810 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11812 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11815 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11817 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11819 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11823 FE_TONEAREST before applying Dekker multiplication and Knuth
11824 addition. Clear inexact exceptions and check for exact zero
11825 results afterwards.
11826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11829 * math/libm-test.inc (fma_test): Add more tests.
11830 (fma_test_towardzero): Likewise.
11831 (fma_test_downward): Likewise.
11832 (fma_test_upward): Likewise.
11833 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11835 (libc_fesetround): New macro.
11836 (libc_fesetroundf): Likewise.
11837 (libc_fesetroundl): Likewise.
11838 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11840 (libc_fesetround_387): Likewise.
11841 (libc_fesetroundf): New macro.
11842 (libc_fesetround): Likewise.
11843 (libc_fesetroundl): Likewise.
11844 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11846 (libc_fesetroundf): New macro.
11847 (libc_fesetround): Likewise.
11848 (libc_fesetroundl): Likewise.
11849 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11850 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11851 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11853 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11854 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11856 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11857 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11859 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11863 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11864 integer constant usable in #if and use that to give value to enum
11866 (FE_DIVBYZERO): Likewise.
11867 (FE_UNDERFLOW): Likewise.
11868 (FE_OVERFLOW): Likewise.
11869 (FE_INVALID): Likewise.
11870 (FE_INVALID_SNAN): Likewise.
11871 (FE_INVALID_ISI): Likewise.
11872 (FE_INVALID_IDI): Likewise.
11873 (FE_INVALID_ZDZ): Likewise.
11874 (FE_INVALID_IMZ): Likewise.
11875 (FE_INVALID_COMPARE): Likewise.
11876 (FE_INVALID_SOFTWARE): Likewise.
11877 (FE_INVALID_SQRT): Likewise.
11878 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11879 (FE_TONEAREST): Likewise.
11880 (FE_TOWARDZERO): Likewise.
11881 (FE_UPWARD): Likewise.
11882 (FE_DOWNWARD): Likewise.
11883 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11884 (FE_DIVBYZERO): Likewise.
11885 (FE_OVERFLOW): Likewise.
11886 (FE_UNDERFLOW): Likewise.
11887 (FE_INEXACT): Likewise.
11888 (FE_TONEAREST): Likewise.
11889 (FE_DOWNWARD): Likewise.
11890 (FE_UPWARD): Likewise.
11891 (FE_TOWARDZERO): Likewise.
11892 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11893 (FE_UNDERFLOW): Likewise.
11894 (FE_OVERFLOW): Likewise.
11895 (FE_DIVBYZERO): Likewise.
11896 (FE_INVALID): Likewise.
11897 (FE_TONEAREST): Likewise.
11898 (FE_TOWARDZERO): Likewise.
11899 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11900 (FE_OVERFLOW): Likewise.
11901 (FE_UNDERFLOW): Likewise.
11902 (FE_DIVBYZERO): Likewise.
11903 (FE_INEXACT): Likewise.
11904 (FE_TONEAREST): Likewise.
11905 (FE_TOWARDZERO): Likewise.
11906 (FE_UPWARD): Likewise.
11907 (FE_DOWNWARD): Likewise.
11908 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11909 (FE_DIVBYZERO): Likewise.
11910 (FE_OVERFLOW): Likewise.
11911 (FE_UNDERFLOW): Likewise.
11912 (FE_INEXACT): Likewise.
11913 (FE_TONEAREST): Likewise.
11914 (FE_DOWNWARD): Likewise.
11915 (FE_UPWARD): Likewise.
11916 (FE_TOWARDZERO): Likewise.
11918 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11920 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11922 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11924 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11925 commands. Quote $PWD.
11926 (blacklist_exports): Don't use remove_newlines. Replace "declare
11928 (remove_newlines): Remove.
11930 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11932 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11933 * stdlib/stdlib.h (atof): Moved to ...
11934 * include/bits/stdlib-float.h: Here. New file.
11935 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11936 * stdlib/bits/stdlib-float.h: New file.
11937 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11939 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11942 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11944 * conform/conformtest.pl (@headers): Add fenv.h.
11945 * conform/data/fenv.h-data: New file.
11946 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11947 include of <math/fenv.h>.
11949 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11950 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11951 && !UNIX98]. Enables tests for XOPEN2K8.
11952 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11953 POSIX2008]: Likewise.
11955 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11956 (struct rusage): Do not expect type or its members.
11959 * math/math.h (FP_NAN): Define macro to integer constant usable in
11960 #if and use that to give value to enum constant.
11961 (FP_INFINITE): Likewise.
11962 (FP_ZERO): Likewise.
11963 (FP_SUBNORMAL): Likewise.
11964 (FP_NORMAL): Likewise.
11966 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11968 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11969 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11972 2012-11-02 Roland McGrath <roland@hack.frob.com>
11974 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11975 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11976 autoconf-time if not.
11977 * configure.in: Remove AC_PREREQ.
11979 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11981 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11982 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11983 of the internal implementation.
11985 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11987 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11988 except include of <misc/sys/syslog.h>.
11990 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11993 function returns with a NULL context exit with zero.
11995 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11997 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11999 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12001 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12002 (run_program_cmd): This.
12003 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12004 (tst_langinfo): New variable. Use it.
12006 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12008 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12009 floating point opcodes.
12011 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12013 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12016 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12018 * sysdeps/mach/hurd/powerpc: Remove directory.
12019 * sysdeps/mach/powerpc: Likewise.
12021 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12023 * scripts/check-local-headers.sh: Ignore c++ headers.
12025 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12027 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12028 __libc_cleanup_region_start argument.
12030 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12035 x * y using scaling, not as x * y + z.
12036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12037 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12038 * math/libm-test.inc (fma_test): Add more tests.
12039 (fma_test_towardzero): Likewise.
12040 (fma_test_downward): Likewise.
12041 (fma_test_upward): Likewise.
12043 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12045 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12047 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12049 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12052 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12054 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12056 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12063 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12066 Fix the order of the list for glibc 2.17.
12067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12070 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12074 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12078 for low part of x being zero before using __atanl (y).
12079 * math/libm-test.inc (atan2_test): Add another test.
12081 * manual/install.texi (Configuring and compiling): Document
12082 general use of test-wrapper and test-wrapper-env.
12083 * INSTALL: Regenerated.
12085 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12086 (__fma): Do not extract and scale down low bits on after-rounding
12087 systems when result rounded to normal precision would have normal
12089 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12090 (__fmal): Do not extract and scale down low bits on after-rounding
12091 systems when result rounded to normal precision would have normal
12093 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12094 (__fmal): Do not extract and scale down low bits on after-rounding
12095 systems when result rounded to normal precision would have normal
12097 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12099 (fma_test): Add more tests.
12100 (fma_test_towardzero): Likewise.
12101 (fma_test_downward): Likewise.
12102 (fma_test_upward): Likewise.
12104 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12106 * sysdeps/i386/tininess.h: Renamed to ...
12107 * sysdeps/x86/tininess.h: This.
12108 * sysdeps/x86_64/tininess.h: Removed.
12110 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12112 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12113 input. Use $(build-program-cmd).
12114 ($(objpfx)tst-array1-static.out): Likewise.
12115 ($(objpfx)tst-array2.out): Likewise.
12116 ($(objpfx)tst-array3.out): Likewise.
12117 ($(objpfx)tst-array4.out): Likewise.
12118 ($(objpfx)tst-array5.out): Likewise.
12119 ($(objpfx)tst-array5-static.out): Likewise.
12121 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12123 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12126 * nss/nsswitch.h (nss_interface_function): Provide new
12127 macro for use with NSS functions.
12128 * grp/initgroups.c: Use new macro.
12129 * nss/getXXbyYY.c: Likewise.
12130 * nss/getXXbyYY_r.c: Likewise.
12131 * nss/getXXent.c: Likewise.
12132 * nss/getXXent_r.c: Likewise.
12133 * sysdeps/posix/getaddrinfo.c: Likewise.
12135 2012-10-30 Andreas Jaeger <aj@suse.de>
12137 * po/ru.po: Update Russion translation from translation project.
12139 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12144 result and shift together with sticky bit instead of replicating
12145 round-to-nearest rounding.
12146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12148 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12149 missing underflow exceptions.
12150 (fma_test_towardzero): Add more tests.
12151 (fma_test_downward): Likewise.
12152 (fma_test_upward): Likewise.
12155 * sysdeps/generic/tininess.h: New file.
12156 * sysdeps/i386/tininess.h: Likewise.
12157 * sysdeps/sh/tininess.h: Likewise.
12158 * sysdeps/x86_64/tininess.h: Likewise.
12159 * stdlib/tst-strtod-underflow.c: Likewise.
12160 * stdlib/tst-tininess.c: Likewise.
12161 * stdlib/strtod_l.c: Include <tininess.h>.
12162 (round_and_return): Do not set errno for exact underflow cases.
12163 Force an underflow exception when setting errno for underflow.
12164 Determine underflow based on rounding to normal precision if
12165 TININESS_AFTER_ROUNDING.
12166 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12167 ERANGE for exact underflow cases.
12168 * stdlib/Makefile (tests): Add tst-tininess and
12169 tst-strtod-underflow.
12170 ($(objpfx)tst-tininess): Use $(link-libm).
12171 ($(objpfx)tst-strtod-underflow): Likewise.
12173 2012-10-30 Andreas Jaeger <aj@suse.de>
12176 * elf/Makefile (tests): Remove conditional for have-initfini-array
12177 since this is now always required and the variable does not exist
12179 (tests-static): Likewise.
12180 (modules-names): Likewise.
12182 * po/eo.po: Add Esperanto translation from translation project.
12184 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12185 merged with constructor/destructor.
12186 (init_array): Likewise.
12187 * elf/tst-array2dep.c (fini_array): Likewise.
12188 (init_array): Likewise.
12190 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12192 * manual/message.texi: Delete @cartouche tags.
12194 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12196 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12198 * sysdeps/mach/hurd/fsync.c: Likewise.
12200 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12201 [_POSIX_REALTIME_SIGNALS]: Change condition to
12202 [_POSIX_REALTIME_SIGNALS > 0].
12204 2012-10-27 Andreas Jaeger <aj@suse.de>
12206 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12207 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12209 [__WORDSIZE != 64]: Likewise.
12211 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12213 * iconvdata/tst-table.sh: Remove ${SHELL}.
12214 * iconvdata/tst-tables.sh: Likewise.
12216 2012-10-25 David S. Miller <davem@davemloft.net>
12218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12219 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12225 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12226 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12229 2012-10-25 Roland McGrath <roland@hack.frob.com>
12231 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12232 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12235 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12236 Jim Blandy <jimb@codesourcery.com>
12238 * scripts/cross-test-ssh.sh: New file.
12239 * manual/install.texi (Configuring and compiling): Document use of
12241 * INSTALL: Regenerated.
12243 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12245 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12248 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12250 * Makeconfig (run-program-prefix): Fix comment.
12252 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12253 Jim Blandy <jimb@codesourcery.com>
12255 * Makeconfig (test-wrapper): New variable,
12256 (test-wrapper-env): Likewise.
12257 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12258 (run-built-tests): Define to yes.
12259 (run-program-prefix): Use $(test-wrapper).
12260 (built-program-cmd): Likewise.
12261 * Rules (make-test-out): Use $(test-wrapper-env) and
12262 $(host-built-program-cmd).
12263 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12264 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12266 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12267 $(test-wrapper-env) to tst-rtld-load-self.sh.
12268 ($(objpfx)order2.out): Use $(test-wrapper).
12269 ($(objpfx)tst-initorder.out): Likewise.
12270 ($(objpfx)tst-initorder2.out): Likewise.
12271 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12272 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12273 (test_wrapper_env): New variable. Use it to run ld.so.
12274 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12275 Use it to run ld.so.
12276 (test_wrapper_env): Likewise.
12277 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12278 $(test-wrapper) to run-iconv-test.sh.
12279 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12280 (ICONV): Use $test_wrapper.
12281 * posix/Makefile ($(objpfx)globtest.out): Pass
12282 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12283 globtest.sh, not $(run-program-prefix).
12284 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12285 (test_wrapper): Likewise.
12286 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12287 set together with run_via_rtld_prefix.
12288 (run_program_prefix): Define in terms of test_wrapper and
12289 run_via_rtld_prefix.
12291 2012-10-24 Roland McGrath <roland@hack.frob.com>
12293 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12294 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12298 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12299 Declare __clock_getres, __clock_gettime, __clock_settime,
12300 __clock_nanosleep, and __clock_getcpuclockid.
12301 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12302 Remove librt_hidden_def (clock_gettime).
12303 * sysdeps/unix/clock_gettime.c: Likewise.
12304 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12306 * rt/clock_getres.c: Define __clock_getres as an alias.
12307 * sysdeps/posix/clock_getres.c: Likewise.
12308 * rt/clock_settime.c: Define __clock_settime as an alias.
12309 * sysdeps/unix/clock_settime.c: Likewise.
12310 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12311 * sysdeps/unix/clock_nanosleep.c: Likewise.
12312 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12313 * rt/clock-compat.c: New file.
12314 * rt/Makefile (librt-routines): Add clock-compat and move
12315 $(clock-routines) to ...
12316 (routines): ... here, new variable.
12317 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12318 Don't add get_clockfreq here.
12319 * rt/Versions (libc: GLIBC_2.17): New version set.
12320 Add clock_* symbols here.
12321 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12322 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12323 (GLIBC_2.17): Add clock_* symbols.
12324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12335 * NEWS: Mention the move.
12337 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12338 Use __open, __read, __close rather than their public counterparts.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12340 (__get_clockfreq_via_cpuinfo): Likewise.
12341 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12342 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12344 * config.h.in (HAVE_IFUNC): New #undef.
12345 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12347 * configure: Regenerated.
12349 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12351 * configure.in: Move READELF check to start of file.
12352 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12353 libc_cv_asm_gnu_indirect_function in the process.
12354 * configure: Regenerated.
12356 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12358 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12359 send the output to /dev/null.
12360 (libc_cv_cc_with_libunwind): Likewise.
12361 (libc_cv_as_noexecstack): Likewise.
12362 * configure: Regenerate.
12364 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12366 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12368 * posix/globtest.sh (TMPDIR): Do not set.
12369 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12370 (testout): Likewise.
12372 2012-10-24 Andreas Jaeger <aj@suse.de>
12374 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12375 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12376 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12377 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12378 posix_fadvise64, posix_fallocate64.
12380 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12381 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12382 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12384 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12386 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12389 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12390 <bits/fcntl-linux.h>.
12391 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12394 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12395 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12396 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12397 [__WORDSIZE != 64]: Likewise.
12399 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12401 * Makeconfig (run-built-tests): New variable.
12402 * Rules [$(cross-compiling) = yes]: Change condition to
12403 [$(run-built-tests) = no].
12404 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12405 to [$(run-built-tests) = yes].
12406 * elf/Makefile [$(cross-compiling) = no]: Likewise
12407 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12408 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12409 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12410 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12411 * io/Makefile [$(cross-compiling) = no]: Likewise.
12412 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12413 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12414 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12415 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12416 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12417 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12418 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12419 * string/Makefile [$(cross-compiling) = no]: Likewise.
12421 * posix/Makefile ($(objpfx)globtest.out): Pass
12422 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12423 $(rtld-installed-name).
12424 * posix/globtest.sh (elf_objpfx): Remove variable.
12425 (rtld_installed_name): Likewise.
12426 (library_path): Likewise.
12427 (run_program_prefix): New variable. Use for running globtest
12430 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12431 Joseph Myers <joseph@codesourcery.com>
12433 * Makeconfig (host-built-program-cmd): New variable.
12434 * elf/Makefile (tst-stackguard1-ARGS): Use
12435 $(host-built-program-cmd).
12436 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12437 (tst-spawn-ARGS): Likewise.
12438 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12440 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12441 Jim Blandy <jimb@codesourcery.com>
12443 * Makeconfig (run-via-rtld-prefix): New variable.
12444 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12445 (built-program-cmd): Likewise.
12447 2012-10-22 Andreas Jaeger <aj@suse.de>
12449 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12450 __O_RSYNC if it exists, otherwise to O_SYNC.
12452 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12453 Joseph Myers <joseph@codesourcery.com>
12455 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12457 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12459 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12462 2012-10-22 Andreas Jaeger <aj@suse.de>
12464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12469 bits/fcntl-linux.h.
12471 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12472 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12479 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12480 Joseph Myers <joseph@codesourcery.com>
12482 * config.make.in (NM): New variable.
12484 2012-10-21 Andreas Jaeger <aj@suse.de>
12486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12487 definitions and declarations that are provided by
12488 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12490 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12493 * elf/Makefile (tests-static): Add tst-leaks1-static.
12494 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12495 ($(objpfx)tst-leaks1-static): New rule.
12496 ($(objpfx)tst-leaks1-static-mem): Likewise.
12497 (tst-leaks1-static-ENV): New macro.
12498 * elf/dl-open.c (dl_open_worker): Check the main application
12499 only if SHARED is defined.
12500 * elf/tst-leaks1-static.c: New file.
12502 2012-10-20 Andreas Jaeger <aj@suse.de>
12504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12505 generic values for Linux.
12506 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12507 and declarations that are provided by <bits/fcntl-linux.h> and
12508 include <bits/fcntl-linux.h>.
12509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12512 2012-10-20 Roland McGrath <roland@hack.frob.com>
12514 * io/fcntl.h: Move include of <bits/types.h> to the top and
12515 include it unconditionally.
12517 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12519 * wcsmbs/Makefile (tests-ifunc): New variable.
12520 (tests): Add $(tests-ifunc).
12521 * wcsmbs/test-wcschr-ifunc.c: New file.
12522 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12523 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12524 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12525 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12526 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12528 * string/Makefile (tests-ifunc): New variable.
12529 (tests): Add $(tests-ifunc).
12530 * string/test-memccpy.c (TEST_NAME): New macro.
12531 * string/test-memchr.c (TEST_NAME): Likewise.
12532 * string/test-memcmp.c (TEST_NAME): Likewise.
12533 * string/test-memcpy.c (TEST_NAME): Likewise.
12534 * string/test-memmem.c (TEST_NAME): Likewise.
12535 * string/test-memmove.c (TEST_NAME): Likewise.
12536 * string/test-memset.c (TEST_NAME): Likewise.
12537 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12538 * string/test-stpcpy.c (TEST_NAME): Likewise.
12539 * string/test-stpncpy.c (TEST_NAME): Likewise.
12540 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12541 * string/test-strcasestr.c (TEST_NAME): Likewise.
12542 * string/test-strcat.c (TEST_NAME): Likewise.
12543 * string/test-strchr.c (TEST_NAME): Likewise.
12544 * string/test-strcmp.c(TEST_NAME): Likewise.
12545 * string/test-strcpy.c (TEST_NAME): Likewise.
12546 * string/test-strcspn.c (TEST_NAME): Likewise.
12547 * string/test-strlen.c (TEST_NAME): Likewise.
12548 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12549 * string/test-strncmp.c (TEST_NAME): Likewise.
12550 * string/test-strncpy.c (TEST_NAME): Likewise.
12551 * string/test-strnlen.c (TEST_NAME): Likewise.
12552 * string/test-strpbrk.c (TEST_NAME): Likewise.
12553 * string/test-strrchr.c (TEST_NAME): Likewise.
12554 * string/test-strspn.c (TEST_NAME): Likewise.
12555 * string/test-strstr.c (TEST_NAME): Likewise.
12556 * string/test-bcopy-ifunc.c: New file.
12557 * string/test-bzero-ifunc.c: Likewise.
12558 * string/test-memccpy-ifunc.c: Likewise.
12559 * string/test-memchr-ifunc.c: Likewise.
12560 * string/test-memcmp-ifunc.c: Likewise.
12561 * string/test-memcpy-ifunc.c: Likewise.
12562 * string/test-memmem-ifunc.c: Likewise.
12563 * string/test-memmove-ifunc.c: Likewise.
12564 * string/test-mempcpy-ifunc.c: Likewise.
12565 * string/test-memset-ifunc.c: Likewise.
12566 * string/test-rawmemchr-ifunc.c: Likewise.
12567 * string/test-stpcpy-ifunc.c: Likewise.
12568 * string/test-stpncpy-ifunc.c: Likewise.
12569 * string/test-strcasecmp-ifunc.c: Likewise.
12570 * string/test-strcasestr-ifunc.c: Likewise.
12571 * string/test-strcat-ifunc.c: Likewise.
12572 * string/test-strchr-ifunc.c: Likewise.
12573 * string/test-strchrnul-ifunc.c: Likewise.
12574 * string/test-strcmp-ifunc.c: Likewise.
12575 * string/test-strcpy-ifunc.c: Likewise.
12576 * string/test-strcspn-ifunc.c: Likewise.
12577 * string/test-strlen-ifunc.c: Likewise.
12578 * string/test-strncasecmp-ifunc.c: Likewise.
12579 * string/test-strncat-ifunc.c: Likewise.
12580 * string/test-strncmp-ifunc.c: Likewise.
12581 * string/test-strncpy-ifunc.c: Likewise.
12582 * string/test-strnlen-ifunc.c: Likewise.
12583 * string/test-strpbrk-ifunc.c: Likewise.
12584 * string/test-strrchr-ifunc.c: Likewise.
12585 * string/test-strspn-ifunc.c: Likewise.
12586 * string/test-strstr-ifunc.c: Likewise.
12588 * debug/Makefile (tests-ifunc): New variable.
12589 (tests): Add $(tests-ifunc).
12590 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12591 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12592 * debug/test-stpcpy_chk-ifunc.c: New file.
12593 * debug/test-strcpy_chk-ifunc.c: Likewise.
12595 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12598 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12599 header is not read in.
12601 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12603 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12604 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12605 directly. Pass built executable to script as
12606 $(built-program-cmd).
12607 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12608 $testprogram without using LD_LIBRARY_PATH and $ldso.
12610 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12611 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12612 $(rtld-installed-name).
12613 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12614 (rtld_installed_name): Likewise.
12615 (library_path): Likewise.
12616 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12617 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12618 $(run-program-prefix) to tst-tables.sh.
12619 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12620 it to run tst-table-from and tst-table-to.
12621 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12622 Pass it to tst-table.sh.
12623 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12624 $(run-program-prefix) to tst-gettext.sh.
12625 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12627 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12629 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12630 to run tst-gettext.
12631 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12632 to run tst-gettext2.
12633 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12634 to run tst-translit.
12635 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12636 $(run-program-prefix) to tst-mtrace.sh.
12637 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12639 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12640 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12641 $(rtld-installed-name).
12642 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12643 (rtld_installed_name): Likewise.
12644 (run_program_prefix): New variable. Use it to run wordexp-test.
12646 * Makeconfig (ARCH): Remove all definitions.
12647 (machine): Likewise.
12648 [ARCH]: Remove conditional code.
12649 [!objdir]: Give error.
12650 [!objdir] (objpfx): Remove.
12651 [!objdir] (common-objpfx): Likewise.
12652 [!objdir] (common-objdir): Likewise.
12653 * configure.in (config_makefile): Remove. Hardcode Makefile in
12654 AC_CONFIG_FILES call.
12655 * configure: Regenerated.
12658 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12660 (testout): Likewise.
12662 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12663 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12664 $(rtld-installed-name).
12665 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12666 (rtld_installed_name): Likwise.
12667 (runit): Remove function.
12668 (run_getconf): New variable, Use it for running getconf binary.
12670 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12673 * string/test-memmem.c (check_result): New function.
12674 (do_one_test): Use it.
12675 (check1): New function.
12676 (test_main): Use it.
12678 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12680 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12682 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12684 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12685 (_G_LSEEK64): Likewise.
12686 (_G_MMAP64): Likewise.
12687 (_G_FSTAT64): Likewise.
12688 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12689 (_G_LSEEK64): Likewise.
12690 (_G_MMAP64): Likewise.
12691 (_G_FSTAT64): Likewise.
12692 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12693 unconditional. Call __mmap64 directly.
12694 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12695 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12696 __lseek64 directly.
12697 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12698 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12700 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12701 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12702 __lseek64 directly.
12703 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12704 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12705 __lseek64 directly.
12706 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12707 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12708 __lseek64 directly.
12709 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12710 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12711 __fxstat64 directly.
12712 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12713 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12715 (freopen64) [!_G_OPEN64]: Remove conditional code.
12716 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12718 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12719 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12721 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12722 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12724 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12725 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12727 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12728 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12730 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12731 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12733 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12734 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12736 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12738 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12741 * manual/memory.texi (Malloc Tunable Parameters): Add note
12742 about free list pointers overwriting some perturb bytes.
12743 Wording suggested by Roland McGrath.
12745 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12747 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12748 (lgamma_test): Likewise.
12749 (tgamma_test): Likewise.
12751 2012-10-16 Florian Weimer <fweimer@redhat.com>
12754 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12755 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12757 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12759 * NEWS: Mention BZ #14716.
12760 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12761 when removing AVAILABLE1_USES_J macro.
12763 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12765 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12766 (__bswap_64): __uint64_t for unsigned 64-bit int.
12768 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12770 * include/string.h (memmem): Declare libc hidden alias.
12771 * string/memmem.c (memmem): Define libc hidden alias.
12772 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12773 __read, __close instead of open, read, close.
12775 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12778 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12780 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12781 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12782 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12784 (__rawmemchr_sse2): Likewise.
12785 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12786 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12787 (__strchr_sse2): Likewise.
12788 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12789 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12790 (__strcasecmp_sse2): Likewise.
12791 (__strncasecmp_sse2): Likewise.
12792 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12793 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12794 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12795 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12796 (__strrchr_sse2): Likewise.
12797 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12799 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12800 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12801 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12802 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12803 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12804 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12805 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12806 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12807 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12808 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12809 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12810 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12811 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12812 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12813 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12814 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12815 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12816 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12817 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12818 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12819 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12820 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12821 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12822 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12823 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12824 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12825 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12826 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12827 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12828 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12830 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12832 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12833 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12834 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12835 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12837 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12839 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12840 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12841 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12842 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12844 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12845 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12846 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12847 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12848 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12849 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12850 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12851 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12852 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12853 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12854 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12855 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12856 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12857 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12858 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12859 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12860 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12861 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12862 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12863 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12864 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12865 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12866 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12867 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12878 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12886 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12887 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12888 * include/ifunc-impl-list.h: New file.
12889 * misc/ifunc-impl-list.c: Likewise.
12890 * misc/Makefile (routines): Add ifunc-impl-list.
12891 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12892 * string/test-string.h: Include <ifunc-impl-list.h>.
12893 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12894 impl_array): New variables.
12895 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12897 (test_init): Call __libc_ifunc_impl_list to initialize
12898 func_list if TEST_IFUNC and TEST_NAME are defined.
12900 * string/Makefile (strop-tests): Add bcopy and bzero.
12901 * string/test-bcopy.c: New file.
12902 * string/test-bzero.c: Likewise.
12903 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12905 * string/test-memset.c: Support bzero test if TEST_BZERO is
12907 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12909 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12911 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12914 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12916 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12917 * configure: Regenerated.
12919 * Makeconfig (+link-static-before-libc): Don't include
12920 $(link-static-libc).
12922 * libio/libio.h (_IO_pos_t): Remove.
12924 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12926 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12929 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12931 * crypt/crypt-entry.c: Include fips-private.h.
12932 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12933 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12934 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12935 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12937 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12939 * crypt/crypt-private.h: Include stdbool.h.
12940 (_ufc_setup_salt_r): Return bool.
12941 * crypt/crypt-entry.c: Include errno.h.
12942 (__crypt_r): Return NULL with EINVAL for bad salt.
12943 * crypt/crypt_util.c (bad_for_salt): New.
12944 (_ufc_setup_salt_r): Check that salt is long enough and within
12945 the specified alphabet.
12946 * crypt/badsalttest.c: New file.
12947 * crypt/Makefile (tests): Add it.
12948 ($(objpfx)badsalttest): New.
12950 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12952 * NEWS: Add entry for BZ #14602.
12954 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12956 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12958 * math/libm-test.inc: Update comment listing what functions and
12960 (isgreater_test): New function.
12961 (isgreaterequal_test): Likewise.
12962 (isless_test): Likewise.
12963 (islessequal_test): Likewise.
12964 (islessgreater_test): Likewise.
12965 (isunordered_test): Likewise.
12966 (main): Call the new functions.
12968 2012-10-09 Roland McGrath <roland@hack.frob.com>
12970 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12971 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12972 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12973 * sysdeps/i386/configure: Regenerated.
12974 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12975 * sysdeps/mach/configure: Regenerated.
12976 * sysdeps/mach/hurd/configure: Regenerated.
12977 * sysdeps/powerpc/configure: Regenerated.
12978 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12979 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12980 * sysdeps/s390/s390-32/configure: Regenerated.
12981 * sysdeps/s390/s390-64/configure: Regenerated.
12982 * sysdeps/sh/configure: Regenerated.
12983 * sysdeps/sparc/configure: Regenerated.
12984 * sysdeps/unix/sysv/linux/configure: Regenerated.
12985 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12986 * sysdeps/x86_64/configure: Regenerated.
12988 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12989 defined. Don't check if MAP is NULL.
12991 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12993 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12994 (_G_stat64): Likewise.
12995 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12996 (_G_stat64): Likewise.
12997 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12998 instead of struct _G_stat64.
12999 * libio/fileops.c (mmap_remap_check): Likewise.
13000 (decide_maybe_mmap): Likewise.
13001 (_IO_new_file_seekoff): Likewise.
13002 (_IO_file_stat): Likewise.
13003 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13005 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13006 instead of struct _G_stat64.
13007 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13009 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13012 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13014 (CHECK_EOL): New macro.
13015 (two_way_short_needle): Check beginning of haystack for EOL. Use
13017 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13018 Replace with CHECK_EOL.
13019 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13020 Replace with CHECK_EOL.
13022 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13024 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13026 * math/libm-test.inc: Update comment listing what functions and
13028 (finite_test): New function.
13029 (isinf_test): Likewise.
13030 (isnan_test): Likewise.
13031 (fpclassify_test): Test subnormal input.
13032 (isfinite_test): Likewise.
13033 (isnormal_test): Likewise.
13034 (main): Call the new functions.
13036 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13039 * Makerules (%.dynsym): Force C locale when running
13040 $(OBJDUMP) --dynamic-syms.
13042 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13044 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13047 2012-10-06 David S. Miller <davem@davemloft.net>
13049 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13050 upper 32-bits of the length value in %o2 since we use branch-on-register
13051 tests which consider the entire 64-bit register.
13053 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13055 * string/test-strstr.c (check2): Add a test for page boundary.
13057 2012-10-05 David S. Miller <davem@davemloft.net>
13059 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13060 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13062 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13064 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13065 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13066 and bzero when HWCAP_SPARC_CRYPTO is present.
13068 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13071 * string/test-strstr.c (check2): New function.
13072 (test_main): Call check2.
13074 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13076 * string/bug-strcasestr1.c (do_test): Moved to ...
13077 * string/test-strcasestr.c (check1): Here. New function.
13078 (do_one_test): Break out result checking code into ...
13079 (check_result): This. New function.
13080 (do_one_test): Call check_result.
13081 (test_main): Call check1.
13082 * string/bug-strchr1.c (do_test): Moved to ...
13083 * string/test-strchr.c (check1): Here. New function.
13084 (do_one_test): Break out result checking code into ...
13085 (check_result): This. New function.
13086 (do_one_test): Call check_result.
13087 (test_main): Call check1.
13088 * string/bug-strstr1.c (main): Moved to ...
13089 * string/test-strstr.c (check1): Here. New function.
13090 (do_one_test): Break out result checking code into ...
13091 (check_result): This. New function.
13092 (do_one_test): Call check_result.
13093 (test_main): Call check1.
13094 * string/bug-strcasestr1.c: Removed.
13095 * string/bug-strchr1.c: Likewise.
13096 * string/bug-strstr1.c: Likewise.
13098 * elf/Makefile (dl-routines): Add hwcaps.
13099 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13100 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13101 (_dl_important_hwcaps): Moved to ...
13102 * elf/dl-hwcaps.c: Here. New file.
13103 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13106 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13107 if IS_IN_rtld isn't defined.
13109 * elf/dl-support.c (_dl_sysinfo_map): New.
13110 Include "get-dynamic-info.h" and "setup-vdso.h".
13111 (_dl_non_dynamic_init): Call setup_vdso.
13112 * elf/dynamic-link.h: Don't include <assert.h>.
13113 (elf_get_dynamic_info): Moved to ...
13114 * elf/get-dynamic-info.h: Here. New file.
13115 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13116 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13117 * elf/setup-vdso.h: Here. New file.
13118 * elf/rtld.c: Include "setup-vdso.h".
13119 (dl_main): Call setup_vdso.
13121 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13123 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13124 creal in comment listing functions tested. List finite, isinf,
13125 isnan, isless, islessequal, isgreater, isgreaterequal,
13126 islessgreater, isunordered, lgamma_r and pow10 as functions and
13127 macros not tested. Mention which functions not tested are aliases
13128 for other functions. Fix typo. Note that signs of NaNs are not
13131 * scripts/config.guess: Update from config.git.
13132 * scripts/config.sub: Likewise.
13134 2012-10-04 Roland McGrath <roland@hack.frob.com>
13136 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13137 * misc/madvise.c (madvise): Renamed to __madvise.
13138 Make madvise a weak alias.
13139 * include/sys/mman.h: Declare __madvise.
13140 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13141 * sysdeps/unix/syscalls.list
13142 (madvise): Make __madvise the strong name, and madvise a weak alias.
13143 * sysdeps/unix/sysv/linux/syscalls.list
13144 (madvise, mmap): Remove redundant entries.
13145 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13146 * malloc/malloc.c (mtrim): Likewise.
13147 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13149 2012-10-03 Roland McGrath <roland@hack.frob.com>
13151 * sysdeps/mach/hurd/dl-cache.c: File removed.
13152 * config.h.in (USE_LDCONFIG): New #undef.
13153 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13154 * configure: Regenerated.
13155 * elf/Makefile (dl-routines): Add dl-cache only under
13156 [$(use-ldconfig) = yes].
13157 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13158 cache on [USE_LDCONFIG].
13159 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13161 * elf/rtld.c (dl_main): Likewise.
13163 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13165 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13166 _SC_LEVEL4_CACHE_LINESIZE.
13168 2012-10-03 Roland McGrath <roland@hack.frob.com>
13170 * sysdeps/unix/bsd/confstr.h: File removed.
13172 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13174 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13177 2012-10-02 Roland McGrath <roland@hack.frob.com>
13179 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13180 Make 'mapoff' field ElfW(Off) rather than off_t.
13182 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13184 * nscd/Makefile: Remove nscd-cflags and all its users.
13185 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13186 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13189 * malloc.c (malloc_printerr): Clarify error message.
13191 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13195 Set bit_FMA_Usable if FMA is supported.
13196 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13198 (bit_FMA4_Usable): Updated.
13199 (index_FMA_Usable): New macro.
13200 (CPUID_FMA): Likewise
13201 (HAS_FMA): Defined with bit_FMA_Usable.
13203 2012-10-01 Roland McGrath <roland@hack.frob.com>
13205 * bits/types.h (__swblk_t): Type removed.
13206 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13207 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13208 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13209 (__SWBLK_T_TYPE): Likewise.
13210 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13211 (__SWBLK_T_TYPE): Likewise.
13212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13213 (__SWBLK_T_TYPE): Likewise.
13214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13215 (__SWBLK_T_TYPE): Likewise.
13217 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13218 Honza Horak <hhorak@redhat.com>
13220 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13221 (xdr_mapname): Use YPMAXMAP as maxsize.
13222 (xdr_peername): Use YPMAXPEER as maxsize.
13223 (xdr_keydat): Use YPAXRECORD as maxsize.
13224 (xdr_valdat): Use YPMAXRECORD as maxsize.
13226 2012-10-01 Roland McGrath <roland@hack.frob.com>
13228 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13230 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13231 * csu/init-first.c: ... here.
13232 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13233 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13234 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13236 * sysdeps/i386/init-first.c: File removed.
13237 * sysdeps/sh/init-first.c: File removed.
13239 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13243 if x * y might underflow to zero and z is zero.
13244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13246 * math/libm-test.inc (min_subnorm_value): New variable.
13247 (fma_test): Add more tests.
13248 (fma_test_towardzero): Likewise.
13249 (fma_test_downward): Likewise
13250 (fma_test_upward): Likewise.
13251 (initialize): Set min_subnorm_value.
13253 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13258 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13259 mode for addition resulting in exact zero.
13260 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13265 * math/libm-test.inc (fma_test): Add more tests.
13266 (fma_test_towardzero): New function.
13267 (fma_test_downward): Likewise.
13268 (fma_test_upward): Likewise.
13269 (main): Call the new functions.
13271 2012-09-28 David S. Miller <davem@davemloft.net>
13273 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13275 2012-09-28 Roland McGrath <roland@hack.frob.com>
13277 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13278 instead of SIGALRM.
13280 * sysdeps/gnu/_G_config.h: Moved to ...
13281 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13282 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13283 * sysdeps/generic/_G_config.h: ... here.
13285 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13287 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13289 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13290 Conditionalize target on [libnss_test1.so-version].
13292 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13294 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13295 (elfobjdir): Move out of conditionals.
13297 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13298 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13299 (__nss_lookup_function): Conditionalize label remove_from_tree on
13300 [!DO_STATIC_NSS || SHARED], matching its only use.
13302 2012-09-28 David S. Miller <davem@davemloft.net>
13304 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13305 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13307 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13309 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13310 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13311 when HWCAP_SPARC_CRYPTO is present.
13313 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13315 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13317 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13320 * stdio-common/vfprintf.c (process_string_arg): Revert
13323 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13325 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13327 * stdio-common/tst-sprintf.c: Include <locale.h>
13328 (main): Test sprintf's handling of incomplete multibyte
13331 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13333 * elf/dl-runtime.c (VERSYMIDX): Removed.
13334 * elf/dl-version.c (VERSYMIDX): Likewise.
13335 * elf/do-rel.h (VERSYMIDX): Likewise.
13336 (VALIDX): Likewise.
13337 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13338 * elf/rtld.c (VALIDX): Likewise.
13339 (ADDRIDX): Likewise.
13340 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13341 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13342 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13343 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13344 (VALIDX): Likewise.
13345 (ADDRIDX): Likewise.
13347 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13349 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13351 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13354 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13356 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13357 addresses are in the same scope as 192.0.2/24.
13358 * posix/gai.conf: Document new scope table defaults.
13360 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13363 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13364 for ftell. Compute offsets from write pointers instead.
13365 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13367 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13370 * libio/Makefile (tests): New test case tst-fseek.
13371 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13372 combination works in wide mode.
13373 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13374 state when the external buffer state changes.
13376 2012-09-27 David S. Miller <davem@davemloft.net>
13379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13380 pass reloc->r_addend in as the 'high' argument to
13381 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13385 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13387 * rt/tst-aio2.c: Include <pthread.h>.
13388 * rt/tst-aio3.c: Likewise.
13390 2012-09-27 Steve Ellcey <sellcey@mips.com>
13392 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13394 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13396 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13397 contents on [SHARED].
13399 2012-09-26 Marek Polacek <polacek@redhat.com>
13403 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13404 for C++ and GCC <4.3 as well as for non GCC compilers.
13406 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13410 2012-09-25 Roland McGrath <roland@hack.frob.com>
13412 * Makefile.in (all, install): Declare with .PHONY.
13413 Reported by Michael Hope <michael.hope@linaro.org>.
13415 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13417 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13418 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13422 (sydep_routines): Add the new and the internal functions.
13423 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13424 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13426 (GLIBC_2.17): Add the new function.
13427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13428 (GLIBC_2.17): Likewise.
13429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13430 (GLIBC_2.17): Likewise.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13432 (GLIBC_2.17): Likewise.
13433 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13435 2012-09-25 Alan Modra <amodra@gmail.com>
13437 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13438 Add release barrier before setting once_control to say
13439 initialisation is done. Add hints on lwarx. Use macro in
13441 (clear_once_control): Add release barrier.
13443 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13446 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13448 * math/s_clog10.c (__clog10): Likewise.
13449 * math/s_clog10f.c (__clog10f): Likewise.
13450 * math/s_clog10l.c (__clog10l): Likewise.
13451 * math/s_clogf.c (__clogf): Likewise.
13452 * math/s_clogl.c (__clogl): Likewise.
13453 * math/Makefile (libm-calls): Add x2y2m1.
13454 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13455 (__x2y2m1): Likewise.
13456 (__x2y2m1l): Likewise.
13457 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13458 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13463 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13469 int as type of variable DEPTH.
13470 (glob): Use size_t instead of int as type of variables NEWCOUNT
13473 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13475 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13476 Add s_sincosf-sse2.
13477 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13478 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13479 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13480 macros for using routine as __sincosf_ia32.
13481 Use macro for function declaration and weak_alias.
13482 * sysdeps/i386/fpu/libm-test-ulps: Update.
13484 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13487 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13488 subnormal argument.
13489 * math/s_cexpf.c (__cexpf): Likewise.
13490 * math/s_csinf.c (__csinf): Likewise.
13491 * math/s_csinhf.c (__csinhf): Likewise.
13492 * math/s_ctanf.c (__ctanf): Likewise.
13493 * math/s_ctanhf.c (__ctanhf): Likewise.
13494 * math/s_ccosh.c (__ccoshf): Likewise.
13495 * math/s_cexp.c (__cexpl): Likewise.
13496 * math/s_csin.c (__csin): Likewise.
13497 * math/s_csinh.c (__csinh): Likewise.
13498 * math/s_ctan.c (__ctan): Likewise.
13499 * math/s_ctanh.c (ctanh): Likewise.
13500 * math/s_ccoshl.c (__ccoshl): Likewise.
13501 * math/s_cexpl.c (__cexpl): Likewise.
13502 * math/s_csinl.c (__csinl): Likewise.
13503 * math/s_csinhl.c (__csinhl): Likewise.
13504 * math/s_ctanl.c (__ctanl): Likewise.
13505 * math/s_ctanhl.c (__ctanhl): Likewise.
13507 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13509 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13510 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13511 (_IO_off_t): Define to __off_t, not _G_off_t.
13512 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13513 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13514 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13515 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13516 type of __dummy and __dummy2 fields.
13517 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13518 (_G_ssize_t): Likewise.
13519 (_G_off_t): Likewise.
13520 (_G_pid_t): Likewise.
13521 (_G_uid_t): Likewise.
13522 (_G_wchar_t): Likewise.
13523 (_G_wint_t): Likewise.
13524 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13525 (_G_ssize_t): Likewise.
13526 (_G_off_t): Likewise.
13527 (_G_pid_t): Likewise.
13528 (_G_uid_t): Likewise.
13529 (_G_wchar_t): Likewise.
13530 (_G_wint_t): Likewise.
13531 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13532 (_G_ssize_t): Likewise.
13533 (_G_off_t): Likewise.
13534 (_G_pid_t): Likewise.
13535 (_G_uid_t): Likewise.
13536 (_G_wchar_t): Likewise.
13537 (_G_wint_t): Likewise.
13539 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13541 * malloc/arena.c: Include malloc-sysdep.h.
13542 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13543 is sufficient to shrink the heap or an unmap is needed.
13544 * sysdeps/generic/malloc-sysdep.h: New file. Define
13545 new function check_may_shrink_heap.
13546 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13547 new function check_may_shrink_heap.
13549 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13551 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13554 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13556 * catgets/test-gencat.sh: Add "set -e".
13557 * elf/tst-pathopt.sh: Likewise.
13558 * grp/tst_fgetgrent.sh: Likewise.
13559 * iconvdata/run-iconv-test.sh: Likewise.
13560 * intl/tst-gettext.sh: Likewise.
13561 * intl/tst-gettext2.sh: Likewise.
13562 * intl/tst-gettext4.sh: Likewise.
13563 * intl/tst-gettext6.sh: Likewise.
13564 * intl/tst-translit.sh: Likewise.
13565 * io/ftwtest-sh: Likewise.
13566 * libio/test-freopen.sh: Likewise.
13567 * malloc/tst-mtrace.sh: Likewise.
13568 * posix/globtest.sh: Likewise.
13569 * posix/tst-getconf.sh: Likewise.
13570 * posix/wordexp-tst.sh: Likewise.
13571 * stdio-common/tst-printf.sh: Likewise.
13572 * stdio-common/tst-unbputc.sh: Likewise.
13573 * stdlib/tst-fmtmsg.sh: Likewise.
13574 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13575 * catgets/Makefile: Do not specify -e option when running
13576 testsuite shell scripts.
13577 * elf/Makefile: Likewise.
13578 * grp/Makefile: Likewise.
13579 * iconvdata/Makefile: Likewise.
13580 * intl/Makefile: Likewise.
13581 * io/Makefile: Likewise.
13582 * libio/Makefile: Likewise.
13583 * malloc/Makefile: Likewise.
13584 * posix/Makefile: Likewise.
13585 * stdio-common/Makefile: Likewise.
13586 * stdlib/Makefile: Likewise.
13587 * sysdeps/x86_64/Makefile: Likewise.
13589 * io/ftwtest-sh: Add copyright header.
13590 * posix/globtest.sh: Likewise.
13591 * posix/tst-getconf.sh: Likewise.
13592 * posix/wordexp-tst.sh: Likewise.
13593 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13595 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13598 * Makeconfig (+link): Defined as $(+link-static) if
13599 $(build-shared) isn't yes.
13600 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13602 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13604 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13607 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13608 new chunk size with MALLOC_ALIGN_MASK.
13610 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13613 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13615 (__printf_fphex): Determine rounding using get_rounding_mode and
13617 * stdio-common/tst-printf-round.c (struct hex_test): New
13619 (hex_tests): New variable.
13620 (test_hex_in_one_mode): New function.
13621 (do_test): Also run tests for hex float output.
13623 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13625 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13626 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13627 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13628 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13629 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13630 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13631 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13632 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13634 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13636 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13637 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13638 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13639 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13641 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13644 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13646 * elf/tst-rtld-load-self.sh: New test.
13647 * elf/Makefile: Run it.
13649 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13651 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13652 (tst-writev-ENV): Remove.
13653 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13655 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13657 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13659 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13661 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13663 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13665 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13666 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13667 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13670 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13673 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13674 * config.make.in (have-cpp-asm-debuginfo): Removed.
13675 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13676 * configure: Regenerated.
13678 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13681 * stdio-common/printf_fp.c: Include <stdbool.h> and
13683 (___printf_fp): Determine rounding using get_rounding_mode and
13685 * stdio-common/tst-printf-round.c: New file.
13686 * stdio-common/Makefile (tests): Add tst-printf-round.
13687 (link-libm): New variable.
13688 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13690 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13693 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13694 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13696 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13699 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13701 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13702 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13703 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13704 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13706 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13709 * include/rounding-mode.h: New file.
13710 * sysdeps/generic/get-rounding-mode.h: Likewise.
13711 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13712 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13713 (MAX_VALUE): New macro.
13714 (MIN_VALUE): Likewise.
13715 (overflow_value): New function.
13716 (underflow_value): Likewise.
13717 (round_and_return): Use overflow_value and underflow_value to
13718 determine return values in overflow and underflow cases. Use
13719 round_away to determine rounding depending on rounding mode.
13720 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13721 determine return values in overflow and underflow cases.
13722 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13723 (struct test_results): New structure.
13724 (struct test): Use struct test_results to store expected results
13725 for all rounding modes.
13726 (TEST): Include expected results for all rounding modes.
13727 (test_in_one_mode): New function.
13728 (do_test): Use test_in_one_mode to compute and check results.
13729 Check results for all rounding modes.
13730 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13733 2012-12-09 Allan McRae <allan@archlinux.org>
13735 * sysdeps/i386/fpu/libm-test-ulps: Update
13737 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13739 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13740 (_G_int32_t): Likewise.
13741 (_G_uint16_t): Likewise.
13742 (_G_uint32_t): Likewise.
13743 (_G_HAVE_BOOL): Likewise.
13744 (_G_HAVE_ATEXIT): Likewise.
13745 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13746 (_G_HAVE_IO_FILE_OPEN): Likewise.
13747 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13748 (_G_int32_t): Likewise.
13749 (_G_uint16_t): Likewise.
13750 (_G_uint32_t): Likewise.
13751 (_G_HAVE_BOOL): Likewise.
13752 (_G_HAVE_ATEXIT): Likewise.
13753 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13754 (_G_HAVE_IO_FILE_OPEN): Likewise.
13755 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13756 (_G_int32_t): Likewise.
13757 (_G_uint16_t): Likewise.
13758 (_G_uint32_t): Likewise.
13759 (_G_HAVE_BOOL): Likewise.
13760 (_G_HAVE_ATEXIT): Likewise.
13761 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13762 (_G_HAVE_IO_FILE_OPEN): Likewise.
13764 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13766 * csu/libc-tls.c: Update copyright years.
13768 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13770 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13771 [!_G_USING_THUNKS]: Remove conditional code.
13772 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13773 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13775 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13776 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13777 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13778 (_G_VTABLE_LABEL_PREFIX): Likewise.
13779 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13780 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13781 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13782 (_G_VTABLE_LABEL_PREFIX): Likewise.
13783 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13784 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13785 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13786 (_G_VTABLE_LABEL_PREFIX): Likewise.
13787 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13789 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13791 * libio/Makefile: Include ../Makeconfig before tests.
13792 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13793 only if $(build-shared) is yes.
13795 * iconv/gconv_db.c: Update copyright years.
13797 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13799 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13800 unwind info if defined PIC. Fix special cases description.
13801 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13803 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13805 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13807 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13809 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13811 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13814 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13815 (LDLIBS-tst-chk4): This.
13816 (LDFLAGS-tst-chk5): Renamed to ...
13817 (LDLIBS-tst-chk5): This.
13818 (LDFLAGS-tst-chk6): Renamed to ...
13819 (LDLIBS-tst-chk6): This.
13820 (LDFLAGS-tst-lfschk4): Renamed to ...
13821 (LDLIBS-tst-lfschk4): This.
13822 (LDFLAGS-tst-lfschk5): Renamed to ...
13823 (LDLIBS-tst-lfschk5): This.
13824 (LDFLAGS-tst-lfschk6): Renamed to ...
13825 (LDLIBS-tst-lfschk6): This.
13827 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13828 on $(common-objpfx)soversions.mk.
13830 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13833 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13836 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13838 * malloc/arena.c (arena_get_retry): New function that gets
13839 another arena for the caller to try its request on.
13840 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13841 current arena cannot fulfill the request.
13842 (__libc_memalign): Likewise.
13843 (__libc_memalign): Likewise.
13844 (__libc_pvalloc): Likewise.
13845 (__libc_calloc): Likewise.
13847 2012-09-05 John Tobey <john.tobey@gmail.com>
13850 * manual/arith.texi (Operations on Complex): Fix description
13851 of carg branch cut.
13853 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13856 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13860 * manual/memory.texi (Memory): Make order of menu items match
13863 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13865 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13866 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13867 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13869 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13871 * csu/libc-tls.c (static_dtv): Renamed to ...
13872 (_dl_static_dtv): This. Make it global.
13873 (_dl_initial_dtv): Removed.
13874 (__libc_setup_tls): Updated.
13875 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13876 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13879 2012-09-06 Petr Machata <pmachata@redhat.com>
13881 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13882 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13883 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13884 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13886 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13889 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13890 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13893 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13896 * Makeconfig (link-static-before-libc): Replace $(+prector)
13898 (link-static-after-libc): Replace $(+postctor) with
13900 (link-bounded): Replace $(+prector)/$(+postctor) with
13901 $(+prectorT)/$(+postctorT).
13902 (+prectorT): New macro.
13903 (+postctorT): Likewise.
13905 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13907 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13908 (round_str): Handle values above the maximum for IBM long double
13910 * stdlib/tst-strtod-round.c (tests): Regenerated.
13912 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13914 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13916 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13917 zarch_nohighgprs around the zarch optimized routines.
13918 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13919 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13923 2012-09-05 David S. Miller <davem@davemloft.net>
13925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13927 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13928 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13929 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13930 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13933 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13935 * malloc/arena.c: Fold copyright years.
13936 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13938 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13940 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13942 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13944 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13946 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13948 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13949 change internal state upon failure.
13951 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13953 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13954 * malloc/memusage.c (mmap): Likewise.
13955 (mmap64, mremap): Likewise. Adjust name in comment.
13957 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13959 * libio/fileops.c: Fix typos in comments.
13960 * libio/oldfileops.c: Likewise.
13961 * libio/wfileops.c: Likewise.
13963 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13966 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13967 (tst-malloc-usable-ENV): Set environment for test case.
13968 * malloc/hooks.c (malloc_check_get_size): New function to get
13970 * malloc/malloc.c (musable): Use malloc_check_get_size.
13971 * malloc/tst-malloc-usable.c: New test case.
13973 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13975 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13977 2012-09-05 Allan McRae <allan@archlinux.org>
13980 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13981 determine header location.
13982 * configure: Regenerated.
13984 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13986 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13988 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13989 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13991 (test): Regenerate.
13993 2012-09-04 David S. Miller <davem@davemloft.net>
13995 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13996 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13997 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13999 2012-09-04 Florian Weimer <fweimer@redhat.com>
14001 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14004 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14006 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14009 * libio/iogetdelim.c: Include <limits.h>.
14010 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14011 + len + 1 would overflow.
14013 2012-09-03 Andreas Jaeger <aj@suse.de>
14015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14016 * sysdeps/i386/fpu/libm-test-ulps: Update.
14018 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14020 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14021 Add s_sinf-sse2, s_conf-sse2.
14023 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14024 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14025 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14026 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14028 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14029 for using routine as __sinf_ia32.
14030 Use macro for function declaration and weak_alias.
14031 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14032 for using routine as __cosf_ia32.
14033 Use macro for function declaration and weak_alias.
14035 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14036 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14038 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14039 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14042 * math/libm-test.inc (cos_test): Add more test cases.
14043 (sin_test): Likewise.
14044 (sincos_test): Likewise.
14046 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14049 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14051 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14053 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14056 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14057 first element of the GOT.
14058 (elf_machine_load_address): Return the difference between
14059 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14061 2012-09-01 Allan McRae <allan@archlinux.org>
14064 * configure.in (AWK): Require gawk version 3.0 or later.
14065 * configure: Regenerated.
14067 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14069 * sysdeps/unix/sysv/linux/kernel-features.h
14070 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14071 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14072 [__NR_clock_getres]: Make code unconditional.
14073 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14074 (clock_getcpuclockid): Remove code left unreachable by removal of
14076 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14077 code unconditional.
14078 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14079 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14080 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14081 Make code unconditional.
14082 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14083 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14084 * sysdeps/unix/sysv/linux/clock_settime.c
14085 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14087 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14088 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14090 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14093 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14094 scripts/test-installation.pl.
14096 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14097 and $ld_so_version if it is set.
14099 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14102 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14103 failure if reading from procfs failed.
14104 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14106 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14108 * sysdeps/unix/sysv/linux/kernel-features.h
14109 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14110 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14111 Remove conditional code.
14112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14113 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14114 Remove conditional code.
14115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14116 * sysdeps/unix/sysv/linux/i386/fxstat.c
14117 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14119 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14120 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14122 * sysdeps/unix/sysv/linux/i386/lxstat.c
14123 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14125 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14126 Remove conditional code.
14127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14128 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14129 Remove conditional code.
14130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14131 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14132 <kernel-features.h>.
14133 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14135 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14136 Remove conditional code.
14137 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14138 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14139 Remove conditional.
14141 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14144 * NEWS: Add fixed bug number.
14146 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14149 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14150 underflowing exponent in case of negative sign.
14151 * stdlib/tst-strtod-round-data: Add more tests.
14152 * stdlib/tst-strtod-round.c (tests): Regenerated.
14155 * stdlib/strtod_l.c (NDIG): Remove.
14156 (HEXNDIG): Likewise.
14157 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14158 smallest representable value.
14159 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14160 lie within an exact representation of 1/2 ulp of the result.
14161 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14163 (TENS_P9_IDX): Define unconditionally.
14164 (TENS_P9_SIZE): Likewise.
14165 (TENS_P10_IDX): Likewise.
14166 (TENS_P10_SIZE): Likewise.
14167 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14168 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14169 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14170 entries for 10^2^13 and 10^2^14.
14171 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14172 (TENS_P13_IDX): Define.
14173 (TENS_P13_SIZE): Likewise.
14174 (TENS_P14_IDX): Likewise.
14175 (TENS_P14_SIZE): Likewise.
14176 (_fpioconst_pow10): Change array size to
14177 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14179 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14180 1024]: Add entries for 10^2^13 and 10^2^14.
14181 [LAST_POW10 > _LAST_POW10]: Remove #error.
14182 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14183 (_fpioconst_pow10): Change array size to
14184 FPIOCONST_POW10_ARRAY_SIZE.
14185 * stdlib/gen-fpioconst.c: New file.
14186 * stdlib/gen-tst-strtod-round.c: Likewise.
14187 * stdlib/tst-strtod-round-data: Likewise.
14188 * stdlib/tst-strtod-round.c: Likewise.
14189 * stdlib/Makefile (tests): Add tst-strtod-round.
14192 * stdlib/strtod_l.c: Include <stdint.h>.
14193 (NDEBUG): Do not define.
14194 (round_and_return): Change EXPONENT parameter to type intmax_t.
14195 Rearrange calculations to avoid internal overflow possibilities.
14196 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14197 Rearrange calculations to avoid internal overflow possibilities.
14198 Assert that number fits inside MPNSIZE limbs.
14199 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14200 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14201 calculations and add assertions to avoid internal overflow
14202 possibilities. Add casts to avoid signed/unsigned operations.
14203 * stdlib/tst-strtod-overflow.c: New file.
14204 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14206 2012-08-25 Marek Polacek <polacek@redhat.com>
14208 * time/time.h: Fix some typos in comments.
14210 2012-08-23 Roland McGrath <roland@hack.frob.com>
14212 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14213 * posix/tst-rfc3484-2.c: Likewise.
14214 * posix/tst-rfc3484-3.c: Likewise.
14216 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14218 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14219 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14221 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14223 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14224 #include of fxstatat64.c.
14226 2012-08-22 Roland McGrath <roland@hack.frob.com>
14228 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14229 * shadow/getspent_r.c: Likewise.
14230 * shadow/getspnam.c: Likewise.
14231 * shadow/getspnam_r.c: Likewise.
14232 * gshadow/getsgent.c: Likewise.
14233 * gshadow/getsgent_r.c: Likewise.
14234 * gshadow/getsgnam.c: Likewise.
14235 * gshadow/getsgnam_r.c: Likewise.
14236 * inet/getnetbyad.c: Likewise.
14237 * inet/getnetbyad_r.c: Likewise.
14238 * inet/getnetbynm.c: Likewise.
14239 * inet/getnetbynm_r.c: Likewise.
14240 * inet/getnetent.c: Likewise.
14241 * inet/getnetent_r.c: Likewise.
14242 * inet/getproto.c: Likewise.
14243 * inet/getproto_r.c: Likewise.
14244 * inet/getprtent.c: Likewise.
14245 * inet/getprtent_r.c: Likewise.
14246 * inet/getprtname.c: Likewise.
14247 * inet/getprtname_r.c: Likewise.
14248 * inet/getrpcbyname.c: Likewise.
14249 * inet/getrpcbyname_r.c: Likewise.
14250 * inet/getrpcbynumber.c: Likewise.
14251 * inet/getrpcbynumber_r.c: Likewise.
14252 * inet/getrpcent.c: Likewise.
14253 * inet/getrpcent_r.c: Likewise.
14254 * inet/getaliasent.c: Likewise.
14255 * inet/getaliasent_r.c: Likewise.
14256 * inet/getaliasname.c: Likewise.
14257 * inet/getaliasname_r.c: Likewise.
14258 * nscd/getgrgid_r.c: Likewise.
14259 * nscd/getgrnam_r.c: Likewise.
14260 * nscd/gethstbyad_r.c: Likewise.
14261 * nscd/gethstbynm3_r.c: Likewise.
14262 * nscd/getpwnam_r.c: Likewise.
14263 * nscd/getpwuid_r.c: Likewise.
14264 * nscd/getsrvbynm_r.c: Likewise.
14265 * nscd/getsrvbypt_r.c: Likewise.
14266 * nscd/gai.c: Likewise.
14268 * configure.in (build_nscd): New substituted variable, set
14269 by --disable-build-nscd and defaults to $use_nscd.
14270 * configure: Regenerated.
14271 * config.make.in (build-nscd): New substituted variable.
14272 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14273 Change conditional to require [$(build-nscd) = yes] as well.
14274 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14277 * configure.in (use_nscd): New substituted variable, set by
14278 --disable-nscd. If enabled, define USE_NSCD.
14279 * configure: Regenerated.
14280 * config.h.in: Add USE_NSCD.
14281 * config.make.in (use-nscd): New substituted variable.
14282 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14283 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14284 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14285 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14286 (CFLAGS-getgrnam_r.c): Likewise.
14287 (CFLAGS-initgroups.c): Likewise.
14288 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14289 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14291 * inet/getnetgrent_r.c
14292 (nscd_setnetgrent): New function, broken out of ...
14293 (setnetgrent): ... here. Call it.
14294 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14295 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14296 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14297 * nscd/Makefile (routines, aux): Move definitions after include of
14298 Makeconfig. Conditionalize on [$(use-nscd) != no].
14299 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14300 Conditionalize on [USE_NSCD].
14301 (is_nscd, nscd_init_cb): Likewise.
14302 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14303 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14304 * nss/nss_db/db-init.c: Likewise.
14305 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14307 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14308 (make_request): Use it.
14309 (cache_valid_p): New function.
14310 (__check_pf): Use it.
14311 * NEWS: Add item for --disable-nscd.
14313 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14315 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14316 to support sed >= 4.2.1-20-ga9bf076.
14317 * configure: Regenerated.
14319 2012-08-22 Roland McGrath <roland@hack.frob.com>
14321 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14322 Conditionalize whole body on [IREL].
14324 2012-08-22 Jeff Law <law@redhat.com>
14327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14328 if the family is PF_UNSPEC.
14330 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14332 * Makerules (lib-version): Rename from V.
14333 (install-lib-nosubdir): Change V to lib-version.
14335 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14338 * powerpc32/power6/wcschr.c: New file.
14339 * powerpc32/power6/wcscpy.c: New file.
14340 * powerpc32/power6/wcsrchr.c: New file.
14341 * powerpc64/power6/wcschr.c: New file.
14342 * powerpc64/power6/wcscpy.c: New file.
14343 * powerpc64/power6/wcsrchr.c: New file.
14345 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14347 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14348 (two_way_short_needle): Use it.
14349 * string/strstr.c (AVAILABLE1_USES_J): Define.
14350 * string/strcasestr.c: Likewise.
14352 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14354 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14357 * NEWS: Add an entry.
14358 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14359 define their defaults.
14360 (two_way_short_needle): Detect end-of-string on-the-fly.
14361 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14362 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14363 * string/bug-strcasestr1.c: New test.
14364 * string/Makefile: Run it.
14366 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14369 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14370 the first character.
14372 2012-08-21 Roland McGrath <roland@hack.frob.com>
14374 * csu/elf-init.c (__libc_csu_irel): Function removed.
14375 * csu/libc-start.c (apply_irel): New function.
14376 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14378 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14380 * sysdeps/unix/sysv/linux/kernel-features.h
14381 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14382 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14383 <kernel-features.h>.
14384 [__NR_fadvise64_64]: Make code unconditional.
14385 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14386 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14387 !__NR_fadvise64_64)]: Likewise.
14388 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14389 !__NR_fadvise64_64))]: Likewise.
14390 [__NR_fadvise64]: Make code unconditional.
14391 [!__NR_fadvise64]: Remove conditional code.
14392 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14393 <kernel-features.h>.
14394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14399 not include <kernel-features.h>.
14400 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14402 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14404 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14405 include <kernel-features.h>.
14406 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14408 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14411 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14414 slight instruction rearrangements per scrollpipe analysis.
14415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14417 2012-08-20 Roland McGrath <roland@hack.frob.com>
14419 * manual/syslog.texi (syslog; vsyslog, closelog):
14420 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14421 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14423 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14424 DSOCAPS to match condition on defining it.
14426 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14428 * sysdeps/unix/sysv/linux/kernel-features.h
14429 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14431 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14432 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14434 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14435 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14437 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14438 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14440 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14441 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14443 * sysdeps/unix/sysv/linux/kernel-features.h
14444 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14445 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14447 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14448 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14449 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14450 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14451 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14452 Make code unconditional.
14453 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14454 (__mmap64) [!__NR_mmap2]: Likewise.
14455 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14456 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14457 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14458 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14459 [__NR_mmap2]: Make code unconditional.
14460 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14461 (__mmap64) [!__NR_mmap2]: Likewise.
14463 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14465 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14467 2012-08-18 Andreas Jaeger <aj@suse.de>
14469 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14471 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14473 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14474 * include/unistd.h (__have_sock_cloexec): Likewise.
14475 (__have_pipe2): Likewise.
14476 (__have_dup3): Likewise.
14478 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14481 * include/unistd.h (__have_pipe2): Change define into an extern int.
14482 (__have_dup3): Likewise.
14483 * socket/have_sock_cloexec.c: Include fcntl.h.
14484 (__have_pipe2): New variable.
14485 (__have_dup3): Likewise.
14487 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14489 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14491 2012-08-17 Marek Polacek <polacek@redhat.com>
14493 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14494 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14496 2012-08-17 Roland McGrath <roland@hack.frob.com>
14498 * configure.in: Add AC_SUBST for sysheaders.
14499 * configure: Regenerated.
14500 * config.make.in (sysheaders): New substituted variable.
14502 * sysdeps/unix/mkfifo.c: Moved ...
14503 * sysdeps/posix/mkfifo.c: ... here.
14504 * sysdeps/unix/mkfifoat.c: Moved ...
14505 * sysdeps/posix/mkfifoat.c: ... here.
14507 * sysdeps/unix/utime.c: Moved ...
14508 * sysdeps/posix/utime.c: ... here.
14510 * sysdeps/unix/time.c: Moved ...
14511 * sysdeps/posix/time.c: ... here.
14512 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14513 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14515 * sysdeps/unix/nice.c: Moved ...
14516 * sysdeps/posix/nice.c: ... here.
14518 * sysdeps/unix/alarm.c: Moved ...
14519 * sysdeps/posix/alarm.c: ... here.
14521 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14523 2012-08-17 Jeff Law <law@redhat.com>
14525 * intl/Makefile (codeset_mo): New variable.
14526 ($(codeset_mo)): New target.
14527 (tst-codeset.out): Depend on that. Remove explicit rule.
14528 (tst-gettext3.out, tst-gettext5.out): Likewise.
14529 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14530 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14531 * intl/tst-codeset.sh: Remove.
14532 * intl/tst-gettext3.sh: Likewise.
14533 * intl/tst-gettext5.sh: Likewise.
14535 2012-08-17 Roland McGrath <roland@hack.frob.com>
14537 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14538 * sysdeps/unix/syscalls.list: ... here.
14540 * sysdeps/posix/getaddrinfo.c
14541 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14542 (gaiconf_init, gaiconf_reload): Use them.
14543 [!_STATBUF_ST_NSEC]
14544 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14545 Define using time_t rather than struct timespec.
14547 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14548 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14550 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14552 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14553 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14556 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14557 __libc_cleanup_push argument.
14559 * bits/param.h: New file.
14560 * misc/sys/param.h: New file.
14561 * include/sys/param.h: New file.
14562 * misc/Makefile (headers): Add bits/param.h.
14563 * sysdeps/generic/sys/param.h: File removed.
14564 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14565 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14566 * sysdeps/mach/hurd/bits/param.h: New file.
14567 * sysdeps/mach/hurd/sys/param.h: File removed.
14569 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14572 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14574 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14575 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14578 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14579 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14580 rather than -D_IO_MTSAFE_IO conditionally.
14581 * stdio-common/Makefile (CPPFLAGS): Likewise.
14582 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14583 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14584 Use $(libio-mtsafe).
14585 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14586 of -D_IO_MTSAFE_IO.
14587 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14588 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14589 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14590 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14591 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14592 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14593 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14594 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14595 (CFLAGS-fread_u_chk.c): Likewise.
14596 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14597 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14598 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14599 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14600 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14601 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14602 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14603 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14604 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14606 * libio/Makefile: Test [$(libc-reentrant) = yes]
14607 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14610 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14611 * sysdeps/pthread/configure: File removed.
14612 * sysdeps/pthread/Makeconfig: New file.
14613 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14614 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14616 2012-08-16 Gary Benson <gbenson@redhat.com>
14618 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14619 unmapping the first object in a namespace.
14621 2012-08-16 Roland McGrath <roland@hack.frob.com>
14623 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14624 (__internal_setnetgrent): ... this. Add internal_function to
14625 definition. Add libc_hidden_def.
14626 (setnetgrent): Update caller.
14627 (internal_endnetgrent): Renamed to ...
14628 (__internal_endnetgrent): ... this. Add internal_function to
14629 definition. Add libc_hidden_def.
14630 (endnetgrent): Update caller.
14631 (internal_getnetgrent_r): Renamed to ...
14632 (__internal_getnetgrent_r): ... this. Add internal_function to
14633 definition. Add libc_hidden_def.
14634 (__getnetgrent_r): Update caller.
14635 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14637 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14639 * stdlib/longlong.h: Update from GCC.
14641 2012-08-16 Roland McGrath <roland@hack.frob.com>
14643 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14644 on _QL, which is set by umul_ppmm but never used.
14645 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14646 variables, which are set by GMP macros but never used.
14647 * stdio-common/_itowa.c (_itowa): Likewise.
14648 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14649 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14651 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14653 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14654 struct La_sh_regs is not constant.
14655 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14656 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14657 and struct La_sparc64_regs are not constant.
14659 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14661 * sysdeps/unix/sysv/linux/kernel-features.h
14662 (__ASSUME_POSIX_TIMERS): Remove.
14663 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14665 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14666 Make code unconditional.
14667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14668 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14669 Make code unconditional.
14670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14671 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14672 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14673 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14674 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14675 Make code unconditional.
14676 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14677 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14678 (__libc_missing_posix_timers): Remove.
14680 2012-08-15 Roland McGrath <roland@hack.frob.com>
14682 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14683 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14685 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14687 * elf/dl-sym.c: Include <stdlib.h>.
14689 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14690 constants, which avoids warnings in 32-bit builds.
14692 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14693 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14695 * misc/lseek.c: File moved to ...
14696 * io/lseek.c: ... here.
14698 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14700 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14701 shifting LEN more than 31 bits at once.
14703 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14706 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14707 segmentation fault for a case of two empty input strings.
14708 * string/test-strncasecmp.c (check1): Renamed to...
14709 (bz12205): ...this.
14710 (bz14195): Add new testcase for two empty input strings and N > 0.
14711 (test_main): Call new testcase, adapt for renamed function.
14713 2012-08-15 Andreas Jaeger <aj@suse.de>
14716 * crypt/md5test2.c: New test, based on test supplied by Serge
14717 Belyshev <belyshev@depni.sinp.msu.ru>.
14718 * crypt/Makefile (xtests): Add md5test-giant..
14719 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14721 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14724 * crypt/md5.c (md5_process_block): Don't assume the buffer
14725 length is less than 2**32.
14726 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14727 length is less than 2**64.
14729 2012-08-15 Roland McGrath <roland@hack.frob.com>
14731 * string/str-two-way.h: Include <sys/param.h>.
14732 (MAX): Macro removed.
14734 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14735 Move #define and #undef of memmove to just before and after
14736 including <string.h>.
14738 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14739 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14740 and after including <string.h>. Move declarations of
14741 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14742 to before #include "string/memmove.c".
14744 * include/dirent.h: Declare __getdirentries.
14746 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14747 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14749 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14751 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14752 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14753 * sysdeps/i386/configure: Regenerated.
14754 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14755 STABS_CURRENT_FILE, and STABS_FUN.
14756 (END): Remove call to STABS_FUN_END.
14757 (STABS_CURRENT_FILE1): Delete.
14758 (STABS_CURRENT_FILE): Likewise.
14759 (STABS_FUN): Likewise.
14760 (STABS_FUN_END): Likewise.
14761 (STABS_FUN2): Likewise.
14762 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14763 * sysdeps/x86_64/configure: Regenerated.
14765 2012-08-14 Roland McGrath <roland@hack.frob.com>
14767 * elf/dl-open.c: Include <atomic.h>.
14768 * elf/dl-lookup.c: Likewise.
14770 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14772 * sysdeps/unix/sysv/linux/kernel-features.h
14773 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14774 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14776 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14778 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14779 condition on __ASSUME_CLONE_THREAD_FLAGS.
14781 2012-08-14 Andreas Jaeger <aj@suse.de>
14783 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14787 * include/atomic.h (atomic_exchange_and_add): Split into ...
14788 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14791 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14793 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14795 2012-08-13 Jeff Law <law@redhat.com>
14797 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14798 null byte in the output string.
14800 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14802 * sysdeps/unix/sysv/linux/kernel-features.h
14803 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14804 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14805 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14807 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14808 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14809 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14811 2012-08-09 Jeff Law <law@redhat.com>
14814 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14815 When avoid_arena is set, don't retry in the that arena. Pick the
14816 next one, whatever it might be.
14817 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14818 (arena_lock): Pass in new parameter to arena_get2.
14819 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14821 (__libc_malloc): Unify retrying after main arena failure with
14822 __libc_memalign version.
14823 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14825 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14828 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14829 to __redirect_strstr.
14830 (__strstr_sse42): Use typeof __redirect_strstr.
14831 (__strstr_ia32): Likewise.
14832 (__libc_strstr): New prototype.
14833 (strstr): Renamed to ...
14834 (__libc_strstr): This.
14835 (strstr): New strong alias of __libc_strstr.
14836 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14840 (__libc_time): New prototype.
14841 (time_ifunc): Replace time with __libc_time.
14842 (time): New strong alias and hidden definition of __libc_time.
14843 (__GI_time): Remove strong alias.
14844 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14845 Include <stddef.h>.
14846 (memmove): Redefined to __redirect_memmove.
14847 (__memmove_sse2): Use typeof __redirect_memmove.
14848 (__memmove_ssse3): Likewise.
14849 (__memmove_ssse3_back): Likewise.
14850 (__libc_memmove): New prototype.
14851 (memmove): Renamed to ...
14852 (__libc_memmove): This.
14853 (memmove): New strong alias of __libc_memmove.
14855 2012-08-08 Mark Salter <msalter@redhat.com>
14858 (R_MN10300_TLS_GD): Define.
14859 (R_MN10300_TLS_LD): Likewise.
14860 (R_MN10300_TLS_LDO): Likewise.
14861 (R_MN10300_TLS_GOTIE): Likewise.
14862 (R_MN10300_TLS_IE): Likewise.
14863 (R_MN10300_TLS_LE): Likewise.
14864 (R_MN10300_TLS_DTPMOD): Likewise.
14865 (R_MN10300_TLS_DTPOFF): Likewise.
14866 (R_MN10300_TLS_TPOFF): Likewise.
14867 (R_MN10300_SYM_DIFF): Likewise.
14868 (R_MN10300_ALIGN): Likewise.
14869 (R_MN10300_NUM): Update.
14871 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14876 2012-08-08 Roland McGrath <roland@hack.frob.com>
14878 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14880 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14881 sysdeps/unix -> sysdeps/posix move.
14882 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14884 2012-08-07 Allan McRae <allan@archlinux.org>
14887 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14888 (SUNOS_CPP): Likewise.
14889 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14891 (open_input): Call CPP using execvp.
14893 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14895 * sysdeps/unix/sysv/linux/kernel-features.h
14896 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14897 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14898 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14899 (__ASSUME_WAITID_SYSCALL): Likewise.
14900 * sysdeps/unix/sysv/linux/dl-execstack.c
14901 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14902 code unconditional.
14903 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14905 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14906 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14907 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14909 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14911 [__ASSUME_WAITID_SYSCALL]: Likewise.
14912 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14914 2012-08-07 Roland McGrath <roland@hack.frob.com>
14916 * sysdeps/unix/closedir.c: Renamed to ...
14917 * sysdeps/posix/closedir.c: ... here.
14918 * sysdeps/unix/dirfd.c: Renamed to ...
14919 * sysdeps/posix/dirfd.c: ... here.
14920 * sysdeps/unix/dirstream.h: Renamed to ...
14921 * sysdeps/posix/dirstream.h: ... here.
14922 * sysdeps/unix/fdopendir.c: Renamed to ...
14923 * sysdeps/posix/fdopendir.c: ... here.
14924 * sysdeps/unix/opendir.c: Renamed to ...
14925 * sysdeps/posix/opendir.c: ... here.
14926 * sysdeps/unix/readdir.c: Renamed to ...
14927 * sysdeps/posix/readdir.c: ... here.
14928 * sysdeps/unix/readdir_r.c: Renamed to ...
14929 * sysdeps/posix/readdir_r.c: ... here.
14930 * sysdeps/unix/rewinddir.c: Renamed to ...
14931 * sysdeps/posix/rewinddir.c: ... here.
14932 * sysdeps/unix/seekdir.c: Renamed to ...
14933 * sysdeps/posix/seekdir.c: ... here.
14934 * sysdeps/unix/telldir.c: Renamed to ...
14935 * sysdeps/posix/telldir.c: ... here.
14936 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14937 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14938 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14939 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14941 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14942 * bits/fcntl.h: ... here.
14944 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14946 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14947 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14948 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14949 (struct flock): Move l_start, l_len to the beginning.
14950 Use __pid_t for l_pid.
14951 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14952 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14953 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14954 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14955 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14956 [__USE_LARGEFILE64] (struct flock64): New type.
14957 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14959 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14960 * bits/dirent.h: ... here.
14962 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14963 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14965 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14968 Change from 2.6.0 to 2.6.16.
14969 * sysdeps/unix/sysv/linux/configure: Regenerated.
14970 * sysdeps/unix/sysv/linux/kernel-features.h
14971 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14972 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14974 (__ASSUME_UTIMES): Likewise.
14975 (__ASSUME_CLONE_STOPPED): Remove.
14976 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14977 architectures, not kernel version.
14978 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14979 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14980 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14981 (__ASSUME_WAITID_SYSCALL): Likewise.
14982 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14983 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14984 * README: State 2.6.16 as minimum Linux kernel version. Do not
14985 refer to older versions.
14987 2012-08-06 Roland McGrath <roland@hack.frob.com>
14989 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14990 Define alphasort64 as an alias.
14991 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14992 Define versionsort64 as an alias.
14993 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14994 Define scandir64 as an alias.
14995 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14996 Define scandirat64 as an alias.
14997 * dirent/alphasort64.c (alphasort64):
14998 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14999 * dirent/versionsort64.c: Likewise.
15000 * dirent/scandir64.c: Likewise.
15001 * dirent/scandirat64.c: Likewise.
15002 * sysdeps/wordsize-64/alphasort.c: File removed.
15003 * sysdeps/wordsize-64/alphasort64.c: File removed.
15004 * sysdeps/wordsize-64/scandir.c: File removed.
15005 * sysdeps/wordsize-64/scandir64.c: File removed.
15006 * sysdeps/wordsize-64/scandirat.c: File removed.
15007 * sysdeps/wordsize-64/scandirat64.c: File removed.
15008 * sysdeps/wordsize-64/versionsort.c: File removed.
15009 * sysdeps/wordsize-64/versionsort64.c: File removed.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15011 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15012 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15013 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15014 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15015 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15017 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15019 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15021 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15023 [defined __arch64__ || defined __sparcv9]
15024 (__INO_T_MATCHES_INO64_T): New macro.
15025 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15026 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15027 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15028 * sysdeps/unix/sysv/linux/bits/dirent.h
15029 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15030 (_DIRENT_MATCHES_DIRENT64): New macro.
15032 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15033 Define lockf64 as an alias.
15034 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15035 Define fseeko64 as an alias.
15036 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15037 Define ftello64 as an alias.
15038 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15039 Define _IO_fgetpos64 and fgetpos64 as aliases.
15040 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15041 Define _IO_fsetpos64 and fsetpos64 as aliases.
15042 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15043 Conditionalize body on this.
15044 * libio/fseeko64.c: Likewise.
15045 * libio/ftello64.c: Likewise.
15046 * libio/iofgetpos64.c: Likewise.
15047 * libio/iofsetpos64.c: Likewise.
15048 * sysdeps/wordsize-64/lockf.c: File removed.
15049 * sysdeps/wordsize-64/lockf64.c: File removed.
15050 * sysdeps/wordsize-64/fseeko.c: File removed.
15051 * sysdeps/wordsize-64/fseeko64.c: File removed.
15052 * sysdeps/wordsize-64/ftello.c: File removed.
15053 * sysdeps/wordsize-64/ftello64.c: File removed.
15054 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15055 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15056 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15057 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15058 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15059 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15060 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15061 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15063 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15065 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15066 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15067 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15069 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15071 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15073 [defined __arch64__ || defined __sparcv9]
15074 (__OFF_T_MATCHES_OFF64_T): New macro.
15075 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15076 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15078 (__OFF_T_MATCHES_OFF64_T): New macro.
15080 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15082 * stdlib/secure-getenv.c (__secure_getenv): Replace
15083 GLIBC_2_16 with GLIBC_2_17.
15085 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15088 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15090 2012-08-03 David S. Miller <davem@davemloft.net>
15092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15094 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15096 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15098 (__ASSUME_CORRECT_SI_PID): Likewise.
15099 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15100 (__ASSUME_TMPFS_NAME): Likewise.
15101 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15102 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15103 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15104 (HAVE_AUX_SECURE): Make definition unconditional.
15105 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15106 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15108 2012-08-03 Roland McGrath <roland@hack.frob.com>
15110 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15111 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15112 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15113 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15114 __eloop_threshold instead of SYMLOOP_MAX.
15116 * sysdeps/generic/eloop-threshold.h: New file.
15117 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15119 * elf/chroot_canon.c (chroot_canon): Likewise.
15121 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15125 Change to 2.6.0 everywhere.
15126 * sysdeps/unix/sysv/linux/configure: Regenerated.
15127 * sysdeps/unix/sysv/linux/kernel-features.h
15128 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15129 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15131 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15132 (__ASSUME_FUTEX_REQUEUE): Remove.
15133 (__ASSUME_STATFS64): Define unconditionally.
15134 (__ASSUME_AT_SECURE): Likewise.
15135 (__ASSUME_CORRECT_SI_PID): Likewise.
15136 (__ASSUME_TGKILL): Define without depending on kernel version for
15138 (__ASSUME_UTIMES): Likewise.
15139 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15141 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15142 (__ASSUME_TMPFS_NAME): Likewise.
15143 * README: Update reference to Linux kernel versions.
15145 2012-08-02 Marek Polacek <polacek@redhat.com>
15148 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15149 libc_cv_asm_type_prefix with %.
15150 * configure: Regenerated.
15151 * include/libc-symbols.h: Remove comment about
15152 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15153 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15154 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15155 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15156 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15157 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15158 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15159 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15160 * elf/tst-unique2mod1.c: Likewise.
15161 * elf/tst-unique1mod2.c: Likewise.
15162 * elf/tst-unique1mod1.c: Likewise.
15163 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15164 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15165 Replace ASM_TYPE_DIRECTIVE with .type.
15166 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15167 * sysdeps/i386/sysdep.h: Likewise.
15168 * sysdeps/x86_64/sysdep.h: Likewise.
15169 * sysdeps/sh/sysdep.h: Likewise.
15170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15171 Do not define ASM_TYPE_DIRECTIVE.
15172 * sysdeps/powerpc/sysdep.h: Likewise.
15173 * sysdeps/powerpc/powerpc32/sysdep.h:
15174 Replace ASM_TYPE_DIRECTIVE with .type.
15175 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15176 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15177 * sysdeps/i386/fpu/e_powf.S: Likewise.
15178 * sysdeps/i386/fpu/e_expl.S: Likewise.
15179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15180 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15181 * sysdeps/i386/fpu/e_pow.S: Likewise.
15182 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15183 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15184 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15185 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15186 * sysdeps/i386/fpu/e_log2.S: Likewise.
15187 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15188 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15189 * sysdeps/i386/fpu/e_powl.S: Likewise.
15190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15191 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15192 * sysdeps/i386/fpu/e_logl.S: Likewise.
15193 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15194 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15195 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15196 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15197 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15198 * sysdeps/i386/fpu/e_log.S: Likewise.
15199 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15200 * sysdeps/i386/fpu/e_logf.S: Likewise.
15201 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15202 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15203 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15204 * sysdeps/i386/fpu/e_log10.S: Likewise.
15205 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15206 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15207 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15208 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15209 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15210 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15211 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15212 * sysdeps/i386/i686/strtok.S: Likewise.
15213 * sysdeps/i386/i386-mcount.S: Likewise.
15214 * sysdeps/i386/strtok.S: Likewise.
15215 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15216 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15217 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15218 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15219 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15220 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15221 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15222 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15223 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15224 * sysdeps/x86_64/_mcount.S: Likewise.
15225 * sysdeps/x86_64/strtok.S: Likewise.
15226 * sysdeps/sh/_mcount.S: Likewise.
15228 2012-08-01 Roland McGrath <roland@hack.frob.com>
15230 * libio/iofopen.c: Include <fcntl.h>.
15231 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15232 (_IO_fopen64, fopen64): Define as aliases.
15233 * libio/iofopen64.c: Include <fcntl.h>.
15234 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15235 Conditionalize body on this.
15236 * sysdeps/wordsize-64/iofopen.c: File removed.
15237 * sysdeps/wordsize-64/iofopen64.c: File removed.
15239 2012-08-01 Marek Polacek <polacek@redhat.com>
15241 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15242 Use dlfcn directly instead of a variable.
15243 (binfmt-subdir): Do not define.
15246 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15248 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15249 Remove all definitions.
15250 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15251 <kernel-features.h>.
15252 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15253 (miss_F_GETOWN_EX): Remove all definitions.
15254 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15256 [!__ASSUME_FCNTL64]: Remove conditional code.
15257 [__ASSUME_FCNTL64]: Make code unconditional.
15258 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15259 <kernel-features.h>.
15260 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15261 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15262 (lockf64) [__NR_fcntl64]: Make code unconditional.
15263 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15265 * sysdeps/unix/sysv/linux/kernel-features.h
15266 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15267 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15268 Make code unconditional.
15269 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15270 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15272 [__NR_vfork]: Make code unconditional.
15273 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15274 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15276 [__NR_vfork]: Make code unconditional.
15277 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15278 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15280 2012-08-01 Roland McGrath <roland@hack.frob.com>
15282 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15283 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15285 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15286 Define mkstemp64 as an alias.
15287 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15288 Define mkstemps64 as an alias.
15289 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15290 Define mkostemp64 as an alias.
15291 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15292 Define mkostemps64 as an alias.
15293 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15294 Conditionalize body on this.
15295 * misc/mkostemp64.c: Likewise.
15296 * misc/mkostemps64.c: Likewise.
15297 * misc/mkstemps64.c: Likewise.
15298 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15299 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15300 * sysdeps/wordsize-64/mkostemp.c: File removed.
15301 * sysdeps/wordsize-64/mkstemp.c: File removed.
15302 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15303 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15305 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15308 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15309 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15310 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15311 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15313 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15314 compat_symbol macros from <shlib-compat.h> rather than the underlying
15315 default_symbol_version and symbol_version macros, so that DEFAULT
15316 lines in shlib-versions are respected.
15317 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15319 2012-08-01 Florian Weimer <fweimer@redhat.com>
15321 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15322 Declare with warn_unused_result.
15323 (setgid, setregid, setegid, setresgid): Likewise.
15324 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15326 * WUR-REPORT: Remove set*id functions.
15328 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15330 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15332 2012-07-31 Roland McGrath <roland@hack.frob.com>
15335 * include/sys/socket.h (__libc_accept, __libc_accept4):
15336 Add attribute_hidden.
15337 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15339 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15341 * inet/getnetgrent_r.c (setup): Likewise.
15343 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15345 2012-07-31 David S. Miller <davem@davemloft.net>
15347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15349 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15352 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15353 value between 1.0 and 2.0 and smaller part has absolute value less
15355 * math/s_clog10.c (__clog10): Likewise.
15356 * math/s_clog10f.c (__clog10f): Likewise.
15357 * math/s_clog10l.c (__clog10l): Likewise.
15358 * math/s_clogf.c (__clogf): Likewise.
15359 * math/s_clogl.c (__clogl): Likewise.
15360 * math/libm-test.inc (clog_test): Add more tests.
15361 (clog10_test): Likewise.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365 2012-07-31 Florian Weimer <fweimer@redhat.com>
15367 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15368 Exit with zero in case no suitable GID is found, and write a
15369 message to standard error.
15371 2012-07-30 Roland McGrath <roland@hack.frob.com>
15373 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15375 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15376 (MAXPATHLEN): Removed.
15377 (NOGROUP, NODEV): New macros.
15378 (setbit, clrbit, isset, isclr): New macros.
15379 (howmany, roundup, powerof2): New macros.
15380 (DEV_BSIZE): New macro.
15382 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15383 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15385 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15386 definition on [!__NO_LONG_DOUBLE_MATH].
15388 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15389 PTR_MANGLE and PTR_DEMANGLE.
15391 * socket/accept4.c (accept4): Rename to __libc_accept4.
15392 Define accept4 as a weak alias.
15394 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15395 on [_DIRENT_HAVE_D_TYPE].
15396 * io/ftw.c (ftw_dir): Likewise.
15398 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15400 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15402 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15403 Use the BSD numbers rather than the arbitrary ones we had.
15404 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15405 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15406 (SIGXCPU, SIGXFSZ): New macros.
15409 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15410 initializer on [_LIBC_REENTRANT].
15412 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15413 definitions inside [_POSIX_MAPPED_FILES].
15415 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15417 * dirent/opendir.c: Include <fcntl.h>.
15419 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15420 (__libc_getspecific): Likewise.
15421 (__libc_key_create): Likewise.
15423 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15424 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15425 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15426 (tmpfile64): Define as alias.
15427 * sysdeps/wordsize-64/tmpfile.c: File removed.
15428 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15429 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15430 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15432 * stdio-common/vfscanf.c: Include <stdbool.h>.
15433 * nss/makedb.c: Likewise.
15434 * stdio-common/_i18n_number.h: Likewise.
15435 * argp/argp-help.c: Likewise.
15436 * posix/wordexp.c: Likewise.
15437 * sysdeps/posix/spawni.c: Likewise.
15438 * nss/nss_files/files-initgroups.c: Likewise.
15439 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15440 * nss/nss_files/files-initgroups.c: Likewise.
15441 * nss/nss_db/db-netgrp.c: Likewise.
15442 * nss/nss_db/db-initgroups.c: Likewise.
15443 * io/fchmodat.c: Include <sys/stat.h>.
15445 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15446 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15448 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15451 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15452 Add multiple inclusion protection.
15454 2012-07-27 David S. Miller <davem@davemloft.net>
15456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15458 2012-07-27 Gary Benson <gbenson@redhat.com>
15461 * elf/rtld.c: Include <stap-probe.h>.
15462 (dl_main): Added static probes "init_start" and "init_complete".
15463 * elf/dl-load.c: Include <stap-probe.h>.
15464 (lose): Take new parameter "nsid".
15465 Added static probe "map_failed".
15466 (_dl_map_object_from_fd): Pass namespace id to lose.
15467 Added static probe "map_start".
15468 (open_verify): Pass namespace id to lose.
15469 * elf/dl-open.c: Include <stap-probe.h>.
15470 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15471 and "reloc_complete".
15472 * elf/dl-close.c: Include <stap-probe.h>.
15473 (_dl_close_worker): Added static probes "unmap_start" and
15475 * elf/rtld-debugger-interface.txt: New file documenting the above.
15477 2012-07-26 Roland McGrath <roland@hack.frob.com>
15479 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15480 rather than a string variable.
15481 * sunrpc/rpc_main.c (h_output): Likewise.
15482 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15484 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15486 * inet/check_native.c: New file.
15488 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15491 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15492 if larger part has absolute value 1.0.
15493 * math/s_clog10.c (__clog10): Likewise.
15494 * math/s_clog10f.c (__clog10f): Likewise.
15495 * math/s_clog10l.c (__clog10l): Likewise.
15496 * math/s_clogf.c (__clogf): Likewise.
15497 * math/s_clogl.c (__clogl): Likewise.
15498 * math/libm-test.inc (clog_test): Add more tests.
15499 (clog10_test): Likewise.
15500 * sysdeps/i386/fpu/libm-test-ulps: Update.
15501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15503 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15504 (pltexit): Likewise.
15505 (La_regs): Likewise.
15506 (La_retval): Likewise.
15507 (int_retval): Likewise.
15508 Update #error for removed macros to refer only to definitions in
15510 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15512 (pltexit): Likewise.
15513 (La_regs): Likewise.
15514 (La_retval): Likewise.
15515 (int_retval): Likewise.
15516 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15518 (pltexit): Likewise.
15519 (La_regs): Likewise.
15520 (La_retval): Likewise.
15521 (int_retval): Likewise.
15522 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15524 (pltexit): Likewise.
15525 (La_regs): Likewise.
15526 (La_retval): Likewise.
15527 (int_retval): Likewise.
15528 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15530 (pltexit): Likewise.
15531 (La_regs): Likewise.
15532 (La_retval): Likewise.
15533 (int_retval): Likewise.
15534 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15536 (pltexit): Likewise.
15537 (La_regs): Likewise.
15538 (La_retval): Likewise.
15539 (int_retval): Likewise.
15540 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15542 (pltexit): Likewise.
15543 (La_regs): Likewise.
15544 (La_retval): Likewise.
15545 (int_retval): Likewise.
15546 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15547 macro definitions in tst-audit.h.
15548 * sysdeps/i386/tst-audit.h: New file.
15549 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15550 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15551 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15552 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15553 * sysdeps/sh/tst-audit.h: Likewise.
15554 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15555 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15556 * sysdeps/x86_64/tst-audit.h: Likewise.
15558 2012-07-26 Andreas Jaeger <aj@suse.de>
15560 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15563 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15564 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15565 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15567 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15568 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15569 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15571 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15574 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15576 (si_call_addr, si_syscall, si_arch): Define new macro.
15577 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15579 (si_call_addr, si_syscall, si_arch): Define new marcro.
15580 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15582 (si_call_addr, si_syscall, si_arch): Define new macro.
15583 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15585 (si_call_addr, si_syscall, si_arch): Define new macro.
15587 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15591 Change to 2.4.21 where previously 2.4.1.
15592 * sysdeps/unix/sysv/linux/configure: Regenerated.
15593 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15594 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15595 Linux kernel version.
15596 (__ASSUME_STD_AUXV): Remove.
15597 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15599 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15600 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15601 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15602 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15603 (__ASSUME_NETLINK_SUPPORT): Likewise.
15604 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15605 (__no_netlink_support): Remove conditional definition.
15606 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15608 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15609 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15610 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15611 (if_nameindex_ioctl): Remove.
15612 (if_nameindex_netlink): Do not handle __no_netlink_support.
15613 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15615 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15616 Remove conditional code.
15617 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15619 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15621 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15622 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15623 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15625 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15626 [!__ASSUME_STD_AUXV]: Remove conditional code.
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15628 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15629 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15631 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15632 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15634 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15636 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15637 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15639 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15641 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15644 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15647 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15648 code unconditional.
15649 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15651 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15653 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15656 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15658 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15661 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15662 code unconditional.
15663 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15665 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15667 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15670 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15671 code unconditional.
15672 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15674 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15676 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15679 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15681 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15682 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15683 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15684 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15685 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15686 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15687 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15688 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15689 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15690 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15691 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15692 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15693 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15694 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15695 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15696 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15701 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15702 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15703 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15705 2012-07-25 Florian Weimer <fweimer@redhat.com>
15707 * Versions.def: Add GLIBC_2.17.
15708 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15709 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15710 Introduce __libc_secure_getenv.
15711 * stdlib/Versions (2.17): Add secure_getenv
15712 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15713 * stdlib/secure-getenv.c: Rename __secure_getenv to
15714 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15715 symbol __secure_getenv for GLIBC_2.0.
15716 * stdlib/tst-secure-getenv.c: New.
15717 * stdlib/Makefile (tests): Add testcase.
15718 * manual/startup.texi (Environment Access): Document
15720 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15721 __libc_secure_getenv.
15722 * inet/ruserpass.c (ruserpass): Likewise.
15723 * malloc/mtrace.c (mtrace): Likewise.
15724 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15725 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15726 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15727 * sysdeps/posix/tempname.c: Likewise. Evaluate
15728 HAVE_SECURE_GETENV.
15729 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15730 __secure_getenv to __libc_secure_getenv.
15731 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15744 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15746 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15747 (struct La_i86_retval): Likewise.
15748 (struct La_x86_64_regs): Likewise.
15749 (struct La_x86_64_retval): Likewise.
15750 (struct La_x32_regs): Likewise.
15751 (struct La_x32_retval): Likewise.
15752 (struct La_ppc32_regs): Likewise.
15753 (struct La_ppc32_retval): Likewise.
15754 (struct La_ppc64_regs): Likewise.
15755 (struct La_ppc64_retval): Likewise.
15756 (struct La_sh_regs): Likewise.
15757 (struct La_sh_retval): Likewise.
15758 (struct La_s390_32_regs): Likewise.
15759 (struct La_s390_32_retval): Likewise.
15760 (struct La_s390_64_regs): Likewise.
15761 (struct La_s390_64_retval): Likewise.
15762 (struct La_sparc32_regs): Likewise.
15763 (struct La_sparc32_retval): Likewise.
15764 (struct La_sparc64_regs): Likewise.
15765 (struct La_sparc64_retval): Likewise.
15766 (struct audit_ifaces): Remove architecture-specific pltenter and
15768 * sysdeps/i386/ldsodefs.h: New file.
15769 * sysdeps/powerpc/ldsodefs.h: Likewise.
15770 * sysdeps/s390/ldsodefs.h: Likewise.
15771 * sysdeps/sh/ldsodefs.h: Likewise.
15772 * sysdeps/sparc/ldsodefs.h: Likewise.
15773 * sysdeps/x86_64/ldsodefs.h: Likewise.
15775 2012-07-25 Marek Polacek <polacek@redhat.com>
15778 * math/libm-test.inc (yn_test): Add another test.
15779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15780 to ERANGE when the result is +-Inf.
15781 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15782 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15783 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15784 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15786 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15788 * conform/data/time.h-data (NULL): Use macro-constant. Require
15790 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15792 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15794 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15796 * configure.in <sysdeps resolving>: Correct printing
15798 * configure: Regenerate.
15800 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15802 * math/w_ilogb.c: Include <limits.h>.
15803 * math/w_ilogbl.c: Likewise.
15805 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15807 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15808 va_copy. Document allowing for unavailable va_copy only as
15809 pre-C99 compatibility.
15810 * manual/string.texi (Copying and Concatenation): Use va_copy
15811 instead of __va_copy in concat example.
15813 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15815 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15816 (__sendto): Use create_address_port. Initialize APORT and deallocate
15819 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15820 with O_NOLINK passed to __file_name_lookup.
15822 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15823 with O_NOLINK passed to __file_name_lookup.
15825 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15826 negative N or less than NGIDS.
15828 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15829 type to string_t. Set ERANGE as errno and return it if NAME is not big
15830 enough. Use memcpy instead of strncpy.
15832 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15834 * elf/Makefile (check-data): Remove.
15835 (localplt.data): New vpath directive.
15836 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15837 instead of $(check-data).
15838 * scripts/data/localplt-generic.data: Move to ...
15839 * sysdeps/generic/localplt.data: ... here.
15840 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15841 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15842 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15845 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15848 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15851 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15854 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15857 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15861 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15863 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15864 PPC32 and PPC64 files.
15865 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15866 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15868 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15870 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15871 __makecontext_ret to ...
15872 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15873 ... here and call exit if uc_link is NULL. New file.
15874 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15875 __makecontext_ret.S.
15876 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15877 __makecontext_ret to ...
15878 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15879 ... here and call exit if uc_link is NULL. New file.
15880 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15881 __makecontext_ret.S.
15883 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15885 * elf/elf.h (R_390_IRELATIVE): New definition.
15886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15887 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15888 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15889 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15890 (elf_machine_lazy_rel): Likewise.
15891 * sysdeps/s390/dl-irel.h: New file.
15892 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15893 * sysdeps/s390/s390-64/memset.S: New asm code.
15894 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15895 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15896 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15897 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15898 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15899 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15901 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15902 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15903 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15904 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15905 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15906 * sysdeps/s390/s390-32/memset.S: New asm code.
15907 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15909 2012-07-17 Marek Polacek <polacek@redhat.com>
15912 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15913 * sysdeps/s390/s390-64/configure.in: Likewise.
15914 * sysdeps/sparc/configure.in: Likewise.
15915 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15916 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15917 * sysdeps/i386/configure.in: Likewise.
15918 * sysdeps/x86_64/configure.in: Likewise.
15919 * sysdeps/sh/configure.in: Likewise.
15920 * sysdeps/s390/s390-32/configure: Regenerated.
15921 * sysdeps/s390/s390-64/configure: Likewise.
15922 * sysdeps/x86_64/configure: Likewise.
15923 * sysdeps/sh/configure: Likewise.
15924 * sysdeps/powerpc/powerpc64/configure: Likewise.
15925 * sysdeps/powerpc/powerpc32/configure: Likewise.
15926 * sysdeps/sparc/configure: Likwise.
15927 * sysdeps/i386/configure: Likewise.
15929 * elf/dl-open.c: Comment fixes.
15931 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15933 * Makefile [CXX] (check-data): Remove.
15934 [CXX] (c++-types.data): New vpath directive.
15935 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15936 vpath. Do not allow for C++ type data being missing.
15937 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15938 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15939 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15940 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15941 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15942 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15943 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15946 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15949 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15952 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15955 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15958 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15961 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15964 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15967 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15968 definitions to architecture-specific files.
15969 (TLS_IE): Likewise.
15970 (TLS_LD): Likewise.
15971 (TLS_GD): Likewise.
15972 * sysdeps/i386/tls-macros.h: New file.
15973 * sysdeps/powerpc/tls-macros.h: Likewise.
15974 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15975 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15976 * sysdeps/sh/tls-macros.h: Likewise.
15977 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15978 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15979 * sysdeps/x86_64/tls-macros.h: Likewise.
15981 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15983 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15984 zero value for regular exit case.
15986 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15987 (__start_context): Preserve zero value for regular exit case.
15989 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15990 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15992 * manual/setjmp.texi (setcontext): Clarify normal process
15993 termination when uc_link is the null pointer.
15994 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15997 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15999 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16000 preprocessor. Test for each exception mask separately.
16002 2012-07-16 Andreas Jaeger <aj@suse.de>
16004 * po/ru.po: Update from translation team.
16006 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16008 * conform/data/string.h-data (NULL): Use macro-constant. Require
16010 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16011 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16012 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16013 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16016 2012-07-13 Andreas Jaeger <aj@suse.de>
16018 * po/fr.po: Update from translation team.
16020 2012-07-12 Marek Polacek <polacek@redhat.com>
16023 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16024 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16027 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16030 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16031 Change to 2.4.1 where previously 2.4.0.
16032 * sysdeps/unix/sysv/linux/configure: Regenerated.
16033 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16034 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16036 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16037 (__ASSUME_AT_CLKTCK): Remove.
16038 (__ASSUME_AT_PAGESIZE): Likewise.
16039 (__ASSUME_AT_XID): Likewise.
16040 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16041 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16042 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16044 (HAVE_AUX_PAGESIZE): Likewise.
16045 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16046 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16047 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16049 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16053 the temporary buffer used to invoke __gethostbyname2_r,
16054 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16055 host_data / struct gaih_addrtuple.
16056 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16057 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16058 header file nss/nsswitch.h.
16059 * nss/nsswitch.h (global scope): Add definition of implementation
16060 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16061 resolv/nss_dns/dns-host.c).
16063 2012-07-11 Andreas Jaeger <aj@suse.de>
16065 * po/fr.po: Update from translation team.
16067 * po/sv.po: Update from translation team
16068 * po/fr.po: Another update from translation team.
16070 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16072 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16073 for subnormals or multiply small sinh result by itself.
16074 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16077 2012-07-11 David S. Miller <davem@davemloft.net>
16079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16081 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16084 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16085 (INTERNAL_MARK): Shift it here.
16087 2012-07-10 Marek Polacek <polacek@redhat.com>
16090 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16091 libc_cv_asm_global_directive with .globl.
16092 * configure: Regenerated.
16093 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16095 * sysdeps/i386/configure: Regenerated.
16096 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16098 * sysdeps/x86_64/configure: Regenerated.
16099 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16100 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16101 * elf/tst-unique2mod2.c: Likewise.
16102 * elf/tst-unique2mod1.c: Likewise.
16103 * elf/tst-unique1mod2.c: Likewise.
16104 * elf/tst-unique1mod1.c: Likewise.
16105 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16106 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16107 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16108 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16109 * sysdeps/mach/sysdep.h: Likewise.
16110 * sysdeps/i386/sysdep.h: Likewise.
16111 * sysdeps/i386/i386-mcount.S: Likewise.
16112 * sysdeps/x86_64/_mcount.S: Likewise.
16113 * sysdeps/x86_64/sysdep.h: Likewise.
16114 * sysdeps/sh/_mcount.S: Likewise.
16115 * sysdeps/sh/sysdep.h: Likewise.
16116 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16117 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16118 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16120 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16121 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16122 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16123 * locale/localeinfo.h: Likewise.
16124 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16125 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16127 2012-07-09 Roland McGrath <roland@hack.frob.com>
16130 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16132 * manual/message.texi (The Uniforum approach): Likewise.
16133 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16134 (glibc iconv Implementation): Likewise.
16136 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16139 * math/s_clog.c (__clog): Avoid scaling a value down where that
16140 could result in underflow.
16141 * math/s_clog10.c (__clog10): Likewise.
16142 * math/s_clog10f.c (__clog10f): Likewise.
16143 * math/s_clog10l.c (__clog10l): Likewise.
16144 * math/s_clogf.c (__clogf): Likewise.
16145 * math/s_clogl.c (__clogl): Likewise.
16146 * math/libm-test.inc (clog_test): Add more tests.
16147 (clog10_test): Likewise.
16148 * sysdeps/i386/fpu/libm-test-ulps: Update.
16149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16151 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16155 by 7 not 8 to examine high bit of fractional part.
16158 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16159 for call to __mcount_internal.
16160 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16161 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16162 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16164 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16167 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16168 approximation for values within 0x1p-13f of an odd multiple of
16170 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16171 exception. Add more tests.
16172 * sysdeps/i386/fpu/libm-test-ulps: Update.
16175 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16176 inputs and return -1 for them. Do not check for +Inf in case not
16177 reachable for +Inf.
16178 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16179 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16181 and return -1 for them. Do not check for +Inf in case not
16182 reachable for +Inf.
16183 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16186 and return -1 for them. Do not check for +Inf in case not
16187 reachable for +Inf.
16188 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16189 spurious underflow.
16190 * sysdeps/i386/fpu/libm-test-ulps: Update.
16191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16193 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16195 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16197 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16201 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16202 could result in spurious underflow. Scale down values above
16203 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16204 * math/s_csqrtf.c (__csqrtf): Likewise.
16205 * math/s_csqrtl.c (__csqrtl): Likewise.
16206 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16207 spurious underflow.
16208 * sysdeps/i386/fpu/libm-test-ulps: Update.
16209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16211 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16213 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16215 * catgets/xopen-msg.awk: New file.
16216 * catgets/xopen-msg.sed: Removed.
16218 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16220 * intl/po2test.awk: New file.
16221 * intl/po2test.sed: Removed.
16223 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16226 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16227 or multiply small sinh result by itself.
16228 * math/s_ctanf.c (__ctanf): Likewise.
16229 * math/s_ctanh.c (__ctanh): Likewise.
16230 * math/s_ctanhf.c (__ctanhf): Likewise.
16231 * math/s_ctanhl.c (__ctanhl): Likewise.
16232 * math/s_ctanl.c (__ctanl): Likewise.
16233 * math/libm-test.inc (ctan_test_tonearest): New function.
16234 (ctan_test_towardzero): Likewise.
16235 (ctan_test_downward): Likewise.
16236 (ctan_test_upward): Likewise.
16237 (ctanh_test_tonearest): Likewise.
16238 (ctanh_test_towardzero): Likewise.
16239 (ctanh_test_downward): Likewise.
16240 (ctanh_test_upward): Likewise.
16241 (main): Call these new functions.
16242 * sysdeps/i386/fpu/libm-test-ulps: Update.
16243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16247 * .gitignore: Delete /ports entry.
16249 2012-07-03 Andreas Jaeger <aj@suse.de>
16251 * po/bg.po: Update from translation team.
16252 * po/cs.po: Likewise.
16253 * po/de.po: Likewise.
16254 * po/hr.po: Likewise.
16255 * po/nl.pl: Likewise.
16256 * po/pl.po: Likewise.
16257 * po/vi.po: Likewise.
16259 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16261 * Makeconfig [!+link] (+link-before-libc): New variable.
16262 [!+link] (+link-after-libc): Likewise.
16263 [!+link] (+link-tests): Likewise.
16264 [!+link] (+link): Define in terms of $(+link-before-libc) and
16265 $(+link-after-libc).
16266 [!+link-static] (+link-static-before-libc): New variable.
16267 [!+link-static] (+link-static-after-libc): Likewise.
16268 [!+link-static] (+link-static-tests): Likewise.
16269 [!+link-static] (+link-static): Define in terms of
16270 $(+link-static-before-libc) and $(+link-static-after-libc).
16271 [build-shared] (link-libc-before-gnulib): New variable.
16272 [build-shared] (link-libc-tests): Likewise.
16273 [build-shared] (link-libc): Define in terms of
16274 $(link-libc-before-gnulib).
16275 [!build-shared] (link-libc-tests): New variable.
16276 (link-libc-static-tests): New variable.
16277 [!gnulib] (gnulib-arch): New variable.
16278 [!gnulib] (gnulib-tests): Likewise.
16279 [!gnulib] (static-gnulib-arch): Likewise.
16280 [!gnulib] (static-gnulib-tests): Likewise.
16281 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16282 Define with "=" instead of ":=".
16283 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16284 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16285 * Rules (binaries-all-notests): New variable.
16286 (binaries-all-tests): Likewise.
16287 (binaries-static-notests): Likewise.
16288 (binaries-static-tests): Likewise.
16289 (binaries-all): Define using $(binaries-all-notests) and
16290 $(binaries-all-tests).
16291 (binaries-static): Define using $(binaries-static-notests) and
16292 $(binaries-static-tests).
16293 (binaries-shared-tests): New variable.
16294 (binaries-shared-notests): Likewise.
16295 (binaries-shared): Remove variable.
16296 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16297 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16298 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16299 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16300 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16301 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16302 * elf/Makefile (sln-modules): New variable.
16303 (extra-objs): Add $(sln-modules:=.o).
16304 (ldconfig-modules): Add static-stubs.
16305 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16306 * elf/static-stubs.c: New file.
16309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16310 by 7 not 8 to examine high bit of fractional part. Use volatile
16311 variables when splitting into final array of floats if
16312 __FLT_EVAL_METHOD__ != 0.
16313 * math/libm-test.inc (cos_test): Add another test.
16314 (sin_test): Likewise.
16315 * sysdeps/i386/fpu/libm-test-ulps: Update.
16318 * math/libm-test.inc (cosh_test): Add more tests.
16320 * version.h (RELEASE): Set to "development".
16321 (VERSION): Set to "2.16.90".
16323 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16325 * NEWS: Update copyright. Remove last-updated date.
16326 Mention math library bug fixes and timezone data changes.
16327 * README: Mention GNU/Hurd, x32, and HPPA support status.
16329 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16331 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16333 2012-06-27 Andreas Jaeger <aj@suse.de>
16335 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16337 2012-06-25 Andreas Jaeger <aj@suse.de>
16339 * sysdeps/s390/fpu/libm-test-ulps: Update.
16341 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16342 Thomas Schwinge <thomas@codesourcery.com>
16344 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16345 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16349 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16351 * sysdeps/mach/start.c: Remove file.
16352 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16353 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16354 * sysdeps/sh/init-first.c: Likewise.
16356 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16357 registers for frame unwinding purposes, add CFI directives.
16358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16359 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16360 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16363 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16364 __fortify_fail returning.
16365 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16367 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16368 sysdeps/sh/____longjmp_chk.S.
16369 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16370 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16371 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16372 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16374 * sysdeps/sh/abort-instr.h: New file.
16375 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16376 process in case exit returns.
16378 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16379 initialize the GOT register before use.
16381 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16382 calculation of ARGC > 4.
16384 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16385 meaningful names to some local labels.
16387 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16388 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16391 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16392 (__arch_compare_and_exchange_val_16_acq): Likewise.
16393 (__arch_compare_and_exchange_val_32_acq): Likewise.
16394 (atomic_exchange_and_add): Fix gUSA sequence.
16395 (atomic_add): Likewise.
16396 (atomic_add_negative): Likewise.
16397 (atomic_add_zero): Likewise.
16398 (atomic_bit_test_set): Likewise.
16400 2012-06-22 Andreas Schwab <schwab@redhat.com>
16403 * include/link.h (struct link_map): Add l_free_initfini.
16404 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16406 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16407 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16408 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16411 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16413 * configure.in: Use AC_LANG_SOURCE.
16414 * configure: Regenerate.
16416 2012-06-22 Roland McGrath <roland@hack.frob.com>
16418 * configure.in (libc_cv_localstatedir): New substituted variable.
16419 * configure: Regenerated.
16420 * config.make.in (localstatedir): New variable, substituted from
16421 libc_cv_localstatedir.
16422 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16423 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16424 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16425 * sysdeps/gnu/configure: Regenerated.
16427 2012-06-21 Jeff Law <law@redhat.com>
16430 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16431 free. Simplify list management for _LIBC case.
16433 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16436 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16437 Clear sign bit of 64-bit integer value before comparing against
16440 * sysdeps/mach/configure: Regenerated.
16442 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16445 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16447 2012-06-21 Jeff Law <law@redhat.com>
16450 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16451 uint16_t for elements in the "seen" array to avoid char overflows.
16452 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16453 * elf/dl-open.c (dl_open_worker): Likewise.
16455 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16457 * scripts/list-sources.sh: Scan PORTS for translations.
16458 * po/libc.pot: Regenerated.
16460 2012-06-21 Andreas Jaeger <aj@suse.de>
16463 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16465 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16466 * bits/byteswap-16.h (__bswap_16): Likewise.
16467 * bits/byteswap.h (__bswap_constant_16): Likewise.
16469 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16472 * sysdeps/i386/fpu_control.h: Removed.
16473 * sysdeps/x86_64/fpu_control.h: Moved to ...
16474 * sysdeps/x86/fpu_control.h: Here.
16476 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16477 (_FPU_SETCW): Likewise.
16479 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16482 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16483 * sysdeps/x86/fpu/bits/mathinline.h: This.
16484 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16488 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16489 functions if __x86_64__ is defined.
16491 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16493 * string/endian.h: Add !__ASSEMBLER__ condition for including
16494 conversion interfaces.
16496 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16500 of ABS(x) in calculating zero to negative powers other than odd
16502 * math/libm-test.inc (pow_test): Add more tests.
16504 2012-06-15 Andreas Jaeger <aj@suse.de>
16506 * manual/contrib.texi (Contributors): Update entry of Liubov
16507 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16510 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16512 * string/string.h: Add __wur to GNU version of strerror_r.
16514 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16517 * string/Makefile (tests): Add tst-strtok_r.
16518 * string/tst-strtok_r.c: New file.
16519 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16520 RAX_LP/RDX_LP on SAVE_PTR.
16522 2012-06-14 Roland McGrath <roland@hack.frob.com>
16524 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16526 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16528 * libm_test.inc (csqrt_test): Allow more spurious underflow
16530 (j0_test): Likewise.
16531 (j1_test): Likewise.
16532 (y0_test): Likewise.
16533 (y1_test): Likewise.
16535 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16537 * po/Makefile (libc.pot): Use UTF-8 charset.
16539 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16542 Suppress sign-conversion warning from FD_SET.
16543 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16544 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16545 not unsigned long int.
16546 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16548 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16552 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16553 __extern_always_inline instead of __extern_inline.
16554 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16555 (__signbit): Likewise.
16556 (__signbitl): Support C++ namespace.
16557 (lrintf): New inline function.
16559 (llrintf): Likewise.
16560 (llrint): Likewise.
16570 (floorf): Likewise.
16571 (nearbyint): Likewise.
16572 (nearbyintf): Likewise.
16574 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16576 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16577 non-default versions.
16579 2012-06-11 Roland McGrath <roland@hack.frob.com>
16582 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16584 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16586 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16587 (FE_UPWARD, FE_DOWNWARD): Don't define.
16588 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16589 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16593 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16594 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16596 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16598 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16600 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16601 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16603 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16606 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16607 * sysdeps/i386/fpu/Implies: New file.
16608 * sysdeps/x86_64/fpu/Implies: Likewise.
16609 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16610 * sysdeps/x86/fpu/bits/fenv.h: This.
16612 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16615 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16618 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16619 character 0xffff that matches the last element of the
16622 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16627 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16630 values higher than 25.6283.
16632 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16634 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16635 subnormal exponent extraction and add some __builtin_expect.
16636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16637 Fix for subnormal mantissa calculation.
16639 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16641 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16642 cpu2 is -1 and errno is not ENOSYS.
16644 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16647 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16648 * sysdeps/x86/bits/string.h: This.
16649 * sysdeps/x86_64/bits/string.h: Removed.
16651 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16652 if not compiling for x86-64, but compiling for >= i486.
16654 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16655 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16657 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16658 New macro from Linux kernel 3.4.0.
16659 (FP_XSTATE_MAGIC2): Likewise.
16660 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16661 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16662 (struct _fpx_sw_bytes): New struct.
16663 (struct _xsave_hdr): Likewise.
16664 (struct _ymmh_state): Likewise.
16665 (struct _xstate): Likewise.
16667 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16668 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16670 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16671 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16672 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16674 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16675 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16676 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16677 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16678 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16679 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16681 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16684 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16685 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16686 (sysdep_headers): Include sys/platform/ppc.h.
16687 * sysdeps/powerpc/test-gettimebase.c: Test for
16688 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16689 * manual/Makefile (appendices): Include platform.texi.
16690 * manual/contrib.texi (Contributors): Update @node pointers.
16691 * manual/maint.texi (Maintenance): Likewise.
16692 (Platform): New node.
16693 * manual/platform.texi: New file. Document the new features.
16695 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16696 Jakub Jelinek <jakub@redhat.com>
16699 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16700 where __builtin_expect is unavailable.
16702 2012-06-03 David S. Miller <davem@davemloft.net>
16704 * stdlib/longlong.h: Updated from GCC.
16706 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16709 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16710 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16713 (GLIBC_2.16): Likewise.
16715 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16717 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16719 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16722 (default-abi): New variable.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16724 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16726 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16728 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16730 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16733 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16734 definition. Document in comment.
16736 2012-06-01 David S. Miller <davem@davemloft.net>
16738 * stdlib/longlong.h: Updated from GCC.
16740 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16743 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16744 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16745 sys/debugreg.h sys/io.h here.
16746 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16747 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16749 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16750 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16751 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16752 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16753 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16754 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16756 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16757 Define only if __x86_64__ is defined.
16759 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16762 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16763 Use int64_t for variable i.
16764 * math/libm-test.inc (fmod_test): Add more tests.
16766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16767 z computation is not scheduled after fetestexcept.
16768 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16769 Use math_force_eval instead of asm to ensure calculation scheduled
16770 before exception test.
16771 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16772 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16774 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16777 computation is not scheduled after fetestexcept.
16779 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16782 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16783 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16785 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16787 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16788 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16790 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16793 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16795 (__WCHAR_MIN): Support __WORDSIZE == 64.
16796 (__WCHAR_MAX): Likewise.
16798 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16799 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16803 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16806 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16807 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16809 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16810 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16812 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16813 Defined to 1 if __x86_64__ isn't defined.
16814 (_STAT_VER_LINUX_OLD): New.
16815 (st_atime): Remove duplicate.
16816 (st_mtime): Likewise.
16817 (st_ctime): Likewise.
16819 2012-05-31 David S. Miller <davem@davemloft.net>
16821 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16824 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16826 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16830 * elf/dl-reloc.c: Include <_itoa.h>.
16831 (_dl_reloc_bad_type): Remove use of INTUSE.
16832 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16833 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16834 * stdio-common/psiginfo.c (psiginfo): Likewise.
16835 * stdio-common/psignal.c (psignal): Likewise.
16836 * string/strsignal.c (strsignal): Likewise.
16837 * include/signal.h (_sys_siglist): Declare hidden proto.
16838 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16839 INTVARDEF with libc_hidden_data_def.
16840 * stdio-common/itoa-udigits.c: Likewise.
16841 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16842 (_itoa_lower_digits_internal): Remove declaration.
16843 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16844 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16845 (_sys_sigabbrev_internal): Remove aliases.
16846 (_sys_siglist): Define hidden alias.
16848 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16853 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16856 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16857 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16859 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16860 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16861 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16862 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16864 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16866 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16867 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16868 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16878 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16879 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16880 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16882 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16883 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16884 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16885 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16886 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16887 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16889 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16890 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16892 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16893 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16895 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16896 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16899 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16900 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16902 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16904 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16905 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16906 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16908 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16910 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16912 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16914 * math/math.h (M_El): Use two more decimal places.
16915 (M_LOG2El): Likewise.
16916 (M_LOG10El): Likewise.
16917 (M_LN2l): Likewise.
16918 (M_LN10l): Likewise.
16920 (M_PI_2l): Likewise.
16921 (M_PI_4l): Likewise.
16922 (M_1_PIl): Likewise.
16923 (M_2_PIl): Likewise.
16924 (M_2_SQRTPIl): Likewise.
16925 (M_SQRT2l): Likewise.
16926 (M_SQRT1_2l): Likewise.
16928 2012-05-31 David S. Miller <davem@davemloft.net>
16930 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16931 values between float registers.
16932 * sysdeps/sparc/sparc64/memset.S: Likewise.
16933 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16935 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16937 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16938 -D_FORTIFY_SOURCE=1.
16939 (CPPFLAGS-tst-longjmp_chk.c): Define.
16940 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16941 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16942 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16943 CFLAGS-tst-wchar-h.c.
16945 2012-05-31 Marek Polacek <polacek@redhat.com>
16948 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16949 __endmntent_internal): Remove declaration.
16950 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16951 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16952 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16954 2012-05-30 David S. Miller <davem@davemloft.net>
16956 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16957 (___Q_simulate_exceptions): Use real FP ops rather than writing
16959 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16962 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16965 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16966 * sysdeps/x86/bits/xtitypes.h: This.
16968 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16969 * sysdeps/x86/bits/wordsize.h: This.
16971 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16972 * sysdeps/x86/bits/huge_vall.h: This.
16974 * sysdeps/i386/bits/select.h: Removed.
16975 * sysdeps/x86_64/bits/select.h: Renamed to ...
16976 * sysdeps/x86/bits/select.h: This.
16978 * sysdeps/i386/bits/setjmp.h: Removed.
16979 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16980 * sysdeps/x86/bits/setjmp.h: This.
16982 * sysdeps/i386/bits/mathdef.h: Removed.
16983 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16984 * sysdeps/x86/bits/mathdef.h: This.
16986 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16989 * include/sys/socket.h (__connect_internal)
16990 (__libc_sa_len_internal): Remove declaration.
16991 (__connect, __libc_sa_len): Declare hidden_proto.
16992 (SA_LEN): Remove use of INTUSE.
16993 * socket/connect.c: Add libc_hidden_def.
16994 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16995 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16996 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16998 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16999 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17000 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17001 of adding _internal alias.
17003 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17006 * sysdeps/i386/bits/link.h: Removed.
17007 * sysdeps/i386/bits/linkmap.h: Likewise.
17008 * sysdeps/x86_64/bits/link.h: Renamed to ...
17009 * sysdeps/x86/bits/link.h: This.
17010 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17011 * sysdeps/x86/bits/linkmap.h: This.
17013 * sysdeps/i386/bits/endian.h: Removed.
17014 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17015 * sysdeps/x86/bits/endian.h: This.
17017 * sysdeps/i386/bits/byteswap.h: Removed.
17018 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17019 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17020 * sysdeps/x86/bits/byteswap.h: This.
17021 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17022 * sysdeps/x86/bits/byteswap-16.h: This.
17023 * sysdeps/i386/Implies: Add x86.
17024 * sysdeps/x86_64/Implies: Likewise.
17026 2012-05-30 David S. Miller <davem@davemloft.net>
17028 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17029 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17030 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17031 (FP_TRAPPING_EXCEPTIONS): Define.
17032 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17033 (FP_TRAPPING_EXCEPTIONS): Define.
17034 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17035 subnormals only when inexact has been signalled or underflow
17036 exceptions are enabled.
17037 (_FP_PACK_CANONICAL): Likewise.
17039 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17042 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17043 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17045 2012-05-30 Richard Henderson <rth@twiddle.net>
17047 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17048 with #ifndef NOT_IN_libc.
17050 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17051 marked to avoid plt entry.
17053 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17056 * Makeconfig (default-abi): New macro.
17057 (abi-includes): Likewise.
17058 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17059 $(abi-$(default-abi)-lib-soname) for soname if defined.
17060 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17062 * Makefile (installed-stubs): Likewise.
17063 * include/stubs-biarch.h: Removed.
17064 * scripts/lib-names.awk: Only handle one library at a time.
17065 * scripts/soversions.awk: Remove WORDSIZE support.
17066 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17068 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17070 (syscall-list-default-condition): Likewise.
17071 (syscall-list-default-condition): Likewise.
17072 (syscall-list-includes): Likewise.
17073 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17074 syscall-list-* with abi-*. Handle undefined abi-variants.
17075 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17076 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17077 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17078 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17079 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17080 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17082 (syscall-list-32-options): Likewise.
17083 (syscall-list-32-condition): Likewise.
17084 (syscall-list-64-options): Likewise.
17085 (syscall-list-64-condition): Likewise.
17086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17088 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17091 (abi-64-ld-soname): New macro.
17092 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17093 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17096 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17097 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17099 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17101 * sysdeps/unix/sysv/linux/kernel-features.h
17102 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17103 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17104 include <kernel-features.h>.
17105 [!__NR_ftruncate64]: Remove conditional code.
17106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17107 [__NR_ftruncate64]: Make code unconditional.
17108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17109 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17110 include <kernel-features.h>.
17111 [!__NR_ftruncate64]: Remove conditional code.
17112 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17113 [__NR_ftruncate64]: Make code unconditional.
17114 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17116 include <kernel-features.h>.
17117 [!__NR_ftruncate64]: Remove conditional code.
17118 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17119 [__NR_ftruncate64]: Make code unconditional.
17120 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17122 include <kernel-features.h>.
17123 [!__NR_ftruncate64]: Remove conditional code.
17124 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17125 [__NR_ftruncate64]: Make code unconditional.
17126 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17128 * configure.in (libc_cv_fpie): Weaken to a compile test using
17129 LIBC_TRY_CC_OPTION.
17130 * configure: Regenerated.
17132 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17147 2012-05-27 David S. Miller <davem@davemloft.net>
17149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17151 (__Q_simulate_exceptions): Return void. Change to simulate
17152 exceptions by writing into the %fsr.
17153 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17154 (__Qp_handle_exceptions): Likewise.
17156 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17157 __Qp_handle_exceptions.
17158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17159 __Qp_handle_exceptions.
17160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17161 as unused and give dummy FP_RND_NEAREST initializer.
17162 (FP_INHIBIT_RESULTS): Define.
17163 (___Q_simulate_exceptions): Update declaration.
17164 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17166 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17167 as unused and give dummy FP_RND_NEAREST initializer.
17168 (__Qp_handle_exceptions): Update declaration.
17169 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17172 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17174 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17175 the temporary FPU control word.
17176 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17177 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17178 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17179 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17180 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17181 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17182 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17183 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17184 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17185 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17186 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17188 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17193 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17195 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17196 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17197 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17198 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17200 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17201 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17204 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17206 * po/h.po: Update from translation team.
17208 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17210 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17212 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17213 handling of denormals.
17214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17215 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17216 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17217 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17219 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17223 2012-05-26 Marek Polacek <polacek@redhat.com>
17226 * math/libm-test.inc (fma_test): Don't always expect underflow
17229 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17232 * elf/tst-execstack.c: Include stackinfo.h.
17233 (do_test): Adjust test case to ensure that pthread_getattr_np
17234 behaviour remains the same after marking stack executable.
17236 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17238 * sysdeps/unix/sysv/linux/kernel-features.h
17239 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17240 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17242 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17243 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17244 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17246 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17247 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17249 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17251 * configure.in: Define the default includes to being none.
17252 * configure: Regenerated.
17254 2012-05-25 Roland McGrath <roland@hack.frob.com>
17256 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17257 * sysdeps/x86_64/setjmp.S: Likewise.
17258 * sysdeps/i386/bsd-setjmp.S: Likewise.
17259 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17260 * sysdeps/i386/setjmp.S: Likewise.
17261 * sysdeps/i386/__longjmp.S: Likewise.
17262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17263 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17265 * include/stap-probe.h: New file.
17266 * configure.in: Handle --enable-systemtap.
17267 * configure: Regenerated.
17268 * config.h.in (USE_STAP_PROBE): New #undef.
17269 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17270 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17271 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17273 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17277 to 2.4.0 where earlier.
17278 * sysdeps/unix/sysv/linux/configure: Regenerated.
17279 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17280 <kernel-features.h>.
17281 [__ASSUME_32BITUIDS]: Make code unconditional.
17282 [!__ASSUME_32BITUIDS]: Remove conditional code.
17283 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17284 <kernel-features.h>.
17285 [__ASSUME_32BITUIDS]: Make code unconditional.
17286 [!__ASSUME_32BITUIDS]: Remove conditional code.
17287 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17288 [__ASSUME_32BITUIDS]: Make code unconditional.
17289 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17290 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17291 <kernel-features.h>.
17292 [__ASSUME_32BITUIDS]: Make code unconditional.
17293 [!__ASSUME_32BITUIDS]: Remove conditional code.
17294 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17295 <kernel-features.h>.
17296 [__ASSUME_32BITUIDS]: Make code unconditional.
17297 [!__ASSUME_32BITUIDS]: Remove conditional code.
17298 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17299 <kernel-features.h>.
17300 [__ASSUME_32BITUIDS]: Make code unconditional.
17301 [!__ASSUME_32BITUIDS]: Remove conditional code.
17302 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17303 <kernel-features.h>.
17304 [__ASSUME_32BITUIDS]: Make code unconditional.
17305 [!__ASSUME_32BITUIDS]: Remove conditional code.
17306 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17307 <kernel-features.h>.
17308 [__ASSUME_32BITUIDS]: Make code unconditional.
17309 [!__ASSUME_32BITUIDS]: Remove conditional code.
17310 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17311 <kernel-features.h>.
17312 [__ASSUME_32BITUIDS]: Make code unconditional.
17313 [!__ASSUME_32BITUIDS]: Remove conditional code.
17314 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17315 <kernel-features.h>.
17316 [__ASSUME_32BITUIDS]: Make code unconditional.
17317 [!__ASSUME_32BITUIDS]: Remove conditional code.
17318 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17319 <kernel-features.h>.
17320 [__ASSUME_32BITUIDS]: Make code unconditional.
17321 [!__ASSUME_32BITUIDS]: Remove conditional code.
17322 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17323 <kernel-features.h>.
17324 [__ASSUME_32BITUIDS]: Make code unconditional.
17325 [!__ASSUME_32BITUIDS]: Remove conditional code.
17326 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17327 <kernel-features.h>.
17328 [__ASSUME_32BITUIDS]: Make code unconditional.
17329 [!__ASSUME_32BITUIDS]: Remove conditional code.
17330 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17331 <kernel-features.h>.
17332 [__NR_setresgid] (__setresgid): Do not declare.
17333 [__ASSUME_32BITUIDS]: Make code unconditional.
17334 [!__ASSUME_32BITUIDS]: Remove conditional code.
17335 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17336 <kernel-features.h>.
17337 [__NR_setresuid] (__setresuid): Do not declare.
17338 [__ASSUME_32BITUIDS]: Make code unconditional.
17339 [!__ASSUME_32BITUIDS]: Remove conditional code.
17340 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17341 <kernel-features.h>.
17342 [__ASSUME_32BITUIDS]: Make code unconditional.
17343 [!__ASSUME_32BITUIDS]: Remove conditional code.
17344 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17345 <kernel-features.h>.
17346 [__ASSUME_32BITUIDS]: Make code unconditional.
17347 [!__ASSUME_32BITUIDS]: Remove conditional code.
17348 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17349 <kernel-features.h>.
17350 [__ASSUME_32BITUIDS]: Make code unconditional.
17351 [!__ASSUME_32BITUIDS]: Remove conditional code.
17352 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17353 <kernel-features.h>.
17354 [__ASSUME_32BITUIDS]: Make code unconditional.
17355 [!__ASSUME_32BITUIDS]: Remove conditional code.
17356 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17357 <kernel-features.h>.
17358 [__ASSUME_32BITUIDS]: Make code unconditional.
17359 [!__ASSUME_32BITUIDS]: Remove conditional code.
17360 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17361 <kernel-features.h>.
17362 [__ASSUME_32BITUIDS]: Make code unconditional.
17363 [!__ASSUME_32BITUIDS]: Remove conditional code.
17364 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17365 <kernel-features.h>.
17366 [__ASSUME_32BITUIDS]: Make code unconditional.
17367 [!__ASSUME_32BITUIDS]: Remove conditional code.
17368 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17369 <kernel-features.h>.
17370 [__ASSUME_32BITUIDS]: Make code unconditional.
17371 [!__ASSUME_32BITUIDS]: Remove conditional code.
17372 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17373 <kernel-features.h>.
17374 [__ASSUME_32BITUIDS]: Make code unconditional.
17375 [!__ASSUME_32BITUIDS]: Remove conditional code.
17376 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17377 <kernel-features.h>.
17378 [__ASSUME_32BITUIDS]: Make code unconditional.
17379 [!__ASSUME_32BITUIDS]: Remove conditional code.
17380 * sysdeps/unix/sysv/linux/kernel-features.h
17381 (__ASSUME_SETRESUID_SYSCALL): Remove.
17382 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17383 (__ASSUME_32BITUIDS): Likewise.
17384 (__ASSUME_LDT_WORKS): Likewise.
17385 (__ASSUME_O_DIRECTORY): Likewise.
17386 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17387 architecture but not kernel version.
17388 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17389 (__ASSUME_MMAP2_SYSCALL): Likewise.
17390 (__ASSUME_STAT64_SYSCALL): Likewise.
17391 (__ASSUME_IPC64): Likewise.
17392 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17393 <kernel-features.h>.
17394 [__ASSUME_32BITUIDS]: Make code unconditional.
17395 [!__ASSUME_32BITUIDS]: Remove conditional code.
17396 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17397 <kernel-features.h>.
17398 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17399 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17400 132096]: Remove conditional code.
17401 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17402 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17403 <kernel-features.h>.
17404 [__ASSUME_32BITUIDS]: Make code unconditional.
17405 [!__ASSUME_32BITUIDS]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17407 <kernel-features.h>.
17408 [__ASSUME_32BITUIDS]: Make code unconditional.
17409 [!__ASSUME_32BITUIDS]: Remove conditional code.
17410 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17411 <kernel-features.h>.
17412 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17414 (__setresgid): Do not declare.
17415 [__ASSUME_32BITUIDS]: Make code unconditional.
17416 [!__ASSUME_32BITUIDS]: Remove conditional code.
17417 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17418 <kernel-features.h>.
17419 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17421 (__setresuid): Do not declare.
17422 [__ASSUME_32BITUIDS]: Make code unconditional.
17423 [!__ASSUME_32BITUIDS]: Remove conditional code.
17424 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17425 <kernel-features.h>.
17426 [__ASSUME_32BITUIDS]: Make code unconditional.
17427 [!__ASSUME_32BITUIDS]: Remove conditional code.
17428 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17429 <kernel-features.h>.
17430 [__ASSUME_32BITUIDS]: Make code unconditional.
17431 [!__ASSUME_32BITUIDS]: Remove conditional code.
17433 2012-05-25 Richard Henderson <rth@twiddle.net>
17435 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17436 dl_hwcap to ifunc resolver.
17437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17439 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17440 dl_hwcap to ifunc resolver.
17441 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17443 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17446 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17447 for |x| <= 2**-26, not 2**-57.
17448 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17451 2012-05-24 Jeff Law <law@redhat.com>
17453 * stdio-common/Makefile (tests): Add bug25.
17454 * stdio-common/bug25.c: New test.
17456 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17459 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17460 multiple of MALLOC_ALIGNMENT in size.
17461 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17463 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17465 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17467 (FILENAME_MAX): Use macro-int-constant.
17468 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17469 (_IOFBF): Use macro-int-constant.
17470 (_IOLBF): Likewise.
17471 (_IONBF): Likewise.
17472 (SEEK_CUR): Likewise.
17473 (SEEK_END): Likewise.
17474 (SEEK_SET): Likewise.
17475 (TMP_MAX): Likewise.
17476 (EOF): Use macro-int-constant. Require < 0.
17477 (NULL): Use macro-constant. Require == 0.
17478 (stdin): Require type to be FILE *.
17479 (stdout): Likewise.
17480 (stderr): Likewise.
17481 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17482 macro-int-constant.
17483 (EXIT_SUCCESS): Likewise.
17484 (NULL): Use macro-constant. Require == 0.
17485 (RAND_MAX): Use macro-int-constant.
17486 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17487 [C99-based standards] (strtof): Require function.
17488 [C99-based standards] (strtold): Likewise.
17489 [C99-based standards] (strtoll): Likewise.
17490 [C99-based standards] (strtoull): Likewise.
17491 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17492 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17493 [ISO || ISO99 || ISO11] (math.h): Likewise.
17494 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17495 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17498 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17501 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17502 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17503 * intl/dgettext.c (DCGETTEXT): Likewise.
17504 * intl/gettext.c (DCGETTEXT): Likewise.
17505 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17506 * posix/regex_internal.h (gettext): Likewise.
17507 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17508 Remove declaration.
17509 * include/argz.h (__argz_count_internal)
17510 (__argz_stringify_internal): Remove declaration.
17511 (__argz_count, __argz_stringify): Declare hidden proto.
17512 * intl/dcgettext.c: Remove use of INTDEF.
17513 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17514 * string/argz-stringify.c: Likewise.
17515 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17516 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17517 Declare hidden proto.
17518 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17519 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17520 Declare hidden proto.
17521 * include/stdio.h (__asprintf_internal): Don't declare.
17522 (__asprintf): Don't define as macro. Declare hidden proto.
17523 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17524 (__fsetlocking): Declare hidden proto.
17525 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17526 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17528 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17529 (_IO_setlinebuf): Remove use of INTUSE.
17530 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17531 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17532 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17533 Remove declaration.
17534 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17535 (_IO_do_flush): Remove use of INTUSE.
17536 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17537 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17538 (_IO_adjust_column, _IO_least_wmarker)
17539 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17540 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17541 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17542 (_IO_default_doallocate, _IO_wdefault_doallocate)
17543 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17544 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17545 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17546 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17547 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17548 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17549 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17550 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17551 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17552 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17553 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17554 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17555 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17557 (_IO_flush_all_internal, _IO_adjust_column_internal)
17558 (_IO_default_uflow_internal, _IO_default_finish_internal)
17559 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17560 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17561 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17562 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17563 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17564 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17565 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17566 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17567 (_IO_file_close_internal, _IO_file_close_it_internal)
17568 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17569 (_IO_file_init_internal, _IO_file_attach_internal)
17570 (_IO_file_fopen_internal, _IO_file_read_internal)
17571 (_IO_file_sync_internal, _IO_file_seek_internal)
17572 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17573 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17574 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17575 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17576 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17577 (_IO_list_all_internal, _IO_link_in_internal)
17578 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17579 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17580 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17581 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17582 (_IO_do_write_internal, _IO_padn_internal)
17583 (_IO_getline_info_internal, _IO_getline_internal)
17584 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17585 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17586 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17587 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17588 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17589 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17590 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17591 with libc_hidden_ver, remove use of INTUSE.
17592 * libio/genops.c: Likewise.
17593 * libio/freopen.c: Likewise.
17594 * libio/freopen64.c: Likewise.
17595 * libio/iofclose.c: Likewise.
17596 * libio/iofdopen.c: Likewise.
17597 * libio/iofflush.c: Likewise.
17598 * libio/iofflush_u.c: Likewise.
17599 * libio/iofgets.c: Likewise.
17600 * libio/iofgets_u.c: Likewise.
17601 * libio/iofopen.c: Likewise.
17602 * libio/iofopncook.c: Likewise.
17603 * libio/iofread.c: Likewise.
17604 * libio/iofread_u.c: Likewise.
17605 * libio/ioftell.c: Likewise.
17606 * libio/iofwrite.c: Likewise.
17607 * libio/iogetline.c: Likewise.
17608 * libio/iogets.c: Likewise.
17609 * libio/iogetwline.c: Likewise.
17610 * libio/iopadn.c: Likewise.
17611 * libio/iopopen.c: Likewise.
17612 * libio/ioseekoff.c: Likewise.
17613 * libio/ioseekpos.c: Likewise.
17614 * libio/iosetbuffer.c: Likewise.
17615 * libio/iosetvbuf.c: Likewise.
17616 * libio/ioungetc.c: Likewise.
17617 * libio/ioungetwc.c: Likewise.
17618 * libio/iovdprintf.c: Likewise.
17619 * libio/iovsprintf.c: Likewise.
17620 * libio/iovsscanf.c: Likewise.
17621 * libio/memstream.c: Likewise.
17622 * libio/obprintf.c: Likewise.
17623 * libio/oldfileops.c: Likewise.
17624 * libio/oldiofclose.c: Likewise.
17625 * libio/oldiofdopen.c: Likewise.
17626 * libio/oldiofopen.c: Likewise.
17627 * libio/oldiopopen.c: Likewise.
17628 * libio/oldstdfiles.c: Likewise.
17629 * libio/putc.c: Likewise.
17630 * libio/setbuf.c: Likewise.
17631 * libio/setlinebuf.c: Likewise.
17632 * libio/stdfiles.c: Likewise.
17633 * libio/strops.c: Likewise.
17634 * libio/vasprintf.c: Likewise.
17635 * libio/vscanf.c: Likewise.
17636 * libio/vsnprintf.c: Likewise.
17637 * libio/vswprintf.c: Likewise.
17638 * libio/wfiledoalloc.c: Likewise.
17639 * libio/wfileops.c: Likewise.
17640 * libio/wgenops.c: Likewise.
17641 * libio/wmemstream.c: Likewise.
17642 * libio/wstrops.c: Likewise.
17643 * libio/__fpurge.c: Likewise.
17644 * libio/__fsetlocking.c: Likewise.
17645 * assert/assert.c: Likewise.
17646 * debug/fgets_chk.c: Likewise.
17647 * debug/fgets_u_chk.c: Likewise.
17648 * debug/fread_chk.c: Likewise.
17649 * debug/fread_u_chk.c: Likewise.
17650 * debug/gets_chk.c: Likewise.
17651 * debug/obprintf_chk.c: Likewise.
17652 * debug/vasprintf_chk.c: Likewise.
17653 * debug/vdprintf_chk.c: Likewise.
17654 * debug/vsnprintf_chk.c: Likewise.
17655 * debug/vsprintf_chk.c: Likewise.
17656 * malloc/mtrace.c: Likewise.
17657 * misc/error.c: Likewise.
17658 * misc/syslog.c: Likewise.
17659 * stdio-common/asprintf.c: Likewise.
17660 * stdio-common/fxprintf.c: Likewise.
17661 * stdio-common/getw.c: Likewise.
17662 * stdio-common/isoc99_fscanf.c: Likewise.
17663 * stdio-common/isoc99_scanf.c: Likewise.
17664 * stdio-common/isoc99_vfscanf.c: Likewise.
17665 * stdio-common/isoc99_vscanf.c: Likewise.
17666 * stdio-common/isoc99_vsscanf.c: Likewise.
17667 * stdio-common/printf-prs.c: Likewise.
17668 * stdio-common/printf_fp.c: Likewise.
17669 * stdio-common/printf_fphex.c: Likewise.
17670 * stdio-common/printf_size.c: Likewise.
17671 * stdio-common/putw.c: Likewise.
17672 * stdio-common/scanf.c: Likewise.
17673 * stdio-common/sprintf.c: Likewise.
17674 * stdio-common/tmpfile.c: Likewise.
17675 * stdio-common/vfprintf.c: Likewise.
17676 * stdio-common/vfscanf.c: Likewise.
17677 * stdlib/strfmon_l.c: Likewise.
17678 * sunrpc/openchild.c: Likewise.
17679 * sunrpc/xdr_stdio.c: Likewise.
17680 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17681 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17683 2012-05-24 Roland McGrath <roland@hack.frob.com>
17685 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17687 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17688 in the third column, to generate for the shared library an IFUNC
17689 that uses _dl_vdso_vsym.
17690 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17691 * Makeconfig (object-suffixes-noshared): New variable.
17693 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17694 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17695 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17696 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17699 * include/sys/time.h (__gettimeofday): Remove macro.
17700 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17701 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17703 (__gettimeofday): Add libc_hidden_def.
17704 (gettimeofday): Add libc_hidden_weak.
17705 * sysdeps/mach/gettimeofday.c: Likewise.
17706 * sysdeps/posix/gettimeofday.c: Likewise.
17707 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17708 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17710 (__gettimeofday_internal): Remove strong_alias.
17711 (__gettimeofday): Add libc_hidden_def.
17712 (gettimeofday): Add libc_hidden_weak.
17713 * sysdeps/unix/syscalls.list (gettimeofday):
17714 Remove __gettimeofday_internal alias.
17716 2012-05-24 Daniel Jacobowitz <drow@false.org>
17717 H.J. Lu <hongjiu.lu@intel.com>
17720 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17721 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17722 (largebin_index_32_big): New.
17723 (largebin_index): Use it for 16-byte alignment.
17724 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17725 correction with front_misalign.
17727 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17755 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17756 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17758 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17762 * math/libm-test.inc (exp_test): Add test from bug 14036.
17763 (pow_test): Add test from bug 10846.
17765 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17767 (special_function): Do not include flags in test name.
17768 (parse_args): Likewise.
17769 * sysdeps/i386/fpu/libm-test-ulps: Update.
17770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17771 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17772 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17775 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17777 * math/libm-test.inc ("Philosophy"): Update comment about
17779 (UNDERFLOW_EXCEPTION): New macro.
17780 (UNDERFLOW_EXCEPTION_OK): Likewise.
17781 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17782 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17783 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17784 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17785 (INVALID_EXCEPTION_OK): Update value.
17786 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17787 (OVERFLOW_EXCEPTION_OK): Likewise.
17788 (IGNORE_ZERO_INF_SIGN): Likewise.
17789 (test_exceptions): Handle underflow exceptions.
17790 (acos_test): Update for underflow exception expectations.
17791 (cexp_test): Likewise.
17792 (clog_test): Likewise.
17793 (clog10_test): Likewise.
17794 (csqrt_test): Likewise.
17795 (ctan_test): Likewise.
17796 (ctanh_test): Likewise.
17797 (exp_test): Likewise.
17798 (exp10_test): Likewise.
17799 (exp2_test): Likewise.
17800 (expm1_test): Likewise.
17801 (fma_test): Likewise.
17802 (j0_test): Likewise.
17803 (jn_test): Likewise.
17804 (nexttoward_test): Likewise.
17805 (pow_test): Likewise.
17806 (scalbn_test): Likewise.
17807 (scalbln_test): Likewise.
17808 (tan_test): Likewise.
17809 (y1_test): Likewise.
17810 * sysdeps/i386/fpu/libm-test-ulps: Update.
17811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17813 2012-05-23 David S. Miller <davem@davemloft.net>
17815 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17816 (__libc_sigaction): Remove unused local variables.
17818 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17820 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17822 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17824 mktime: avoid signed integer overflow
17825 * time/mktime.c (__mktime_internal): Do not mishandle the case
17826 where diff == INT_MIN.
17828 mktime: simplify computation of average
17829 * time/mktime.c (ranged_convert): Use new time_t_avg function
17830 instead of rolling our own (probably-slower) code.
17832 mktime: do not assume signed right shift propagates sign bit
17833 * time/mktime.c (isdst_differ): New static function.
17834 (__mktime_internal): No need to normalize tm_isdst now.
17835 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17838 mktime: merge another wrapv change from gnulib
17839 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17840 from some compilers.
17842 mktime: remove incorrect attempt at unusual arithmetics
17843 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17844 The code didn't really work on such machines anyway.
17845 (TYPE_MINIMUM): Assume two's complement.
17846 (twos_complement_arithmetic): Verify that long_int and time_t
17847 are two's complement (or unsigned, in the latter case).
17849 mktime: check signed shifts on long_int and time_t, too
17850 * time/mktime.c (SHR): Check that shifts work as desired
17851 on the types long_int and time_t too, as SHR is used on
17854 mktime: do not assume 'long' is wide enough
17855 * time/mktime.c (verify): Move decl up.
17856 (long_int): New type.
17857 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17858 to remove assumption in the code that 'long' is wide enough to
17859 store year values. This assumption is not true on x32 and on
17860 some non-glibc platforms.
17862 mktime: merge wrapv change from gnulib
17863 * time/mktime.c (WRAPV): New macro.
17864 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17865 (guess_time_tm, __mktime_internal): Do not assume that signed
17866 integer overflow wraps around; modern compilers generate code
17867 where this assumption is no longer valid.
17869 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17871 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17872 Replace "jmp L(pseudo_end)" with "ret".
17873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17876 2012-05-23 Andreas Jaeger <aj@suse.de>
17878 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17879 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17881 2012-05-23 Andreas Jaeger <aj@suse.de>
17882 Maximilian Attems <max@stro.at>
17884 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17887 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17889 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17890 code so that pseudo_end is just ret and the stack pointer is
17891 correct also for static library in error case.
17893 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17895 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17896 move to syscalls.list.
17897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17902 * manual/install.texi (Running make install): Do not mention Linux
17903 kernel version for which pt_chown is not needed.
17904 (Linux): Do not mention problems with nscd with 2.0 kernels.
17905 * INSTALL: Regenerated.
17907 2012-05-23 Andreas Jaeger <aj@suse.de>
17909 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17910 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17912 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17913 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17914 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17915 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17916 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17917 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17919 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17921 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17922 * sysdeps/unix/sysv/linux/bits/in.h
17923 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17925 2012-05-22 Roland McGrath <roland@hack.frob.com>
17927 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17928 (PREPARE_VERSION): Just use assert instead, it will be elided
17929 under [NDEBUG] anyway.
17931 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17933 * sysdeps/unix/sysv/linux/Makefile: Include
17934 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17935 (sysdep_routines): Remove sysctl.
17936 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17937 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17939 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17940 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17942 2012-05-22 Andreas Jaeger <aj@suse.de>
17944 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17945 that pseudo_end is just ret and the stack pointer is correct also
17946 for static library in error case.
17948 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17951 * nss/nsswitch.c (defconfig_entries): New variable.
17952 (__nss_database_lookup): Don't leak defconfig entries.
17953 (nss_parse_service_list): Don't leak on error paths.
17954 (free_database_entries): New function.
17955 (free_defconfig): New function.
17956 (free_mem): Move common code to free_database_entries.
17958 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17962 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17964 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17965 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17966 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17968 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17969 (INTERNAL_SYSCALL_TYPES): Likewise.
17970 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17971 (LOAD_REGS_TYPES_[1-6]): Likewise.
17972 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17973 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17975 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17977 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17978 copysignl for GLIBC_2_0.
17979 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17980 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17982 logbl for GLIBC_2_0.
17983 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17984 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17986 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17988 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17989 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17991 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17994 * time/mktime.c: Update copyright years.
17996 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17998 mktime: merge comment-quoting-style change from gnulib
17999 * time/mktime.c: Quote 'like this' in comments.
18000 The GNU coding standards suggest that we no longer quote `like this',
18001 as "`" and "'" are typically rendered asymmetrically nowadays.
18002 The typical gnulib style is to quote 'like this' when quoting
18003 code, and "like this" when quoting English.
18005 * time/mktime.c (compile-command): Add "-I.".
18007 mktime: merge mktime-internal.h change from gnulib
18008 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18010 mktime: merge time_r change from gnulib
18011 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18013 mktime: merge DEBUG change from gnulib
18014 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18015 case system <time.h> has a #define.
18017 mktime: merge <sys/types.h> change from gnulib
18018 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18019 since <time.t> is now guaranteed to define time_t.
18021 mktime: merge HAVE_CONFIG_H change from gnulib
18022 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18024 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18029 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18031 (struct rusage): Use anonymous union to pad each field to
18034 2012-05-21 David S. Miller <davem@davemloft.net>
18036 * Makefules (o-iterator): Remove .s cases.
18037 (compile-command.s): Delete.
18038 (COMPILE.s): Delete.
18039 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18041 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18043 * configure.in (libc_cv_predef_stack_protector): Only consider
18044 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18045 * configure: Regenerated.
18047 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18050 New macro. Use R*LP on int and pointer.
18051 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18052 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18053 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18054 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18056 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18057 [__WORDSIZE_TIME64_COMPAT32] instead of
18058 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18059 (struct utmp): Likewise.
18060 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18061 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18063 (__WORDSIZE_TIME64_COMPAT32): This.
18064 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18065 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18066 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18067 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18068 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18069 (__WORDSIZE_TIME64_COMPAT32): New macro.
18071 2012-05-21 Andreas Jaeger <aj@suse.de>
18073 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18074 only if [SHARED]. Add prototype for __wcschr_ia32.
18076 2012-05-21 Roland McGrath <roland@hack.frob.com>
18078 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18079 of %rbp unmolested in the jmp_buf while mangling the low bits.
18080 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18081 unmolested high bits of %rbp while demangling the low bits.
18082 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18084 2012-05-21 Andreas Jaeger <aj@suse.de>
18086 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18087 * sunrpc/svc_simple.c: Use it for registerrpc.
18088 * sunrpc/xcrypt.c: Use it for passwd2des.
18090 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18092 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18094 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18095 Don't define if [__SYSCALL_WORDSIZE != 32].
18096 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18099 2012-05-21 Bruno Haible <bruno@clisp.org>
18100 Andreas Jaeger <aj@suse.de>
18102 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18103 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18104 inptr and inend for must_buffer_ch.
18105 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18106 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18107 * stdio-common/Makefile (tests): Remove bug15.
18108 (bug15-ENV): Remove macro.
18109 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18112 2012-05-19 Andreas Jaeger <aj@suse.de>
18113 Roland McGrath <roland@hack.frob.com>
18115 * manual/contrib.texi: Completely rewritten. It contains now an
18116 alphabetical list of contributors and their contributions.
18118 2012-05-21 Richard Henderson <rth@twiddle.net>
18120 * misc/getauxval.c (__getauxval): Use unsigned long int.
18121 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18122 (getauxval): Use unsigned long int.
18124 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18126 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18128 2012-05-21 Roland McGrath <roland@hack.frob.com>
18130 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18131 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18132 __alignof__ (long double).
18134 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18138 2012-05-20 Richard Henderson <rth@twiddle.net>
18140 * misc/getauxval.c: New file.
18141 * misc/sys/auxv.h: New file.
18142 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18143 (routines): Add getauxval.
18144 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18145 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18146 * elf/dl-sysdep.c (_dl_auxv): Remove.
18147 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18148 * elf/dl-support.c (_dl_auxv): New variable.
18149 (_dl_aux_init): Initialize it.
18150 * manual/startup.texi (Auxiliary Vector): New node.
18151 * sysdeps/generic/bits/hwcap.h: New file.
18152 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18153 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18154 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18155 * sysdeps/sparc/sysdep.h: ... here. Include it.
18156 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18169 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18173 2012-05-19 David S. Miller <davem@davemloft.net>
18175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18177 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18180 * math/s_ccosh.c: Include <float.h>
18181 (__ccosh): Avoid internal overflow calculating sinh and cosh
18182 values before multiplying by sin and cos values.
18183 * math/s_ccoshf.c: Likewise.
18184 * math/s_ccoshl.c: Likewise.
18185 * math/s_csin.c: Likewise.
18186 * math/s_csinf.c: Likewise.
18187 * math/s_csinl.c: Likewise.
18188 * math/s_csinh.c: Likewise.
18189 * math/s_csinhf.c: Likewise.
18190 * math/s_csinhl.c: Likewise.
18191 * math/libm-test.inc (ccos_test): Add more tests.
18192 (ccosh_test): Likewise.
18193 (csin_test): Likewise.
18194 (csinh_test): Likewise.
18195 * sysdeps/i386/fpu/libm-test-ulps: Update.
18196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18198 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18200 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18201 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18203 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18205 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18207 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18208 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18209 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18210 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18211 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18212 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18213 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18214 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18215 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18216 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18217 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18218 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18219 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18220 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18221 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18222 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18223 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18224 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18225 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18226 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18227 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18228 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18229 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18230 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18231 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18232 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18233 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18234 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18235 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18236 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18237 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18239 2012-05-18 Andreas Jaeger <aj@suse.de>
18241 * csu/.gitignore: Delete.
18243 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18245 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18246 (timex): Use __syscall_slong_t.
18248 2012-05-18 Andreas Jaeger <aj@suse.de>
18249 Carlos O'Donell <carlos_odonell@mentor.com>
18251 * manual/install.texi (Configuring and compiling): Update
18252 description about files modified in the source directory.
18253 * INSTALL: Regenerated.
18255 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18257 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18258 value. Use "or" to set return value to -1.
18259 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18260 negate return value.
18262 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18264 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18265 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18266 failure if the compiler has Graphite support disabled.
18267 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18269 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18270 CFLAGS-memmove.c): Likewise.
18271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18274 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18276 * sysdeps/x86_64/x32/_itoa.h: New file.
18278 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18279 getdents system call only if kernel and user dirents have the
18280 same d_ino and d_off.
18282 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18283 LLONG_MAX != LONG_MAX.
18284 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18285 (_fitoa_word): Likewise.
18287 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18289 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18290 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18291 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18293 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18294 include <bits/wordsize.h>. Check __x86_64__ instead of
18296 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18297 if __x86_64__ is defined. Use anonymous union on fpstate.
18299 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18302 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18304 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18305 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18306 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18307 Refer to _rtld_local_ro instead of _rtld_global_ro.
18308 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18310 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18312 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18314 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18315 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18316 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18318 * sysdeps/powerpc/powerpc32/dl-machine.c
18319 (__elf_machine_runtime_setup) [PROF]: Don't reference
18322 2012-05-18 Andreas Jaeger <aj@suse.de>
18324 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18325 function only available for GCCs before 3.4 since GCC 3.4
18326 introduced a builtin.
18328 (llrintf): Likewise.
18329 (llrint): Likewise.
18336 (nearbyint): Likewise.
18337 (nearbyintf): Likewise.
18341 (floorf): Likewise.
18343 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18345 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18346 on both fields and cast pointer to __syscall_ulong_t.
18348 * bits/types.h (__fsword_t): New type.
18349 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18350 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18352 (__FSWORD_T_TYPE): Likewise.
18353 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18354 (__FSWORD_T_TYPE): Likewise.
18355 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18356 (__FSWORD_T_TYPE): Likewise.
18357 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18358 (__FSWORD_T_TYPE): Likewise.
18359 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18360 __SWORD_TYPE with __fsword_t.
18361 (statfs64): Likewise.
18363 2012-05-17 David S. Miller <davem@davemloft.net>
18365 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18367 2012-05-17 Andreas Jaeger <aj@suse.de>
18369 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18372 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18374 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18376 2012-05-17 Andreas Jaeger <aj@suse.de>
18378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18381 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18383 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18385 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18387 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18388 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18390 2012-05-17 Andreas Jaeger <aj@suse.de>
18391 Carlos O'Donell <carlos_odonell@mentor.com>
18394 * sysdeps/x86_64/multiarch/init-arch.h
18395 (bit_YMM_Usable): Rename to...
18396 (bit_AVX_Usable): ... this.
18397 (bit_FMA4_Usable): New macro.
18398 (bit_XMM_state): New macro.
18399 (bit_YMM_state): New macro.
18400 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18401 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18402 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18403 (CPUID_OSXSAVE): New macro.
18404 (CPUID_AVX): New macro.
18405 (CPUID_FMA4): New macro.
18406 (index_YMM_Usable): Rename to...
18407 (index_AVX_Usable): ... this.
18408 (HAS_AVX): Use HAS_ARCH_FEATURE.
18409 (HAS_FMA4): Likewise.
18410 (HAS_YMM_USABLE): Remove.
18411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18412 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18414 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18415 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18416 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18417 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18418 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18420 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18422 * math/libm-test.c: Support platforms without multiple rounding modes.
18423 * math/bug-nextafter.c: Support platforms without FP exceptions.
18424 * math/bug-nexttoward.c: Likewise.
18425 * math/test-fenv.c: Likewise.
18426 * math/test-misc.c: Likewise.
18427 * stdlib/bug-getcontext.c: Likewise.
18429 2012-05-17 Andreas Jaeger <aj@suse.de>
18431 * manual/examples/search.c (critter_cmp): Change signature to
18433 * manual/string.texi (Collation Functions): Likewise.
18435 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18437 * bits/types.h: Fold copyright years.
18438 * bits/typesizes.h: Likewise.
18439 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18441 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18442 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18443 * time/time.h: Likewise.
18445 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18448 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18449 in instead of returning them. Return void.
18450 (__libc_mallinfo): Accumulate over all arenas.
18451 (__malloc_stats): Adjust for change in int_mallinfo interface.
18453 2012-05-16 Roland McGrath <roland@hack.frob.com>
18456 * configure.in (NM): Add AC_CHECK_TOOL for it.
18457 (libc_extra_cflags): New substituted variable.
18458 Check for -fstack-protector being used implicitly.
18459 * configure: Regenerated.
18460 * config.make.in (config-extra-cflags): New variable,
18461 gets @libc_extra_cflags@.
18462 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18465 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18466 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18467 * configure: Regenerated.
18468 * config.make.in (CPPUNDEFS): New substituted variable.
18469 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18470 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18471 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18473 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18475 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18476 (mq_attr): Use __syscall_slong_t.
18478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18480 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18481 Check __x86_64__ instead of __WORDSIZE.
18482 (_STAT_VER_LINUX): Likewise.
18483 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18484 __syscall_ulong_t and __syscall_slong_t.
18485 (stat64): Likewise.
18487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18489 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18491 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18495 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18497 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18500 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18501 include <bits/wordsize.h>. Check __x86_64__ instead of
18503 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18505 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18508 include <bits/wordsize.h>. Check __x86_64__ instead of
18510 (user_regs_struct): Use "__extension__ unsigned long long"
18511 instead of "unsigned long" if __x86_64__ is defined.
18512 (user): Likewise. Pad after pointer field if __ILP32__ is
18515 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18517 * configure.in (makeinfo): Require version 4.5 or later. Allow
18519 * configure: Regenerated.
18520 * manual/install.texi (texinfo): Increase version requirement to
18522 * INSTALL: Regenerated.
18524 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18528 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18530 * sysdeps/x86_64/x32/ffs.c: New file.
18532 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18534 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18535 defined. Use __syscall_ulong_t.
18536 (shminfo): Use __syscall_ulong_t.
18537 (shm_info): Likewise.
18539 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18542 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18544 (msgqnum_t): Use __syscall_ulong_t.
18545 (msglen_t): Likewise.
18546 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18549 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18550 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18552 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18554 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18555 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18557 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18561 include <bits/wordsize.h>. Check __x86_64__ instead of
18564 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18565 "unsigned long long int" if __x86_64__ is defined.
18566 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18568 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18569 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18570 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18572 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18574 (GET_PC): Cast to uintptr_t first.
18575 (GET_FRAME): Likewise.
18576 (GET_STACK): Likewise.
18578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18579 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18580 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18582 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18585 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18586 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18587 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18588 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18591 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18592 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18594 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18595 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18599 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18600 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18604 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18608 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18610 * Makerules (+depfiles): Also collect depfiles from .oS in
18612 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18613 .oS, $(libnldbl-routines)).
18615 * Makerules (native-compile-mkdep-flags): Define.
18616 * sunrpc/Makefile (extra-objs): Add $(addprefix
18617 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18618 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18619 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18620 calling $(make-target-directory).
18622 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18624 * bits/types.h (__snseconds_t): Removed.
18625 * time/time.h (struct timespec): Replace __snseconds_t with
18627 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18628 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18631 (__SNSECONDS_T_TYPE): Likewise.
18632 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18633 (__SNSECONDS_T_TYPE): Likewise.
18634 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18635 (__SNSECONDS_T_TYPE): Likewise.
18637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18639 * sysdeps/mach/hurd/bits/typesizes.h
18640 (__SYSCALL_SLONG_TYPE): New macro.
18641 (__SYSCALL_ULONG_TYPE): Likewise.
18643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18645 * bits/types.h (__syscall_slong_t): New type.
18646 (__syscall_ulong_t): Likewise.
18648 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18649 (__SYSCALL_ULONG_TYPE): Likewise.
18650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18651 (__SYSCALL_SLONG_TYPE): Likewise.
18652 (__SYSCALL_ULONG_TYPE): Likewise.
18653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18654 (__SYSCALL_SLONG_TYPE): Likewise.
18655 (__SYSCALL_ULONG_TYPE): Likewise.
18656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18657 (__SYSCALL_SLONG_TYPE): Likewise.
18658 (__SYSCALL_ULONG_TYPE): Likewise.
18660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18662 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18663 Add sigaltstack-offsets.sym.
18664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18665 <sigaltstack-offsets.h>.
18666 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18667 longjmp_msg pointer.
18668 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18669 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18671 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18673 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18675 * elf/stackguard-macros.h: Remove file.
18676 * sysdeps/generic/stackguard-macros.h: New file.
18677 * sysdeps/i386/stackguard-macros.h: Likewise.
18678 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18679 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18680 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18681 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18682 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18683 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18684 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18685 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18686 <elf/stackguard-macros.h>.
18689 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18690 __aligned__ in attribute.
18691 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18692 (gregset_t): Likewise.
18694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18696 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18697 * sysdeps/x86_64/64/Implies-after: Here. New file.
18698 * sysdeps/x86_64/x32/Implies-after: New file.
18700 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18702 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18703 and access return value for _dl_profile_fixup. Use R10_LP to
18706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18708 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18712 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18713 * sysdeps/x86_64/x32/sysdep.h: New file.
18715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18717 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18718 * sysdeps/x86_64/setjmp.S: Likewise.
18720 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18723 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18724 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18725 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18726 remove unused global constant.
18728 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18730 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18731 include of <not-cancel.h>.
18733 2012-05-15 Roland McGrath <roland@hack.frob.com>
18735 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18737 2012-05-15 Jeff Law <law@redhat.com>
18738 Andreas Jaeger <aj@suse.de>
18741 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18743 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18744 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18745 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18746 code changing __hst_map_handle.map.
18748 2012-05-15 Roland McGrath <roland@hack.frob.com>
18750 * configure.in (sysnames): Look for Implies-before and Implies-after
18752 * configure: Regenerated.
18754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18757 8-byte data alignment with LP_SIZE alignment.
18759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18761 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18766 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18771 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18772 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18774 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18778 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18779 (stackinfo_sub_sp): Likewise.
18781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18783 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18793 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18798 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18802 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18803 into R11_LP and load __x86_64_shared_cache_size_half into
18806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18808 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18811 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18819 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18820 powerpc32/power7/fpu/s_logb.c via #include.
18821 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18822 powerpc32/power7/fpu/s_logbf.c via #include.
18823 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18824 powerpc32/power7/fpu/s_logbl.c via #include.
18826 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18828 * README.libm: Remove file.
18830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18832 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18833 count for x32. Use R*_LP and omit operand-size suffix.
18835 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18837 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18838 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18839 * sysdeps/x86_64/x32/shlib-versions: New file.
18841 2012-05-14 Roland McGrath <roland@hack.frob.com>
18843 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18844 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18845 Use _dl_fatal_printf instead.
18847 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18849 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18850 set if not set by the user. Do not allow for being unset.
18851 * sysdeps/unix/sysv/linux/configure: Regenerated.
18853 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18855 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18856 the `q' suffix from lea and replace .quad with ASM_ADDR.
18858 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18861 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18863 (PTR_DEMANGLE): Likewise.
18865 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18867 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18869 (ASM_ADDR): Likewise.
18870 (RAX_LP): Likewise.
18871 (RBP_LP): Likewise.
18872 (RBX_LP): Likewise.
18873 (RCX_LP): Likewise.
18874 (RDI_LP): Likewise.
18875 (RSI_LP): Likewise.
18876 (RSP_LP): Likewise.
18879 (R10_LP): Likewise.
18880 (R10_LP): Likewise.
18881 (R11_LP): Likewise.
18882 (R12_LP): Likewise.
18883 (R13_LP): Likewise.
18884 (R14_LP): Likewise.
18885 (R15_LP): Likewise.
18887 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18889 * sysdeps/x86_64/x32/dl-machine.h: New file.
18891 2012-05-14 Andreas Jaeger <aj@suse.de>
18893 * manual/Makefile (subdir): Remove export of subdir.
18894 (all): Remove target.
18895 (.PHONY): Remove all from list.
18896 (mkinstalldirs): Remove.
18897 (.PHONY): Remove installdirs from list.
18898 ($(inst_infodir)/libc.info): Use make-target-directory.
18899 (installdirs): Remove.
18900 (subdir_%): Remove.
18901 (glibc-targets): Remove.
18904 ($(objpfx)stubs ../po/manual.pot): Remove.
18905 ($(objpfx)stamp%): Remove.
18906 (make-target-directory): Remove.
18907 (subdir_install): Remove.
18908 (routines): Remove.
18915 * manual/.gitignore: Remove, it's not needed anymore.
18916 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18918 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18920 (texis): Renamed to $(objpfx)texis.
18921 (texis-path): New, contains path to generated files.
18922 (chapters.%): Use texis-path for complete path, add extra argument
18924 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18925 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18926 (summary,texi, stamp-summary): Use complete path of
18927 files. Generate files in build dir.
18928 (dir-add.texi): Build in build dir.
18929 (libm-err.texi,stamp-libm-err): Likewise.
18930 (version.texi, stamp-version): Likewise.
18931 (.%c.texi): Likewise.
18932 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18933 (mostlyclean): Remove target.
18934 (realclean): Remove target.
18935 (generated): Add new variable with contents from mostlyclean and
18936 realclean, remove entries duplicated in common-mostlyclean, add
18937 stamp-libm-err and stamp-version.
18938 (generated-dirs): Add libc directory.
18939 ($(inst_infodir)/libc.info): Install files from build dir.
18941 * manual/install.texi (Configuring and compiling): Adjust since
18942 the info files are not part of the tar ball anymore.
18944 2012-05-14 Andreas Jaeger <aj@suse.de>
18946 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18949 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18953 to 2.2.0 where earlier.
18954 * sysdeps/unix/sysv/linux/configure: Regenerated.
18955 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18956 Remove conditional code.
18957 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18958 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18959 Remove conditional code.
18960 [!__NR_lchown]: Likewise.
18961 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18962 [__NR_lchown]: Likewise.
18963 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18964 comment referencing __ASSUME_LCHOWN_SYSCALL.
18965 * sysdeps/unix/sysv/linux/i386/sigaction.c
18966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18968 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18969 Remove conditional code.
18970 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18971 (__protocol_available): Remove #if 0 code.
18972 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18974 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18975 * sysdeps/unix/sysv/linux/kernel-features.h
18976 (__ASSUME_GETCWD_SYSCALL): Don't define.
18977 (__ASSUME_REALTIME_SIGNALS): Likewise.
18978 (__ASSUME_PREAD_SYSCALL): Likewise.
18979 (__ASSUME_PWRITE_SYSCALL): Likewise.
18980 (__ASSUME_POLL_SYSCALL): Likewise.
18981 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18982 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18984 (__ASSUME_SIOCGIFNAME): Don't define.
18985 (__ASSUME_MSG_NOSIGNAL): Likewise.
18986 (__ASSUME_SENDFILE): Define unconditionally.
18987 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18988 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18990 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18992 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18993 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18994 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18995 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18996 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19021 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19022 Remove conditional code.
19023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19024 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19025 Remove conditional code.
19026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19027 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19028 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19029 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19030 Remove conditional code.
19031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19032 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19033 Remove conditional code.
19034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19035 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19036 Remove conditional code.
19037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19038 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19039 Remove conditional code.
19040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19041 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19042 Remove conditional code.
19043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19044 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19045 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19047 * sysdeps/unix/sysv/linux/sigaction.c
19048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19050 * sysdeps/unix/sysv/linux/sigpending.c
19051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19053 * sysdeps/unix/sysv/linux/sigprocmask.c
19054 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19055 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19056 * sysdeps/unix/sysv/linux/sigsuspend.c
19057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19059 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19060 (__libc_missing_rt_sigs): Remove.
19061 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19062 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19063 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19064 Remove conditional code.
19065 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19066 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19068 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19069 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19071 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19073 2012-05-14 Andreas Jaeger <aj@suse.de>
19075 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19076 it's not used in glibc.
19077 (__coshm1): Likewise.
19078 (__acosh1p): Likewise.
19081 * manual/string.texi (Copying and Concatenation): Add missing
19082 variable in concat example.
19083 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19085 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19089 __builtin_clzl with __builtin_clzll.
19091 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19094 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19097 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19099 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19100 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19101 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19102 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19104 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19106 * NEWS: Update ia64 info.
19108 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19110 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19113 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19115 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19116 * sysdeps/unix/syscalls.list (dup3): Likewise.
19117 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19118 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19120 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19122 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19123 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19125 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19127 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19129 (TLS_IE): Use mov/add instead of movq/addq to load thread
19131 (TLS_GD_PREFIX): New.
19134 2012-05-11 David S. Miller <davem@davemloft.net>
19136 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19137 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19138 (_FPU_SETCW): Likewise.
19140 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19142 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19143 is 32-byte aligned.
19145 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19148 * iconvdata/gb18030.c: Update tables.
19149 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19150 characters specially.
19151 (BODY for TO_LOOP): Add encoding of missing ranges.
19153 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19156 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19157 * sysdeps/mach/hurd/dup3.c: Likewise.
19158 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19159 * sysdeps/powerpc/memmove.c:: Likewise.
19161 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19164 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19166 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19168 * elf/elf.h (R_X86_64_RELATIVE64): New.
19169 (R_X86_64_NUM): Updated.
19170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19171 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19172 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19173 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19174 tst-quad1pie tst-quad2pie
19175 (modules-names): Add tst-quadmod1 tst-quadmod2.
19176 ($(objpfx)tst-quad1): New dependency.
19177 ($(objpfx)tst-quad2): Likewise.
19178 ($(objpfx)tst-quad1pie): Likewise.
19179 ($(objpfx)tst-quad2pie): Likewise.
19180 * sysdeps/x86_64/tst-quad1.c: New file.
19181 * sysdeps/x86_64/tst-quad1pie.c: New file.
19182 * sysdeps/x86_64/tst-quad2.c: Likewise.
19183 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19184 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19185 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19186 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19187 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19189 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19191 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19192 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19193 * streams/stropts.h (t_scalar_t): Define type.
19195 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19196 (_PATH_PRESERVE): Set to "/var/lib".
19197 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19199 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19202 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19203 if __dir_mkfile succeeded.
19205 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19206 checking for _hurd_dtablesize. Unlock it right after having
19207 finished _hurd_dtable allocation.
19209 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19211 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19212 * sysdeps/mach/hurd/configure: Regenerated.
19213 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19214 special-casing to...
19215 * sysdeps/gnu/configure.in: ... this new file.
19216 * sysdeps/unix/sysv/linux/configure: Regenerated.
19217 * sysdeps/gnu/configure: New generated file.
19219 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19220 for Linux: use nsec instead of usec, as well as:
19221 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19222 members of type struct timespec.
19223 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19225 (struct stat64): Likewise.
19226 (_STATBUF_ST_NSEC): New macro.
19227 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19229 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19230 __strtoul_internal rather than strtoul.
19232 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19234 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19239 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19240 which preserves existing values.
19241 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19243 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19245 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19246 TIMEOUT values. Return EINVAL for NFDS values either negative or
19247 greater than FD_SETSIZE.
19249 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19251 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19252 allocated, call __vm_protect to finish enabling the existing space, and
19253 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19254 allocate the remainder.
19256 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19258 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19259 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19263 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19264 sysdeps/mach/hurd/readlink.c.
19266 * posix/tst-sysconf.c (posix_options): Only use
19267 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19268 _POSIX_SYNCHRONIZED_IO when they are defined
19269 * sysdeps/mach/hurd/bits/posix_opt.h:
19270 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19271 (_XOPEN_REALTIME): Undefine macro.
19272 (_XOPEN_REALTIME_THREADS): Undefine macro.
19273 (_XOPEN_SHM): Undefine macro.
19274 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19276 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19278 (_POSIX_ASYNC_IO): Undefine macro.
19279 (_POSIX_PRIORITIZED_IO): Undefine macro.
19280 (_POSIX_SPIN_LOCKS): Define macro to -1.
19282 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19283 SA_NODEFER, SA_RESETHAND.
19284 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19285 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19288 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19290 * elf/Makefile (pldd-modules): Define unconditionally.
19292 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19294 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19298 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19299 Return ENOENT when name is empty.
19300 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19302 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19304 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19306 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19308 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19310 Fix mlock in all cases except non-readable pages.
19311 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19312 instead of VM_PROT_ALL as parameter to __vm_wire function.
19314 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19315 (__mkdir): When path is `/', just fail with EEXIST.
19316 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19320 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19321 <sys/uio.h> (for writev).
19322 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19323 and <sys/param.h> (for MIN).
19325 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19327 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19328 REQUESTED_TIME. Properly set the remaining time and return EINTR
19331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19333 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19334 Depend on against $(link-rpcuserlibs).
19336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19338 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19339 (__libc_stack_end): Do not use attribute_relro.
19340 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19341 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19342 to libthread-provided value.
19343 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19349 * bits/libc-lock.h (__libc_once_get): New macro.
19350 * sysdeps/mach/bits/libc-lock.h: Likewise.
19351 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19353 instead of using implementation details.
19355 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19356 * libio/freopen.c: Likewise.
19357 * libio/freopen64.c: Likewise.
19358 * misc/syslog.c: Likewise.
19359 * nscd/connections.c: Likewise.
19360 * nscd/netgroupcache.c: Likewise.
19361 * sysdeps/posix/getcwd.c: Likewise.
19363 2012-05-10 Roland McGrath <roland@hack.frob.com>
19365 * math/w_ilogbf.c: Add #include <limits.h>.
19367 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19369 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19370 path instead of returning without unlocking.
19372 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19373 immediate-write ioctls.
19374 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19376 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19378 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19379 __builtin_frame_address instead of making assumptions about the
19380 location of the return address relative to DATA. Force early load of
19381 the return address.
19382 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19383 __builtin_frame_address.
19386 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19387 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19388 implement dup3 and do some further code clean-ups.
19389 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19390 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19392 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19394 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19396 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19397 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19398 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19399 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19400 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19403 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19404 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19405 when handler == SIG_ERR, not when handler != SIG_ERR.
19407 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19409 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19410 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19413 accept4 for GNU Hurd.
19414 * include/sys/socket.h (__libc_accept4): New prototype.
19415 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19416 to implement __libc_accept4.
19417 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19419 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19421 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19422 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19423 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19424 signal-defines.sym.
19426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19428 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19432 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19433 assertion on O_CLOEXEC flag.
19434 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19435 * hurd/intern-fd.c: Likewise.
19436 * hurd/port2fd.c: Likewise.
19438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19441 * bits/in.h (IPV6_PKTINFO): Define new macro.
19442 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19444 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19449 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19451 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19452 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19454 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19455 * math/libm-test.inc (logb_test) : Additional logb tests.
19457 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19458 Andreas Jaeger <aj@suse.de>
19460 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19461 * configure: Regenerated.
19462 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19463 * config.make.in (link-obsolete-rpc): New substituted variable.
19464 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19465 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19466 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19467 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19468 so that libc.a contains the symbols.
19469 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19470 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19471 * sunrpc/auth_none.c: Likewise.
19472 * sunrpc/auth_unix.c: Likewise.
19473 * sunrpc/authdes_prot.c: Likewise.
19474 * sunrpc/authuxprot.c: Likewise.
19475 * sunrpc/clnt_gen.c: Likewise.
19476 * sunrpc/clnt_perr.c: Likewise.
19477 * sunrpc/clnt_raw.c: Likewise.
19478 * sunrpc/clnt_simp.c: Likewise.
19479 * sunrpc/clnt_tcp.c: Likewise.
19480 * sunrpc/clnt_udp.c: Likewise.
19481 * sunrpc/clnt_unix.c: Likewise.
19482 * sunrpc/des_crypt.c: Likewise.
19483 * sunrpc/des_soft.c: Likewise.
19484 * sunrpc/get_myaddr.c: Likewise.
19485 * sunrpc/key_call.c: Likewise.
19486 * sunrpc/key_prot.c: Likewise.
19487 * sunrpc/netname.c: Likewise.
19488 * sunrpc/pm_getmaps.c: Likewise.
19489 * sunrpc/pm_getport.c: Likewise.
19490 * sunrpc/pmap_clnt.c: Likewise.
19491 * sunrpc/pmap_prot.c: Likewise.
19492 * sunrpc/pmap_prot2.c: Likewise.
19493 * sunrpc/pmap_rmt.c: Likewise.
19494 * sunrpc/publickey.c: Likewise.
19495 * sunrpc/rpc_cmsg.c: Likewise.
19496 * sunrpc/rpc_common.c: Likewise.
19497 * sunrpc/rpc_dtable.c: Likewise.
19498 * sunrpc/rpc_prot.c: Likewise.
19499 * sunrpc/rpc_thread.c: Likewise.
19500 * sunrpc/rtime.c: Likewise.
19501 * sunrpc/svc.c: Likewise.
19502 * sunrpc/svc_auth.c: Likewise.
19503 * sunrpc/svc_raw.c: Likewise.
19504 * sunrpc/svc_run.c: Likewise.
19505 * sunrpc/svc_tcp.c: Likewise.
19506 * sunrpc/svc_udp.c: Likewise.
19507 * sunrpc/svc_unix.c: Likewise.
19508 * sunrpc/svcauth_des.c: Likewise.
19509 * sunrpc/xcrypt.c: Likewise.
19510 * sunrpc/xdr.c: Likewise.
19511 * sunrpc/xdr_array.c: Likewise.
19512 * sunrpc/xdr_float.c: Likewise.
19513 * sunrpc/xdr_intXX_t.c: Likewise.
19514 * sunrpc/xdr_mem.c: Likewise.
19515 * sunrpc/xdr_rec.c: Likewise.
19516 * sunrpc/xdr_ref.c: Likewise.
19517 * sunrpc/xdr_sizeof.c: Likewise.
19518 * sunrpc/xdr_stdio.c: Likewise.
19520 2012-05-10 Roland McGrath <roland@hack.frob.com>
19522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19523 change. Update copyright years.
19525 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19527 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19529 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19530 Joseph Myers <joseph@codesourcery.com>
19531 Paul Pluzhnikov <ppluzhnikov@google.com>
19534 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19536 [cross-compiling] (extra-libs): Likewise.
19537 [cross-compiling] (extra-libs-others): Likewise.
19538 [cross-compiling] (librpcsvc-routines): Likewise.
19539 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19540 [cross-compiling] (omit-deps): Likewise.
19541 (sunrpc-CPPFLAGS): New variable.
19542 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19543 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19544 (cross-rpcgen-objs): New variable.
19545 (extra-objs): Append $(cross-rpcgen-objs).
19546 ($(cross-rpcgen-objs)): New rule.
19547 ($(objpfx)cross-rpcgen): Likewise.
19548 (rpcgen-cmd): Define to use $(built-program-file). Expand
19550 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19551 ($(objpfx)x%.stmp): Likewise.
19552 * sunrpc/proto.h [IS_IN_build] (_): Define.
19553 [IS_IN_build] (_libc_intl_domainname): Likewise.
19555 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19557 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19558 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19559 and R_X86_64_TPOFF64.
19561 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19563 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19564 sysdeps/unix/sysv/syscalls.list.
19567 * sysdeps/unix/sysv/syscalls.list: Remove file.
19569 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19572 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19573 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19574 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19575 (__LC_IDENTIFICATION): Make these macros useful in #if
19576 expressions, as required by C99.
19578 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19580 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19581 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19584 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19586 * stdlib/longlong.h: Updated from GCC.
19588 2012-05-09 Andreas Jaeger <aj@suse.de>
19590 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19591 default is first entry.
19592 (run_mode): Set type.
19593 (main): Remove informal message about syslog.
19594 (options): Fix typo.
19597 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19600 (llrintf): Likewise.
19601 (llrint): Likewise.
19604 (nearbyint): Likewise.
19605 (nearbyintf): Likewise.
19607 2012-05-09 Andreas Jaeger <aj@suse.de>
19608 Pedro Alves <palves@redhat.com>
19610 * nscd/nscd.c (run_mode): Use enum.
19611 (main): Cleanup coding style issue.
19613 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19614 Andreas Jaeger <aj@suse.de>
19616 * nscd/nscd.c (go_background): Replaced with...
19617 (run_mode): ... this.
19618 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19619 (options): Add -F --foreground.
19620 (main): Implement it.
19621 (parse_opt): Parse it.
19623 2012-05-09 Andreas Jaeger <aj@suse.de>
19626 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19627 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19628 -Wconversion warning.
19629 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19632 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19634 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19636 (LC_ALL): Use macro-int-constant.
19637 (LC_COLLATE): Likewise.
19638 (LC_CTYPE): Likewise.
19639 (LC_MESSAGES): Likewise.
19640 (LC_MONETARY): Likewise.
19641 (LC_NUMERIC): Likewise.
19642 (LC_TIME): Likewise.
19643 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19644 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19646 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19648 [C99-based standards] (float_t): Expect type.
19649 [C99-based standards] (double_t): Expect type.
19650 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19652 [C99-based standards] (HUGE_VALL): Likewise.
19653 [C99-based standards] (INFINITY): Likewise.
19654 [C99-based standards] (NAN): Likewise.
19655 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19656 [C99-based standards] (FP_NAN): Likewise.
19657 [C99-based standards] (FP_NORMAL): Likewise.
19658 [C99-based standards] (FP_SUBNORMAL): Likewise.
19659 [C99-based standards] (FP_ZERO): Likewise.
19660 [C99-based standards] (FP_FAST_FMA): Use
19661 optional-macro-int-constant. Specify type. Require == 1.
19662 [C99-based standards] (FP_FAST_FMAF): Likewise.
19663 [C99-based standards] (FP_FAST_FMAL): Likewise.
19664 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19665 [C99-based standards] (FP_ILOGBNAN): Likewise.
19666 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19668 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19669 [C99-based standards] (math_errhandling): Specify type.
19670 [ISO99 || ISO11] (signgam): Do not allow.
19671 [non-C99-based standards] (copysignf): Do not allow.
19672 [non-C99-based standards] (exp2f): Likewise.
19673 [non-C99-based standards] (log2f): Likewise.
19674 [non-C99-based standards] (modff): Allow.
19675 [non-C99-based standards] (erff): Do not allow.
19676 [non-C99-based standards] (erfcf): Likewise.
19677 [non-C99-based standards] (gammaf): Likewise.
19678 [non-C99-based standards] (hypotf): Likewise.
19679 [non-C99-based standards] (j0f): Likewise.
19680 [non-C99-based standards] (j1f): Likewise.
19681 [non-C99-based standards] (jnf): Likewise.
19682 [non-C99-based standards] (lgammaf): Likewise.
19683 [non-C99-based standards] (tgammaf): Likewise.
19684 [non-C99-based standards] (y0f): Likewise.
19685 [non-C99-based standards] (y1f): Likewise.
19686 [non-C99-based standards] (ynf): Likewise.
19687 [non-C99-based standards] (isnanf): Likewise.
19688 [non-C99-based standards] (acoshf): Likewise.
19689 [non-C99-based standards] (asinhf): Likewise.
19690 [non-C99-based standards] (atanhf): Likewise.
19691 [non-C99-based standards] (cbrtf): Likewise.
19692 [non-C99-based standards] (expm1f): Likewise.
19693 [non-C99-based standards] (ilogbf): Likewise.
19694 [non-C99-based standards] (log1pf): Likewise.
19695 [non-C99-based standards] (logbf): Likewise.
19696 [non-C99-based standards] (nextafterf): Likewise.
19697 [non-C99-based standards] (remainderf): Likewise.
19698 [non-C99-based standards] (rintf): Likewise.
19699 [non-C99-based standards] (scalbf): Likewise.
19700 [non-C99-based standards] (copysignl): Likewise.
19701 [non-C99-based standards] (exp2l): Likewise.
19702 [non-C99-based standards] (log2l): Likewise.
19703 [non-C99-based standards] (modfl): Allow.
19704 [non-C99-based standards] (erfl): Do not allow.
19705 [non-C99-based standards] (erfcl): Likewise.
19706 [non-C99-based standards] (gammal): Likewise.
19707 [non-C99-based standards] (hypotl): Likewise.
19708 [non-C99-based standards] (j0l): Likewise.
19709 [non-C99-based standards] (j1l): Likewise.
19710 [non-C99-based standards] (jnl): Likewise.
19711 [non-C99-based standards] (lgammal): Likewise.
19712 [non-C99-based standards] (tgammal): Likewise.
19713 [non-C99-based standards] (y0l): Likewise.
19714 [non-C99-based standards] (y1l): Likewise.
19715 [non-C99-based standards] (ynl): Likewise.
19716 [non-C99-based standards] (isnanl): Likewise.
19717 [non-C99-based standards] (acoshl): Likewise.
19718 [non-C99-based standards] (asinhl): Likewise.
19719 [non-C99-based standards] (atanhl): Likewise.
19720 [non-C99-based standards] (cbrtl): Likewise.
19721 [non-C99-based standards] (expm1l): Likewise.
19722 [non-C99-based standards] (ilogbl): Likewise.
19723 [non-C99-based standards] (log1pl): Likewise.
19724 [non-C99-based standards] (logbl): Likewise.
19725 [non-C99-based standards] (nextafterl): Likewise.
19726 [non-C99-based standards] (remainderl): Likewise.
19727 [non-C99-based standards] (rintl): Likewise.
19728 [non-C99-based standards] (scalbl): Likewise.
19729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19730 [non-C99-based standards] (FP_*): Do not allow.
19731 [C99-based standards] (FP_*): Change to
19732 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19733 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19735 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19736 (SIG_ERR): Likewise.
19737 [X/Open-based standards] (SIG_HOLD): Likewise.
19738 (SIG_IGN): Likewise.
19739 (SIGABRT): Use macro-int-constant. Specify type. Require
19741 (SIGFPE): Likewise.
19742 (SIGILL): Likewise.
19743 (SIGINT): Likewise.
19744 (SIGSEGV): Likewise.
19745 (SIGTER): Likewise.
19746 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19747 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19748 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19749 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19750 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19751 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19752 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19753 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19754 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19755 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19756 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19757 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19758 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19759 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19760 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19761 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19762 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19763 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19764 [X/Open-based standards] (SIGTRAP): Likewise.
19765 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19766 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19767 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19768 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19769 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19772 2012-05-08 Ian Wienand <ianw@vmware.com>
19775 * time/tzset.c (__tzset_parse_tz): Update default rules for
19776 daylight time changes in the Energy Policy Act of 2005.
19778 2012-05-09 Andreas Jaeger <aj@suse.de>
19781 * elf/ldconfig.c (parse_conf): Change string to make clear that
19782 ldconfig only issued a warning if ld.so.conf does not exist.
19784 2012-05-08 David S. Miller <davem@davemloft.net>
19786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19787 movxtod instead of popping the value on the stack.
19789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19791 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19793 * config.h.in: Add HAVE_ARM_PCS_VFP.
19795 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19798 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19799 checking but the checks are disabled for any reason.
19801 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19803 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19804 and ELF64_R_TYPE with ELFW(R_TYPE).
19806 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19808 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19809 (ulimit): Likewise.
19811 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19812 (settimeofday): Likewise.
19814 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19816 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19817 a struct th_u2 inside the union, and move tu_block/tu_code into
19818 a new th_u3 union of tu_block/tu_code inside of that. Move
19819 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19820 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19821 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19822 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19823 (th_stuff): Change to th_u1.tu_stuff.
19825 (th_msg): Change to th_u1.th_u2.tu_data.
19827 2012-05-07 David S. Miller <davem@davemloft.net>
19829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19832 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19833 (SETUP_PIC_REG): Use it.
19834 (SETUP_PIC_REG_LEAF): Use it.
19836 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19840 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19842 (EXPL_FINITE): Likewise.
19843 (FLDLOG): Likewise.
19844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19845 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19847 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19849 (EXPL_FINITE): Likewise.
19850 (FLDLOG): Likewise.
19851 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19852 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19854 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19855 test of -max_value argument for long double.
19856 * sysdeps/i386/fpu/libm-test-ulps: Update.
19857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19859 2012-05-06 David S. Miller <davem@davemloft.net>
19861 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19862 quad soft-float symbols whose references which are compiler
19864 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19866 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19870 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19872 (EXPL_FINITE): Likewise.
19873 (FLDLOG): Likewise.
19876 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19877 Adjust comments for base varying.
19878 (__expl_finite): Change alias to EXPL_FINITE.
19879 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19881 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19882 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19883 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19884 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19885 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19887 (EXPL_FINITE): Likewise.
19888 (FLDLOG): Likewise.
19891 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19892 Adjust comments for base varying.
19893 (__expl_finite): Change alias to EXPL_FINITE.
19894 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19899 * math/libm-test.inc (check_float_internal): Correct ulp
19900 calculation for subnormal expected results.
19902 2012-05-06 Andreas Jaeger <aj@suse.de>
19904 * Makeconfig (+math-flags): New, set to -frounding-math.
19905 (+cflags): Add +math-flags so that all of glibc gets compiled with
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19910 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19912 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19918 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19919 (__ieee754_expl): Allow for and saturate large arguments.
19920 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19921 (u_threshold): Likewise.
19922 (__exp): Call __ieee754_exp before checking for overflow and
19924 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19925 (u_threshold): Likewise.
19926 (__expf): Call __ieee754_expf before checking for overflow and
19928 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19929 (u_threshold): Likewise.
19930 (__expl): Call __ieee754_expl before checking for overflow and
19932 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19933 (__ieee754_expl): Allow for and saturate large arguments.
19934 * math/libm-test.inc (exp_test): Add another test. Do not allow
19935 missing overflow exception on overflow.
19936 (expm1_test): Do not allow missing overflow exception on overflow.
19938 * sysdeps/i386/fpu/e_expl.c: Move to ...
19939 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19940 rather than using inline asm.
19941 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19942 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19943 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19945 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19948 (signal): Likewise.
19952 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19954 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19955 sysdeps/unix/common/syscalls.list.
19956 (fchmod): Likewise.
19957 (fchown): Likewise.
19958 (ftruncate): Likewise.
19959 (getrusage): Likewise.
19960 (gettimeofday): Likewise.
19961 (setpgid): Likewise.
19962 (setregid): Likewise.
19963 (setreuid): Likewise.
19964 (sigaction): Likewise.
19965 (truncate): Likewise.
19966 (vhangup): Likewise.
19967 * sysdeps/unix/common/syscalls.list: Remove file.
19968 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19969 * sysdeps/unix/sysv/linux/Implies: Likewise.
19971 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19973 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19975 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19979 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19982 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19985 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19988 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19991 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19994 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20001 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20005 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20008 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20012 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20016 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20018 * sysdeps/unix/common/bits/dirent.h: Remove file.
20019 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20021 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20022 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20023 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20024 * sysdeps/unix/bsd/isatty.c: Likewise.
20025 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20026 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20027 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20029 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20033 long double comparison inaccuracies.
20034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20037 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20039 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20040 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20042 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20045 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20046 nonzero digits before rounding a hex value.
20047 * stdlib/tst-strtod.c (tests): Add another test.
20049 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20051 * sysdeps/s390/fpu/libm-test-ulps: Update.
20053 2012-05-03 Andreas Jaeger <aj@suse.de>
20055 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20056 does not get optimized out.
20057 (malloc_opt_barrier): New.
20059 2012-05-03 Andreas Jaeger <aj@suse.de>
20060 Roland McGrath <roland@hack.frob.com>
20062 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20063 intermediate file deletion.
20064 (generated): Add .symlist files.
20066 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20069 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20070 Redirect under this condition.
20071 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20072 [__USE_GNU] (__dprintf_chk): Not under this condition.
20073 [__USE_GNU] (__vdprintf_chk): Likewise.
20074 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20075 under this condition.
20076 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20077 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20078 [__USE_XOPEN2K8] (vdprintf): Likewise.
20079 [__USE_GNU] (__dprintf_chk): Not under this condition.
20080 [__USE_GNU] (__vdprintf_chk): Likewise.
20081 [__USE_GNU] (dprintf): Likewise.
20082 [__USE_GNU] (vdprintf): Likewise.
20084 2012-05-03 Roland McGrath <roland@hack.frob.com>
20086 * elf/Makefile (common-generated): Set this instead of generated for
20087 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20088 $(all-built-dso)-derived lists.
20090 2012-05-03 Andreas Jaeger <aj@suse.de>
20092 * sysdeps/i386/fpu/libm-test-ulps: Update.
20095 * FAQ.in: Likewise.
20096 * scripts/gen-FAQ.pl: Likewise.
20097 * manual/install.texi (Installation): Point to online location of
20099 * Makefile (files-for-dist): Remove FAQ.
20102 2012-05-02 Allan McRae <allan@archlinux.org>
20104 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20105 (LDFLAGS-reldepmod5.so): Likewise.
20106 (LDFLAGS-reldep6mod1.so): Likewise.
20107 (LDFLAGS-reldep6mod4.so): Likewise.
20108 (LDFLAGS-reldep8mod3.so): Likewise.
20109 (LDFLAGS-unload4mod1.so): Likewise.
20110 (LDFLAGS-unload4mod2.so): Likewise.
20111 (LDFLAGS-tst-initorder): Likewise.
20112 (LDFLAGS-tst-initordera2.so): Likewise.
20113 (LDFLAGS-tst-initordera3.so): Likewise.
20114 (LDFLAGS-tst-initordera4.so): Likewise.
20115 (LDFLAGS-tst-initorderb2.so): Likewise.
20116 (LDFLAGS-noload): Likewise.
20117 (LDFLAGS-next): Likewise.
20118 (LDFLAGS-order2mod1.so): Likewise.
20119 (LDFLAGS-order2mod2.so): Likewise.
20120 (LDFLAGS-tst-initorder2): Likewise.
20121 (LDFLAGS-tst-initorder2a.so): Likewise.
20122 (LDFLAGS-tst-initorder2b.so): Likewise.
20123 (LDFLAGS-tst-initorder2c.so): Likewise.
20124 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20126 2012-05-02 David S. Miller <davem@davemloft.net>
20128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20130 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20133 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20135 2012-05-02 Andreas Jaeger <aj@suse.de>
20137 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20138 since we manipulate rounding mode.
20139 (CPPFLAGS-test-idouble.c): Likewise.
20140 (CPPFLAGS-test-ifloat.c): Likewise.
20141 (CFLAGS-test-ldouble.c): Likewise.
20142 (CFLAGS-test-double.c): Likewise.
20143 (CFLAGS-test-float.c): Likewise.
20144 (CFLAGS-test-misc.c): Likewise.
20145 (CFLAGS-test-test-fenv.c): Likewise.
20147 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20152 comparisons to determine direction to adjust input.
20154 2012-05-01 Roland McGrath <roland@hack.frob.com>
20156 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20157 output to the target.
20159 * scripts/localplt.awk: New file.
20160 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20161 (check-localplt-CFLAGS): Variable removed.
20162 ($(all-built-dso:=.jmprel)): New static pattern rule.
20163 (generated): Add those targets.
20164 (localplt-built-dso): New variable.
20165 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20167 * elf/check-localplt.c: File removed.
20169 * scripts/check-execstack.awk: New file.
20170 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20171 (check-execstack-CFLAGS): Variable removed.
20172 ($(objpfx)check-execstack.h): Target removed.
20173 ($(objpfx)execstack-default): New target.
20174 (generated): Add that instead of check-execstack.h.
20175 ($(all-built-dso:=.phdr)): New static pattern rule.
20176 (generated): Add those targets.
20177 * elf/check-execstack.c: File removed.
20179 * scripts/check-textrel.awk: New file.
20180 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20181 (check-textrel-CFLAGS): Variable removed.
20182 (all-built-dso): Use := to define.o
20183 ($(all-built-dso:=.dyn)): New static pattern rule.
20184 (generated): Add those targets.
20185 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20186 * config.make.in (READELF): New substituted variable.
20187 * elf/check-textrel.c: File removed.
20189 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20191 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20193 * conform/data/ctype.h-data [C99-based standards] (isblank):
20195 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20196 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20198 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20199 Specify type. Require positive value.
20200 (EILSEQ): Likewise.
20201 (ERANGE): Likewise.
20202 [ISO || POSIX] (EILSEQ): Do not expect.
20203 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20204 Specify type. Require positive value.
20205 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20206 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20207 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20208 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20209 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20210 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20211 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20212 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20213 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20214 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20215 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20216 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20217 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20218 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20219 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20220 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20221 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20222 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20223 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20224 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20225 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20226 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20227 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20228 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20253 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20279 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20280 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20281 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20283 (FLT_ROUNDS): Expect as macro, not constant.
20284 (FLT_MANT_DIG): Use macro-int-constant.
20285 (DBL_MANT_DIG): Likewise.
20286 (LDBL_MANT_DIG): Likewise.
20287 (FLT_DIG): Likewise.
20288 (DBL_DIG): Likewise.
20289 (LDBL_DIG): Likewise.
20290 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20291 (DBL_MIN_EXP): Likewise.
20292 (LDBL_MIN_EXP): Likewise.
20293 (FLT_MAX_EXP): Use macro-int-constant.
20294 (DBL_MAX_EXP): Likewise.
20295 (LDBL_MAX_EXP): Likewise.
20296 (FLT_MAX_10_EXP): Likewise.
20297 (DBL_MAX_10_EXP): Likewise.
20298 (LDBL_MAX_10_EXP): Likewise.
20299 (FLT_MAX): Use macro-constant.
20300 (DBL_MAX): Likewise.
20301 (LDBL_MAX): Likewise.
20302 (FLT_EPSILON): Use macro-constant. Give upper bound.
20303 (DBL_EPSILON): Likewise.
20304 (LDBL_EPSILON): Likewise.
20305 (FLT_MIN): Likewise.
20306 (DBL_MIN): Likewise.
20307 (LDBL_MIN): Likewise.
20308 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20309 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20310 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20311 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20312 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20313 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20314 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20315 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20316 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20317 [ISO11] (FLT_TRUE_MIN): Likewise.
20318 [ISO11] (LDBL_TRUE_MIN): Likewise.
20319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20320 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20321 (SCHAR_MIN): Use macro-int-constant. Specify type.
20322 (SCHAR_MAX): Likewise.
20323 (UCHAR_MAX): Likewise.
20324 (CHAR_MIN): Likewise.
20325 (CHAR_MAX): Likewise.
20326 (MB_LEN_MAX): Use macro-int-constant.
20327 (SHRT_MIN): Use macro-int-constant. Specify type.
20328 (SHRT_MAX): Likewise.
20329 (USHRT_MAX): Likewise.
20330 (INT_MAX): Likewise.
20331 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20333 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20335 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20337 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20338 bound negative. Suffix upper bound with "L".
20339 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20341 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20343 [C99-based standards] (LLONG_MAX): Likewise.
20344 [C99-based standards] (ULLONG_MAX): Likewise.
20345 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20347 [ISO11] (max_align_t): Require type.
20348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20350 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20351 from $CFLAGS, without defining away __attribute__ calls.
20352 (checknamespace): Use $CFLAGS_namespace.
20354 * conform/conformtest.pl (@keywords): Only include C99 keywords
20355 for standards based on C99 or C11.
20357 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20359 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20362 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20363 usability of symbols in #if.
20365 * conform/conformtest.pl: If macro or constant types start
20366 "promoted:", expect the symbol to be of the following type
20367 promoted by the integer promotions.
20369 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20370 in one place. Also handle "macro-constant".
20372 * conform/conformtest.pl: Only accept expected macro values with
20373 "==". Parse all "macro" lines in one place.
20374 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20376 * conform/conformtest.pl: Handle braced types on "constant" lines
20377 instead of handling "typed-constant".
20378 * conform/data/signal.h-data: Use "constant" instead of
20381 * conform/conformtest.pl: Handle "optional-" at start of lines in
20382 one place rather than duplicating several cases. Handle each
20383 format of "macro" line with initial "optional-".
20385 * conform/conformtest.pl: Only accept expected constant or
20386 optional-constant values with "==". Parse all "constant" lines in
20387 one place. Parse all "optional-constant" lines in one place.
20388 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20389 * conform/data/fmtmsg.h-data: Likewise.
20390 * conform/data/netinet/in.h-data: Likewise.
20391 * conform/data/tar.h-data: Likewise.
20392 * conform/data/limits.h-data: Use "==" form on "constant" and
20393 "optional-constant" lines.
20395 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20396 Use -std=c99 for XOPEN2K.
20397 (@knownproblems): Remove.
20398 (newtoken): Don't check %isknown.
20400 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20401 Do not expect macro.
20402 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20414 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20415 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20432 [XPG3] (acosh): Likewise.
20433 [XPG3] (asinh): Likewise.
20434 [XPG3] (atanh): Likewise.
20435 [XPG3] (cbrt): Likewise.
20436 [XPG3] (expm1): Likewise.
20437 [XPG3] (ilogb): Likewise.
20438 [XPG3] (log1p): Likewise.
20439 [XPG3] (logb): Likewise.
20440 [XPG3] (nextafter): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20443 [XPG3] (remainder): Likewise.
20444 [XPG3] (rint): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20452 [UNIX98 || XOPEN2K] (scalb): Expect.
20453 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20454 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20455 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20456 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20591 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20592 _XOPEN_SOURCE_EXTENDED for XPG4.
20594 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20596 * Makeconfig (localtime): Remove variable.
20597 (inst_localtime-file): Likewise.
20599 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20620 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20624 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20625 comparisons to determine direction to adjust input.
20626 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20627 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20630 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20632 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20637 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20639 * math/libm-test.inc (nexttoward_test): Add more tests.
20641 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20644 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20645 in version GLIBC_2.1, not GLIBC_2.0.
20646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20649 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20652 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20654 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20655 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20656 * math/libm-test.inc (acos_test): Add more tests.
20657 (asin_test): Likewise.
20658 * sysdeps/i386/fpu/libm-test-ulps: Update.
20659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20662 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20664 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20665 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20666 * math/libm-test.inc (acos_test_tonearest): New function.
20667 (acos_test_towardzero): Likewise.
20668 (acos_test_downward): Likewise.
20669 (acos_test_upward): Likewise.
20670 (asin_test_tonearest): Likewise.
20671 (asin_test_towardzero): Likewise.
20672 (asin_test_downward): Likewise.
20673 (asin_test_upward): Likewise.
20674 (main): Call the new functions.
20675 * sysdeps/i386/fpu/libm-test-ulps: Update.
20676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20680 * math/e_exp10.c: Include <float.h>.
20681 (__ieee754_exp10): Handle underflow here rather than multiplying
20682 large negative argument by M_LN10.
20683 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20685 * math/e_exp10l.c: Include <float.h>.
20686 (__ieee754_exp10l): Handle underflow here rather than multiplying
20687 large negative argument by M_LN10l.
20688 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20689 spurious overflow exception on underflow.
20691 2012-04-29 Marek Polacek <polacek@redhat.com>
20693 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20694 (__fortify_function): New macro.
20695 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20696 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20697 __extern_always_inline.
20698 * libio/bits/stdio2.h: Likewise.
20699 * libio/bits/stdio.h: Likewise.
20700 * string/string.h: Likewise.
20701 * string/bits/string3.h: Likewise.
20702 * include/stdio.h: Likewise.
20703 * stdlib/bits/stdlib.h: Likewise.
20704 * stdlib/stdlib.h: Likewise.
20705 * rt/bits/mqueue2.h: Likewise.
20706 * rt/mqueue.h: Likewise.
20707 * posix/bits/unistd.h: Likewise.
20708 * posix/unistd.h: Likewise.
20709 * io/bits/poll2.h: Likewise.
20710 * io/bits/fcntl2.h: Likewise.
20711 * io/fcntl.h: Likewise.
20712 * io/sys/poll.h: Likewise.
20713 * misc/bits/syslog.h: Likewise.
20714 * misc/bits/syslog-ldbl.h: Likewise.
20715 * misc/sys/syslog.h: Likewise.
20716 * socket/bits/socket2.h: Likewise.
20717 * socket/sys/socket.h: Likewise.
20718 * debug/tst-chk1.c: Likewise.
20719 * wcsmbs/bits/wchar2.h: Likewise.
20720 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20721 * wcsmbs/wchar.h: Likewise.
20723 2012-04-29 Andreas Jaeger <aj@suse.de>
20725 * Makerules (tests): Remove enable-check-abi protection.
20726 (check-abi-warn): Remove.
20727 (check-abi-%): Remove check-abi-warn usage.
20729 * configure.in: Remove check-abi configure option.
20730 * configure: Regenerated.
20731 * config.make.in (enable-check-abi): Remove.
20733 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20736 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20737 double functions to double *_finite functions.
20740 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20741 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20743 * stdio-common/Makefile (tests): Add tst-sprintf3.
20744 * stdio-common/tst-sprintf3.c: New file.
20746 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20747 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20749 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20751 * conform/conformtest.pl: Remove duplicate typed-constant
20754 2012-04-28 David S. Miller <davem@davemloft.net>
20756 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20757 (check-abi-%): Remove AWK script prerequisite and explicit
20759 (check-abi): Rewrite to just diff the symlist with the abilist.
20760 (config-tls, config-abi-config): Delete, no longer used.
20761 (update-abi-%): Remove AWK script and explicit abilist directory.
20762 (update-abi): Rewrite to simply compare and conditionally copy the
20763 symlist and the sysdep abilist file. Remove update-abi-config
20765 * abilist/ld.abilist: Remove.
20766 * abilist/libBrokenLocale.abilist: Remove.
20767 * abilist/libanl.abilist: Remove.
20768 * abilist/libcrypt.abilist: Remove.
20769 * abilist/libdl.abilist: Remove.
20770 * abilist/librt.abilist: Remove.
20771 * abilist/libthread_db.abilist: Remove.
20772 * abilist/libutil.abilist: Remove.
20773 * scripts/extract-abilist.awk: Remove.
20774 * scripts/merge-abilist.awk: Remove.
20775 * sysdeps/generic/libcidn.abilist: New file.
20776 * sysdeps/generic/libnss_compat.abilist: New file.
20777 * sysdeps/generic/libnss_db.abilist: New file.
20778 * sysdeps/generic/libnss_dns.abilist: New file.
20779 * sysdeps/generic/libnss_files.abilist: New file.
20780 * sysdeps/generic/libnss_hesiod.abilist: New file.
20781 * sysdeps/generic/libnss_nis.abilist: New file.
20782 * sysdeps/generic/libnss_nisplus.abilist: New file.
20783 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20784 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20785 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20788 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20789 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20790 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20791 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20792 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20793 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20794 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20795 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20797 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20798 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20799 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20800 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20802 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20803 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20804 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20805 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20806 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20809 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20810 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20811 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20813 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20916 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20917 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20918 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20921 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20922 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20923 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20924 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20925 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20926 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20928 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20929 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20981 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20983 * conform/conformtest.pl: Fix typo in handling typed-constant from
20986 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20988 * README: Cut down references to pre-2.6 Linux kernels and
20989 Linuxthreads. Update lists of configurations in libc and ports
20990 and sort alphabetically. Say "or newer" with Linux kernel version
20993 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20995 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20998 * math/libm-test.inc (logb_test_downward): New test to expose
20999 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21002 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21005 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21007 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21008 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21010 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21012 * sysdeps/unix/i386/brk.S: Remove file.
21013 * sysdeps/unix/i386/dl-brk.S: Likewise.
21014 * sysdeps/unix/i386/pipe.S: Likewise.
21015 * sysdeps/unix/i386/sigreturn.S: Likewise.
21016 * sysdeps/unix/i386/syscall.S: Likewise.
21017 * sysdeps/unix/i386/vfork.S: Likewise.
21018 * sysdeps/unix/i386/wait.S: Likewise.
21020 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21021 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21023 * configure.in (arm*-none*): Do not allow without
21024 --enable-hacker-mode.
21025 (netbsd*): Remove case setting base_os.
21026 (386bsd*): Likewise.
21027 (freebsd*): Likewise.
21030 (sunos*): Likewise.
21031 (ultrix*): Likewise.
21032 (newsos*): Likewise.
21033 (dynix*): Likewise.
21039 (minix*): Likewise.
21040 (irix4*): Likewise.
21041 (irix6*): Likewise.
21042 (solaris[2-9]*): Likewise.
21044 * configure: Regenerated.
21046 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21049 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21050 overflow or cancellation in calculating denominator.
21051 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21053 down expression to avoid unexpected rounding in newer GCCs.
21054 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21056 2012-04-26 David S. Miller <davem@davemloft.net>
21058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21059 long-double compat symbols.
21060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21074 2012-04-25 David S. Miller <davem@davemloft.net>
21076 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21077 HWCAP_* values only after the memory barriers have been defined.
21078 (atomic_full_barrier): Define.
21079 (atomic_read_barrier): Define.
21080 (atomic_write_barrier): Define.
21082 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * shlib-versions: Add libgcc_s version information.
21085 * sysdeps/generic/libgcc_s.h: Remove.
21086 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21088 * sysdeps/gnu/unwind-resume.c: Likewise.
21089 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21091 2012-04-25 David S. Miller <davem@davemloft.net>
21093 * sysdeps/unix/sparc/brk.S: Delete.
21094 * sysdeps/unix/sparc/dl-brk.S: Delete.
21095 * sysdeps/unix/sparc/pipe.S: Delete.
21096 * sysdeps/unix/sparc/sysdep.S: Delete.
21097 * sysdeps/unix/sparc/sysdep.h: Delete.
21098 * sysdeps/unix/sparc/vfork.S: Delete.
21099 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21100 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21102 ret_ERRVAL, r0, r1, MOVE): Define.
21103 (JUMPTARGET): Remove.
21104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21105 sysdeps/unix/sparc/sysdep.h
21106 (ENTRY, END): Remove.
21107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21109 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21111 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21112 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21115 * timezone/README: Update upstream location and email address for
21117 * timezone/zdump.c: Update from tzcode 2012b.
21118 * timezone/zic.c: Likewise.
21120 * configure.in (libc_cv_as_needed): Remove test.
21121 * configure: Regenerated.
21122 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21123 conditional definition.
21124 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21125 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21126 * config.make.in (have-as-needed): Remove variable.
21128 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21129 Paul Pluzhnikov <ppluzhnikov@google.com>
21131 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21134 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21136 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21137 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21138 * sysdeps/sh/strlen.S: Likewise.
21140 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21142 * sysdeps/unix/fork.S: Remove file.
21143 * sysdeps/unix/i386/fork.S: Likewise.
21144 * sysdeps/unix/sparc/fork.S: Likewise.
21146 * sysdeps/unix/system.c: Remove file.
21147 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21149 * sysdeps/unix/getegid.S: Remove file.
21150 * sysdeps/unix/geteuid.S: Likewise.
21152 2012-04-24 Roland McGrath <roland@hack.frob.com>
21154 * scripts/check-localplt.awk: New file.
21155 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21157 * scripts/data/localplt-generic.data: Add a comment.
21159 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21160 NODE when __dir_mkfile failed.
21161 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21162 Reported by Ludovic Courtès <ludo@gnu.org>.
21164 2012-04-24 Andreas Jaeger <aj@suse.de>
21166 * Makerules (common-clean): Also remove gen-as-const-headers
21169 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21171 * Makerules (native-compile): Do not change working directory for
21172 build. Use $(OUTPUT_OPTION) in command.
21173 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21175 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21178 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21179 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21180 * math/libm-test.inc (floor_test): Add more tests.
21181 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21183 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21185 * sysdeps/unix/getdents.c: Remove file.
21186 * sysdeps/unix/sysv/getdents.c: Likewise.
21187 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21189 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21190 sysdeps/unix/mman/syscalls.list.
21192 (mprotect): Likewise.
21194 (munmap): Likewise.
21195 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21196 * sysdeps/unix/mman/syscalls.list: Remove.
21197 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21199 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21200 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21201 * configure: Regenerated.
21202 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21203 $(libgcc_s_suffix).
21204 * config.make.in (libgcc_s_suffix): Remove variable.
21206 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21208 * sysdeps/unix/sysv/gethostname.c: Move to ...
21209 * sysdeps/posix/gethostname.c: ... here.
21211 * sysdeps/unix/execve.S: Remove file.
21213 * sysdeps/unix/_exit.S: Remove file.
21215 2012-04-23 Andreas Jaeger <aj@suse.de>
21218 * manual/Makefile: Remove make dist support, there's no
21219 need for a stand-alone documentation tar ball.
21220 (TEXI2DVI): Define always, it's not in Makeconfig.
21223 (edition): Removed.
21224 (glibc-doc-$(edition).tar): Removed
21228 (ETAGS): Remove, it's in Makeconfig.
21229 (move-if-change): Remove, it's in Makeconfig.
21231 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21234 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21235 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21236 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21237 (strtod_l, strtof_l, strtold_l): Remove __wur.
21238 It is not necessarily an error to ignore strtol's return value.
21239 One can reliably look at the stored endptr to decide whether
21240 the number had valid syntax.
21242 2012-04-21 Andreas Jaeger <aj@suse.de>
21245 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21247 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21249 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21250 * sysdeps/unix/sysv/Versions: Remove file.
21252 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21257 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21260 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21261 version from __vm86.
21263 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21265 * sysdeps/unix/common/lxstat.c: Remove file.
21266 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21268 * sysdeps/unix/sysv/Makefile: Remove file.
21270 * sysdeps/unix/sysv/direct.h: Remove file.
21272 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21273 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21274 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21275 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21276 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21277 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21278 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21280 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21282 * sysdeps/unix/xmknod.c: Remove file.
21283 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21285 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21287 * sysdeps/unix/sysv/i386/time.S: Remove file.
21289 * sysdeps/unix/fxstat.c: Remove file.
21290 * sysdeps/unix/xstat.c: Likewise.
21291 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21293 * sysdeps/unix/sysv/sigaction.c: Remove file.
21295 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21296 (sysdep_headers): Remove variable.
21297 [termio.h not in sysdep_headers] (generated): Likewise.
21298 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21299 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21300 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21301 * sysdeps/unix/sysv/tcflow.c: Likewise.
21302 * sysdeps/unix/sysv/tcflush.c: Likewise.
21303 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21304 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21305 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21306 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21307 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21309 * sysdeps/unix/siglist.c: Remove file.
21311 * sysdeps/unix/getppid.S: Remove file.
21313 * sysdeps/unix/mkdir.c: Remove file.
21314 * sysdeps/unix/rmdir.c: Likewise.
21316 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21318 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21321 errlist-compat value.
21323 2012-04-18 David S. Miller <davem@davemloft.net>
21325 * sysdeps/generic/memcopy.h (reg_char): Delete.
21326 * debug/strcat_chk.c: Use char, not reg_char.
21327 * debug/strcpy_chk.c: Likewise.
21328 * debug/strncat_chk.c: Likewise.
21329 * debug/strncpy_chk.c: Likewise.
21330 * string/memchr.c: Likewise.
21331 * string/memrchr.c: Likewise.
21332 * string/rawmemchr.c: Likewise.
21333 * string/strcat.c: Likewise.
21334 * string/strchr.c: Likewise.
21335 * string/strchrnul.c: Likewise.
21336 * string/strcmp.c: Likewise.
21337 * string/strcpy.c: Likewise.
21338 * string/strncat.c: Likewise.
21339 * string/strncmp.c: Likewise.
21340 * string/strncpy.c: Likewise.
21342 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21344 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21345 __builtin_memcopy is called when src and dest ranges are known to not
21348 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21351 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21352 fwd_align_merge macro call.
21353 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21354 bwd_align_merge macro call.
21355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21360 bwd_align_merge macros.
21361 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21362 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21363 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21365 2012-04-18 David S. Miller <davem@davemloft.net>
21367 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21369 2012-04-18 Andreas Jaeger <aj@suse.de>
21372 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21373 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21374 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21376 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21377 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21378 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21380 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21381 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21382 Adjust for changed ldbl-128 files.
21384 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21385 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21386 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21388 2012-04-17 David S. Miller <davem@davemloft.net>
21390 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21392 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21394 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21395 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21396 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21397 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21398 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21399 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21401 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21404 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21405 * math/libm-test.inc: Add ilogb errno and exception tests.
21406 * math/w_ilogb.c: New file: ilogb wrapper.
21407 * math/w_ilogbf.c: New file: ilogbf wrapper.
21408 * math/w_ilogbl.c: New file: ilogbl wrapper.
21409 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21410 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21411 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21412 exception being thrown with 0.0 as argument.
21413 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21414 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21415 exception being thrown with 0.0 as argument.
21416 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21417 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21418 exception being thrown with 0.0 as argument.
21419 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21420 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21421 exception being thrown with 0.0 as argument.
21422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21423 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21424 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21425 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21427 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21428 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21429 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21430 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21432 2012-04-17 Petr Baudis <pasky@ucw.cz>
21434 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21437 2012-04-16 Marek Polacek <polacek@redhat.com>
21439 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21441 2012-04-16 Marek Polacek <polacek@redhat.com>
21443 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21444 operands of fdivp instruction.
21446 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21448 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21449 * elf/tst-auditmod3b.c: Likewise.
21450 * elf/tst-auditmod4b.c: Likewise.
21451 * elf/tst-auditmod5b.c: Likewise.
21452 * elf/tst-auditmod6b.c: Likewise.
21453 * elf/tst-auditmod6c.c: Likewise.
21454 * elf/tst-auditmod7b.c: Likewise.
21455 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21456 * sysdeps/x86_64/preconfigure.in: Likewise.
21457 * sysdeps/x86_64/preconfigure: Regenerated.
21459 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21461 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21464 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21467 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21469 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21472 * locale/iso-639.def: Fix gl language name. Spotted by
21475 2012-04-12 Roland McGrath <roland@hack.frob.com>
21478 * libio/libio.h (__io_write_fn): Update comment.
21480 2012-04-12 Petr Baudis <pasky@ucw.cz>
21483 * stdio.texi (Hook Functions): The user provided writer function
21484 is not allowed to return -1.
21486 2012-04-11 David S. Miller <davem@davemloft.net>
21488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21490 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21492 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21493 Add a leading slash to rtkaio.
21495 2012-04-11 Jim Meyering <meyering@redhat.com>
21498 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21499 It is not necessarily an error to ignore fwrite's return
21500 value. One can reliably use ferror to test for errors after
21503 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21505 * bits/types.h (__snseconds_t): New type.
21506 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21508 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21510 (__SNSECONDS_T_TYPE): Likewise.
21511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21512 (__SNSECONDS_T_TYPE): Likewise.
21513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21514 (__SNSECONDS_T_TYPE): Likewise.
21516 2012-04-10 Andreas Jaeger <aj@suse.de>
21519 * manual/time.texi (Processor Time): Return type of times is
21520 elapsed real time since an arbitrary point in the past.
21521 (CPU Time): Move CLK_TCK from here...
21522 (Processor Time): ...to here. Correct description.
21523 * manual/conf.texi (Constants for Sysconf): Correct description of
21526 2012-04-10 David S. Miller <davem@davemloft.net>
21529 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21530 where the is a gap between DT_REL(A) and DT_JMPREL.
21532 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21534 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21535 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21536 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21538 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21540 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21541 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21542 (dl_main): Handle --inhibit-cache.
21543 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21545 * elf/dl-load.c (_dl_map_object): Use it.
21546 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21548 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21551 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21552 (__ieee754_powl): Saturate large exponents rather than testing for
21553 overflow of y*log2(x).
21554 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21555 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21559 * math/s_ctan.c: Include <float.h>.
21560 (__ctan): Avoid internal overflow or cancellation in calculating
21562 * math/s_ctanf.c: Likewise.
21563 * math/s_ctanl.c: Likewise.
21564 * math/s_ctanh.c: Likewise.
21565 * math/s_ctanhf.c: Likewise.
21566 * math/s_ctanhl.c: Likewise.
21567 * math/libm-test.inc (ctan_test): Add more tests.
21568 (ctanh_test): Likewise.
21569 * sysdeps/i386/fpu/libm-test-ulps: Update.
21570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572 2012-04-09 Andreas Jaeger <aj@suse.de>
21575 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21576 is an optional BSD extension.
21579 * manual/stdio.texi (Opening Streams): Document additional fopen
21582 2012-04-09 Roland McGrath <roland@hack.frob.com>
21584 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21585 %eax without telling the compiler.
21587 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21590 * manual/install.texi: Use sourceware.org.
21592 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21595 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21596 (__ieee754_pow): Generate overflow and underflow using huge*huge
21597 and tiny*tiny rather than just returning constant infinity or zero
21598 for large exponents.
21599 * math/libm-test.inc (pow_test): Require overflow exceptions for
21600 applicable cases of large exponents.
21603 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21604 (__ieee754_pow): Use iterative multiplication algorithm only for
21605 integer exponents with absolute value below 1024. Check for odd
21606 integer exponents when using algorithm for real exponents.
21607 * math/libm-test.inc (pow_test): Add more tests.
21608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21610 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21613 * math/libm-test.inc (exp_test): Do not allow overflow exception
21616 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21619 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21620 instead of __kernel_standard_f.
21622 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21624 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21625 * sysdeps/x86_64/memset_chk.S: Likewise.
21627 2012-04-08 Andreas Jaeger <aj@suse.de>
21630 * manual/startup.texi (Environment Access): Describe return value
21631 for putenv and setenv.
21634 * manual/filesys.texi (Directory Entries): Add description for
21638 * manual/filesys.texi (Directory Entries): Clarify that it's file
21639 system not operating system in the description of DT_UNKNOWN.
21642 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21644 2012-04-08 Stephen Compall <s11@member.fsf.org>
21647 * manual/llio.texi (Opening and Closing Files): Add cross
21648 reference to explain mode argument.
21650 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21652 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21653 * sysdeps/x86_64/memset_chk.S: Likewise.
21655 2012-04-07 David S. Miller <davem@davemloft.net>
21657 * elf/elf.h (R_SPARC_WDISP10): Define.
21658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21661 R_SPARC_SIZE64 and R_SPARC_H34.
21663 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21666 conditions and remove no longer applicable assertion.
21668 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21670 * bits/byteswap.h: Include <features.h>.
21671 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21672 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21674 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21676 * bits/byteswap.h (__bswap_16): Removed.
21677 Include <bits/byteswap-16.h> to get __bswap_16.
21678 * sysdeps/i386/bits/byteswap.h: Likewise.
21679 * sysdeps/s390/bits/byteswap.h: Likewise.
21680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21681 * bits/byteswap-16.h: New file.
21682 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21683 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21684 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21685 * string/Makefile (headers): Add bits/byteswap-16.h.
21687 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21690 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21692 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21693 * nss/tst-nss-static.c: New.
21695 2012-04-06 Robert Millan <rmh@gnu.org>
21698 * manual/llio.texi (File Position Primitive): lseek
21699 refers to WHENCE when it really means OFFSET.
21701 2012-04-06 Andreas Jaeger <aj@suse.de>
21703 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21704 strncmp declarations.
21706 * abilist/libc.abilist: Add __poll and __ppoll.
21708 2012-04-05 David S. Miller <davem@davemloft.net>
21710 * scripts/check-local-headers.sh: Accept a host triplet in the
21711 path matched by the exclude regexp.
21713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21715 * sysdeps/powerpc/powerpc32/dl-machine.h
21716 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21717 * sysdeps/s390/s390-32/dl-machine.h
21718 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21719 * sysdeps/sparc/sparc32/dl-machine.h
21720 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21721 * sysdeps/sparc/sparc64/dl-machine.h
21722 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21724 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21726 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21727 undefined symbol errors.
21729 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21732 2012-04-05 Michael Matz <matz@suse.de>
21735 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21737 2012-04-05 Andreas Jaeger <aj@suse.de>
21740 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21743 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21745 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21746 which ROUND is no valid rounding mode.
21748 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21750 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21752 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21754 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21756 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21757 an exception using FPU order intentionally.
21759 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21761 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21762 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21763 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21764 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21766 2012-04-05 Simon Josefsson <simon@josefsson.org>
21769 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21770 EINVAL when BUFLEN is too smal.
21772 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21775 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21776 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21778 2012-04-03 Andreas Jaeger <aj@suse.de>
21781 * manual/setjmp.texi (System V contexts): Fix sentence.
21784 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21785 New macro for this case.
21786 [!__GNUC__] (__bswap_64): New inline function for this case.
21787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21788 * bits/byteswap.h: Likewise.
21789 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21790 ull, guard with __GLIBC_HAVE_LONG_LONG.
21792 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21793 __GLIBC_HAVE_LONG_LONG.
21795 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21796 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21798 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21801 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21802 inptr and inend, rather than using last_ch.
21804 2012-04-02 David S. Miller <davem@davemloft.net>
21806 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21807 * stdio-common/printf-parse.h (read_int): Change return type to
21808 'int', return -1 on INT_MAX overflow.
21809 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21810 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21811 overflows INT_MAX. Check for overflow of in-format-string precision
21812 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21813 SIZE_MAX not INT_MAX for integer overflow test.
21814 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21815 skip the construct in the format string but do not record anything.
21816 * stdio-common/bug22.c: Adjust to test both width/prevision
21817 INT_MAX overflow as well as total length INT_MAX overflow. Check
21818 explicitly for proper errno values.
21820 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21822 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21824 * string/test-strcmp.c [! WIDE]: Likewise.
21825 * time/tst-mktime2.c: Likewise for INT_MAX.
21826 * string/test-string.h: #include <sys/param.h> for MIN.
21828 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21829 * sysdeps/i386/init-first.c (init): Likewise.
21830 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21831 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21832 * sysdeps/sh/init-first.c (init): Likewise.
21834 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21836 * po/ru.po: Update from translation team.
21837 * po/vi.po: Likewise.
21839 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21841 * resolv/nss_dns/dns-host.c: Merge copyright years.
21843 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21845 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21846 Optimize memcpy with prefetch if
21847 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21848 src, dst pointers have unequal 16 byte alignments.
21850 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21853 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21854 from a CNAME entry and return the minimum ttl for the query.
21855 (gaih_getanswer_slice): Likewise.
21857 2012-03-30 Jeff Law <law@redhat.com>
21859 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21861 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21862 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21864 * resolv/nss_dns/dns-host.c: Update copyright year.
21866 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21868 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21869 requests to save a system call. Fix check that all bytes are sent.
21871 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21872 comments for sendmmsg.
21874 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21877 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21878 with only 1 character between 0x0041 and 0x01b0.
21879 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21880 * wcsmbs/tst-mbsnrtowcs.c: New file.
21882 2012-03-29 David S. Miller <davem@davemloft.net>
21884 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21885 small copies by hand.
21887 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21890 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21891 _nss_compat_initgroups_dyn): Fall back to malloc/free
21892 for large group memberships.
21894 2012-03-28 David S. Miller <davem@davemloft.net>
21896 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21897 that branches into memcpy.
21898 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21901 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21904 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21905 implementation too.
21906 * sysdeps/sparc/mempcpy.S: New file.
21908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21909 the IFUNC routine in the libc case.
21910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21913 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21914 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21915 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21916 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21917 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21918 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21919 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21921 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21922 loop to 256 bytes instead of 64 bytes and fix test signedness.
21924 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21925 * sysdeps/sparc/sparc32/Makefile: rather than here...
21926 * sysdeps/sparc/sparc64/Makefile: and here.
21928 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21930 * malloc/mallocbug.c: Avoid warnings about unused variables.
21932 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21935 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21936 in the right place. Discard and retry query if response is
21937 larger than input buffer size.
21939 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21944 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21945 x for large integer exponent.
21946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21947 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21948 sign of result as needed afterwards.
21949 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21950 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21951 result for underflowing pow the same as for overflow.
21952 (__kernel_standard_l): Handle powl overflow and underflow here
21953 rather than calling __kernel_standard.
21954 * math/libm-test.inc (pow_test): Add more tests.
21969 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21970 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21971 (__kernel_standard_l): New function.
21972 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21974 * math/w_acosl.c (__acosl): Likewise.
21975 * math/w_asinl.c (__asinl): Likewise.
21976 * math/w_atan2l.c (__atan2l): Likewise.
21977 * math/w_atanhl.c (__atanhl): Likewise.
21978 * math/w_coshl.c (__coshl): Likewise.
21979 * math/w_exp10l.c (__exp10l): Likewise.
21980 * math/w_exp2l.c (__exp2l): Likewise.
21981 * math/w_fmodl.c (__fmodl): Likewise.
21982 * math/w_hypotl.c (__hypotl): Likewise.
21983 * math/w_j0l.c (__j0l, __y0l): Likewise.
21984 * math/w_j1l.c (__j1l, __y1l): Likewise.
21985 * math/w_jnl.c (__jnl, __ynl): Likewise.
21986 * math/w_lgammal.c (__lgammal): Likewise.
21987 * math/w_log10l.c (__log10l): Likewise.
21988 * math/w_log2l.c (__log2l): Likewise.
21989 * math/w_logl.c (__logl): Likewise.
21990 * math/w_powl.c (__powl): Likewise.
21991 * math/w_remainderl.c (__remainderl): Likewise.
21992 * math/w_scalbl.c (sysv_scalbl): Likewise.
21993 * math/w_sinhl.c (__sinhl): Likewise.
21994 * math/w_sqrtl.c (__sqrtl): Likewise.
21995 * math/w_tgammal.c (__tgammal): Likewise.
21996 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21997 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21998 * math/libm-test.inc (acos_test): Add more tests.
21999 (acosh_test): Likewise.
22000 (asin_test): Likewise.
22001 (atanh_test): Likewise.
22002 (exp_test): Likewise.
22003 (exp10_test): Likewise.
22004 (exp2_test): Likewise.
22005 (expm1_test): Likewise.
22006 (lgamma_test): Likewise.
22007 (log_test): Likewise.
22008 (log10_test): Likewise.
22009 (log1p_test): Likewise.
22010 (log2_test): Likewise.
22011 (pow_test): Do not allow some spurious overflow exceptions.
22012 (sqrt_test): Add more tests.
22013 (tgamma_test): Likewise.
22014 (y0_test): Likewise.
22015 (y1_test): Likewise.
22016 (yn_test): Likewise.
22018 2012-03-27 Anton Blanchard <anton@samba.org>
22020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22026 2012-03-27 David S. Miller <davem@davemloft.net>
22028 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22030 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22031 have-as-vis3 check.
22033 2012-03-27 Andreas Jaeger <aj@suse.de>
22035 * sysdeps/x86_64/elf/configure.in: Moved to ...
22036 * sysdeps/x86_64/configure.in: ... here.
22037 * sysdeps/x86_64/elf/start.S: Moved to ...
22038 * sysdeps/x86_64/start.S: ... here.
22039 * sysdeps/x86_64/elf/configure: Delete.
22041 * sysdeps/x86_64/configure.in: Merge contents from
22042 sysdeps/i386/configure.in (without i686 check).
22044 * sysdeps/i386/elf/Versions: Merge into ...
22045 * sysdeps/i386/Versions: ... this.
22046 * sysdeps/i386/elf/Versions: Delete file.
22047 * sysdeps/i386/elf/start.S: Moved to ...
22048 * sysdeps/i386/start.S: ...here.
22049 * sysdeps/i386/elf/configure.in: Merge into...
22050 * sysdeps/i386/configure.in: ...here.
22051 * sysdeps/i386/elf/configure.in: Delete file.
22052 * sysdeps/i386/elf/configure: Delete file.
22054 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22055 * debug/backtracesyms.c: ... here.
22056 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22057 * debug/backtracesymsfd.c: ... here.
22058 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22059 * sysdeps/generic/ifunc-sel.h: ... here.
22061 * sysdeps/unix/i386/start.c: Delete file.
22062 * sysdeps/unix/sparc/start.c: Delete file.
22063 * sysdeps/unix/start.c: Delete file.
22065 * sysdeps/sh/elf/configure.in: Moved to ...
22066 * sysdeps/sh/configure.in: ... here.
22067 * sysdeps/sh/elf/start.S: Moved to ...
22068 * sysdeps/sh/start.S: ... here.
22069 * sysdeps/sh/elf/configure: Delete file.
22071 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22072 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22073 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22074 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22075 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22076 * sysdeps/powerpc/powerpc64/start.S: here.
22077 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22078 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22079 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22080 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22081 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22083 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22084 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22085 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22086 * sysdeps/powerpc/powerpc32/start.S: ... here.
22087 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22088 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22089 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22091 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22092 * sysdeps/powerpc/ifunc-sel.h: ... here.
22093 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22094 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22096 * sysdeps/sparc/elf/configure.in: Moved to ...
22097 * sysdeps/sparc/configure.in: ... here.
22098 * sysdeps/sparc/elf/configure: Delete file.
22099 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22100 * sysdeps/sparc/sparc32/start.S: ... here.
22101 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22102 * sysdeps/sparc/sparc64/start.S: ... here.
22103 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22104 * sysdeps/sparc/sparc32/Makefile: ... this.
22105 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22106 * sysdeps/sparc/sparc64/Makefile: ... this.
22108 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22109 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22110 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22111 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22112 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22113 * sysdeps/s390/s390-32/setjmp.S: ... here.
22114 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22115 * sysdeps/s390/s390-32/configure.in: ... here.
22116 * sysdeps/s390/s390-32/elf/configure: Delete file.
22117 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22118 * sysdeps/s390/s390-32/start.S: ... here.
22120 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22121 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22122 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22123 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22124 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22125 * sysdeps/s390/s390-64/setjmp.S: ... here.
22126 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22127 * sysdeps/s390/s390-64/configure.in: ... here
22128 * sysdeps/s390/s390-64/elf/configure: Delete file.
22129 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22130 * sysdeps/s390/s390-64/start.S: ... here.
22131 * sysdeps/s390/s390-64/elf/configure: Delete.
22133 * configure.in: Remove support for elf directories in sysdeps.
22135 * configure: Regenerated.
22136 * sysdeps/i386/configure: Regenerated.
22137 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22138 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22139 * sysdeps/s390/s390-32/configure: Regenerated.
22140 * sysdeps/s390/s390-64/configure: Regenerated.
22141 * sysdeps/sh/configure: Regenerated.
22142 * sysdeps/sparc/configure: Regenerated.
22143 * sysdeps/x86_64/configure: Regenerated.
22145 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22150 denormal result into account.
22152 2012-03-25 Roland McGrath <roland@hack.frob.com>
22154 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22155 Reported by Allan McRae <allan@archlinux.org>.
22157 2012-03-23 Jeff Law <law@redhat.com>
22159 * nss/getnssent.c (__nss_getent): Fix typo.
22161 2012-03-23 David S. Miller <davem@davemloft.net>
22163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22165 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22167 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22168 to pad to uint64_t for each field.
22169 (dl_tls_index): Replace unsigned long with uint64_t.
22171 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22172 Paul Pluzhnikov <ppluzhnikov@google.com>
22175 * grp/Makefile (otherlibs): Don't set it.
22176 * inet/Makefile (otherlibs): Likewise.
22177 * login/Makefile (otherlibs): Likewise.
22178 * nscd/Makefile (otherlibs): Likewise.
22179 * posix/Makefile (otherlibs): Likewise.
22180 * pwd/Makefile (otherlibs): Likewise.
22181 * rt/Makefile (otherlibs): Likewise.
22182 * sunrpc/Makefile (otherlibs): Likewise.
22183 * nss/Makefile (otherlibs): Likewise.
22184 Add libnss_files to routines and static-only-routines.
22185 ($(objpfx)getent): Remove rule.
22186 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22187 static-only-routines.
22189 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22192 * math/s_cexp.c: Include <float.h>.
22193 (__cexp): Handle exp result overflowing not necessarily
22194 overflowing both real and imaginary parts of result.
22195 * math/s_cexpf.c: Likewise.
22196 * math/s_cexpl.c: Likewise.
22197 * math/libm-test.inc (cexp_test): Add more tests.
22198 * sysdeps/i386/fpu/libm-test-ulps: Update.
22199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22201 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22203 * include/link.h (ELFW): New macro.
22204 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22205 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22207 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22209 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22212 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22214 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22216 (struct La_x32_retval): Likewise.
22218 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22220 * sysdeps/x86_64/preconfigure.in: New file.
22221 * sysdeps/x86_64/preconfigure: New generated file.
22223 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22226 * math/e_exp2l.c: Include <float.h>.
22227 (__ieee754_exp2l): Handle overflow and underflow cases
22228 separately. Only pass fractional part of argument to
22230 * math/libm-test.inc (exp2_test): Add more tests.
22232 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22233 negating x to take absolute value.
22234 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22239 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22240 computing low part if x was negated.
22241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22243 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22245 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22246 la_x32_gnu_pltexit.
22247 (pltexit): Cast int_retval to ptrdiff_t.
22248 * elf/tst-auditmod3b.c: Likewise.
22249 * elf/tst-auditmod4b.c: Likewise.
22250 * elf/tst-auditmod5b.c: Likewise.
22251 * elf/tst-auditmod6b.c: Likewise.
22252 * elf/tst-auditmod6c.c: Likewise.
22253 * elf/tst-auditmod7b.c: Likewise.
22255 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22256 and x32_gnu_pltexit.
22258 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22259 __ELF_NATIVE_CLASS.
22260 (La_x32_regs): New macro.
22261 (La_x32_retval): Likewise.
22262 (la_x32_gnu_pltenter): New function prototype.
22263 (la_x32_gnu_pltexit): Likewise.
22265 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22272 * configure.in (libc_cv_cc_nofma): Check for option to disable
22273 generation of FMA instructions.
22274 * configure: Regenerate.
22275 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22276 * sysdeps/ieee754/dbl-64/Makefile: New file.
22277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22278 Remove brandred-fma4.
22279 (CFLAGS-brandred-fma4.c): Remove.
22280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22283 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22286 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22288 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22289 LLONG_MAX != LONG_MAX.
22290 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22291 (_fitoa_word): Likewise.
22292 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22293 LLONG_MAX != LONG_MAX.
22294 * stdio-common/_itowa.h: Include <_itoa.h>.
22295 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22296 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22297 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22298 only if not defined.
22299 (_ITOA_WORD_TYPE): Likewise.
22300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22301 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22303 2012-03-21 David S. Miller <davem@davemloft.net>
22305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22307 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22309 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22310 of x86_64 when setting libc_cv_slibdir, libdir and
22312 * sysdeps/unix/sysv/linux/configure: Regenerated.
22314 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22316 * manual/lang.texi (Old Varargs): Remove section.
22317 (How Variadic): Update menu.
22318 (va_start): Do not mention varargs.h.
22320 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22321 Joseph Myers <joseph@codesourcery.com>
22323 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22325 * configure: Regenerated.
22327 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22329 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22330 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22333 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22336 * Makefile (files-for-dist): Remove NOTES.
22337 (NOTES): Remove rule.
22338 * README: Don't refer to NOTES.
22339 * manual/creature.texi: Don't include macros.texi.
22340 * manual/intro.texi (creature.texi): Remove comment referring to
22343 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22344 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22345 * configure: Regenerated.
22346 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22347 LIBC_TRY_CC_OPTION.
22348 (libc_cv_as_i686): Likewise.
22349 (libc_cv_cc_avx): Likewise.
22350 (libc_cv_cc_sse2avx): Likewise.
22351 (libc_cv_cc_fma4): Likewise.
22352 (libc_cv_cc_novzeroupper): Likewise.
22353 * sysdeps/i386/configure: Regenerated.
22356 * sysdeps/i386/fpu/s_cexp.S: Remove.
22357 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22358 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22359 * math/libm-test.inc (cexp_test): Add more tests.
22360 * sysdeps/i386/fpu/libm-test-ulps: Update.
22361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22363 2012-03-21 Allan McRae <allan@archlinux.org>
22365 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22367 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22370 * math/w_exp2.c: Do not include <float.h>.
22371 (o_threshold, u_threshold): Remove.
22372 (__exp2): Calculate result before checking finiteness and calling
22374 * math/w_exp2f.c: Likewise.
22375 * math/w_exp2l.c: Likewise.
22376 * math/libm-test.inc (exp2_test): Require overflow exception for
22380 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22381 range of signed 64-bit integers before using fistpll. Remove
22382 checks for whether integers fit in mantissa bits.
22383 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22384 the range of signed 32-bit integers before using fistpl. Remove
22385 checks for whether integers fit in mantissa bits.
22386 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22387 (__ieee754_powl): Test for y outside the range of signed 64-bit
22388 integers before using fistpll. Reduce 64-bit values to 63-bit
22390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22391 divide-by-zero is raised for zero to large negative powers.
22392 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22393 (__ieee754_powl): Test for y outside the range of signed 64-bit
22394 integers before using fistpll. Reduce 64-bit values to 63-bit
22396 * math/libm-test.inc (pow_test): Add more tests.
22398 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22400 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22401 <stdio-common/_itoa.h>.
22402 * debug/segfault.c: Likewise.
22403 * elf/dl-cache.c: Likewise.
22404 * elf/dl-minimal.c: Likewise.
22405 * elf/dl-misc.c: Likewise.
22406 * elf/dl-sysdep.c: Likewise.
22407 * elf/dl-version.c: Likewise.
22408 * elf/rtld.c: Likewise.
22409 * hurd/hurdsock.c: Likewise.
22410 * hurd/lookup-retry.c: Likewise.
22411 * malloc/malloc.c: Likewise.
22412 * malloc/mtrace.c: Likewise.
22413 * nscd/nscd_getgr_r.c: Likewise.
22414 * nscd/nscd_getpw_r.c: Likewise.
22415 * nscd/nscd_getserv_r.c: Likewise.
22416 * posix/getopt_init.c: Likewise.
22417 * posix/wordexp.c: Likewise.
22418 * stdio-common/_itoa.c: Likewise.
22419 * stdio-common/printf_fphex.c: Likewise.
22420 * stdio-common/vfprintf.c: Likewise.
22421 * string/_strerror.c: Likewise.
22422 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22423 * sysdeps/i386/i686/hp-timing.h: Likewise.
22424 * sysdeps/mach/_strerror.c: Likewise.
22425 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22426 * sysdeps/mach/hurd/sethostid.c: Likewise.
22427 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22428 * sysdeps/mach/xpg-strerror.c: Likewise.
22429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22431 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22432 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22433 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22434 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22435 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22436 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22437 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22438 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22439 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22440 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22441 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22442 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22443 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22446 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22447 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22448 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22449 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22451 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22453 * stdio-common/_itoa.h: Moved to ...
22454 * sysdeps/generic/_itoa.h: Here.
22456 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22458 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22459 instead of "_itoa.h" and "_itowa.h".
22460 * stdio-common/vfprintf.: Likewise.
22462 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22464 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22466 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22467 (__signbit): Likwise.
22468 (llrintf): Likwise.
22471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22473 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22476 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22478 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22479 OVERFLOW_EXCEPTION_OK.
22480 * math/libm-test.inc ("Philosophy"): Update comment about
22482 (OVERFLOW_EXCEPTION): Define.
22483 (OVERFLOW_EXCEPTION_OK): Likewise.
22484 (INVALID_EXCEPTION_OK): Renumber.
22485 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22486 (IGNORE_ZERO_INF_SIGN): Likewise.
22487 (test_exceptions): Handle FE_OVERFLOW.
22488 (exp10_test): Expect overflow exceptions.
22489 (exp2_test): Likewise.
22490 (expm1_test): Likewise.
22491 (nextafter_test): Likewise.
22492 (pow_test): Likewise.
22493 (scalbn_test): Likewise.
22494 (scalbln_test): Likewise.
22496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22498 * sysdeps/x86_64/bits/atomic.h
22499 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22501 (atomic_exchange_acq): Likewise.
22502 (__arch_exchange_and_add_body): Likewise.
22503 (__arch_add_body): Likewise.
22504 (atomic_add_negative): Likewise.
22505 (atomic_add_zero): Likewise.
22507 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22509 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22510 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22514 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22515 Check __x86_64__ instead of __WORDSIZE.
22517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22519 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22521 2012-03-19 David S. Miller <davem@davemloft.net>
22523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22525 * sysdeps/sparc/fpu/fenv_private.h: New file.
22526 * sysdeps/sparc/fpu/math_private.h: Use it.
22527 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22529 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22530 (libc_feholdexcept_setroundl): Remove.
22531 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22533 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22534 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22536 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22538 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22539 int64_t instead of long int.
22540 (INSERT_WORDS64): Likwise.
22542 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22544 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22545 _Unwind_GetCFA return to _Unwind_Ptr first.
22547 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22550 * math/s_clog.c: Include <float.h>.
22551 (__clog): Scale large or subnormal inputs.
22552 * math/s_clogf.c: Likewise.
22553 * math/s_clogl.c: Likewise.
22554 * math/s_clog10.c: Include <float.h>.
22555 (M_LOG10_2): Define.
22556 (__clog10): Scale large or subnormal inputs.
22557 * math/s_clog10f.c: Likewise.
22558 * math/s_clog10l.c: Likewise.
22559 * math/libm-test.inc (clog_test): Add more tests.
22560 (clog10_test): Likewise.
22561 * sysdeps/i386/fpu/libm-test-ulps: Update.
22562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22567 * math/libm-test.inc (atan2_test): Add another test.
22569 * Makerules (common-objdir-compile): Remove.
22570 * sysdeps/unix/Makefile (config-generated): Do not add
22571 $(unix-generated) to variable.
22572 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22573 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22575 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22577 [generic bits/local_lim.h] (before-compile): Do not append to
22579 [generic bits/local_lim.h] (common-generated): Likewise.
22580 [generic sys/param.h] (before-compile): Do not append to variable.
22581 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22582 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22584 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22586 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22587 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22588 [generic sys/param.h] ($(addprefix
22589 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22590 [generic sys/param.h] (common-generated): Do not append to
22592 [generic sys/param.h] (sysdep_headers): Likewise.
22593 [generic bits/errno.h] (before-compile): Do not append to
22595 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22597 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22598 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22599 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22600 [generic bits/errno.h] (common-generated): Do not append to
22602 [generic bits/ioctls.h] (before-compile): Do not append to
22604 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22606 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22607 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22608 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22610 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22611 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22612 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22613 [generic bits/ioctls.h] (common-generated): Do not append to
22615 [generic sys/syscall.h] (syscall.h): Remove variable.
22616 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22618 [generic sys/syscall.h] (before-compile): Do not append to
22620 [generic sys/syscall.h] (common-generated): Likewise.
22621 * sysdeps/unix/errnos-tmpl.c: Remove file.
22622 * sysdeps/unix/errnos.awk: Likewise.
22623 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22624 * sysdeps/unix/ioctls.awk: Likewise.
22625 * sysdeps/unix/mk-local_lim.c: Likewise.
22626 * sysdeps/unix/snarf-ioctls: Likewise.
22628 2012-03-19 Richard Henderson <rth@twiddle.net>
22630 * sysdeps/i386/fpu/fenv_private.h: New file.
22631 * sysdeps/i386/fpu/math_private.h: Use it.
22632 (math_opt_barrier, math_force_eval): Remove.
22633 (libc_feholdexcept_setround_53bit): Remove.
22634 (libc_feupdateenv_53bit): Remove.
22635 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22636 (math_opt_barrier, math_force_eval): Remove.
22637 (libc_feholdexcept): Remove.
22638 (libc_feholdexcept_setround): Remove.
22639 (libc_fetestexcept, libc_fesetenv): Remove.
22640 (libc_feupdateenv_test): Remove.
22641 (libc_feupdateenv, libc_feholdsetround): Remove.
22642 (libc_feresetround): Remove.
22644 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22645 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22647 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22648 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22649 (libc_feupdateenv_testl): New.
22650 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22651 (libc_feupdateenv_testf): New.
22652 (libc_feupdateenv): Use libc_feupdateenv_test.
22653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22654 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22656 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22657 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22658 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22659 (libc_feresetround_noex): New.
22660 (libc_feresetround_noexf): New.
22661 (libc_feresetround_noexl): New.
22662 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22663 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22664 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22665 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22668 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22670 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22671 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22672 SET_RESTORE_ROUND_NOEX.
22673 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22674 SET_RESTORE_ROUND_NOEXF.
22675 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22676 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22677 (libc_feholdsetroundf): New.
22678 (libc_feresetround, libc_feresetroundf): New.
22680 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22681 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22682 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22684 * sysdeps/generic/math_private.h: Include <fenv.h>.
22685 (default_libc_feholdexcept): New.
22686 (default_libc_feholdexcept_setround): New.
22687 (default_libc_fesetenv, default_libc_feupdateenv): New.
22688 (libc_feholdexcept): Only define if undefined.
22689 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22691 (libc_feholdexcept_setroundl): Likewise.
22692 (libc_feholdexcept_setround_53bit): Likewise.
22693 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22696 (libc_feupdateenv_53bit): Likewise.
22697 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22698 (libc_feholdexcept): Convert from macro to inline function.
22699 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22700 (libc_fesetenv, libc_feupdateenv): Likewise.
22702 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22703 not previously defined.
22704 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22705 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22706 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22707 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22708 * sysdeps/ieee754/flt-32/math_private.h: New file.
22709 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22710 math_private.h below SET_FLOAT_WORD.
22711 (__isnan, __isinf_ns, __finite): Remove.
22712 (__isnanf, __isinf_nsf, __finitef): Remove.
22714 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22718 2012-03-17 David S. Miller <davem@davemloft.net>
22721 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22724 2012-03-16 David S. Miller <davem@davemloft.net>
22726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22730 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22732 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22733 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22734 sysdep_routines when subdir is sysvipc.
22735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22736 __getshmlba helper.
22738 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22740 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22742 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22745 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22748 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22749 (__lround): Renamed to ...
22750 (__llround): This. Replace long int with long long int.
22751 Define lround functions as aliases of llround functions.
22752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22756 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22757 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22758 adresses to uintptr_t. Replace "long int" and "unsigned long
22759 int" with "greg_t" on va_arg.
22761 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22763 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22764 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22766 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22767 Move e_machine check before EI_CLASS check. Handle x32
22768 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22769 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22770 SKIP_EM_IA_64 and include
22771 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22773 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22774 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22775 (add_system_dir): New macro.
22777 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22778 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22780 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22791 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22793 * math/w_j0f.c (j0f): Likewise.
22795 * math/w_j0l.c (__j0l): Likewise.
22797 * math/w_j1.c (j1): Likewise.
22799 * math/w_j1f.c (j1f): Likewise.
22801 * math/w_j1l.c (__j1l): Likewise.
22803 * math/w_jn.c (jn): Likewise.
22805 * math/w_jnf.c (jnf): Likewise.
22807 * math/w_jnl.c (__jnl): Likewise.
22809 * math/libm-test.inc (j0_test): Add more tests.
22810 (j1_test): Likewise.
22811 (jn_test): Likewise. Add trailing semicolon to existing test.
22812 (y0_test): Likewise.
22813 (y1_test): Likewise.
22814 * sysdeps/i386/fpu/libm-test-ulps: Update.
22815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22819 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22820 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22821 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22823 (__tanl): Set errno for infinite argument.
22824 * sysdeps/i386/fpu/mptan.c: Remove.
22825 * sysdeps/i386/fpu/s_tan.S: Likewise.
22826 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22827 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22828 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22829 * math/libm-test.inc (tan_test): Add more tests and enable more
22830 tests for double and long double.
22831 * sysdeps/i386/fpu/libm-test-ulps: Update.
22832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22834 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22836 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22837 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22839 2012-03-16 Roland McGrath <roland@hack.frob.com>
22841 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22842 * configure.in: Use it for both main tree and add-ons.
22843 * configure: Regenerated.
22845 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22847 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22849 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22855 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22856 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22857 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22858 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22859 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22861 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22863 != 0 for prec == 2.
22864 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22865 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22866 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22867 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22868 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22869 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22870 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22871 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22872 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22873 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22874 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22875 * math/libm-test.inc (cos_test): Add more tests and enable more
22876 tests for long double.
22877 (sin_test): Likewise.
22878 (sincos_test): Likewise.
22879 * sysdeps/i386/fpu/libm-test-ulps: Update.
22880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22882 2012-03-16 David S. Miller <davem@davemloft.net>
22884 * sysdeps/sparc/fpu/math_private.h: New file.
22886 2012-03-15 David S. Miller <davem@davemloft.net>
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22902 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22903 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22905 * sysdeps/sparc/sparc-ifunc.h: New file.
22906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22951 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22953 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22957 2012-03-15 Andreas Jaeger <aj@suse.de>
22960 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22961 ieee754/flt-32 implementation for sin, cos and sincos.
22962 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22963 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22964 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22965 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22966 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22967 ieee754/flt-32 implementation for tan.
22969 * math/libm-test.inc (cos_test): Enable some large input tests for
22971 (sin_test): Likewise.
22972 (sincos_test): Likewise.
22973 (tan_test): Add tests for large input.
22975 * sysdeps/i386/fpu/libm-test-ulps: Update.
22977 2012-03-15 Andreas Jaeger <aj@suse.de>
22980 * math/libm-test.inc (cos_test): Add more test cases.
22981 (sin_test): Likewise.
22982 (sincos_test): Likewise.
22984 2012-03-15 Andreas Jaeger <aj@suse.de>
22987 * math/libm-test.inc (cos_test): Add a test case for large input
22989 (sin_test): Likewise.
22990 (sincos_test): Likewise.
22992 2012-03-15 Andreas Jaeger <aj@suse.de>,
22993 Joseph Myers <joseph@codesourcery.com>
22996 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22997 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22998 * sysdeps/i386/fpu/branred.c: Likewise.
22999 * sysdeps/i386/fpu/dosincos.c: Likewise.
23000 * sysdeps/i386/fpu/mpa.c: Likewise.
23001 * sysdeps/i386/fpu/s_cos.S: Likewise.
23002 * sysdeps/i386/fpu/s_sin.S: Likewise.
23003 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23004 * sysdeps/i386/fpu/sincos32.c: Likewise.
23006 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23008 (libc_feupdateenv_53bit): Define.
23009 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23011 (libc_feupdateenv_53bit): Define.
23013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23014 53 bit (without extend i386 double precision).
23016 * math/libm-test.inc (sincos_test): Add tests for large input.
23020 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23022 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23026 2012-03-15 David S. Miller <davem@davemloft.net>
23028 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23029 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23030 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23031 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23056 fmin/fmax sysdep routines.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23059 2012-03-14 David S. Miller <davem@davemloft.net>
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23138 * sysdeps/sparc/configure.in: New file.
23139 * sysdeps/sparc/configure: Generate.
23140 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23141 * configure: Regenerate.
23142 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23143 * config.make.in (have-as-vis3): New.
23144 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23145 available use -Av9d instead of -Av9a.
23146 * sysdeps/sparc/sparc64/Makefile: Likewise.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23162 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23163 fzeros/fnegs to load 0x80000000 into a float register instead of
23165 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23167 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23171 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23172 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23173 ($(inst_includedir)/bits/syscall.h): Remove rule.
23174 ($(objpfx)bits/syscall.d): Include instead of
23175 $(objpfx)syscall-list.d.
23176 (generated): Change syscall-list.h and syscall-list.d to
23177 bits/syscall.h and bits/syscall.d.
23179 2012-03-14 Roland McGrath <roland@hack.frob.com>
23182 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23184 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23187 * math/s_csqrt.c: Include <float.h>.
23188 (__csqrt): Scale large or subnormal inputs.
23189 * math/s_csqrtf.c: Likewise.
23190 * math/s_csqrtl.c: Likewise.
23191 * math/libm-test.inc (csqrt_test): Add more tests.
23192 * sysdeps/i386/fpu/libm-test-ulps: Update.
23193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196 * math/libm-test.inc (hypot_test): Add more tests.
23198 2012-03-13 David S. Miller <davem@davemloft.net>
23201 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23202 double-precision for the calculation instead of scaling.
23204 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23206 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23207 manipulate bits before adding and subtracting TWO52[sx].
23208 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23213 2012-03-13 David S. Miller <davem@davemloft.net>
23215 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23216 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23218 rtld-global-offsets.h
23219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23221 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23224 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23226 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23227 'err' in the ifdef scope in which it is actually used.
23229 * nss/nss_db/db-init.c: Include string.h
23231 2012-03-12 David S. Miller <davem@davemloft.net>
23233 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23234 masking out of the most significant byte of random value used.
23235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23236 Fix coding style in previous change.
23238 * sysdeps/unix/sysv/linux/kernel-features.h
23239 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23240 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23242 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23245 2012-03-11 David S. Miller <davem@davemloft.net>
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23248 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23250 for 'resultvar' otherwise things get truncated on 64-bit.
23252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23253 Fix masking out of the most significant byte of random value used.
23255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23257 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23261 2012-03-09 David S. Miller <davem@davemloft.net>
23263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23264 variables with appropriate CPP guards.
23265 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23266 frame pointer, not the stack pointer. Correct layout comments. Fix test
23267 on resulting framesize and the management of the outregs buffer for pltexit.
23268 Preserve floating point return values across _dl_call_pltexit call.
23269 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23270 framesize and the management of the outregs buffer for pltexit.
23271 Preserve floating point return values across _dl_call_pltexit
23273 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23274 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23275 (print_exit): Fix format string for return register value.
23277 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23279 * sunrpc/Makefile (others): Add rpcgen.
23280 ($(objpfx)rpcgen): Remove special build rule and dependency on
23282 * sunrpc/rpcgen.c: New file.
23284 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23287 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23288 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23289 * sysdeps/i386/crti.S: Likewise.
23290 * sysdeps/i386/crtn.S: Likewise.
23291 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23292 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23293 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23294 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23295 * sysdeps/sh/crti.S: Likewise.
23296 * sysdeps/sh/crtn.S: Likewise.
23297 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23300 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23302 * locale/programs/locfile-kw.gperf: Likewise.
23303 * locale/programs/charmap-kw.h: Regenerated.
23304 * locale/programs/locfile-kw.h: Likewise.
23307 * intl/plural.y: Replace FSF snail mail address with URL.
23308 * intl/plural.c: Regenerated.
23310 2012-03-09 Richard Henderson <rth@twiddle.net>
23312 * include/math_private.h: Remove file.
23313 * math/math_private.h: Move file ...
23314 * sysdeps/generic/math_private.h: ... here.
23316 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23317 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23318 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23320 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23321 and <math_private.h>.
23322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23411 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23412 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23419 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23422 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23423 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23424 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23425 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23427 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23428 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23434 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23441 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23442 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23443 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23445 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23448 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23449 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23450 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23451 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23452 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23453 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23455 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23456 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23457 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23460 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23464 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23465 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23467 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23468 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23469 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23470 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23471 * sysdeps/ieee754/k_standard.c: Likewise.
23472 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23473 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23474 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23475 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23476 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23587 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23591 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23592 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23594 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23632 * sysdeps/ieee754/s_lib_version.c: Likewise.
23633 * sysdeps/ieee754/s_matherr.c: Likewise.
23634 * sysdeps/ieee754/s_signgam.c: Likewise.
23635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23637 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23638 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23639 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23640 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23641 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23642 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23643 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23644 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23645 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23646 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23647 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23648 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23649 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23657 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23659 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23660 * sunrpc/rpc_main.c: Likewise.
23661 * sunrpc/rpc_svcout.c: Likewise.
23663 2012-03-09 David S. Miller <davem@davemloft.net>
23665 * include/math_private.h: New file.
23667 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23669 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23670 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23671 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23672 from <bits/socket_type.h>.
23673 (enum __socket_type): Don't define here.
23674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23676 bits/socket_type.h.
23679 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23680 checking __USE_GNU.
23682 * Makerules ($(inst_includedir)/%.h): New rule.
23683 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23684 (install-others): Remove variable setting.
23685 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23687 2012-03-08 Richard Henderson <rth@twiddle.net>
23689 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23690 from macro to inline function; merge with the
23691 !__LIBC_INTERNAL_MATH_INLINES version.
23692 (__ieee754_sqrtf): Likewise.
23694 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23695 to inline function.
23696 (__rintf, __floor, __floorf): Likewise.
23698 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23699 macro to inline function.
23700 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23703 not <math/math_private.h>.
23705 2012-03-08 David S. Miller <davem@davemloft.net>
23707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23709 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23711 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23713 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23715 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23716 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23718 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23720 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23721 be defined individually, they must be defined as a block. Define
23722 S for printing a string instead of hidint the different by using a
23723 macro for adding the 'l'.
23724 * stdio-common/tst-fphex-wide.c: Adjust.
23726 2012-03-07 Marek Polacek <polacek@redhat.com>
23728 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23730 2012-03-08 Marek Polacek <polacek@redhat.com>
23733 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23734 * stdio-common/tst-fphex.c: Define a few macros to make the
23735 test reusable. Use them.
23736 * stdio-common/tst-fphex-wide.c: New file.
23738 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23741 * manual/macros.texi (gnusystems): New macro.
23742 (nongnusystems): Likewise.
23743 (gnulinuxhurdsystems): Likewise.
23744 (gnuhurdsystems): Likewise..
23745 (gnulinuxsystems): Likewise.
23746 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23747 variants of the GNU system, not "GNU system".
23748 * manual/conf.texi: Likewise.
23749 * manual/errno.texi: Likewise. Update example of errno macro
23751 * manual/filesys.texi: Likewise.
23752 (getumask): Document as specific to GNU/Hurd.
23753 * manual/install.texi: Likewise. Reword some references to
23755 * manual/intro.texi: Likewise.
23756 * manual/io.texi: Likewise.
23757 (File Name Portability): Detail which constraints are inapplicable
23758 to all GNU systems and which are only inapplicable to GNU/Hurd.
23759 * manual/job.texi: Likewise.
23760 * manual/llio.texi: Likewise.
23761 (O_NOCTTY): Document as present on GNU/Linux.
23762 * manual/maint.texi: Likewise.
23763 * manual/memory.texi: Likewise.
23764 * manual/pattern.texi: Likewise.
23765 * manual/pipe.texi: Likewise.
23766 * manual/process.texi: Likewise.
23767 * manual/resource.texi: Likewise.
23768 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23770 * manual/setjmp.texi: Likewise.
23771 * manual/signal.texi: Likewise.
23772 * manual/startup.texi: Likewise.
23773 * manual/stdio.texi: Likewise.
23774 * manual/terminal.texi: Likewise.
23775 (ONLCR): Document as POSIX.
23776 (OXTABS): Document availability on GNU/Linux as XTABS.
23777 (ONOEOT): Document availability separately from other bits.
23778 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23779 * manual/time.texi: Likewise.
23780 * manual/users.texi: Likewise.
23781 * INSTALL: Regenerated.
23782 * sysdeps/gnu/errlist.c: Regenerated.
23784 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23785 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23786 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23788 * configure: Regenerated.
23790 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23793 default includes instead of AC_HEADER_CHECK.
23794 * sysdeps/i386/configure: Regenerated.
23797 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23798 * math/s_cacoshf.c (__cacoshf): Likewise.
23799 * math/s_cacoshl.c (__cacoshl): Likewise.
23800 * math/s_casinh.c (__casinh): Set signs of result from argument.
23801 * math/s_casinhf.c (__casinhf): Likewise.
23802 * math/s_casinhl.c (__casinhl): Likewise.
23803 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23804 (casinh_test): Add more tests.
23805 * sysdeps/i386/fpu/libm-test-ulps: Update.
23806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23808 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23810 * po/zh_TW.po: Update from translation team.
23812 * login/Makefile (distribute): Remove variable.
23813 * catgets/Makefile: Likewise.
23814 * mach/Makefile: Likewise.
23815 * malloc/Makefile: Likewise.
23816 * misc/Makefile: Likewise.
23817 * iconv/Makefile: Likewise.
23818 * nscd/Makefile: Likewise.
23819 * hurd/Makefile: Likewise.
23820 * manual/Makefile: Likewise.
23821 * locale/Makefile: Likewise.
23822 * intl/Makefile: Likewise.
23823 * conform/Makefile: Likewise.
23824 * nss/Makefile: Likewise.
23825 * time/Makefile: Likewise.
23826 * soft-fp/Makefile: Likewise.
23827 * dirent/Makefile: Likewise.
23828 * gmon/Makefile: Likewise.
23829 * po/Makefile: Likewise.
23830 * rt/Makefile: Likewise.
23831 * socket/Makefile: Likewise.
23832 * math/Makefile: Likewise.
23833 * signal/Makefile: Likewise.
23834 * debug/Makefile: Likewise.
23835 * elf/Makefile: Likewise.
23836 * timezone/Makefile: Likewise.
23837 * stdlib/Makefile: Likewise.
23838 * iconvdata/Makefile: Likewise.
23839 * sunrpc/Makefile: Likewise.
23840 * io/Makefile: Likewise.
23841 * argp/Makefile: Likewise.
23842 * inet/Makefile: Likewise.
23843 * hesiod/Makefile: Likewise.
23844 * grp/Makefile: Likewise.
23845 * csu/Makefile: Likewise.
23846 * wctype/Makefile: Likewise.
23847 * crypt/Makefile: Likewise.
23848 * libio/Makefile: Likewise.
23849 * string/Makefile: Likewise.
23850 * nis/Makefile: Likewise.
23851 * resolv/Makefile: Likewise.
23852 * stdio-common/Makefile: Likewise.
23853 * wcsmbs/Makefile: Likewise.
23854 * dlfcn/Makefile: Likewise.
23855 * posix/Makefile: Likewise.
23858 * timezone/Makefile: Don't install timezone files, just the programs
23861 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23863 * nss/databases.def: Add missing gshadow entry.
23865 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23867 2012-03-06 Marek Polacek <polacek@redhat.com>
23870 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23871 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23872 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23873 * stdio-common/tst-long-dbl-fphex.c: New file.
23875 2012-03-06 David S. Miller <davem@davemloft.net>
23877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23878 (set_obp_int): New function.
23879 (get_obp_int): New function.
23880 (__get_clockfreq_via_dev_openprom): Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23882 Avoid unused variable warnings on 'val' and use builtin_expect.
23883 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23885 (INLINE_CLONE_SYSCALL): Likewise.
23887 2012-03-05 David S. Miller <davem@davemloft.net>
23889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23891 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23896 only for |x| >= 40.
23897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23899 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23902 Replace gettimeofday with __vdso_gettimeofday.
23904 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23905 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23906 __vdso_clock_gettime and __vdso_getcpu.
23908 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23909 time with __vdso_time.
23911 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23913 * manual/lang.texi (size_t): Note types to which size_t may be
23914 equivalent with the GNU C Library, but do not describe when
23915 differences between them are significant.
23917 2012-03-05 Andreas Jaeger <aj@suse.de>
23919 * sysdeps/i386/fpu/libm-test-ulps: Update.
23921 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23924 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23925 (__ieee754_pow): Save and restore rounding mode and use
23926 round-to-nearest for main computations.
23927 * math/libm-test.inc (pow_test_tonearest): New function.
23928 (pow_test_towardzero): Likewise.
23929 (pow_test_downward): Likewise.
23930 (pow_test_upward): Likewise.
23931 (main): Call the new functions.
23932 * sysdeps/i386/fpu/libm-test-ulps: Update.
23933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23936 * math/libm-test.inc (cosh_test_tonearest): New function.
23937 (cosh_test_towardzero): Likewise.
23938 (cosh_test_downward): Likewise.
23939 (cosh_test_upward): Likewise.
23940 (sinh_test_tonearest): Likewise.
23941 (sinh_test_towardzero): Likewise.
23942 (sinh_test_downward): Likewise.
23943 (sinh_test_upward): Likewise.
23944 (main): Call the new functions.
23945 * sysdeps/i386/fpu/libm-test-ulps: Update.
23946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23948 2012-03-05 Tom de Vries <tom@codesourcery.com>
23950 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23951 default stack guard is set in last bytes.
23952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23954 2012-03-05 Kees Cook <keescook@chromium.org>
23956 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23959 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23960 possibly allocate from heap instead of stack.
23961 * stdio-common/bug-vfprintf-nargs.c: New file.
23962 * stdio-common/Makefile (tests): Add nargs overflow test.
23964 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23968 2012-03-03 Marek Polacek <polacek@redhat.com>
23970 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23971 * math/math_private.h: Likewise.
23972 * stdlib/tst-strtod.c: Likewise.
23973 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23974 * sysdeps/x86_64/bits/atomic.h: Likewise.
23976 2012-03-02 David S. Miller <davem@davemloft.net>
23978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23982 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23983 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23984 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23985 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23987 2012-03-02 Roland McGrath <roland@hack.frob.com>
23990 * manual/examples/README: New file, says the example source files
23991 can be used under GPL>=2.
23992 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23993 line containing just "*/".
23994 * manual/examples/add.c: Add copyright header (GPL>=2).
23995 * manual/examples/argp-ex1.c: Likewise.
23996 * manual/examples/argp-ex2.c: Likewise.
23997 * manual/examples/argp-ex3.c: Likewise.
23998 * manual/examples/argp-ex4.c: Likewise.
23999 * manual/examples/atexit.c: Likewise.
24000 * manual/examples/db.c: Likewise.
24001 * manual/examples/dir.c: Likewise.
24002 * manual/examples/dir2.c: Likewise.
24003 * manual/examples/execinfo.c: Likewise.
24004 * manual/examples/filecli.c: Likewise.
24005 * manual/examples/filesrv.c: Likewise.
24006 * manual/examples/fmtmsgexpl.c: Likewise.
24007 * manual/examples/genpass.c: Likewise.
24008 * manual/examples/inetcli.c: Likewise.
24009 * manual/examples/inetsrv.c: Likewise.
24010 * manual/examples/isockad.c: Likewise.
24011 * manual/examples/longopt.c: Likewise.
24012 * manual/examples/memopen.c: Likewise.
24013 * manual/examples/memstrm.c: Likewise.
24014 * manual/examples/mkfsock.c: Likewise.
24015 * manual/examples/mkisock.c: Likewise.
24016 * manual/examples/mygetpass.c: Likewise.
24017 * manual/examples/pipe.c: Likewise.
24018 * manual/examples/popen.c: Likewise.
24019 * manual/examples/rprintf.c: Likewise.
24020 * manual/examples/search.c: Likewise.
24021 * manual/examples/select.c: Likewise.
24022 * manual/examples/setjmp.c: Likewise.
24023 * manual/examples/sigh1.c: Likewise.
24024 * manual/examples/sigusr.c: Likewise.
24025 * manual/examples/stpcpy.c: Likewise.
24026 * manual/examples/strdupa.c: Likewise.
24027 * manual/examples/strftim.c: Likewise.
24028 * manual/examples/strncat.c: Likewise.
24029 * manual/examples/subopt.c: Likewise.
24030 * manual/examples/swapcontext.c: Likewise.
24031 * manual/examples/termios.c: Likewise.
24032 * manual/examples/testopt.c: Likewise.
24033 * manual/examples/testpass.c: Likewise.
24034 * manual/examples/timeval_subtract.c: Likewise.
24037 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24039 * manual/timeval_subtract.c.texi: ... here, new file.
24041 2012-03-02 David S. Miller <davem@davemloft.net>
24043 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24045 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24048 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24049 (__sin): Save and restore rounding mode and use round-to-nearest
24050 for all computations.
24051 (__cos): Save and restore rounding mode and use round-to-nearest
24052 for all computations.
24053 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24055 (tan): Save and restore rounding mode and use round-to-nearest for
24057 * math/libm-test.inc (cos_test_tonearest): New function.
24058 (cos_test_towardzero): Likewise.
24059 (cos_test_downward): Likewise.
24060 (cos_test_upward): Likewise.
24061 (sin_test_tonearest): Likewise.
24062 (sin_test_towardzero): Likewise.
24063 (sin_test_downward): Likewise.
24064 (sin_test_upward): Likewise.
24065 (tan_test_tonearest): Likewise.
24066 (tan_test_towardzero): Likewise.
24067 (tan_test_downward): Likewise.
24068 (tan_test_upward): Likewise.
24069 (main): Call the new functions.
24070 * sysdeps/i386/fpu/libm-test-ulps: Update.
24071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24074 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24075 small n, then large n, before computing and testing k+n.
24076 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24081 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24082 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24089 * math/libm-test.inc (scalbn_test): Add more tests.
24090 (scalbln_test): Likewise.
24092 * manual/filesys.texi (mode_t): Describe constraints on size and
24093 signedness, not exact equivalence to a particular type.
24095 (ino64_t): Likewise.
24097 (nlink_t): Likewise.
24098 (blkcnt_t): Likewise.
24099 (blkcnt64_t): Likewise.
24100 * manual/llio.texi (off_t): Likewise.
24103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24104 (__ieee754_exp): Save and restore rounding mode and use
24105 round-to-nearest for all computations.
24106 * math/libm-test.inc (exp_test_tonearest): New function.
24107 (exp_test_towardzero): Likewise.
24108 (exp_test_downward): Likewise.
24109 (exp_test_upward): Likewise.
24110 (main): Call the new functions.
24111 * sysdeps/i386/fpu/libm-test-ulps: Update.
24112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24114 2012-03-01 Chris Demetriou <cgd@google.com>
24116 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24117 have predictable order.
24119 2012-03-01 David S. Miller <davem@davemloft.net>
24121 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24123 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24128 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24129 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24130 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24132 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24133 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24134 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24135 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24136 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24141 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24142 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24144 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24152 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24153 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24154 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24160 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24161 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24162 * sysdeps/sparc/elf/configure: Regenerated.
24164 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24166 * configure.in (AS, LD): Require binutils 2.20 or later.
24167 * configure: Regenerated.
24168 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24169 as required minimum version.
24170 * INSTALL: Regenerated.
24174 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24175 before squaring exponent.
24176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24177 bottom long double and 27 bits of top long double before squaring
24179 * math/libm-test.inc (erfc_test): Add more tests.
24180 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24184 2012-03-01 Kai Tietz <ktietz@redhat.com>
24186 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24187 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24188 containing bit-fields.
24189 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24190 * soft-fp/single.h (_FP_UNION_S): Likewise.
24191 * soft-fp/double.h (_FP_UNION_D): Likewise.
24193 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24197 not include ../strcmp.S.
24198 [USE_AS_STRNCASECMP_L]: Likewise.
24199 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24200 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24201 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24202 (__strncasecmp_l_ia32): Define as alias to
24203 __strncasecmp_l_nonascii.
24206 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24207 * sysdeps/i386/fpu/libm-test-ulps: Update.
24208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24210 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24213 2012-02-29 Jeff Law <law@redhat.com>
24215 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24216 out of bounds read.
24218 2012-02-29 Marek Polacek <polacek@redhat.com>
24221 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24222 * elf/Makefile: Add rules to run tst-unused-dep.out.
24224 2012-02-28 David S. Miller <davem@davemloft.net>
24226 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24227 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24231 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24233 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24235 * math/libm-test.inc (llround_test): Move one test from
24236 lround_test. Use TEST_f_L in moved test.
24237 (lround_test): Move misplaced test to llround_test. Add testcase
24240 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24242 * sysdeps/x86_64/fpu/e_expf.S: New file.
24243 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24245 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24248 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24249 of remain_len that may cause incomplete multi-byte character and
24251 * posix/bug-regex33.c: New file.
24252 * posix/Makefile (tests): Add bug-regex33.
24254 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24256 * manual/macros.texi: New file.
24257 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24258 * manual/libc.texinfo: Include macros.texi.
24259 * manual/creatute.texi: Likewise.
24260 * manual/install.texi: Likewise.
24261 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24262 @glibcadj{} in references to the GNU C Library.
24263 * manual/charset.texi: Likewise.
24264 * manual/conf.texi: Likewise.
24265 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24266 when not using those macros.
24267 * manual/creature.texi: Likewise.
24268 * manual/crypt.texi: Likewise.
24269 * manual/errno.texi: Likewise.
24270 * manual/filesys.texi: Likewise.
24271 * manual/header.texi: Likewise.
24272 * manual/install.texi: Likewise.
24273 * manual/intro.texi: Likewise.
24274 * manual/io.texi: Likewise.
24275 * manual/job.texi: Likewise.
24276 * manual/lang.texi: Likewise.
24277 * manual/libc.texiinfo: Likewise.
24278 * manual/llio.texi: Likewise.
24279 * manual/locale.texi: Likewise.
24280 * manual/maint.texi: Likewise.
24281 * manual/math.texi: Likewise.
24282 * manual/memory.texi: Likewise.
24283 * manual/message.texi: Likewise.
24284 * manual/nss.texi: Likewise.
24285 * manual/pattern.texi: Likewise.
24286 * manual/process.texi: Likewise.
24287 * manual/resource.texi: Likewise.
24288 * manual/search.texi: Likewise.
24289 * manual/setjmp.texi: Likewise.
24290 * manual/signal.texi: Likewise.
24291 * manual/socket.texi: Likewise.
24292 * manual/startup.texi: Likewise.
24293 * manual/stdio.texi: Likewise.
24294 * manual/string.texi: Likewise.
24295 * manual/sysinfo.texi: Likewise.
24296 * manual/syslog.texi: Likewise.
24297 * manual/terminal.texi: Likewise.
24298 * manual/time.texi: Likewise.
24299 * manual/users.texi: Likewise.
24300 * INSTALL: Regenerated.
24301 * NOTES: Regenerated.
24302 * sysdeps/gnu/errlist.c: Regenerated.
24304 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24306 * include/dirent.h: Include <dirstream.h> before
24309 2012-02-28 David S. Miller <davem@davemloft.net>
24311 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24312 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24313 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24314 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24316 2012-02-27 David S. Miller <davem@davemloft.net>
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24320 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24321 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24324 frame pointer instead of stack pointer relative arg slot.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24329 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24332 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24334 2012-02-27 David S. Miller <davem@davemloft.net>
24336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24342 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24343 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24345 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24347 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24348 later. Allow versions 5-9.
24349 * configure: Regenerated.
24350 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24351 required minimum version and 4.6 as recommended version. Do not
24352 mention bugs in GCC 2.7 and 2.8.
24353 * INSTALL: Regenerated.
24355 2012-02-27 David S. Miller <davem@davemloft.net>
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24361 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24362 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24363 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24364 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24367 manipulate bits before adding and subtracting TWO112[sx].
24368 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24370 2012-02-27 Roland McGrath <roland@hack.frob.com>
24373 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24374 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24375 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24376 being in POSIX, because they are in 1003.1-2008.
24378 * rt/tst-aio.c: Include <fcntl.h>.
24379 * rt/tst-aio7.c: Likewise.
24380 * rt/tst-aio64.c: Likewise.
24382 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24384 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24386 * manual/install.texi (--with-headers): Describe headers as
24387 interface headers, not private headers.
24388 (Specific advice for GNU/Linux systems): Describe use of headers
24389 from "make headers_install", not private headers from older
24391 * INSTALL: Regenerated.
24392 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24394 * sysdeps/unix/sysv/linux/configure: Regenerated.
24396 * manual/llio.texi (fclean): Remove documentation.
24398 * manual/Makefile (libc-texi-generated): New variable. Include
24400 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24401 $(libc-texi-generated), not duplicated list of files.
24402 (version.texi, stamp-version): New rules.
24403 (realclean): Remove $(libc-texi-generated), not individual files
24404 from that list. Do not remove dir-add.texinfo.
24405 * manual/libc.texinfo: Comment out uses of edition numbers and
24406 references to printed manual. Remove last-updated dates.
24407 (EDITION): Comment out.
24409 (VERSION, UPDATED): Remove.
24410 (version.texi): Include.
24412 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24414 * sysdeps/posix/spawni.c: Include <signal.h>.
24415 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24416 * sysdeps/pthread/aio_fsync.c: Likewise.
24418 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24420 * conform/Makefile (tests): Run only when not cross-compiling and
24421 when fast-check is not defined.
24423 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24424 * conform/data/limits.h-data: Fixes for POSIX2008.
24425 * conform/run-conformtest.sh: Run all tests.
24426 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24428 * include/bits/dlfcn.h: Likewise.
24429 * include/langinfo.h: Likewise.
24430 * include/monetary.h: Likewise.
24431 * include/sys/poll.h: Likewise.
24433 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24435 * posix/spawn.h: Define __need_sigset_t.
24436 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24437 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24438 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24439 to get sigevent_t only.
24440 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24441 only for __USE_GNU.
24442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24443 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24444 process_vm_writev only for __USE_GNU.
24445 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24447 * conform/Makefile: For now ignore errors from run-conformtest.
24448 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24449 POSIX to avoid namespace pollution. Don't prepend headers.
24450 * conform/data/aio.h-data: Fixes for POSIX testing.
24451 * conform/data/fcntl.h-data: Likewise.
24452 * conform/data/glob.h-data: Likewise.
24453 * conform/data/grp.h-data: Likewise.
24454 * conform/data/pthread.h-data: Likewise.
24455 * conform/data/pwd.h-data: Likewise.
24456 * conform/data/signal.h-data: Likewise.
24457 * conform/data/spawn.h-data: Likewise.
24458 * conform/data/stdio.h-data: Likewise.
24459 * conform/data/stdlib.h-data: Likewise.
24460 * conform/data/stropts.h-data: Likewise.
24461 * conform/data/sys/mman.h-data: Likewise.
24462 * conform/data/sys/stat.h-data: Likewise.
24463 * conform/data/sys/types.h-data: Likewise.
24464 * conform/data/sys/wait.h-data: Likewise.
24465 * conform/data/time.h-data: Likewise.
24466 * conform/data/unistd.h-data: Likewise.
24467 * conform/data/utime.h-data: Likewise.
24469 * io/sys/stat.h: fchmod was always in POSIX.
24470 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24471 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24472 * rt/aio.h: Define __need_timespec before including <time.h>.
24473 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24474 struct. Add forward declaration of pthread_attr_t and use it in
24476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24478 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24479 always remove CLK_TCK definition.
24481 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24483 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24485 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24487 * conform/run-conformtest.sh: New file.
24488 * conform/Makefile: Run run-conformtest for tests.
24489 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24492 * conform/data/uchar.h-data: New file.
24493 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24494 * conform/data/arpa/inet.h-data: Likewise.
24495 * conform/data/assert.h-data: Likewise.
24496 * conform/data/complex.h-data: Likewise.
24497 * conform/data/cpio.h-data: Likewise.
24498 * conform/data/ctype.h-data: Likewise.
24499 * conform/data/dirent.h-data: Likewise.
24500 * conform/data/dlfcn.h-data: Likewise.
24501 * conform/data/errno.h-data: Likewise.
24502 * conform/data/fcntl.h-data: Likewise.
24503 * conform/data/float.h-data: Likewise.
24504 * conform/data/fmtmsg.h-data: Likewise.
24505 * conform/data/fnmatch.h-data: Likewise.
24506 * conform/data/ftw.h-data: Likewise.
24507 * conform/data/glob.h-data: Likewise.
24508 * conform/data/grp.h-data: Likewise.
24509 * conform/data/iconv.h-data: Likewise.
24510 * conform/data/inttypes.h-data: Likewise.
24511 * conform/data/langinfo.h-data: Likewise.
24512 * conform/data/libgen.h-data: Likewise.
24513 * conform/data/limits.h-data: Likewise.
24514 * conform/data/locale.h-data: Likewise.
24515 * conform/data/math.h-data: Likewise.
24516 * conform/data/monetary.h-data: Likewise.
24517 * conform/data/mqueue.h-data: Likewise.
24518 * conform/data/ndbm.h-data: Likewise.
24519 * conform/data/net/if.h-data: Likewise.
24520 * conform/data/netdb.h-data: Likewise.
24521 * conform/data/netinet/in.h-data: Likewise.
24522 * conform/data/nl_types.h-data: Likewise.
24523 * conform/data/poll.h-data: Likewise.
24524 * conform/data/pthread.h-data: Likewise.
24525 * conform/data/pwd.h-data: Likewise.
24526 * conform/data/regex.h-data: Likewise.
24527 * conform/data/sched.h-data: Likewise.
24528 * conform/data/search.h-data: Likewise.
24529 * conform/data/semaphore.h-data: Likewise.
24530 * conform/data/setjmp.h-data: Likewise.
24531 * conform/data/signal.h-data: Likewise.
24532 * conform/data/spawn.h-data: Likewise.
24533 * conform/data/stdarg.h-data: Likewise.
24534 * conform/data/stdio.h-data: Likewise.
24535 * conform/data/stdlib.h-data: Likewise.
24536 * conform/data/string.h-data: Likewise.
24537 * conform/data/strings.h-data: Likewise.
24538 * conform/data/stropts.h-data: Likewise.
24539 * conform/data/sys/ipc.h-data: Likewise.
24540 * conform/data/sys/mman.h-data: Likewise.
24541 * conform/data/sys/msg.h-data: Likewise.
24542 * conform/data/sys/resource.h-data: Likewise.
24543 * conform/data/sys/select.h-data: Likewise.
24544 * conform/data/sys/sem.h-data: Likewise.
24545 * conform/data/sys/shm.h-data: Likewise.
24546 * conform/data/sys/socket.h-data: Likewise.
24547 * conform/data/sys/stat.h-data: Likewise.
24548 * conform/data/sys/statvfs.h-data: Likewise.
24549 * conform/data/sys/time.h-data: Likewise.
24550 * conform/data/sys/timeb.h-data: Likewise.
24551 * conform/data/sys/times.h-data: Likewise.
24552 * conform/data/sys/types.h-data: Likewise.
24553 * conform/data/sys/uio.h-data: Likewise.
24554 * conform/data/sys/un.h-data: Likewise.
24555 * conform/data/sys/utsname.h-data: Likewise.
24556 * conform/data/sys/wait.h-data: Likewise.
24557 * conform/data/syslog.h-data: Likewise.
24558 * conform/data/tar.h-data: Likewise.
24559 * conform/data/termios.h-data: Likewise.
24560 * conform/data/utime.h-data: Likewise.
24561 * conform/data/utmpx.h-data: Likewise.
24562 * conform/data/varargs.h-data: Likewise.
24563 * conform/data/wchar.h-data: Likewise.
24564 * conform/data/wctype.h-data: Likewise.
24565 * conform/data/wordexp.h-data: Likewise.
24567 * include/stropts.h: New file.
24568 * include/uchar.h: New file.
24569 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24570 * include/assert.h: Likewise.
24571 * include/ctype.h: Likewise.
24572 * include/dirent.h: Likewise.
24573 * include/dlfcn.h: Likewise.
24574 * include/fcntl.h: Likewise.
24575 * include/fnmatch.h: Likewise.
24576 * include/glob.h: Likewise.
24577 * include/grp.h: Likewise.
24578 * include/libio.h: Likewise.
24579 * include/locale.h: Likewise.
24580 * include/math.h: Likewise.
24581 * include/net/if.h: Likewise.
24582 * include/netdb.h: Likewise.
24583 * include/netinet/in.h: Likewise.
24584 * include/pthread.h: Likewise.
24585 * include/pwd.h: Likewise.
24586 * include/regex.h: Likewise.
24587 * include/sched.h: Likewise.
24588 * include/search.h: Likewise.
24589 * include/setjmp.h: Likewise.
24590 * include/signal.h: Likewise.
24591 * include/stdio.h: Likewise.
24592 * include/stdlib.h: Likewise.
24593 * include/string.h: Likewise.
24594 * include/sys/cdefs.h: Likewise.
24595 * include/sys/mman.h: Likewise.
24596 * include/sys/msg.h: Likewise.
24597 * include/sys/resource.h: Likewise.
24598 * include/sys/select.h: Likewise.
24599 * include/sys/socket.h: Likewise.
24600 * include/sys/stat.h: Likewise.
24601 * include/sys/statvfs.h: Likewise.
24602 * include/sys/time.h: Likewise.
24603 * include/sys/times.h: Likewise.
24604 * include/sys/uio.h: Likewise.
24605 * include/sys/utsname.h: Likewise.
24606 * include/sys/wait.h: Likewise.
24607 * include/termios.h: Likewise.
24608 * include/time.h: Likewise.
24609 * include/ulimit.h: Likewise.
24610 * include/unistd.h: Likewise.
24611 * include/utime.h: Likewise.
24612 * include/wchar.h: Likewise.
24613 * include/wctype.h: Likewise.
24614 * include/wordexp.h: Likewise.
24616 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24618 * time/time.h: TIME_UTC must be a macro.
24619 Make timespec_get available for ISO C11 only as well.
24621 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24623 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24624 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24626 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24628 * configure.in: Use -o not -a in test for unsupported multi-arch.
24630 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24632 * manual/texinfo.tex: Update to version 2012-01-19.16.
24634 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24636 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24638 2012-02-24 Roland McGrath <roland@hack.frob.com>
24641 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24642 * manual/fdl-1.3.texi: New file.
24643 * manual/fdl-1.1.texi: File removed.
24646 * manual/libc.texinfo (FDL_VERSION): New @set.
24647 Use it for mention of FDL in cover text.
24648 (Documentation License): Use it in @include file name.
24650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24651 Roland McGrath <roland@hack.frob.com>
24654 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24655 not LONG_LONG_MAX and LONG_LONG_MIN.
24656 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24657 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24659 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24661 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24665 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24666 manipulate bits before adding and subtracting TWO23[sx].
24667 * math/libm-test.inc (nearbyint_test): Add more tests.
24669 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24672 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24673 bits before adding and subtracting TWO23[sx].
24674 * math/libm-test.inc (rint_test): Add more tests.
24675 (rint_test_tonearest): Likewise.
24676 (rint_test_towardzero): Likewise.
24677 (rint_test_downward): Likewise.
24678 (rint_test_upward: Likewise.
24680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24683 * include/stdc-predef.h: New file. Extracted from features.h.
24684 * include/features.h: Include stdc-predef.h.
24685 * Makefile (headers): Add stdc-predef.h.
24686 * CONFORMANCE (Compiler limitations): Update.
24688 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24690 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24692 2012-02-21 David S. Miller <davem@davemloft.net>
24694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24697 2012-02-20 David S. Miller <davem@davemloft.net>
24699 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24700 using a normal save/restore sequence, rather than allocating a
24701 dummy stack frame just to store a frame pointer and restore.
24702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24704 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24706 * manual/install.texi: Fix stray word in line-wrapped comment.
24708 2012-02-20 David S. Miller <davem@davemloft.net>
24710 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24711 both binutils and gcc support GOTDATA.
24713 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24714 "rd %pc" in the PIC register setup sequences.
24716 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24717 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24718 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24719 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24725 (SYSCALL_ERROR_HANDLER): Likewise.
24726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24729 (SYSCALL_ERROR_HANDLER): Likewise.
24731 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24732 (HAVE_GCC_GOTDATA): New.
24733 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24734 relocation support in both binutils and gcc.
24735 * sysdeps/sparc/elf/configure: Regenerate.
24737 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24738 * sysdeps/sparc/sparc32/elf/configure: Delete.
24739 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24740 * sysdeps/sparc/sparc64/elf/configure: Delete.
24741 * sysdeps/sparc/elf/configure.in: New file.
24742 * sysdeps/sparc/elf/configure: Generate.
24744 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24745 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24747 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24748 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24752 * manual/install.texi: Do not mention specific glibc version
24754 * manual/libc.texinfo (VERSION, UPDATED): Update.
24755 (@copying): Use @copyright{} and range of years.
24757 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24760 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24761 [crti.S not in sysdirs] (generated): Do not append.
24762 [crti.S not in sysdirs] (omit-deps): Likewise.
24763 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24764 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24765 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24766 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24767 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24769 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24770 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24771 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24772 * csu/defs.awk: Remove file.
24773 * sysdeps/generic/initfini.c: Likewise.
24774 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24776 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24779 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24781 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24782 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24783 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24784 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24786 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24788 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24789 (__EPOLL_PACKED): Define to empty if not defined by
24791 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24795 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24797 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24798 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24799 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24800 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24802 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24806 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24808 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24818 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24820 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24822 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24823 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24825 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24827 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24830 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24832 * math/w_acos.c: Use non-signaling floating-point comparisons.
24833 * math/w_acosf.c: Likewise.
24834 * math/w_acosh.c: Likewise.
24835 * math/w_acoshf.c: Likewise.
24836 * math/w_acoshl.c: Likewise.
24837 * math/w_acosl.c: Likewise.
24838 * math/w_asin.c: Likewise.
24839 * math/w_asinf.c: Likewise.
24840 * math/w_asinl.c: Likewise.
24841 * math/w_atanh.c: Likewise.
24842 * math/w_atanhf.c: Likewise.
24843 * math/w_atanhl.c: Likewise.
24844 * math/w_exp2.c: Likewise.
24845 * math/w_exp2f.c: Likewise.
24846 * math/w_exp2l.c: Likewise.
24847 * math/w_j0.c: Likewise.
24848 * math/w_j0f.c: Likewise.
24849 * math/w_j0l.c: Likewise.
24850 * math/w_j1.c: Likewise.
24851 * math/w_j1f.c: Likewise.
24852 * math/w_j1l.c: Likewise.
24853 * math/w_jn.c: Likewise.
24854 * math/w_jnf.c: Likewise.
24855 * math/w_log.c: Likewise.
24856 * math/w_log10.c: Likewise.
24857 * math/w_log10f.c: Likewise.
24858 * math/w_log10l.c: Likewise.
24859 * math/w_log2.c: Likewise.
24860 * math/w_log2f.c: Likewise.
24861 * math/w_log2l.c: Likewise.
24862 * math/w_logf.c: Likewise.
24863 * math/w_logl.c: Likewise.
24864 * math/w_sqrt.c: Likewise.
24865 * math/w_sqrtf.c: Likewise.
24866 * math/w_sqrtl.c: Likewise.
24867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24868 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24870 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24871 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24873 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24876 * manual/string.texi (strnlen): Use correct parameter name in
24877 equivalent expression.
24879 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24882 * manual/users.texi (seteuid): Consistently use neweuid for
24885 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24888 * manual/nss.texi (Services in the NSS configuration): Correct
24889 list of services in example configuration file.
24891 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24894 * manual/arith.texi: Remove statements about negative zero
24895 behaving identically to zero.
24897 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24900 * manual/install.texi: Do not document upgrading from libc5.
24902 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24905 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24907 2012-02-18 David S. Miller <davem@davemloft.net>
24909 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24910 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24911 %o7 across the call.
24912 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24915 SETUP_PIC_REG_LEAF.
24916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24917 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24918 * sysdeps/sparc/crtn.S: Likewise.
24920 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24922 * aout/Makefile: Remove.
24924 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24927 * manual/examples/argp-ex1.c (main): Format definition in GNU
24929 * manual/examples/argp-ex2.c (main): Likewise.
24930 * manual/examples/argp-ex3.c (main): Likewise.
24931 * manual/examples/argp-ex4.c (main): Likewise.
24932 * manual/examples/longopt.c (main): Use new-style prototype
24934 * manual/examples/strncat.c (main): Specify return type and use
24935 (void) for arguments.
24936 * manual/examples/subopt.c (main): Use char **argv argument.
24938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24941 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24944 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24947 * manual/string.texi (strchr): Change when strchrnul is
24950 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24953 * manual/locale.texi (setlocale): Document LOCPATH.
24955 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24958 * manual/process.texi (execle): Move @dots{} before last argument.
24960 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24963 * manual/charset.texi (Generic Charset Conversion): Fix typo
24964 (LC_TYPE -> LC_CTYPE).
24966 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24969 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24970 (scalbnf): Likewise.
24971 (scalbnl): Likewise.
24972 (scalbln): Likewise.
24973 (scalblnf): Likewise.
24974 (scalblnl): Likewise.
24975 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24976 (vwarnx): Likewise.
24979 * manual/filesys.texi (telldir): Use braces around return type.
24980 * manual/llio.texi (mmap): Add space after comma.
24981 (mmap64): Likewise.
24982 * manual/math.texi (jn): Use @var{} on parameter names.
24988 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24990 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24992 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24993 (sched_get_priority_max): Likewise.
24994 * manual/signal.texi (sigvec): Add space after comma.
24995 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24997 (if_indextoname): Likewise.
24998 (if_freenameindex): Likewise.
24999 (sendto): Use ',' instead of '.' in prototype.
25000 * manual/startup.texi (syscall): Use @dots{} instead of literal
25002 * manual/stdio.texi (__fpending): Separate initial words of
25003 paragraph from @deftypefun line.
25004 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25006 (vsyslog): Use @var{} on parameter names.
25007 * manual/terminal.texi (stty): Use @var{} on parameter names.
25008 * manual/users.texi (getutmp): Use @var{} on parameter names.
25009 (getutmpx): Likewise.
25011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25014 * manual/stdio.texi (fopen): Fix typos in description of
25017 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25020 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25021 get clock_id definition.
25023 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25026 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25027 (madvise): Cast every argument to void on its own.
25029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25032 * manual/startup.texi (Exit Status): Fix typo.
25034 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25037 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25038 * manual/examples/argp-ex2.c: Likewise.
25039 * manual/examples/argp-ex3.c: Likewise.
25041 2012-02-16 Richard Henderson <rth@redhat.com>
25043 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25044 * sysdeps/s390/s390-32/initfini.c: Remove.
25045 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25046 * sysdeps/s390/s390-64/initfini.c: Remove.
25048 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25050 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25051 compiler output for sysdeps/generic/initfini.c.
25052 * sysdeps/sh/elf/initfini.c: Remove file.
25054 2012-02-16 David S. Miller <davem@davemloft.net>
25057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25059 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25060 * sysdeps/sparc/crti.S: New file.
25061 * sysdeps/sparc/crtn.S: New file.
25062 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25063 * sysdeps/sparc/sparc64/Makefile: Likewise.
25065 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25068 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25070 2012-02-15 Roland McGrath <roland@hack.frob.com>
25073 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25075 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25076 (write, read, close): Likewise.
25077 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25079 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25081 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25082 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25083 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25084 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25086 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25090 2012-02-14 Marek Polacek <polacek@redhat.com>
25092 * sysdeps/x86_64/crti.S: New file.
25093 * sysdeps/x86_64/crtn.S: New file.
25094 * sysdeps/x86_64/elf/initfini.c: Remove file.
25096 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25098 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25099 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25100 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25101 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25103 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25107 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25109 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25110 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25111 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25112 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25114 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25118 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25120 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25121 __feraiseexcept instead of feraiseexcept.
25123 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25124 nanosleep invocations.
25125 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25126 strings, and add error checking for a nanosleep invocations.
25128 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25130 Replace FSF snail mail address with URLs, as per GNU coding standards.
25131 Most of the snail mail addresses were wrong anyway, and omitting
25132 them makes the source code easier to maintain. Almost all of the
25133 changes are to license notices and to locale LC_IDENTIFICATION
25134 addresses, except for this one:
25135 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25136 not its snail mail address.
25138 2012-02-09 Richard Henderson <rth@twiddle.net>
25140 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25141 of kernel-features.h.
25143 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25145 2012-02-08 Marek Polacek <polacek@redhat.com>
25147 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25148 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25149 * sysdeps/gnu/_G_config.h: Likewise.
25150 * sysdeps/generic/_G_config.h: Likewise.
25152 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25154 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25158 * sysdeps/powerpc/powerpc32/crti.S: New file.
25159 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25160 * sysdeps/powerpc/powerpc64/crti.S: New file.
25161 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25163 * Makeconfig (have-initfini): Don't set.
25164 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25165 * configure.in (nopic_initfini): Don't substitute.
25166 * config.h.in (HAVE_INITFINI): Don't #undef.
25167 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25168 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25170 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25172 Support crti.S and crtn.S provided directly by architectures.
25173 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25174 [crti.S in sysdirs] (omit-deps): Likewise.
25175 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25176 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25177 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25178 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25179 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25180 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25181 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25182 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25183 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25184 compiler output for sysdeps/generic/initfini.c.
25185 * sysdeps/i386/elf/Makefile: Remove file.
25186 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25188 2012-02-07 Marek Polacek <polacek@redhat.com>
25190 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25191 * sysdeps/gnu/_G_config.h: Likewise.
25192 * sysdeps/mach/hurd/_G_config.h: Likewise.
25194 2012-02-07 Marek Polacek <polacek@redhat.com>
25196 * math/Makefile (tests): Add tst-CMPLX2.
25197 * math/tst-CMPLX2.c: New file.
25199 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25203 * math/libm-test.inc (jn_test): Add missing L suffix.
25205 2012-02-06 Marek Polacek <polacek@redhat.com>
25207 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25208 * sysdeps/i386/fpu/e_powf.S: Likewise.
25209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25210 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25212 * sysdeps/i386/fpu/e_pow.S: Likewise.
25213 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25215 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25216 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25217 * sysdeps/i386/fpu/e_log2.S: Likewise.
25218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25220 * sysdeps/i386/fpu/e_powl.S: Likewise.
25221 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25222 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25223 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25224 * sysdeps/i386/fpu/e_logl.S: Likewise.
25225 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25226 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25227 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25228 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25229 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25231 * sysdeps/i386/fpu/e_log.S: Likewise.
25232 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25234 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25235 * sysdeps/i386/fpu/e_logf.S: Likewise.
25236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25238 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25239 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25240 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25241 * sysdeps/i386/fpu/e_log10.S: Likewise.
25242 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25244 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25245 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25246 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25247 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25248 * sysdeps/i386/asm-syntax.h: Likewise.
25249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25252 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25253 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25258 * sysdeps/powerpc/sysdep.h: Likewise.
25259 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25262 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25265 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25267 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25269 * sysdeps/i386/sysdep.h: Include <features.h>.
25270 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25273 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25277 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25280 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25282 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25283 (SETUP_PIC_REG): Use GET_PC_THUNK.
25284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25287 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25290 for non-PIC compilation.
25291 (SETUP_PIC_REG): Add .p2align directive.
25292 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25293 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25300 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25301 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25302 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25303 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25304 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25305 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25306 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25307 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25308 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25309 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25310 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25311 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25312 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25313 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25320 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25321 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25324 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25326 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25334 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25336 * math/tst-CMPLX.c: Include <stdio.h>.
25338 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25340 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25342 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25343 * sysdeps/sparc/bits/mathdef.h: Likewise.
25345 2012-01-31 Marek Polacek <polacek@redhat.com>
25347 * libio/libio.h: Don't define _PARAMS.
25348 * locale/programs/config.h: Don't define PARAMS.
25349 * stdlib/strtol_l.c: Likewise.
25350 (__strtol_l): Remove PARAMS from the prototype.
25352 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25354 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25355 names. Just use the correct names. Remove unnecessary wrapper
25357 * malloc/arena.c: Likewise.
25358 * malloc/hooks.c: Likewise.
25360 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25361 ARENA_TEST says not to. Simplify test for creation of a new arena.
25362 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25364 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25366 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25368 (update_get_addr): New function.
25369 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25370 GET_ADDR_MODULE parameter.
25372 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25374 * crypt/cert.c: Remove __STDC__ conditionals.
25375 * crypt/crypt-entry.c: Likewise.
25376 * crypt/crypt_util.c: Likewise.
25377 * libio/filedoalloc.c: Likewise.
25378 * libio/fileops.c: Likewise.
25379 * libio/genops.c: Likewise.
25380 * libio/iofclose.c: Likewise.
25381 * libio/iofdopen.c: Likewise.
25382 * libio/iofopen.c: Likewise.
25383 * libio/iofopen64.c: Likewise.
25384 * libio/iogetdelim.c: Likewise.
25385 * libio/iopopen.c: Likewise.
25386 * libio/obprintf.c: Likewise.
25387 * libio/oldfileops.c: Likewise.
25388 * libio/oldiofclose.c: Likewise.
25389 * libio/oldiofdopen.c: Likewise.
25390 * libio/oldiofopen.c: Likewise.
25391 * libio/oldiopopen.c: Likewise.
25392 * libio/wfiledoalloc.c: Likewise.
25393 * libio/wgenops.c: Likewise.
25394 * locale/programs/xmalloc.c: Likewise.
25395 * misc/syslog.c: Likewise.
25396 * stdio-common/xbug.c: Likewise.
25397 * string/memchr.c: Likewise.
25398 * string/memcmp.c: Likewise.
25399 * string/memrchr.c: Likewise.
25400 * string/rawmemchr.c: Likewise.
25401 * sysdeps/posix/getcwd.c: Likewise.
25402 * time/strftime_l.c: Likewise.
25404 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25406 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25407 * config.make.in (config-cflags-sse2avx): Define.
25408 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25411 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25413 * scripts/config.guess: Update from upstream config git repository.
25414 * scripts/config.sub: Likewise.
25416 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25418 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25420 (R_TILEPRO_*, R_TILEGX_*): New macros.
25422 * scripts/firstversions.awk: Fix bug in version range handling.
25424 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25426 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25428 * include/sys/epoll.h: New file.
25429 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25432 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25434 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25435 Avoid unnecessary __WORDSIZE == 64 test.
25436 (fmaxf): Use VEX format if possible.
25441 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25442 * math/math_private.h: Remove libc_fegetround* and
25444 * sysdeps/i386/configure.in: Check for -msse2avx.
25445 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25446 also if SSE2AVX is defined.
25447 Remove libc_fegetround* and libc_fesetround*.
25448 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25449 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25458 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25460 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25462 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25464 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25466 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25469 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25471 * Makeconfig (libm): Define.
25472 * elf/Makefile: Add rules to build and run tst-relsort1.
25473 * elf/tst-relsort1.c: New file.
25474 * elf/tst-relsort1mod1.c: New file.
25475 * elf/tst-relsort1mod2.c: New file.
25477 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25479 * math/s_ldexp.c: Remove __STDC__ conditionals.
25480 * math/s_ldexpf.c: Likewise.
25481 * math/s_ldexpl.c: Likewise.
25482 * math/s_nextafter.c: Likewise.
25483 * math/s_nexttowardf.c: Likewise.
25484 * math/s_significand.c: Likewise.
25485 * math/s_significandf.c: Likewise.
25486 * math/s_significandl.c: Likewise.
25487 * math/w_jnl.c: Likewise.
25488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25507 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25509 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25510 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25512 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25513 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25514 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25515 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25516 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25517 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25519 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25520 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25521 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25523 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25524 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25525 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25526 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25527 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25528 * sysdeps/ieee754/k_standard.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25608 * sysdeps/ieee754/s_matherr.c: Likewise.
25609 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25614 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25616 * crypt/md5.h: Remove __STDC__ conditionals.
25617 * libio/libioP.h: Likewise.
25618 * locale/programs/config.h: Likewise.
25619 * sysdeps/generic/sysdep.h: Likewise.
25620 * sysdeps/i386/asm-syntax.h: Likewise.
25621 * sysdeps/s390/asm-syntax.h: Likewise.
25622 * sysdeps/unix/sysdep.h: Likewise.
25623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25626 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25628 * libio/libio.h: Remove __STDC__ conditionals.
25629 * malloc/obstack.h: Likewise.
25630 * math/complex.h: Likewise.
25631 * math/math.h: Likewise.
25632 * sysdeps/generic/_G_config.h: Likewise.
25633 * sysdeps/gnu/_G_config.h: Likewise.
25634 * sysdeps/mach/hurd/_G_config.h: Likewise.
25635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25636 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25637 * sysdeps/sparc/bits/mathdef.h: Likewise.
25639 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25642 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25643 Clean up HAS_* macros.
25644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25645 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25655 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25657 * elf/tst-unique3.cc (gets): Remove declaration.
25658 * elf/tst-unique3lib.cc (gets): Likewise.
25659 * elf/tst-unique3lib2.cc (gets): Likewise.
25660 * elf/tst-unique4.cc (gets): Likewise.
25662 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25664 * include/stdio.h: Add C++ protection. Add gets declarations and
25666 * debug/tst-chk1.c: Don't declare gets here.
25667 * stdio-common/tst-gets.c: Likewise.
25669 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25671 * posix/glob: Remove directory.
25673 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25675 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25677 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25679 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25680 of the non-standard EPFNOSUPPORT.
25682 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25684 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25685 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25686 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25688 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25690 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25692 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25694 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25696 * nscd/grpcache.c (cache_addgr): Likewise.
25697 * nscd/hstcache.c (cache_addhst): Likewise.
25698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25699 * nscd/pwdcache.c (cache_addpw): Likewise.
25700 * nscd/servicescache.c (cache_addserv): Likewise.
25702 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25704 * malloc/malloc.c: Various cleanups.
25705 * malloc/hooks.c: Likewise.
25707 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25708 * stdlib/bug-fmtmsg1.c: New file.
25710 * stdlib/fmtmsg.c (init): Add missing unlock.
25711 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25713 2012-01-12 Marek Polacek <polacek@redhat.com>
25715 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25718 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25720 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25722 macro to ensure uniqueness of label name.
25723 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25724 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25726 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25728 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25731 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25735 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25739 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25740 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25743 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25745 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25746 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25750 * math/bits/math-finite.h: Add ldexp support.
25752 2012-01-10 Marek Polacek <polacek@redhat.com>
25754 * locale/programs/localedef.h (show_archive_content): Add noreturn
25757 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25761 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25763 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25765 * io/Makefile (headers): Add bits/poll2.h.
25767 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25770 typo #include statement.
25772 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25774 * include/sys/cdefs.h: Define __attribute_alloc_size.
25775 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25776 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25777 * elf/pldd.c: Likewise.
25778 * iconv/iconv_charmap.c: Likewise.
25779 * iconv/iconvconfig.c: Likewise.
25780 * iconv/strtab.c: Likewise.
25781 * locale/programs/locale.c: Likewise.
25782 * locale/programs/localedef.h: Likewise.
25783 * locale/programs/simple-hash.c: Likewise.
25784 * nscd/nscd.h: Likewise.
25785 * nss/makedb.c: Likewise.
25786 * sysdeps/generic/ldconfig.h: Likewise.
25787 * locale/programs/localedef.c: Remove xmalloc prototype.
25788 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25790 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25795 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25797 * math/Makefile (tests): Add tst-CMPLX.
25798 * math/tst-CMPLX.c: New file.
25800 * math/complex.h (CMPLXL): Fix typo.
25802 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25803 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25805 * debug/tst-chk1.c: Add poll and ppoll tests.
25806 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25807 * include/sys/poll.h: Add hidden proto for ppoll.
25808 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25809 * sysdeps/mach/hurd/ppoll.c: Likewise.
25810 * io/ppoll.c: Likewise.
25811 * debug/poll_chk.c: New file.
25812 * debug/ppoll_chk.c: New file.
25813 * include/bits/poll2.h: New file.
25814 * io/bits/poll2.h: New file.
25817 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25819 * configure.in: static is always set to yes. Remove.
25820 * config.make.in: Don't set build-static.
25821 * Makeconfig: Remove use of build-static.
25822 * dlfcn/Makefile: Likewise.
25823 * elf/Makefile: Likewise.
25824 * math/Makefile: Likewise.
25825 * misc/Makefile: Likewise.
25826 * nptl/Makefile: Likewise.
25827 * sysdeps/mach/hurd/Makefile: Likewise.
25829 * configure.in: PWD_P is not used anymore.
25830 * config.make.in: Remove PWD_P entry.
25832 * configure.in: Remove last remnants of RANLIB.
25833 No need to check for signed size_t anymore.
25834 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25836 Remove __builtin_expect test because we require at least gcc 3.4.
25837 * aclocal.m4: Likewise.
25839 * wcsmbs/mbrtoc16.c: Implement using towc function.
25840 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25841 * wcsmbs/wcsmbsload.c: Likewise.
25842 * iconv/gconv_simple.c: Likewise.
25843 * iconv/gconv_int.h: Likewise.
25844 * iconv/gconv_builtin.h: Likewise.
25845 * iconv/iconv_prog.c: Remove CHAR16 handling.
25847 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25849 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25851 * configure.in: Remove --with-elf and --enable-bounded options.
25852 Dont set base_machine for ia64. More non-ELF conditions removed.
25853 Remove testing and setting of leading underscore information.
25854 * config.make.in (build-bounded): Set to no.
25855 * config.h.in: Remove NO_UNDERSCORES entry.
25856 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25858 * csu/start.c: Remove !NO_UNDERSCORE code.
25859 * locale/localeinfo.h: Likewise.
25860 * sysdeps/generic/machine-gmon.h: Likewise.
25861 * sysdeps/generic/sysdep.h: Likewise.
25862 * sysdeps/i386/sysdep.h: Likewise.
25863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25864 * sysdeps/mach/sysdep.h: Likewise.
25865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25867 * sysdeps/sh/sysdep.h: Likewise.
25868 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25869 * sysdeps/unix/i386/sysdep.S: Likewise.
25870 * sysdeps/unix/sparc/start.c: Likewise.
25871 * sysdeps/unix/sparc/sysdep.S: Likewise.
25872 * sysdeps/unix/sparc/sysdep.h: Likewise.
25873 * sysdeps/unix/start.c: Likewise.
25874 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25875 * sysdeps/x86_64/sysdep.h: Likewise.
25877 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25880 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25882 * argp/argp-fmtstream.h: Use const instead __const.
25883 * argp/argp.h: Likewise.
25884 * assert/assert.h: Likewise.
25885 * bits/fenv.h: Likewise.
25886 * bits/sched.h: Likewise.
25887 * bits/sigset.h: Likewise.
25888 * bits/sigthread.h: Likewise.
25889 * catgets/nl_types.h: Likewise.
25890 * conform/data/pthread.h-data: Likewise.
25891 * crypt/crypt-private.h: Likewise.
25892 * crypt/crypt.h: Likewise.
25893 * crypt/crypt_util.c: Likewise.
25894 * ctype/ctype.h: Likewise.
25895 * debug/execinfo.h: Likewise.
25896 * debug/mbsnrtowcs_chk.c: Likewise.
25897 * debug/mbsrtowcs_chk.c: Likewise.
25898 * debug/wcsnrtombs_chk.c: Likewise.
25899 * debug/wcsrtombs_chk.c: Likewise.
25900 * debug/wcstombs_chk.c: Likewise.
25901 * dirent/dirent.h: Likewise.
25902 * dlfcn/dlfcn.h: Likewise.
25903 * elf/neededtest4.c: Likewise.
25904 * grp/grp.h: Likewise.
25905 * gshadow/gshadow.h: Likewise.
25906 * iconv/gconv.h: Likewise.
25907 * iconv/gconv_int.h: Likewise.
25908 * iconv/gconv_simple.c: Likewise.
25909 * iconv/iconv.h: Likewise.
25910 * iconv/loop.c: Likewise.
25911 * iconv/skeleton.c: Likewise.
25912 * include/aio.h: Likewise.
25913 * include/aliases.h: Likewise.
25914 * include/argz.h: Likewise.
25915 * include/arpa/inet.h: Likewise.
25916 * include/assert.h: Likewise.
25917 * include/dirent.h: Likewise.
25918 * include/dlfcn.h: Likewise.
25919 * include/execinfo.h: Likewise.
25920 * include/fcntl.h: Likewise.
25921 * include/fenv.h: Likewise.
25922 * include/glob.h: Likewise.
25923 * include/grp.h: Likewise.
25924 * include/libintl.h: Likewise.
25925 * include/mntent.h: Likewise.
25926 * include/netdb.h: Likewise.
25927 * include/pwd.h: Likewise.
25928 * include/rpc/netdb.h: Likewise.
25929 * include/sched.h: Likewise.
25930 * include/search.h: Likewise.
25931 * include/shadow.h: Likewise.
25932 * include/signal.h: Likewise.
25933 * include/stdio.h: Likewise.
25934 * include/stdlib.h: Likewise.
25935 * include/string.h: Likewise.
25936 * include/sys/socket.h: Likewise.
25937 * include/sys/stat.h: Likewise.
25938 * include/sys/statfs.h: Likewise.
25939 * include/sys/statvfs.h: Likewise.
25940 * include/sys/syslog.h: Likewise.
25941 * include/sys/time.h: Likewise.
25942 * include/sys/uio.h: Likewise.
25943 * include/time.h: Likewise.
25944 * include/unistd.h: Likewise.
25945 * include/utmp.h: Likewise.
25946 * include/wchar.h: Likewise.
25947 * include/wctype.h: Likewise.
25948 * inet/aliases.h: Likewise.
25949 * inet/arpa/inet.h: Likewise.
25950 * inet/netinet/ether.h: Likewise.
25951 * inet/netinet/in.h: Likewise.
25952 * intl/libintl.h: Likewise.
25953 * io/bits/fcntl2.h: Likewise.
25954 * io/fcntl.h: Likewise.
25955 * io/ftw.h: Likewise.
25956 * io/sys/poll.h: Likewise.
25957 * io/sys/stat.h: Likewise.
25958 * io/sys/statfs.h: Likewise.
25959 * io/sys/statvfs.h: Likewise.
25960 * io/utime.h: Likewise.
25961 * libio/bits/stdio.h: Likewise.
25962 * libio/bits/stdio2.h: Likewise.
25963 * libio/libio.h: Likewise.
25964 * libio/libioP.h: Likewise.
25965 * libio/stdio.h: Likewise.
25966 * locale/lc-ctype.c: Likewise.
25967 * locale/locale.h: Likewise.
25968 * login/utmp.h: Likewise.
25969 * malloc/arena.c: Likewise.
25970 * malloc/malloc.c: Likewise.
25971 * malloc/malloc.h: Likewise.
25972 * malloc/mcheck.c: Likewise.
25973 * malloc/mtrace.c: Likewise.
25974 * math/bits/mathcalls.h: Likewise.
25975 * math/fenv.h: Likewise.
25976 * math/math_private.h: Likewise.
25977 * misc/bits/error.h: Likewise.
25978 * misc/bits/syslog.h: Likewise.
25979 * misc/err.h: Likewise.
25980 * misc/error.h: Likewise.
25981 * misc/fstab.h: Likewise.
25982 * misc/mntent.h: Likewise.
25983 * misc/regexp.h: Likewise.
25984 * misc/search.h: Likewise.
25985 * misc/sgtty.h: Likewise.
25986 * misc/sys/mman.h: Likewise.
25987 * misc/sys/syslog.h: Likewise.
25988 * misc/sys/uio.h: Likewise.
25989 * misc/sys/xattr.h: Likewise.
25990 * misc/ttyent.h: Likewise.
25991 * nis/rpcsvc/ypclnt.h: Likewise.
25992 * nss/nss.h: Likewise.
25993 * posix/bits/unistd.h: Likewise.
25994 * posix/fnmatch.h: Likewise.
25995 * posix/glob.h: Likewise.
25996 * posix/sched.h: Likewise.
25997 * posix/spawn.h: Likewise.
25998 * posix/sys/wait.h: Likewise.
25999 * posix/unistd.h: Likewise.
26000 * posix/wordexp.h: Likewise.
26001 * pwd/pwd.h: Likewise.
26002 * resolv/netdb.h: Likewise.
26003 * resource/sys/resource.h: Likewise.
26004 * rt/aio.h: Likewise.
26005 * rt/bits/mqueue2.h: Likewise.
26006 * rt/mqueue.h: Likewise.
26007 * shadow/shadow.h: Likewise.
26008 * signal/signal.h: Likewise.
26009 * socket/send.c: Likewise.
26010 * socket/sendto.c: Likewise.
26011 * socket/sys/socket.h: Likewise.
26012 * stdio-common/printf.h: Likewise.
26013 * stdlib/bits/stdlib.h: Likewise.
26014 * stdlib/fmtmsg.h: Likewise.
26015 * stdlib/monetary.h: Likewise.
26016 * stdlib/stdlib.h: Likewise.
26017 * stdlib/ucontext.h: Likewise.
26018 * streams/stropts.h: Likewise.
26019 * string/argz.h: Likewise.
26020 * string/bits/string2.h: Likewise.
26021 * string/string.h: Likewise.
26022 * string/strings.h: Likewise.
26023 * sunrpc/rpc/auth.h: Likewise.
26024 * sunrpc/rpc/auth_des.h: Likewise.
26025 * sunrpc/rpc/clnt.h: Likewise.
26026 * sunrpc/rpc/netdb.h: Likewise.
26027 * sunrpc/rpc/pmap_clnt.h: Likewise.
26028 * sunrpc/rpc/xdr.h: Likewise.
26029 * sysdeps/generic/inttypes.h: Likewise.
26030 * sysdeps/generic/net/if.h: Likewise.
26031 * sysdeps/generic/sys/swap.h: Likewise.
26032 * sysdeps/gnu/net/if.h: Likewise.
26033 * sysdeps/gnu/utmpx.h: Likewise.
26034 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26035 * sysdeps/i386/i486/bits/string.h: Likewise.
26036 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26037 * sysdeps/s390/bits/string.h: Likewise.
26038 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26039 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26040 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26041 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26042 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26043 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26044 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26045 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26046 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26047 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26048 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26049 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26050 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26051 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26052 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26053 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26054 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26060 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26061 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26062 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26063 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26064 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26065 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26066 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26068 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26069 * sysvipc/sys/ipc.h: Likewise.
26070 * sysvipc/sys/msg.h: Likewise.
26071 * sysvipc/sys/sem.h: Likewise.
26072 * sysvipc/sys/shm.h: Likewise.
26073 * termios/termios.h: Likewise.
26074 * time/sys/time.h: Likewise.
26075 * time/time.h: Likewise.
26076 * wcsmbs/bits/wchar2.h: Likewise.
26077 * wcsmbs/uchar.h: Likewise.
26078 * wcsmbs/wchar.h: Likewise.
26079 * wctype/wctype.h: Likewise.
26082 * Makeconfig: Remove all but ELF support including AIX support.
26083 * Makerules: Likewise.
26084 * config.h.in: Likewise.
26085 * config.make.in: Likewise.
26086 * configure: Likewise.
26087 * configure.in: Likewise.
26088 * csu/Makefile: Likewise.
26089 * csu/version.c: Likewise.
26090 * debug/Makefile: Likewise.
26091 * dlfcn/Makefile: Likewise.
26092 * elf/Makefile: Likewise.
26093 * extra-lib.mk: Likewise.
26094 * iconv/Makefile: Likewise.
26095 * include/libc-symbols.h: Likewise.
26096 * include/shlib-compat.h: Likewise.
26097 * resolv/Makefile: Likewise.
26098 * resolv/res_libc.c: Likewise.
26099 * rt/Makefile: Likewise.
26100 * sysdeps/i386/asm-syntax.h: Likewise.
26101 * sysdeps/i386/sysdep.h: Likewise.
26102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26103 * sysdeps/mach/sysdep.h: Likewise.
26104 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26105 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26106 * sysdeps/s390/asm-syntax.h: Likewise.
26107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26109 * sysdeps/sh/sysdep.h: Likewise.
26110 * sysdeps/unix/sparc/sysdep.h: Likewise.
26111 * sysdeps/wordsize-32/divdi3.c: Likewise.
26112 * sysdeps/x86_64/sysdep.h: Likewise.
26114 * argp/Versions: Remove _argp_unlock_xxx.
26117 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26118 * abilist/libBrokenLocale.abilist: Likewise.
26119 * abilist/libanl.abilist: Likewise.
26120 * abilist/libc.abilist: Likewise.
26121 * abilist/libcrypt.abilist: Likewise.
26122 * abilist/libdl.abilist: Likewise.
26123 * abilist/libm.abilist: Likewise.
26124 * abilist/libnsl.abilist: Likewise.
26125 * abilist/libpthread.abilist: Likewise.
26126 * abilist/libresolv.abilist: Likewise.
26127 * abilist/librt.abilist: Likewise.
26128 * abilist/libthread_db.abilist: Likewise.
26129 * abilist/libutil.abilist: Likewise.
26130 * abilist/libnss_db.abilist: New file.
26132 * scripts/abilist.awk: Add support for indirect functions.
26134 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26136 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26138 * shlib-versions: Remove entries for ports architectures.
26140 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26142 * elf/stackguard-macros.h: Remove support for IA-64.
26143 * elf/tst-auditmod1.c: Likewise.
26144 * sysdeps/generic/ldsodefs.h: Likewise.
26146 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26147 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26151 * configure.in: Remove --enable-omitfp support.
26153 * config.make.in: Likewise.
26154 * Makeconfig: Likewise.
26155 * manual/install.texi: Likewise.
26157 In case anyone cares, the IA-64 architecture could move to ports.
26158 * sysdeps/ia64/*: Removed.
26159 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26160 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26163 * configure.in: Remove entries for unsupported architectures.
26166 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26167 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26169 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26170 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26171 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26172 fall back to using wcrtomb.
26173 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26174 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26176 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26177 * wcsmbs/tst-c16c32-1.c: New file.
26179 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26182 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26184 * elf/tst-unique3.cc: Add explicit declaration of gets.
26185 * elf/tst-unique3lib.cc: Likewise.
26186 * elf/tst-unique3lib2.cc: Likewise.
26187 * elf/tst-unique4.cc: Likewise.
26189 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26191 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26194 * assert/assert.h (static_assert): Don't define for C++.
26195 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26196 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26198 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26200 * iconv/loop.c (single loop): Fix assertion in storing of
26203 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26205 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26207 * posix/getconf.c: Update copyright year.
26208 * nss/getent.c: Likewise.
26209 * nss/makedb.c: Likewise.
26210 * iconv/iconvconfig.c: Likewise.
26211 * iconv/iconv_prog.c: Likewise.
26212 * elf/ldconfig.c: Likewise.
26213 * elf/pldd.c: Likewise.
26214 * elf/sotruss.ksh: Likewise.
26215 * catgets/gencat.c: Likewise.
26216 * csu/version.c: Likewise.
26217 * elf/ldd.bash.in: Likewise.
26218 * elf/sprof.c (print_version): Likewise.
26219 * locale/programs/locale.c: Likewise.
26220 * locale/programs/localedef.c: Likewise.
26221 * login/programs/pt_chown.c: Likewise.
26222 * nscd/nscd.c (print_version): Likewise.
26223 * debug/xtrace.sh: Likewise.
26224 * malloc/memusage.sh: Likewise.
26225 * malloc/mtrace.pl: Likewise.
26226 * debug/catchsegv.sh: Likewise.
26228 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26230 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26233 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26236 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26237 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26239 * iconv/gconv_int.h: Likewise.
26240 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26241 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26242 from libc for GLIBC_2.16.
26243 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26244 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26245 * wcsmbs/uchar.h: Really define mbstate_t.
26246 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26247 * wcsmbs/c16rtomb.c: New file.
26248 * wcsmbs/mbrtoc16.c: New file.
26249 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26250 for C/POSIX locale.
26251 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26252 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26254 * wcsmbs/wchar.h: Add missing __restrict.
26256 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26259 * time/Makefile (routines): Add timespec_get.
26260 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26261 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26262 timespec for ISO C11.
26263 * time/timespec_get.c: New file.
26264 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26265 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26268 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26269 * stdlib/stdlib.h: Declare aligned_alloc.
26270 * Versions.def: Add GLIBC_2.16 for libc.
26271 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26274 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26277 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26281 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26284 * assert/assert.h (static_assert): Define.
26286 * version.h: Update for 2.16 development version.
26289 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26292 * version.h (RELEASE): Bump for 2.15 release.
26293 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26295 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26296 Patch by Marek Polacek <mpolacek@redhat.com>.
26298 * bits/byteswap.h: Protect long long constants with __extension__.
26299 * sysdeps/i386/bits/byteswap.h: Likewise.
26300 * sysdeps/ia64/bits/byteswap.h: Likewise.
26301 * sysdeps/s390/bits/byteswap.h: Likewise.
26302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26304 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26308 destination buffer.
26309 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26311 2011-12-23 Marek Polacek <polacek@redhat.com>
26313 * elf/dl-addr.c (determine_info): Add inline keyword.
26314 * elf/tst-auditmod4b.c (check_avx): Likewise.
26315 * elf/tst-auditmod6b.c (check_avx): Likewise.
26316 * elf/tst-auditmod6c.c (check_avx): Likewise.
26317 * elf/tst-auditmod7b.c (check_avx): Likewise.
26319 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26321 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26324 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26327 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26328 processing for last bytes.
26330 2011-08-06 Bruno Haible <bruno@clisp.org>
26333 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26334 U+0385, not to U+1FEE.
26337 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26338 entry for U+00A5 U+0301.
26340 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26343 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26344 buffer for the output is too small.
26346 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26350 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26351 SSE flags if possible.
26353 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26357 processing for last bytes.
26359 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26361 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26362 (syscall-list-default-options, syscall-list-default-condition)
26363 (syscall-list-includes): Define.
26364 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26365 list of ABIs and options and #if conditions for each ABI. Do not
26366 handle common syscalls between ABIs specially.
26367 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26369 (syscall-list-variants, syscall-list-32bit-options)
26370 (syscall-list-32bit-condition, syscall-list-64bit-options)
26371 (syscall-list-64bit-condition): Define.
26372 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26373 (syscall-list-variants, syscall-list-32bit-options)
26374 (syscall-list-32bit-condition, syscall-list-64bit-options)
26375 (syscall-list-64bit-condition): Define.
26376 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26378 (syscall-list-variants, syscall-list-32bit-options)
26379 (syscall-list-32bit-condition, syscall-list-64bit-options)
26380 (syscall-list-64bit-condition): Define.
26381 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26383 (syscall-list-variants, syscall-list-32bit-options)
26384 (syscall-list-32bit-condition, syscall-list-64bit-options)
26385 (syscall-list-64bit-condition): Define.
26387 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26389 * locale/iso-639.def: Add brx entry.
26392 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26393 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26395 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26396 __feraiseexcept_renamed.
26398 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26401 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26402 EPOLLET with unsigned values.
26403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26406 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26407 to large cancellation.
26408 * math/s_cacoshf.c: Likewise.
26409 * math/s_cacoshl.c: Likewise.
26411 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26415 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26416 * math/s_cacoshf.c: Likewise.
26417 * math/s_cacoshl.c: Likewise.
26419 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26422 * iconv/gconv.h: Define __GCONV_SWAP.
26423 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26424 * iconvdata/utf-16.c: Likewise.
26425 * iconvdata/utf-32.c: Likewise.
26427 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26431 numerator after shifting it by one limb.
26433 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26435 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26436 under [__USE_EXTERN_INLINES].
26438 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26441 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26443 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26445 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26446 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26448 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26449 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26450 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26451 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26452 for strncasecmp/strncasecmp_l compilation.
26453 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26454 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26456 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26459 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26462 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26465 * time/tzfile.c (__tzfile_read): Check values from file header.
26467 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26469 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26470 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26471 * powerpc/powerpc32/dl-start.S: Likewise.
26472 * powerpc/powerpc32/elf/start.S: Likewise.
26473 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26474 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26475 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26476 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26477 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26478 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26479 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26480 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26481 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26482 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26483 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26484 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26485 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26486 * powerpc/powerpc32/memset.S: Likewise.
26487 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26488 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26489 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26490 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26491 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26492 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26493 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26494 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26495 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26496 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26497 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26498 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26499 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26501 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26503 * math/libm-test.inc: Added more nearbyint tests.
26504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26509 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26511 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26514 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26516 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26517 Add wcscpy-ssse3 wcscpy-c.
26518 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26519 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26520 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26521 * sysdeps/x86_64/wcschr.S: New file.
26522 * sysdeps/x86_64/wcsrchr.S: New file.
26523 * string/test-strcmp.c: Remove checking of wcscmp function for
26525 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26526 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26527 wcsrchr-sse2 wcsrchr-c.
26528 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26529 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26530 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26531 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26532 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26533 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26534 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26535 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26536 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26537 * wcsmbc/wcschr.c (WCSCHR): New macro.
26539 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26541 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26542 * wcsmbs/test-wcsrchr.c: New file.
26543 * string/test-strrchr.c: Add wcsrchr support.
26545 * wcsmbs/test-wcscpy.c: New file.
26546 * string/test-strcpy.c: Add wcscpy support.
26549 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26554 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26557 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26559 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26562 Minor optimizations.
26564 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26565 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26566 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26568 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26570 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26571 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26572 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26573 for gcc to avoid warnings.
26574 * inet/Makefile (tests): Add tst-checks.
26575 * inet/tst-checks.c: New file.
26577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26580 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26583 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26584 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26586 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26588 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26590 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26593 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26595 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26597 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26598 conditional on GCC version.
26599 (__arch_compare_and_exchange_val_8_acq)
26600 (__arch_compare_and_exchange_val_16_acq)
26601 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26602 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26603 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26605 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26607 * sysdeps/sh/backtrace.c: New file.
26609 2011-12-02 Andreas Schwab <schwab@redhat.com>
26611 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26614 2011-12-01 Andreas Schwab <schwab@redhat.com>
26616 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26617 falling back to utime.
26619 2011-11-30 Andreas Schwab <schwab@redhat.com>
26621 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26622 expectations for float.
26624 2011-11-29 Andreas Schwab <schwab@redhat.com>
26626 * locale/weight.h (findidx): Add parameter len.
26627 * locale/weightwc.h (findidx): Likewise.
26628 * posix/fnmatch_loop.c (FCT): Adjust caller.
26629 * posix/regcomp.c (build_equiv_class): Likewise.
26630 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26631 * posix/regexec.c (check_node_accept_bytes): Likewise.
26632 * string/strcoll_l.c (STRCOLL): Likewise.
26633 * string/strxfrm_l.c (STRXFRM): Likewise.
26635 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26637 * Makefile.in: Remove CVSOPT handling.
26638 * configure.in: Remove use of AC_REVISION.
26639 * iconvdata/Makefile (distribute): No need to filter out CVS.
26640 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26643 2011-11-16 Andreas Schwab <schwab@redhat.com>
26645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26646 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26647 [USE_AS_STRNCASECMP_L]: Likewise.
26648 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26649 NO_TLS_DIRECT_SEG_REFS.
26650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26651 Fix argument offsets for non-PIC.
26652 [USE_AS_STRNCASECMP_L]: Likewise.
26653 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26654 NO_TLS_DIRECT_SEG_REFS.
26656 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26658 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26660 * locale/loadlocale.c (_nl_load_locale): Likewise.
26662 2011-11-15 Andreas Schwab <schwab@redhat.com>
26664 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26665 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26667 (SYSCALL_GETTIME): Set errno on error.
26669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26670 count references to noai6ai_cached.
26672 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26674 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26676 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26677 FD_CLOEXEC for /proc/self/maps.
26679 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26680 FD_CLOEXEC for /proc/meminfo.
26682 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26685 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26686 FD_CLOEXEC for given file.
26688 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26690 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26691 FD_CLOEXEC for /etc/hosts.
26692 (_gethtent): Likewise.
26694 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26696 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26697 cancellation and set FD_CLOEXEC for /etc/netgroup.
26699 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26700 reading /etc/publickey.
26702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26703 allow cancellation when reading /etc/group.
26705 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26707 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26709 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26710 when using data file.
26712 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26714 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26715 (write_nis_obj): Use "c" and "e" in fopen.
26717 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26719 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26721 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26723 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26725 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26728 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26730 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26732 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26734 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26735 file parsing and set FD_CLOEXEC.
26737 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26739 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26741 2011-11-14 Andreas Schwab <schwab@redhat.com>
26743 * malloc/arena.c (arena_get2): Don't call reused_arena when
26744 _int_new_arena failed.
26746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26749 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26752 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26754 to compile strcasecmp and strncasecmp.
26755 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26756 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26760 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26763 locale-defines.sym to gen-as-const-headers.
26764 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26765 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26767 to compile strcasecmp and strncasecmp.
26768 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26769 strcasecmp_l and strncasecmp_l.
26770 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26771 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26772 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26773 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26774 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26775 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26776 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26777 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26778 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26779 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26780 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26782 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26784 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26785 result of SYSDEP_GETTIME_CPU to retval.
26786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26787 parameter list to macro. Remove trailing semicolon. Adjust users.
26789 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26792 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26794 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26796 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26797 from unused variable.
26799 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26801 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26804 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26807 * sunrpc/rpc_prot.c (rejected): Fix case value.
26809 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26810 unsigned long long int to avoid warnings in shift.
26812 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26814 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26817 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26818 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26819 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26821 * nis/nis_table.c (nis_list): Use variable of correct type for
26822 result of __follow_path call.
26824 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26826 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26827 of math functions ceil, trunc, floor, round, and sqrt, when
26828 avaliable on the platform.
26829 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26831 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26832 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26833 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26835 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26837 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26840 2011-11-11 Roland McGrath <roland@hack.frob.com>
26842 * include/unistd.h: Fix __readlink return type.
26843 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26845 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26847 * stdlib/ucontext.h: Undo last change for makecontext.
26849 2011-11-11 Andreas Schwab <schwab@redhat.com>
26851 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26853 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26854 * setjmp/setjmp.h: Mark functions as non-leaf.
26855 * setjmp/bits/setjmp2.h: Likewise.
26856 * stdlib/ucontext.h: Likewise.
26858 2011-11-10 Andreas Schwab <schwab@redhat.com>
26860 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26861 (reused_arena): Don't check arena limit.
26862 (arena_get2): Atomically check arena limit.
26864 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26866 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26867 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26872 2011-11-07 Andreas Schwab <schwab@redhat.com>
26874 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26875 handler when locking.
26877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26878 Fix size of allocated buffer.
26880 2011-11-04 Andreas Schwab <schwab@redhat.com>
26883 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26884 declarations for long double functions.
26885 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26887 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26889 2011-11-03 Andreas Schwab <schwab@redhat.com>
26891 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26894 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26897 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26899 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26901 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26903 * include/alloca.h (stackinfo_alloca_round): Define.
26904 (extend_alloca): Use it.
26905 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26906 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26909 * scripts/check-local-headers.sh: Ignore libaudit.h.
26911 * nscd/Makefile (extra-objs): Make recursively expanded.
26913 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26915 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26918 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26919 * posix/tst-rfc3484-2.c: Likewise.
26920 * posix/tst-rfc3484-3.c: Likewise.
26922 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26924 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26926 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26927 process_vm_writev from libc using GLIBC_2.15 version.
26929 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26931 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26933 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26936 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26939 * nss/getent.c (initgroups_keys): Show error message in case no group
26942 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26943 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26944 __bump_nl_timestamp.
26945 * nscd/connections (nscd_init): When host database is served open
26946 netlink socket and request notification about configuration changes.
26947 (main_loop_poll): Track netlink file descriptor and bump timestamp
26948 in case data becomes available.
26949 (main_loop_epoll): Likewise.
26950 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26951 (database_pers_head): Add extra_data fileds.
26952 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26953 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26954 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26957 in6ai data, call __free_in6ai.
26958 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26959 Add -DHAVE_NETLINK.
26960 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26961 interface information. Reuse previous data if netlink timestamp
26963 (__bump_nl_timestamp): New function.
26964 (__free_in6ai): New function.
26966 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26969 close_not_cancel_no_status here.
26970 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26972 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26975 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26978 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26979 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26980 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26982 2011-07-03 Andreas Jaeger <aj@suse.de>
26985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26986 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26987 * math/libm-test.inc (sin_test): Add test case.
26989 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26992 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26993 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26995 * elf/chroot_canon.c (chroot_canon): Cleanups.
26997 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27000 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27001 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27003 * string/test-strchr.c: Make usable for strchrnul testing.
27004 * string/test-strchrnul.c: New file.
27005 * string/Makefile (strop-tests): Add strchrnul.
27007 * po/it.po: Update from translation team.
27008 * po/es.po: Likewise.
27010 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27013 the three constants needed as parameters. Drop the others.
27014 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27015 __m128i_strloadu_tolower.
27016 Create and initialize variable zero and use it in all the places
27017 where _mm_setzero_si128 was used.
27019 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27020 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27021 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27024 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27025 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27026 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27027 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27028 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27029 __mpranred, __mptan.
27030 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27031 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27032 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27033 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27034 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27035 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27037 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27038 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27040 2011-10-28 Andreas Schwab <schwab@redhat.com>
27042 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27043 redefine if SHARED.
27044 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27047 wide char related routines to wcsmbs subdir.
27049 2011-10-27 Andreas Schwab <schwab@redhat.com>
27052 * misc/sys/cdefs.h (__THROWNL): Define.
27053 * posix/unistd.h: Use __THREADNL instead of __THREAD
27054 for memory synchronization functions.
27056 2011-10-26 Roland McGrath <roland@hack.frob.com>
27059 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27061 * manual/stdio.texi (Obstack Streams): Node removed.
27063 2011-10-26 Andreas Schwab <schwab@redhat.com>
27065 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27067 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27069 * math/math_private.h (math_force_eval): Allow non-addressable
27071 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27073 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27076 file is not needed.
27078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27080 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27081 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27085 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27087 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27101 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27102 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27103 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27104 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27105 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27107 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27108 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27111 place. Use VEX encoding when compiling for AVX.
27113 2011-10-25 Andreas Schwab <schwab@redhat.com>
27115 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27116 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27118 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27120 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27122 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27123 useless if() expression.
27124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27125 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27130 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27142 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27144 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27146 2011-10-25 Andreas Schwab <schwab@redhat.com>
27148 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27150 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27152 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27154 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27155 .text section. Avoid duplicate constants.
27156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27164 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27165 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27168 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27173 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27180 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27181 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27182 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27183 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27185 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27186 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27187 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27189 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27190 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27191 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27192 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27194 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27195 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27197 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27198 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27199 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27200 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27202 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27204 * sysdeps/x86_64/dla.h: Move to ...
27205 * sysdeps/x86_64/fpu/dla.h: ...here.
27206 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27207 situations. Use __builtin_fma only for gcc 4.6 and up.
27209 * config.make.in: Add have-mfma4 entry.
27210 * configure.in: Substitute libc_cv_cc_fma4.
27211 * math/Makefile (dbl-only-routines): Add sincostab.
27212 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27213 Use __sincostab not sincos.
27214 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27221 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27222 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27223 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27224 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27226 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27227 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27229 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27230 define aliases when function name is a macro.
27231 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27232 sysdeps/ieee754/dbl-64/sincos.tbl.
27233 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27234 fma4-enabled routines.
27235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27237 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27238 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27240 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27244 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27245 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27247 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27248 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27250 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27251 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27252 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27253 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27254 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27255 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27256 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27258 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27259 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27262 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27263 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27264 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27266 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27275 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27277 2011-10-24 Andreas Schwab <schwab@redhat.com>
27279 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27281 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27285 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27287 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27289 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27290 Remove unused variable magic_bits.
27291 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27293 * string/strnlen.c: Define and use STRNLEN macro.
27294 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27295 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27297 * wcsmbs/wcslen.c: Define and use WCSLEN.
27298 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27299 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27300 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27301 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27302 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27303 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27306 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27309 strnlen-sse2-no-bsf.
27310 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27312 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27313 Add strnlen support.
27314 (USE_AS_STRNLEN): New macro.
27315 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27317 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27318 * sysdeps/x86_64/wcslen.S: New file.
27320 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27323 XMM-moves are used for copying on small sizes.
27325 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27327 * wcsmbs/Makefile (strop-tests): Add wcschr.
27328 * wcsmbs/test-wcschr.c: New file.
27329 * string/test-strchr.c: Update.
27330 Add wcschr support.
27333 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27335 * wcsmbs/Makefile (strop-tests): Add wcslen.
27336 * wcsmbs/test-wcslen.c: New file.
27337 * string/test-strlen.c: Update.
27338 Add wcslen support.
27341 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27343 * po/it.po: Update from translation team.
27345 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27347 * sysdeps/x86_64/wcscmp.S: Update.
27348 Fix wrong comparison semantics.
27349 wcscmp shall use signed comparison not unsigned.
27350 Don't use substraction to avoid overflow bug.
27351 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27352 * wcsmbc/wcscmp.c: Likewise.
27353 * string/test-strcmp.c: Likewise.
27354 Add new tests to check cases with negative values.
27356 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27358 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27359 * sysdeps/x86_64/dla.h: ...here. New file.
27360 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27370 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27373 __ynl_finite aliases.
27375 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27379 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27381 [DLA_FMA] (EMULV): Use DLA_FMA.
27382 [DLA_FMA] (MUL12): Use EMULV.
27383 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27384 that are not needed.
27385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27393 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27395 * math/s_nan.c: Undef __nan.
27396 * math/s_nanf.c: Undef __nanf.
27397 * math/s_nanl.c: Undef __nanl.
27398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27401 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27403 * math/s_catan.c: Add branch predictions.
27404 * math/s_catanf.c: Likewise.
27405 * math/s_catanh.c: Likewise.
27406 * math/s_catanhf.c: Likewise.
27407 * math/s_catanhl.c: Likewise.
27408 * math/s_catanl.c: Likewise.
27409 * math/s_cexp.c: Likewise.
27410 * math/s_cexpf.c: Likewise.
27411 * math/s_cexpl.c: Likewise.
27412 * math/s_clog.c: Likewise.
27413 * math/s_clog10.c: Likewise.
27414 * math/s_clog10f.c: Likewise.
27415 * math/s_clog10l.c: Likewise.
27416 * math/s_clogf.c: Likewise.
27417 * math/s_clogl.c: Likewise.
27418 * math/s_csqrt.c: Likewise.
27419 * math/s_csqrtf.c: Likewise.
27420 * math/s_csqrtl.c: Likewise.
27421 * math/s_ctanf.c: Likewise.
27422 * math/s_ctanh.c: Likewise.
27423 * math/s_ctanhf.c: Likewise.
27424 * math/s_ctanhl.c: Likewise.
27425 * math/s_ctanl.c: Likewise.
27427 * math/math_private.h: Define __nan, __nanf, __nanl.
27428 * math/s_cacosh.c: Include <math_private.h>.
27429 * math/s_cacoshl.c: Likewise.
27430 * math/s_casinh.c: Likewise.
27431 * math/s_casinhf.c: Likewise.
27432 * math/s_casinhl.c: Likewise.
27433 * math/s_ccos.c: Rely entire on ccosh.
27434 * math/s_ccosf.c: Rely entire on ccoshf.
27435 * math/s_ccosl.c: Rely entirely on ccoshl.
27436 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27437 Remove tests for FE_INVALID.
27438 * math/s_ccoshf.c: Likewise.
27439 * math/s_ccoshl.c: Likewise.
27440 * math/s_csin.c: Likewise.
27441 * math/s_csinf.c: Likewise.
27442 * math/s_csinh.c Likewise.
27443 * math/s_csinhf.c: Likewise.
27444 * math/s_csinhl.c: Likewise.
27445 * math/s_csinl.c: Likewise.
27446 * math/s_ctan.c: Likewise.
27447 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27448 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27449 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27451 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27454 compilation problems.
27456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27459 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27461 * sysdeps/i386/configure.in: Test for -mfma4 option.
27462 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27463 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27464 COMMON_CPUID_INDEX_80000001.
27465 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27466 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27467 use it if FMA3 is not supported.
27468 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27470 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27471 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27473 2011-10-20 Andreas Schwab <schwab@redhat.com>
27476 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27477 it would create a cycle with a link time dependency.
27479 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27481 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27483 * string/Makefile (strop-tests): Add rawmemchr.
27484 * string/test-rawmemchr.c: New file.
27486 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27488 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27489 when compiling str{,n}casecmp and when AVX is available. Hook up
27490 new optimized code in initializers.
27492 2011-10-19 Andreas Schwab <schwab@redhat.com>
27494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27495 __feraiseexcept instead of feraiseexcept.
27497 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27499 * math/math_private.h: Define defaults for libc_fetestexcept and
27501 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27502 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27505 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27506 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27507 libc_fetestexcept and libc_feupdateenv.
27509 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27510 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27511 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27512 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27513 libc_feholdexcept_setround.
27515 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27516 Add s_nearbyint-c and s_nearbyintf-c.
27517 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27518 nearbyintf inlines.
27519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27521 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27524 * math/math_private.h: Define defaults for libc_fegetround,
27525 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27526 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27527 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27528 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27529 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27530 standard functions.
27531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27532 Remove comments and hacks for old compiler versions.
27533 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27534 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27535 libc_feholdexceptl.
27537 2011-10-18 Andreas Schwab <schwab@redhat.com>
27539 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27540 (__feraiseexcept_renamed): Add __NTH.
27541 (feraiseexcept): Add __NTH. Rename local variables to fix
27542 namespace violations.
27544 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27548 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27550 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27551 recently added interfaces.
27552 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27554 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27555 about macro parameter expansion.
27557 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27558 __NO_MATH_INLINES is defined. Cleanups.
27560 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27561 and __floorf is target has SSE4.1.
27562 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27563 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27564 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27567 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27569 (floorf): Likewise.
27571 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27573 2011-10-17 Andreas Schwab <schwab@redhat.com>
27575 * misc/sys/cdefs.h: Fix last change.
27577 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27580 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27582 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27584 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27592 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27593 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27594 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27595 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27596 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27597 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27598 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27599 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27600 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27601 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27602 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27603 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27604 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27605 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27607 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27608 ceil, ceilf, floor, floorf.
27610 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27611 Perform IRELATIVE relocations last.
27613 * elf/do-rel.h: Add another parameter nrelative, replacing the
27614 local variable with the same name. Change name of the function
27615 to end in Rel or Rela (uppercase).
27616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27617 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27618 elf_dynamic_do_##reloc function.
27620 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27622 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27623 is sufficient, at least on modern CPUs.
27625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27627 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27630 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27632 * math/bits/math-finite.h: Add entries for exp.
27633 * math/e_expl.c: Add __*_finite alias.
27634 * sysdeps/i386/fpu/e_exp.S: Likewise.
27635 * sysdeps/i386/fpu/e_expf.S: Likewise.
27636 * sysdeps/i386/fpu/e_expl.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27638 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27645 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27646 is sufficient, at least on modern CPUs.
27648 * ctype/ctype-info.c (__ctype_init): Define.
27649 * include/ctype.h (__ctype_init): Declare.
27650 (__ctype_b_loc): The variable is always initialized.
27651 (__ctype_toupper_loc): Likewise.
27652 (__ctype_tolower_loc): Likewise.
27653 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27654 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27656 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27658 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27660 * configure.in: Also look in $cxxmachine/include for C++ system
27663 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27665 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27666 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27667 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27668 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27669 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27670 (USE_AS_WMEMCMP): New macro.
27672 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27673 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27674 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27675 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27677 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27678 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27679 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27680 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27681 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27683 (USE_AS_WMEMCMP): New macro.
27684 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27685 * sysdeps/string/test-memcmp.c: Update.
27686 Fix simple_wmemcmp.
27688 * wcsmbs/wmemcmp.c: Update.
27689 (WMEMCMP): New macro.
27692 2011-10-12 Andreas Jaeger <aj@suse.de>
27695 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27697 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27699 * libio/iofwide.c (do_length): Avoid warning.
27701 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27703 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27705 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27707 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27708 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27709 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27710 * sysdeps/i386/i686/fpu/e_log.S: New file.
27711 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27712 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27714 * ctype/ctype.h: Add support for inlined isXXX functions when
27715 compiling C++ code.
27717 2011-10-14 Andreas Schwab <schwab@redhat.com>
27719 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27723 2011-10-13 Roland McGrath <roland@hack.frob.com>
27726 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27728 2011-10-13 Andreas Schwab <schwab@redhat.com>
27730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27731 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27734 * sysdeps/x86_64/memrchr.S: Check for zero size.
27736 * string/stratcliff.c: Add memrchr tests.
27738 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27741 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27742 rawmemchr-sse2 rawmemchr-sse2-bsf.
27743 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27744 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27745 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27746 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27747 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27748 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27749 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27750 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27751 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27753 * string/memrchr.c (MEMRCHR): New macro.
27755 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27757 Add integration with gcc's -ffinite-math-only and optimize wrapper
27759 * Versions.def: Define GLIBC_2.15 version for libm.
27760 * math/Makefile (headers): Add bits/math-finite.h.
27761 * math/bits/math-finite.h: New file.
27762 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27763 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27764 * math/e_acoshl.c: Add __*_finite alias.
27765 * math/e_acosl.c: Likewise.
27766 * math/e_asinl.c: Likewise.
27767 * math/e_atan2l.c: Likewise.
27768 * math/e_atanhl.c: Likewise.
27769 * math/e_coshl.c: Likewise.
27770 * math/e_exp10.c: Likewise.
27771 * math/e_exp10f.c: Likewise.
27772 * math/e_exp10l.c: Likewise.
27773 * math/e_exp2l.c: Likewise.
27774 * math/e_fmodl.c: Likewise.
27775 * math/e_gammal_r.c: Likewise.
27776 * math/e_hypotl.c: Likewise.
27777 * math/e_j0l.c: Likewise.
27778 * math/e_j1l.c: Likewise.
27779 * math/e_jnl.c: Likewise.
27780 * math/e_lgammal_r.c: Likewise.
27781 * math/e_log10l.c: Likewise.
27782 * math/e_log2l.c: Likewise.
27783 * math/e_logl.c: Likewise.
27784 * math/e_powl.c: Likewise.
27785 * math/e_sinhl.c: Likewise.
27786 * math/e_sqrtl.c: Likewise.
27787 * math/e_scalb.c: Completely rewritten and optimized.
27788 * math/e_scalbf.c: Likewise.
27789 * math/e_scalbl.c: Likewise.
27790 * math/w_acos.c: Likewise.
27791 * math/w_acosf.c: Likewise.
27792 * math/w_acosl.c: Likewise.
27793 * math/w_acosh.c: Likewise.
27794 * math/w_acoshf.c: Likewise.
27795 * math/w_acoshl.c: Likewise.
27796 * math/w_asin.c: Likewise.
27797 * math/w_asinf.c: Likewise.
27798 * math/w_asinl.c: Likewise.
27799 * math/w_atan2.c: Likewise.
27800 * math/w_atan2f.c: Likewise.
27801 * math/w_atan2l.c: Likewise.
27802 * math/w_atanh.c: Likewise.
27803 * math/w_atanhf.c: Likewise.
27804 * math/w_atanhl.c: Likewise.
27805 * math/w_exp10.c: Likewise.
27806 * math/w_exp10f.c: Likewise.
27807 * math/w_exp10l.c: Likewise.
27808 * math/w_fmod.c: Likewise.
27809 * math/w_fmodf.c: Likewise.
27810 * math/w_fmodl.c: Likewise.
27811 * math/w_j0.c: Likewise.
27812 * math/w_j0f.c: Likewise.
27813 * math/w_j0l.c: Likewise.
27814 * math/w_j1.c: Likewise.
27815 * math/w_j1f.c: Likewise.
27816 * math/w_j1l.c: Likewise.
27817 * math/w_jn.c: Likewise.
27818 * math/w_jnf.c: Likewise.
27819 * math/w_log.c: Likewise.
27820 * math/w_logf.c: Likewise.
27821 * math/w_logl.c: Likewise.
27822 * math/w_log10.c: Likewise.
27823 * math/w_log10f.c: Likewise.
27824 * math/w_log10l.c: Likewise.
27825 * math/w_log2.c: Likewise.
27826 * math/w_log2f.c: Likewise.
27827 * math/w_log2l.c: Likewise.
27828 * math/w_pow.c: Likewise.
27829 * math/w_powf.c: Likewise.
27830 * math/w_powl.c: Likewise.
27831 * math/w_remainder.c: Likewise.
27832 * math/w_remainderf.c: Likewise.
27833 * math/w_remainderl.c: Likewise.
27834 * math/w_scalb.c: Likewise.
27835 * math/w_scalbf.c: Likewise.
27836 * math/w_scalbl.c: Likewise.
27837 * math/w_sqrt.c: Likewise.
27838 * math/w_sqrtf.c: Likewise.
27839 * math/w_sqrtl.c: Likewise.
27840 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27841 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27843 * math/math_private.h: Declare __kernel_standard_f.
27844 * math/w_cosh.c: Remove cruft and optimize a bit.
27845 * math/w_coshf.c: Likewise.
27846 * math/w_coshl.c: Likewise.
27847 * math/w_exp2.c: Likewise.
27848 * math/w_exp2f.c: Likewise.
27849 * math/w_exp2l.c: Likewise.
27850 * math/w_hypot.c: Likewise.
27851 * math/w_hypotf.c: Likewise.
27852 * math/w_hypotl.c: Likewise.
27853 * math/w_lgamma.c: Likewise.
27854 * math/w_lgamma_r.c: Likewise.
27855 * math/w_lgammaf.c: Likewise.
27856 * math/w_lgammaf_r.c: Likewise.
27857 * math/w_lgammal.c: Likewise.
27858 * math/w_lgammal_r.c: Likewise.
27859 * math/w_sinh.c: Likewise.
27860 * math/w_sinhf.c: Likewise.
27861 * math/w_sinhl.c: Likewise.
27862 * math/w_tgamma.c: Likewise.
27863 * math/w_tgammaf.c: Likewise.
27864 * math/w_tgammal.c: Likewise.
27865 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27867 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27868 Minor optimizations. Pretty printing. Remove cruft.
27869 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27870 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27871 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27872 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27873 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27874 * sysdeps/i386/fpu/e_asin.S: Likewise.
27875 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27876 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27877 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27878 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27879 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27880 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27882 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27883 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27884 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27885 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27886 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27887 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27888 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27889 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27890 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27891 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27892 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27893 * sysdeps/i386/fpu/e_log.S: Likewise.
27894 * sysdeps/i386/fpu/e_log10.S: Likewise.
27895 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27897 * sysdeps/i386/fpu/e_log2.S: Likewise.
27898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27900 * sysdeps/i386/fpu/e_logf.S: Likewise.
27901 * sysdeps/i386/fpu/e_logl.S: Likewise.
27902 * sysdeps/i386/fpu/e_pow.S: Likewise.
27903 * sysdeps/i386/fpu/e_powf.S: Likewise.
27904 * sysdeps/i386/fpu/e_powl.S: Likewise.
27905 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27906 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27907 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27910 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27911 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27912 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27913 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27923 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27924 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27935 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27936 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27938 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27939 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27940 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27941 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27942 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27952 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27954 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27955 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27964 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27969 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27970 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27971 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27972 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27992 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27997 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28002 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28007 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28011 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28012 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28013 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28014 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28015 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28016 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28017 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28018 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28019 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28022 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28023 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28024 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28025 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28026 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28027 (__isnanf): Likewise.
28028 (__isinf_ns): Likewise.
28029 (__isinf_nsf): Likewise.
28030 (__finite): Likewise.
28031 (__finitef): Likewise.
28032 (__ieee754_sqrt): Define as macro.
28033 (__ieee754_sqrtf): Define as macro.
28034 (__ieee754_sqrtl): Define as macro.
28035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28037 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28038 __FINITE_MATH_ONLY__ consistent.
28039 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28041 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28043 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28046 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28048 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28050 * po/ja.po: Update from translation team.
28052 2011-10-08 Roland McGrath <roland@hack.frob.com>
28054 * locale/programs/locarchive.c (prepare_address_space): New function.
28055 (create_archive, enlarge_archive, open_archive): Use it.
28057 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28058 inside [SHARED], where it is used.
28060 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28062 * nss/getent.c (netgroup_keys): Remove unused variable.
28063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28065 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28067 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28068 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28071 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28072 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28073 * math/Makefile (libm-calls): Add s_isinf_ns.
28074 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28075 * math/multc3.c: Likewise.
28076 * math/s_casin.c: Likewise.
28077 * math/s_casinf.c: Likewise.
28078 * math/s_casinl.c: Likewise.
28079 * math/s_ccos.c: Likewise.
28080 * math/s_ccosf.c: Likewise.
28081 * math/s_ccosl.c: Likewise.
28082 * math/s_ctan.c: Likewise.
28083 * math/s_ctanf.c: Likewise.
28084 * math/s_ctanh.c: Likewise.
28085 * math/s_ctanhf.c: Likewise.
28086 * math/s_ctanhl.c: Likewise.
28087 * math/s_ctanl.c: Likewise.
28088 * math/w_fmod.c: Likewise.
28089 * math/w_fmodf.c: Likewise.
28090 * math/w_fmodl.c: Likewise.
28091 * math/w_remainder.c: Likewise.
28092 * math/w_remainderf.c: Likewise.
28093 * math/w_remainderl.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28095 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28098 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28099 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28100 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28101 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28103 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28105 * stdio-common/printf_fphex.c: Likewise.
28106 * stdio-common/printf_size.c: Likewise.
28108 * math/e_exp10.c: Include math_private.h using <...> not "...".
28109 * math/e_exp10f.c: Likewise.
28110 * math/e_exp10l.c: Likewise.
28111 * math/e_exp2l.c: Likewise.
28112 * math/e_j0l.c: Likewise.
28113 * math/e_j1l.c: Likewise.
28114 * math/e_jnl.c: Likewise.
28115 * math/e_lgammal_r.c: Likewise.
28116 * math/e_rem_pio2l.c: Likewise.
28117 * math/e_scalb.c: Likewise.
28118 * math/e_scalbf.c: Likewise.
28119 * math/e_scalbl.c: Likewise.
28120 * math/k_cosl.c: Likewise.
28121 * math/k_sinl.c: Likewise.
28122 * math/k_tanl.c: Likewise.
28123 * math/s_cacoshf.c: Likewise.
28124 * math/s_catan.c: Likewise.
28125 * math/s_catanf.c: Likewise.
28126 * math/s_catanh.c: Likewise.
28127 * math/s_catanhf.c: Likewise.
28128 * math/s_catanhl.c: Likewise.
28129 * math/s_catanl.c: Likewise.
28130 * math/s_ccosh.c: Likewise.
28131 * math/s_ccoshf.c: Likewise.
28132 * math/s_ccoshl.c: Likewise.
28133 * math/s_cexp.c: Likewise.
28134 * math/s_cexpf.c: Likewise.
28135 * math/s_cexpl.c: Likewise.
28136 * math/s_clog.c: Likewise.
28137 * math/s_clog10.c: Likewise.
28138 * math/s_clog10f.c: Likewise.
28139 * math/s_clog10l.c: Likewise.
28140 * math/s_clogf.c: Likewise.
28141 * math/s_clogl.c: Likewise.
28142 * math/s_csin.c: Likewise.
28143 * math/s_csinf.c: Likewise.
28144 * math/s_csinh.c: Likewise.
28145 * math/s_csinhf.c: Likewise.
28146 * math/s_csinhl.c: Likewise.
28147 * math/s_csinl.c: Likewise.
28148 * math/s_csqrt.c: Likewise.
28149 * math/s_csqrtf.c: Likewise.
28150 * math/s_csqrtl.c: Likewise.
28151 * math/s_ctan.c: Likewise.
28152 * math/s_ctanf.c: Likewise.
28153 * math/s_ctanh.c: Likewise.
28154 * math/s_ctanhf.c: Likewise.
28155 * math/s_ctanhl.c: Likewise.
28156 * math/s_ctanl.c: Likewise.
28157 * math/s_ldexp.c: Likewise.
28158 * math/s_ldexpf.c: Likewise.
28159 * math/s_ldexpl.c: Likewise.
28160 * math/s_significand.c: Likewise.
28161 * math/s_significandf.c: Likewise.
28162 * math/s_significandl.c: Likewise.
28163 * math/w_acos.c: Likewise.
28164 * math/w_acosf.c: Likewise.
28165 * math/w_acosh.c: Likewise.
28166 * math/w_acoshf.c: Likewise.
28167 * math/w_acoshl.c: Likewise.
28168 * math/w_acosl.c: Likewise.
28169 * math/w_asin.c: Likewise.
28170 * math/w_asinf.c: Likewise.
28171 * math/w_asinl.c: Likewise.
28172 * math/w_atan2.c: Likewise.
28173 * math/w_atan2f.c: Likewise.
28174 * math/w_atan2l.c: Likewise.
28175 * math/w_atanh.c: Likewise.
28176 * math/w_atanhf.c: Likewise.
28177 * math/w_atanhl.c: Likewise.
28178 * math/w_cosh.c: Likewise.
28179 * math/w_coshf.c: Likewise.
28180 * math/w_coshl.c: Likewise.
28181 * math/w_dremf.c: Likewise.
28182 * math/w_exp10.c: Likewise.
28183 * math/w_exp10f.c: Likewise.
28184 * math/w_exp10l.c: Likewise.
28185 * math/w_exp2.c: Likewise.
28186 * math/w_exp2f.c: Likewise.
28187 * math/w_fmod.c: Likewise.
28188 * math/w_fmodf.c: Likewise.
28189 * math/w_fmodl.c: Likewise.
28190 * math/w_hypot.c: Likewise.
28191 * math/w_hypotf.c: Likewise.
28192 * math/w_hypotl.c: Likewise.
28193 * math/w_j0.c: Likewise.
28194 * math/w_j0f.c: Likewise.
28195 * math/w_j0l.c: Likewise.
28196 * math/w_j1.c: Likewise.
28197 * math/w_j1f.c: Likewise.
28198 * math/w_j1l.c: Likewise.
28199 * math/w_jn.c: Likewise.
28200 * math/w_jnf.c: Likewise.
28201 * math/w_jnl.c: Likewise.
28202 * math/w_lgamma.c: Likewise.
28203 * math/w_lgamma_r.c: Likewise.
28204 * math/w_lgammaf.c: Likewise.
28205 * math/w_lgammaf_r.c: Likewise.
28206 * math/w_lgammal.c: Likewise.
28207 * math/w_lgammal_r.c: Likewise.
28208 * math/w_log.c: Likewise.
28209 * math/w_log10.c: Likewise.
28210 * math/w_log10f.c: Likewise.
28211 * math/w_log10l.c: Likewise.
28212 * math/w_log2.c: Likewise.
28213 * math/w_log2f.c: Likewise.
28214 * math/w_log2l.c: Likewise.
28215 * math/w_logf.c: Likewise.
28216 * math/w_logl.c: Likewise.
28217 * math/w_pow.c: Likewise.
28218 * math/w_powf.c: Likewise.
28219 * math/w_powl.c: Likewise.
28220 * math/w_remainder.c: Likewise.
28221 * math/w_remainderf.c: Likewise.
28222 * math/w_remainderl.c: Likewise.
28223 * math/w_scalb.c: Likewise.
28224 * math/w_scalbf.c: Likewise.
28225 * math/w_scalbl.c: Likewise.
28226 * math/w_sinh.c: Likewise.
28227 * math/w_sinhf.c: Likewise.
28228 * math/w_sinhl.c: Likewise.
28229 * math/w_sqrt.c: Likewise.
28230 * math/w_sqrtf.c: Likewise.
28231 * math/w_sqrtl.c: Likewise.
28232 * math/w_tgamma.c: Likewise.
28233 * math/w_tgammaf.c: Likewise.
28234 * math/w_tgammal.c: Likewise.
28236 * po/ja.po: Update from translation team.
28238 2011-09-29 Andreas Jaeger <aj@suse.de>
28241 * sunrpc/netname.c (netname2host): Fix logic.
28245 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28247 * math/w_remainder.c (__remainder): Likewise.
28248 * math/w_remainderf.c (__remainderf): Likewise.
28249 * math/libm-test.inc (remainder_test): Add test cases.
28251 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28253 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28256 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28258 * string/test-memcmp.c: Avoid unncessary #defines.
28259 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28261 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28263 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28264 Use new sse2 version for core i3 - i7 as it's faster
28265 than sse42 version.
28266 (bit_Prefer_PMINUB_for_stringop): New.
28267 * sysdeps/x86_64/rawmemchr.S: Update.
28268 Replace with faster SSE2 version.
28269 * sysdeps/x86_64/memrchr.S: New file.
28270 * sysdeps/x86_64/memchr.S: Update.
28271 Replace with faster SSE2 version.
28273 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28275 * elf/dl-load.c (lose): Add cast to avoid warning.
28277 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28279 * po/ca.po: Update from translation team.
28281 * inet/getnetgrent_r.c: Hook up nscd.
28282 * nscd/Makefile (routines): Add nscd_netgroup.
28283 (nscd-modules): Add netgroupcache.
28284 (CFLAGS-netgroupcache.c): Define.
28285 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28286 (cache_search): Add const to second parameter.
28287 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28289 (dbs): Add netgrdb entry.
28290 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28291 (verify_persistent_db): Handle netgrdb.
28292 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28293 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28295 (netgroup_response_header): Define.
28296 (innetgroup_response_header): Define.
28297 (datahead): Add netgroup_response_header and innetgroup_response_header
28299 * nscd/nscd.conf: Add entries for netgroup cache.
28300 * nscd/nscd.h (dbtype): Add netgrdb.
28301 (_PATH_NSCD_NETGROUP_DB): Define.
28302 (netgroup_iov_disabled): Declare.
28303 (xmalloc, xcalloc, xrealloc): Move declarations here.
28304 (cache_search): Adjust prototype.
28305 Add netgroup-related prototypes.
28306 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28307 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28308 (__nscd_innetgr): Declare.
28309 * nscd/selinux.c (perms): Use access_vector_t as element type and
28310 add netgroup-related initializers.
28311 * nscd/netgroupcache.c: New file.
28312 * nscd/nscd_netgroup.c: New file.
28313 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28314 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28315 For four parameters use innetgr.
28316 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28317 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28318 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28319 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28321 * nscd/connections.c (register_traced_file): Don't register file
28322 for disabled databases.
28324 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28326 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28328 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28329 from tree and freeing node.
28331 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28333 * nss/nsswitch.c (__nss_database_lookup): Handle
28334 nss_parse_service_list out of memory case.
28336 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28338 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28339 out of memory case.
28341 2011-10-04 Andreas Schwab <schwab@redhat.com>
28343 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28344 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28346 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28347 elf_machine_rela, elf_machine_lazy_rel.
28348 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28349 (ELF_DYNAMIC_DO_REL): Likewise.
28350 (ELF_DYNAMIC_DO_RELA): Likewise.
28351 (ELF_DYNAMIC_RELOCATE): Likewise.
28352 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28353 to ELF_DYNAMIC_DO_REL.
28354 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28355 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28356 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28359 skip_ifunc, don't call ifunc function if non-zero.
28360 (elf_machine_rela): Likewise.
28361 (elf_machine_lazy_rel): Likewise.
28362 (elf_machine_lazy_rela): Likewise.
28363 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28364 (elf_machine_lazy_rel): Likewise.
28365 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28367 (elf_machine_lazy_rel): Likewise.
28368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28370 (elf_machine_lazy_rel): Likewise.
28371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28372 (elf_machine_lazy_rel): Likewise.
28373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28374 (elf_machine_lazy_rel): Likewise.
28375 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28376 (elf_machine_lazy_rel): Likewise.
28377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28378 (elf_machine_lazy_rel): Likewise.
28379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28380 (elf_machine_lazy_rel): Likewise.
28381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28382 (elf_machine_lazy_rel): Likewise.
28384 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28386 * nss/nss_files/files-init.c (_nss_files_init): Use static
28387 initialization for all the *_traced_file variables.
28389 2011-09-28 Andreas Schwab <schwab@redhat.com>
28391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28393 2011-09-27 Roland McGrath <roland@hack.frob.com>
28396 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28398 2011-09-27 Andreas Schwab <schwab@redhat.com>
28400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28401 Reread the line before reparsing it.
28403 2011-09-26 Andreas Schwab <schwab@redhat.com>
28405 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28407 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28408 Maxim Kuvyrkov <maxim@codesourcery.com>
28409 Joseph Myers <joseph@codesourcery.com>
28411 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28412 if needed for __stack_chk_guard.
28414 2011-09-19 Roland McGrath <roland@hack.frob.com>
28416 * sysdeps/posix/spawni.c (script_execute): Always define it.
28417 It will be optimized away if unused.
28418 (maybe_script_execute): New function.
28419 (__spawni): Call it.
28421 * Makerules: Don't include tls.make.
28422 (config-tls): Always set to thread.
28423 * tls.make.c: File removed.
28425 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28427 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28428 * config.make.in (CPPFLAGS-config): New substituted variable.
28430 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28435 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28436 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28438 2011-09-15 Roland McGrath <roland@hack.frob.com>
28440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28441 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28443 (CALL_FAIL): Likewise.
28444 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28445 (CALL_FAIL): Macro removed.
28446 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28448 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28451 for __FINITE_MATH_ONLY__ == 1.
28453 2011-09-15 Andreas Schwab <schwab@redhat.com>
28455 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28456 __ieee754_sqrt instead of sqrt.
28457 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28458 __ieee754_sqrtf instead of sqrtf.
28459 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28460 __floorf instead of floorf.
28461 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28462 __floorf, __truncf instead of floorf, truncf.
28464 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28466 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28468 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28469 __extern_always_inline.
28470 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28473 2011-09-14 Andreas Schwab <schwab@redhat.com>
28475 * elf/rtld.c (dl_main): Also relocate in dependency order when
28476 doing symbol dependency testing.
28478 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28481 Always define `refsym'.
28483 2011-09-13 Andreas Schwab <schwab@redhat.com>
28485 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28486 (__FD_ELT): Renamed from __FDELT.
28487 * misc/bits/select2.h (__FD_ELT): Likewise.
28488 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28489 __FD_MASK instead of __FDELT, __FDMASK.
28490 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28492 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28495 * elf/Makefile (gen-ldd): Fix pattern.
28497 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28498 (init_tls): Likewise.
28500 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28504 2011-09-12 Andreas Schwab <schwab@redhat.com>
28506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28507 `struct cmsghdr *' instead of `void *'.
28508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28511 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28513 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28515 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28516 ldd_rewrite_script.
28518 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28520 * configure.in: Remove --with-tls option.
28521 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28522 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28523 out in case it is missing.
28524 * sysdeps/ia64/elf/configure.in: Likewise.
28525 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28526 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28527 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28528 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28529 * sysdeps/sh/elf/configure.in: Likewise.
28530 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28532 * sysdeps/x86_64/elf/configure.in: Likewise.
28533 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28534 * sysdeps/mach/hurd/tls.h: Likewise.
28537 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28540 * configure.in: Fix use of AC_INIT.
28542 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28544 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28546 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28548 * malloc/hooks.c: Likewise.
28551 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28552 variables statically.
28553 (narenas): Initialize.
28554 (list_lock): Initialize.
28555 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28556 initializtion of main_arena and list_lock. Small cleanups.
28557 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28558 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28559 Add initializers to main_arena and mp_.
28560 (malloc_state): Remove pagesize member. Change all users to use
28563 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28564 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28565 is always initialized.
28567 * malloc/malloc.c: Removed unused configurations and dead code.
28568 * malloc/arena.c: Likewise.
28569 * malloc/hooks.c: Likewise.
28570 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28572 * include/tls.h: Removed. USE___THREAD must always be defined.
28573 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28574 * elf/dl-libc.c: Likewise.
28575 * elf/dl-tsd.c: Likewise.
28576 * include/errno.h: Likewise.
28577 * include/netdb.h: Likewise.
28578 * include/resolv.h: Likewise.
28579 * inet/herrno-loc.c: Likewise.
28580 * inet/herrno.c: Likewise.
28581 * malloc/arena.c: Likewise.
28582 * malloc/hooks.c: Likewise.
28583 * malloc/malloc.c: Likewise.
28584 * resolv/res-state.c: Likewise.
28585 * resolv/res_libc.c: Likewise.
28586 * sysdeps/i386/dl-machine.h: Likewise.
28587 * sysdeps/ia64/dl-machine.h: Likewise.
28588 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28589 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28590 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28591 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28592 * sysdeps/sh/dl-machine.h: Likewise.
28593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28594 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28595 * sysdeps/unix/i386/sysdep.S: Likewise.
28596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28597 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28602 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28607 * sysdeps/x86_64/dl-machine.h: Likewise.
28608 * tls.make.c: Likewise.
28610 * configure.in: Remove --with-__thread option. Make tests for
28611 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28612 tls_model attribute fail if no support is available. Remove
28614 * Makeconfig: Adjust for dropped configure option. All features are
28616 * Makerules: Likewise.
28617 * Versions.def: Likewise.
28618 * argp/argp-fmtstream.c: Likewise.
28619 * argp/argp-fmtstream.h: Likewise.
28620 * argp/argp-help.c: Likewise.
28621 * assert/assert.c: Likewise.
28622 * config.h.in: Likewise.
28623 * config.make.in: Likewise.
28624 * configure: Likewise.
28625 * configure.in: Likewise.
28626 * csu/Versions: Likewise.
28627 * csu/init.c: Likewise.
28628 * elf/tst-audit2.c: Likewise.
28629 * elf/tst-tls10.c: Likewise.
28630 * elf/tst-tls10.h: Likewise.
28631 * elf/tst-tls11.c: Likewise.
28632 * elf/tst-tls12.c: Likewise.
28633 * elf/tst-tls14.c: Likewise.
28634 * elf/tst-tlsmod11.c: Likewise.
28635 * elf/tst-tlsmod12.c: Likewise.
28636 * elf/tst-tlsmod13.c: Likewise.
28637 * elf/tst-tlsmod13a.c: Likewise.
28638 * elf/tst-tlsmod14a.c: Likewise.
28639 * elf/tst-tlsmod15b.c: Likewise.
28640 * elf/tst-tlsmod16a.c: Likewise.
28641 * elf/tst-tlsmod16b.c: Likewise.
28642 * elf/tst-tlsmod7.c: Likewise.
28643 * elf/tst-tlsmod8.c: Likewise.
28644 * elf/tst-tlsmod9.c: Likewise.
28645 * gmon/gmon.c: Likewise.
28646 * grp/fgetgrent_r.c: Likewise.
28647 * grp/putgrent.c: Likewise.
28648 * hurd/fopenport.c: Likewise.
28649 * include/libc-symbols.h: Likewise.
28650 * include/tls.h: Likewise.
28651 * intl/gettextP.h: Likewise.
28652 * intl/loadinfo.h: Likewise.
28653 * locale/global-locale.c: Likewise.
28654 * locale/localeinfo.h: Likewise.
28655 * mach/devstream.c: Likewise.
28656 * malloc/arena.c: Likewise.
28657 * malloc/set-freeres.c: Likewise.
28658 * misc/err.c: Likewise.
28659 * misc/getttyent.c: Likewise.
28660 * misc/mntent_r.c: Likewise.
28661 * posix/getopt.c: Likewise.
28662 * posix/wordexp.c: Likewise.
28663 * pwd/fgetpwent_r.c: Likewise.
28664 * resolv/Versions: Likewise.
28665 * resolv/res_hconf.c: Likewise.
28666 * shadow/fgetspent_r.c: Likewise.
28667 * shadow/putspent.c: Likewise.
28668 * stdio-common/printf_fphex.c: Likewise.
28669 * stdio-common/tmpfile.c: Likewise.
28670 * stdlib/abort.c: Likewise.
28671 * stdlib/fmtmsg.c: Likewise.
28672 * sunrpc/auth_unix.c: Likewise.
28673 * sunrpc/clnt_perr.c: Likewise.
28674 * sunrpc/clnt_tcp.c: Likewise.
28675 * sunrpc/clnt_udp.c: Likewise.
28676 * sunrpc/clnt_unix.c: Likewise.
28677 * sunrpc/openchild.c: Likewise.
28678 * sunrpc/svc_simple.c: Likewise.
28679 * sunrpc/svc_tcp.c: Likewise.
28680 * sunrpc/svc_udp.c: Likewise.
28681 * sunrpc/svc_unix.c: Likewise.
28682 * sunrpc/xdr.c: Likewise.
28683 * sunrpc/xdr_array.c: Likewise.
28684 * sunrpc/xdr_rec.c: Likewise.
28685 * sunrpc/xdr_ref.c: Likewise.
28686 * sunrpc/xdr_stdio.c: Likewise.
28688 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28690 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28692 2011-07-03 Andreas Jaeger <aj@suse.de>
28694 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28695 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28696 regenerate with gen-libm-tests.pl.
28698 2010-05-12 Petr Baudis <pasky@suse.cz>
28701 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28702 around j0() zero points by switching to j1().
28703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28708 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28710 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28712 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28715 Patch in part by Pavel Roskin <proski@gnu.org>.
28718 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28720 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28721 Free memory block if necessary.
28724 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28725 be NULL. Don't lock in this case.
28727 2011-09-09 Roland McGrath <roland@hack.frob.com>
28729 * elf/elf.h (ELFOSABI_GNU): New macro.
28730 (ELFOSABI_LINUX): Define to that.
28732 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28734 * string/strncat.c (strncat): Undef the symbol in case it has been
28735 defined in bits/string.h.
28737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28739 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28741 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28744 2011-08-17 Andreas Jaeger <aj@suse.de>
28746 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28748 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28749 Ian Lance Taylor <iant@google.com>
28751 * math/libm-test.inc (lround_test): New testcase.
28752 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28754 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28756 * Makefile: Remove support for automatic cvs check-ins.
28757 * Makerules: Likewise.
28758 * config.make.in: Likewise.
28759 * configure.in: Likewise.
28760 * intl/Makefile: Likewise.
28761 * locale/Makefile: Likewise.
28762 * po/Makefile: Likewise.
28763 * posix/Makefile: Likewise.
28764 * sysdeps/gnu/Makefile: Likewise.
28765 * sysdeps/mach/hurd/Makefile: Likewise.
28766 * sysdeps/sparc/sparc32/Makefile: Likewise.
28769 * posix/Makefile (bug-regex32-ENV): Define.
28770 Patch by John Stanley <jpsinthemix@verizon.net>.
28772 * misc/Makefile (headers): Add bits/select2.h.
28773 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28774 * misc/bits/select2.h: New file.
28775 * include/bits/select2.h: New file.
28776 * debug/Makefile (routines): Add fdelt_chk.
28777 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28778 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28780 * debug/fdelt_chk.c: New file.
28782 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28783 * wcsmbs/test-wmemcmp.c: Likewise.
28784 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28785 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28787 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28789 * string/Makefile (strop-tests): Add memcmp.
28790 * string/test-wmemcmp.c: New file.
28791 * string/test-memcmp.c: Add wmemcmp support.
28793 2011-09-08 Roland McGrath <roland@hack.frob.com>
28796 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28799 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28800 garbage value in a __mach_port_mod_refs call in the cases of the
28801 task-self and thread-self ports.
28803 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28805 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28807 2011-09-08 Andreas Schwab <schwab@redhat.com>
28809 * elf/dl-load.c (lose): Check for non-null L.
28811 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28813 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28815 * elf/dl-libc.c (dlerror_run): Pass back error code from
28819 * elf/dl-load.c (lose): Free l_origin if it is valid.
28821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28823 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28824 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28826 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28827 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28828 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28830 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28833 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28835 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28836 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28837 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28838 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28839 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28840 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28841 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28843 2011-08-15 Alan Modra <amodra@gmail.com>
28846 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28847 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28848 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28849 ppc_mcount to static-only-routines.
28850 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28852 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28853 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28855 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28858 for finite and infinity parameters.
28860 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28863 and add nop instructions for throughput optimization.
28864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28866 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28869 aligned copy for power7 with vector-scalar instructions.
28870 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28872 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28877 2011-09-07 Andreas Schwab <schwab@redhat.com>
28880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28885 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28886 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28887 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28888 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28891 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28894 Forgot to demangle the pointer.
28896 * sysdeps/i386/sysdep.h: Define atom_text_section.
28897 * sysdeps/x86_64/sysdep.h: Likewise.
28898 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28899 section with atom_text_section.
28900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28908 already be defined. Change to take two parameters and don't assign
28909 result to variable. Adjust all users.
28910 Define INTERNAL_GETTIME if not already defined.
28911 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28914 HAVE_CLOCK_GETTIME_VSYSCALL.
28915 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28918 gettimeofday vsyscall, just use time.
28920 2011-09-06 Andreas Schwab <schwab@redhat.com>
28922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28925 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28927 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28931 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28933 syscall if possible.
28935 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28937 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28938 e_ident. Don't pass to find_mapsXX.
28939 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28941 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28944 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28945 * sysdeps/x86_64/multiarch/strchr.S: Update.
28946 Check bit_slow_BSF bit.
28947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28951 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28954 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28956 (tryshell): Define.
28957 (__spawni): Change last parameter to be flag. Test
28958 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28959 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28960 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28961 * posix/spawni.c: Likewise.
28962 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28963 * posix/spawnp.c: Likewise. Change normal version to use
28964 SPAWN_XFLAGS_USE_PATH.
28965 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28966 SPAWN_XFLAGS_TRY_SHELL.
28969 * posix/glob.h: Remove gcc 1.x support.
28972 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28974 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28977 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28979 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28980 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28981 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28983 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28984 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28986 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28988 * sysdeps/x86_64/wcscmp.S: New file.
28990 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28991 wcscmp-c wcscmp-sse2
28992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28993 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28995 * wcsmbs/wcscmp.c: Allow renaming.
28997 2011-09-05 David S. Miller <davem@davemloft.net>
28999 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29000 stack slot, rather than the struct return pointer slot.
29001 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29002 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29004 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29006 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29008 * po/ja.po: Update from translation team.
29011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29012 kernel in 64-bit binaries.
29014 2011-09-01 David S. Miller <davem@davemloft.net>
29016 * elf/elf.h (HWCAP_SPARC_*): Move to..
29017 * sysdeps/sparc/sysdep.h: this new file and add new values.
29018 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29019 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29020 _DL_HWCAP_COUNT to 24.
29021 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29023 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29024 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29025 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29027 instead of magic constants.
29028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29030 2011-08-31 David S. Miller <davem@davemloft.net>
29032 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29034 Reimplement to do errno handling inline.
29035 (SYSCALL_ERROR_HANDLER): New macro.
29036 (__SYSCALL_STRING): Do not do errno handling in asm.
29037 (__CLONE_SYSCALL_STRING): Delete.
29038 (__INTERNAL_SYSCALL_STRING): Delete.
29039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29040 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29041 (PSEUDO): Reimplement to do errno handling inline.
29042 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29043 (SYSCALL_ERROR_HANDLER): New macro.
29044 (__SYSCALL_STRING): Do not do errno handling in asm.
29045 (__CLONE_SYSCALL_STRING): Delete.
29046 (__INTERNAL_SYSCALL_STRING): Delete.
29047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29048 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29050 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29051 (inline_syscall*): Add 'err' argument.
29052 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29053 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29054 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29055 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29057 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29058 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29060 2011-08-30 Andreas Schwab <schwab@redhat.com>
29062 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29064 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29066 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29069 2011-08-24 David S. Miller <davem@davemloft.net>
29071 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29073 2011-08-24 Andreas Schwab <schwab@redhat.com>
29075 * elf/Makefile: Add rules to build and run unload8 test.
29076 * elf/unload8.c: New file.
29077 * elf/unload8mod1.c: New file.
29078 * elf/unload8mod1x.c: New file.
29079 * elf/unload8mod2.c: New file.
29080 * elf/unload8mod3.c: New file.
29082 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29085 2011-08-23 David S. Miller <davem@davemloft.net>
29087 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29088 subtract stack bias.
29089 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29090 %sp not %fp in calculations.
29091 (_JMPBUF_UNWINDS_ADJ): Likewise.
29093 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29094 (aio_suspend): Call it to force an exception region around the
29095 AIO_MISC_WAIT() invocation.
29097 2011-08-23 Andreas Schwab <schwab@redhat.com>
29099 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29102 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29104 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29106 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29107 and <dl-machine.h>.
29108 (Elf64_FuncDesc): Remove.
29110 2011-08-22 David S. Miller <davem@davemloft.net>
29112 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29113 sigaltstack check, add missing cfi directives.
29114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29115 missing cfi directives, and sigaltstack handling.
29117 2011-08-16 Andreas Schwab <schwab@redhat.com>
29120 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29121 object is seen twice.
29122 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29124 * elf/Makefile (distribute): Add tst-initorder2.c.
29125 (tests): Add tst-initorder2.
29126 (modules-names): Add tst-initorder2a tst-initorder2b
29127 tst-initorder2c tst-initorder2d. Add rules to build them.
29128 ($(objpfx)tst-initorder2.out): New rule.
29129 * elf/tst-initorder2.c: New file.
29130 * elf/tst-initorder2.exp: New file.
29132 2011-08-22 Andreas Schwab <schwab@redhat.com>
29134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29136 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29137 dependencies back to end of function.
29139 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29140 $(elfobjdir)/ld.so.
29142 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29145 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29147 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29148 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29149 of __vdso_gettimeofday.
29150 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29151 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29153 (_libc_vdso_platform_setup): Remove initialization of
29154 __vdso_gettimeofday and __vdso_time.
29156 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29158 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29159 and fgetc_unlocked.
29160 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29163 * elf/dl-open.c (add_to_global): Report additions to the global scope
29164 for LD_DEBUG=scopes.
29165 (dl_open_worker): Also print scope of newly loaded dependencies.
29166 (_dl_show_scope): Indicate if there is no scope.
29169 * stdio-common/Makefile (tests): Add bug24.
29170 * stdio-common/bug24.c: New file.
29172 2011-08-19 Andreas Jaeger <aj@suse.de>
29175 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29176 non-existant file when using close-on-exec mode.
29178 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29181 the very first instruction.
29183 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29184 the CFI state in the end.
29185 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29186 inclusion of dl-trampoline.h.
29187 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29189 2011-08-19 Andreas Schwab <schwab@redhat.com>
29191 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29192 expectations for long double.
29194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29195 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29197 2011-08-14 David S. Miller <davem@davemloft.net>
29199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29200 artificual limit depends upon the system page size.
29202 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29204 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29205 * resolv/Makefile: Define CFLAGS-libresolv.
29207 2011-08-17 Andreas Schwab <schwab@redhat.com>
29209 * nss/makedb.c (compute_tables): Make variables used in nested
29212 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29214 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29215 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29216 if buffer was too small.
29218 * elf/pldd.c (main): Attach to all threads in the process.
29219 Rewrite /proc handling to use *at functions.
29221 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29223 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29224 specifies first scope to show.
29225 (dl_open_worker): Update callers. Move printing scope of new
29226 object to before the relocation.
29227 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29228 * sysdeps/generic/ldsodefs.h: Update declaration.
29230 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29231 string for the scope number.
29233 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29235 * nscd/servicescache.c (cache_addserv): Make sure written is always
29238 2011-08-14 Roland McGrath <roland@hack.frob.com>
29240 * sysdeps/i386/i486/bits/atomic.h
29241 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29242 statement expression, so as to suppress "set but not used" warning.
29243 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29245 * string/strncat.c (STRNCAT): Use prototype definition.
29247 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29248 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29250 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29251 (localedef-modules): Add localedef.
29252 (locale-modules): Add locale.
29254 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29255 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29256 to avoid a warning.
29258 2011-08-14 David S. Miller <davem@davemloft.net>
29260 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29261 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29263 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29265 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29266 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29267 * elf/rtld.c (dl_main): Set l_name of vDSO.
29268 Call _dl_show_scope when DL_DEBUG_SCOPES.
29269 (process_dl_debug): Recognize scopes flag and also set it for all.
29270 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29271 Declare _dl_show_scope.
29273 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29274 (do_dlopen): Pass caller_dlopen to dl_open.
29275 (__libc_dlopen_mode): Initialize caller_dlopen.
29277 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29278 of libc. Make tolower call locale-independent. Optimize a bit by
29279 using isdigit instead of isalnum.
29280 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29282 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29284 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29285 was a dependency or dynamically loaded.
29287 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29289 * intl/l10nflist.c: Allow architecture-specific pop function.
29290 * sysdeps/x86_64/l10nflist.c: New file.
29292 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29295 2011-08-10 Andreas Schwab <schwab@redhat.com>
29297 * include/dirent.h: Add libc_hidden_proto for scandirat and
29298 scandirat64. Don't declare __scandirat64.
29299 * dirent/scandirat.c: Add libc_hidden_def.
29300 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29301 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29303 2011-08-10 David S. Miller <davem@davemloft.net>
29305 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29309 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29311 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29313 * Versions.def [libc]: Add GLIBC_2.15.
29314 * dirent/Makefile (routines): Add scandirat and scandirat64.
29315 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29317 * dirent/dirent.h: Declare scandirat and scandirat64.
29318 * dirent/scandirat.c: New file.
29319 * dirent/scandirat64.c: New file.
29320 * sysdeps/wordsize-64/scandirat.c: New file.
29321 * sysdeps/wordsize-64/scandirat64.c: New file.
29322 * dirent/opendir.c: Define opendirat.
29323 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29325 * dirent/scandir64.c: Adjust for scandir.c change.
29326 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29327 __scandirat64, and __scandir_cancel_handler.
29328 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29329 additional parameter and use openat instead of open (outside of ld.so).
29330 Add new __opendir as wrapper around __opendirat.
29331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29332 here without requiring old scandirat implementation.
29334 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29336 * dirent/scandir.c (cancel_handler): Renamed to
29337 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29338 defined. Adjust users.
29339 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29342 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29344 * string/test-string.h (IMPL): Use __STRING to expand name and then
29347 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29350 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29352 * string/Makefile: Update.
29353 (strop-tests): Append strncat.
29354 * string/test-wcscmp.c: New file.
29355 New comprehensive test for wcscmp.
29356 * string/test-strcmp.c: Update.
29357 (WIDE): New define.
29359 2011-07-22 Andreas Schwab <schwab@redhat.com>
29361 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29364 2011-07-26 Andreas Schwab <schwab@redhat.com>
29366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29367 encoding to ACE if AI_IDN.
29369 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29372 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29374 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29377 Fix overflow bug in strncat.
29378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29380 * string/test-strncat.c: Update.
29381 Add new tests for checking overflow bugs.
29383 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29386 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29387 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29388 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29390 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29391 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29392 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29393 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29396 (USE_AS_STRCAT): Define.
29397 Add strcat and strncat support.
29398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29400 2011-07-25 Andreas Schwab <schwab@redhat.com>
29402 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29403 __n bigger than INT_MAX+1.
29404 (__strncmp_g): Likewise.
29406 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29408 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29409 * libio/stido.h: Likewise.
29411 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29416 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29417 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29419 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29423 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29428 (_dl_x86_64_save_sse): Likewise.
29430 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29434 (_dl_x86_64_save_sse): Likewise.
29436 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29438 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29440 2011-07-21 Andreas Schwab <schwab@redhat.com>
29442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29444 (_dl_x86_64_save_sse): Use correct AVX check.
29446 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29448 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29449 bug in strncpy/strncat.
29450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29452 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29454 * string/tester.c (test_strcat): Add tests for different alignments
29455 of source and destination.
29456 (test_strncat): Likewise.
29458 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29461 * posix/glob.c (glob): Check passed in values before using them in
29462 expressions to avoid some overflows.
29463 (glob_in_dir): Likewise.
29466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29467 check for AVX enablement so that we don't crash with old kernels and
29469 * elf/tst-audit4.c: Add same checks here.
29470 * elf/tst-audit6.c: Likewise.
29472 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29474 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29476 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29478 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29480 * po/cs.po: Update from translation team.
29481 * po/bg.po: Likewise.
29483 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29485 * misc/sys/cdefs.h: Add support for const attribute.
29486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29487 to gnu_dev_{major,minor,makedev} functions.
29489 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29491 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29493 2011-07-20 Andreas Schwab <schwab@redhat.com>
29495 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29498 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29501 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29502 register in order to avoid conflicts with the soft frame pointer
29503 being held in r11 when necessary.
29504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29505 (INTERNAL_VSYSCALL_NCS): Likewise.
29507 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29509 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29510 * elf/dl-fini.c (_dl_fini): Adjust caller.
29511 * elf/dl-close.c (_dl_close_worker): Likewise.
29512 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29514 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29516 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29517 "aux_cache->nlibs < 0".
29519 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29520 in the reload-count case.
29522 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29525 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29526 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29527 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29528 * sysdeps/x86_64/multiarch/strcat.S: New file.
29529 * sysdeps/x86_64/multiarch/strncat.S: New file.
29530 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29532 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29533 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29535 (USE_AS_STRCAT): Define.
29536 Add strcat and strncat support.
29537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29539 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29540 * string/strncat.c: Update.
29541 (USE_AS_STRNCAT): Define.
29542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29543 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29545 * sysdeps/x86_64/multiarch/init-arch.h
29546 (bit_Prefer_PMINUB_for_stringop): New.
29547 (index_Prefer_PMINUB_for_stringop): Likewise.
29548 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29549 bit_Prefer_PMINUB_for_stringop.
29551 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29553 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29555 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29556 of casting of buffer.
29557 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29558 buffer32 and buffer64.
29559 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29560 writes instead of casting of buffer.
29561 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29563 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29566 2011-07-19 Andreas Schwab <schwab@redhat.com>
29568 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29570 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29572 * nscd/nscd.c (termination_handler): Don't do anything for a database
29573 if it has not yet been initialized.
29575 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29577 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29579 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29581 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29583 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29585 * po/nl.po: Update from translation team.
29586 * po/sv.po: Likewise.
29588 2011-07-16 Roland McGrath <roland@hack.frob.com>
29590 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29591 now disallowed by GCC.
29593 * configure.in (use-default-link): Default to yes if a test -shared
29594 link meets our qualifications.
29595 * configure: Regenerated.
29597 * config.make.in (output-format): New variable.
29598 * configure.in: Check for ld --print-output-format support.
29599 * configure: Regenerated.
29600 * Makerules ($(common-objpfx)format.lds)
29601 [$(output-format) != unknown]: Just use $(output-format),
29602 instead of the linker-script munging.
29604 2011-07-14 Roland McGrath <roland@hack.frob.com>
29606 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29607 of $(common-objpfx)shlib.lds.
29608 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29610 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29611 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29613 * configure.in (-z relro check): Adjust test code to add a large
29614 writable data section after it.
29615 * configure: Regenerated.
29617 2011-07-11 Roland McGrath <roland@hack.frob.com>
29619 * configure.in (-z relro check): Fix test code to make the variable
29621 * configure: Regenerated.
29623 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29625 * nscd/nscd.h (struct traced_file): Define.
29626 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29627 elements. Add traced_files.
29628 (inotify_fd): Declare.
29629 (register_traced_file): Declare.
29630 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29631 (inotify_fd): Export.
29632 (resolv_conf_descr): Remove.
29633 (nscd_init): Move inotify descriptor creation to main.
29634 Don't register files for notification here.
29635 (register_traced_file): New function.
29636 (invalidate_cache): Don't use reset_res to determine whether to call
29637 res_init, go through the list of registered files.
29638 (main_loop_poll): The inotify descriptors are now stored in the
29639 structures for the traced files.
29640 (main_loop_epoll): Likewise
29641 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29642 to __nss_disable_nscd.
29643 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29644 for a database anymore. Check the records for all the registered
29646 * nss/Makefile (libnss_files-routines): Add files-init.
29647 (libnss_db-routines): Add db-init.
29648 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29649 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29650 * nss/nss_db/db-init.c: New file.
29651 * nss/nss_files/files-init.c: New file.
29652 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29653 __nss_lookup_function.
29654 (__nss_lookup_function): Call nss_load_library.
29655 (nss_load_all_libraries): New function.
29656 (__nss_disable_nscd): Take parameter with callback function for files
29657 to register. Set is_nscd. Load all the DSOs for the NSS modules
29658 used for the cached services.
29659 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29660 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29661 options for features to all the files in nscd.
29663 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29665 2011-07-10 Roland McGrath <roland@hack.frob.com>
29667 * csu/elf-init.c (__libc_csu_init): Comment typo.
29669 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29671 * po/pl.po: Update from translation team.
29672 * po/ja.po: Likewise.
29673 * po/ru.po: Likewise.
29674 * po/ko.po: Likewise.
29675 * po/fr.po: Likewise.
29677 2011-07-09 Roland McGrath <roland@hack.frob.com>
29679 * configure.in (.ctors/.dtors header and trailer check):
29680 Use an empirical test on a built program.
29681 * configure: Regenerated.
29683 * configure.in (-z relro check): Use an empirical test on a built DSO.
29684 Detect, but do not require, on ia64.
29685 * configure: Regenerated.
29687 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29688 Update tests that use readelf to use $READELF instead.
29689 * configure: Regenerated.
29691 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29693 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29694 if the result is not used.
29696 2011-07-05 Andreas Jaeger <aj@suse.de>
29699 * stdlib/tst-strtod.c: Add testcase.
29701 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29703 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29704 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29705 The latter has a higher limit. Take additional parameter to pass to
29707 (__pathconf): Pass file to __statfs_link_max.
29708 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29710 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29714 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29715 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29718 (__statfs_filesize_max): Likewise.
29719 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29721 2011-07-05 Andreas Jaeger <aj@suse.de>
29723 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29725 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29727 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29729 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29732 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29734 * Makefile (strop-tests): Add strncat.
29735 * string/test-strncat.c: New file.
29737 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29739 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29741 2011-06-21 Andreas Jaeger <aj@suse.de>
29743 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29744 Copy rule from iconvdata/Makefile.
29746 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29749 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29750 but no long options are defined, just return 'W'.
29752 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29755 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29757 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29759 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29761 (innetgr): Likewise.
29763 2011-07-05 Roland McGrath <roland@hack.frob.com>
29765 * config.make.in (install_root): Default to $(DESTDIR).
29767 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29769 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29771 2011-07-02 Roland McGrath <roland@hack.frob.com>
29773 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29775 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29776 containing directory rather than embedding absolute directory names.
29778 * scripts/check-local-headers.sh: Rewritten using awk.
29779 Match by word, not by line. Print error messages for matches.
29780 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29782 * Makerules [shlib-lds-flags empty]:
29783 ($(common-objpfx)libc_pic.opts): New target.
29784 ($(common-objpfx)libc_pic.os.clean): New target.
29785 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29787 * config.make.in (OBJCOPY): New variable.
29788 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29789 * configure: Regenerated.
29791 * config.make.in (use-default-link): New variable.
29792 * configure.in (use_default_link): Grok --with-default-link to set it.
29793 * configure: Regenerated.
29794 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29795 (shlib-lds, shlib-lds-flags): Define to empty.
29797 * Makerules (shlib-lds): New variable.
29798 (shlib-lds-flags): New variable.
29799 (build-shlib, build-moduile, build-module-asneeded): Use it.
29800 ($(common-objpfx)libc.so): Use $(shlib-lds).
29801 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29802 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29804 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29805 DT_FLAGS/DT_FLAGS_1 with zero flags.
29807 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29808 linker script munging.
29810 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29812 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29814 * crypt/sha512.c (sha512_process_block): Perform total addition using
29815 128-bit if possible.
29816 (__sha512_finish_ctx): Likewise.
29817 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29819 * crypt/sha256.c (SWAP64): Define.
29820 (sha256_process_block): Perform total addition using 64-bit if
29822 (__sha256_finish_ctx): Likewise.
29824 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29826 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29828 * nscd/hstcache.c (cache_addhst): Likewise.
29829 * nscd/grpcache.c (cache_addgr): Likewise.
29830 * nscd/aicache.c (addhstaiX): Likewise
29831 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29833 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29835 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29837 * nscd/hstcache.c (cache_addhst): Likewise.
29838 * nscd/grpcache.c (cache_addgr): Likewise.
29839 * nscd/aicache.c (addhstaiX): Likewise
29841 2011-07-01 Andreas Schwab <schwab@redhat.com>
29843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29844 domain only when needed.
29846 2011-06-30 Andreas Schwab <schwab@redhat.com>
29848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29849 is always restored.
29851 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29853 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29854 are re-adding the entry.
29855 * nscd/servicescache.c (cache_addserv): Likewise.
29857 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29859 * sysdeps/generic/dl-irel.h: fix protection against multiple
29861 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29863 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29866 * malloc/memusage.sh: Fix quoting in message.
29867 * debug/xtrace.sh: Likewise.
29869 * configure.in: Remove support for --experimental-malloc option, make
29871 * config.make.in: Likewise.
29872 * malloc/Makefile: Likewise.
29874 2011-06-27 Andreas Schwab <schwab@redhat.com>
29876 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29877 two-byte characters.
29879 2011-06-27 Roland McGrath <roland@hack.frob.com>
29881 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29882 AC_CACHE_CHECK invocation.
29883 * configure: Regenerated.
29885 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29887 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29890 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29891 bit from old_res_options.
29893 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29895 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29896 value type for setfct.
29898 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29901 __gettimeofday instead of gettimeofday.
29903 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29905 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29907 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29914 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29917 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29918 strcpy-sse2-unaligned strncpy-sse2-unaligned
29919 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29920 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29921 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29922 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29923 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29926 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29927 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29928 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29929 (STRCPY): Support SSE2 and SSSE3 versions.
29931 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29934 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29935 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29936 kernels which artificially limit size of requests.
29938 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29941 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29942 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29943 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29944 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29945 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29946 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29947 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29950 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29951 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29952 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29953 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29954 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29956 Enable unaligned load optimization for Intel Core i3, i5 and i7
29958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29960 (index_Fast_Unaligned_Load): Define.
29961 (HAS_FAST_UNALIGNED_LOAD): Define.
29963 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29965 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29967 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29971 until it is clear that the information is realy needed.
29972 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29974 2011-06-22 Andreas Schwab <schwab@redhat.com>
29976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29978 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29981 /sys/devices/system/cpu/online if it is usable.
29983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29984 reading the information from the /proc filesystem to once a second.
29986 2011-06-21 Andreas Jaeger <aj@suse.de>
29988 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29989 NULL after inclusion of kernel headers.
29991 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29993 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29994 calls to internal_setent.
29997 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29998 addresses using gethostbyname4_r ignore IPv4 addresses.
30000 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30001 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30003 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30005 2011-06-20 David S. Miller <davem@davemloft.net>
30007 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30009 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30011 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30012 (elf_irel): Use it.
30013 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30014 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30015 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30016 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30017 * sysdeps/x86_64/dl-irel.h: Likewise.
30019 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30020 * elf/dl-sym.c: Likewise.
30022 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30024 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30025 need to dereference resplen2.
30027 2011-06-14 Andreas Schwab <schwab@redhat.com>
30029 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30033 * Makeconfig: Define vardbdir and inst_vardbdir.
30034 * nss/Makefile: Add rules to install db-Makefile.
30036 * nss/nss_db/db-XXX.c: Cleanup.
30038 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30039 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30041 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30042 * nss/makedb.c: Implement -g option to specify that value strings
30043 are generated and should not be added to table iterated over for
30045 * nss/nss_db/db-initgroups.c: New file.
30047 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30050 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30051 (internal_getgrouplist): Adjust to name change.
30052 Update use_initgroups_entry if this is not the first call.
30053 * nss/databases.def: Add initgroups entry.
30055 * nss/makedb.c (compute_tables): Check result of multiple hash table
30056 sizes to minimize maximum chain length.
30058 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30060 * Versions.def: Add entry for libnss_db.
30061 * shlib-versions: Likewise.
30062 * nss/Makefile: Add rules to build libnss_db.
30063 * nss/Versions: Add libnss_db information. Organize libnss_files
30065 * nss/db-Makefile: Add gshadow support. Change rules for the new
30066 makedb progra. Some minor improvements to generate smaller files.
30067 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30069 * nss/makedb.c: ...here.
30070 Improve database format to be smaller and require less memory at
30072 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30074 * nss/nss_db/db-netgrp.c: Likewise.
30075 * nss/nss_db/db-open.c: Likewise.
30076 * nss/nss_files/flies-XXX.x: Adjust comments.
30077 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30078 * nss/nss_files/files-grp.c: Likewise.
30079 * nss/nss_files/files-hosts.c: Likewise.
30080 * nss/nss_files/files-network.c: Likewise.
30081 * nss/nss_files/files-proto.c: Likewise.
30082 * nss/nss_files/files-pwd.c: Likewise.
30083 * nss/nss_files/files-rpc.c: Likewise.
30084 * nss/nss_files/files-service.c: Likewise.
30085 * nss/nss_files/files-sgrp.c: Likewise.
30086 * nss/nss_files/files-spwd.c: Likewise.
30087 * nss/nss_db/db-alias.c: Removed.
30088 * nss/nss_db/dummy-db.h: Removed.
30090 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30092 * nss/makedb.c: Rewritten to not use database library.
30093 * nss/Makefile: Update to build new makedb program.
30095 2011-06-14 Andreas Jaeger <aj@suse.de>
30097 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30098 memset declaration.
30100 2011-06-10 Andreas Schwab <schwab@redhat.com>
30102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30105 2011-06-10 Roland McGrath <roland@hack.frob.com>
30107 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30108 * elf/Makefile ($(objpfx)ld.so): Likewise.
30110 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30111 Don't list ld.so twice in dependencies.
30113 * posix/bug-regex31.c: Include <stdlib.h>.
30115 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30117 * nis/nss_compat/compat-spwd.c
30118 (getspent_next_nss_netgr): Remove unused variable.
30119 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30121 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30122 nonmembers" output to use the right array.
30124 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30126 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30128 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30129 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30130 * catgets/gencat.c (read_input_file): Likewise.
30131 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30133 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30134 variable definition inside #if's controlling its use.
30136 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30138 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30140 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30142 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30145 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30147 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30148 * configure: Regenerated.
30150 * Makerules: Revert last change.
30151 * elf/Makefile: Likewise.
30153 2011-06-09 Roland McGrath <roland@hack.frob.com>
30155 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30156 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30157 (reloc-link): Likewise.
30159 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30161 * elf/Makefile: Add rules to build pldd.
30162 * elf/pldd.c: New file.
30163 * elf/pldd-xx.c: New file.
30165 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30167 * version.h: Update for 2.15 development version.
30169 2011-06-07 David S. Miller <davem@davemloft.net>
30171 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30174 elf_machine_lazy_rel): Likewise.
30175 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30177 elf_machine_lazy_rel): Likewise.
30178 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30179 dl_hwcap via passed in argument.
30180 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30183 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30185 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30187 2011-06-06 Roland McGrath <roland@hack.frob.com>
30190 * manual/fdl-1.1.texi: New file, verbatim from:
30191 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30192 * manual/lgpl-2.1.texi: New file, verbatim from:
30193 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30194 * manual/Makefile (licenses): New variable, list those new file names.
30196 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30198 * manual/fdl.texi: File removed.
30199 * manual/lesser.texi: File removed.
30200 * manual/libc.texinfo (Copying, Documentation License):
30201 Use new @include file names, put @appendix directive before @include.
30203 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30206 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30207 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30208 (mq_open): Add __NTH.
30210 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30213 Assume Intel Core i3/i5/i7 processor if AVX is available.
30215 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30220 2011-05-31 Andreas Schwab <schwab@redhat.com>
30222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30223 memory. Use alloca_account. Fix memory leak when retrying.
30225 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30227 * version.h (RELEASE): Bump for 2.14 release.
30228 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30230 * config.make.in (RANLIB): Remove entry.
30232 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30234 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30235 (libc.pot): Work around missing support for .ksh extension in xgettext.
30238 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30239 if both request failed.
30240 (send_dg): In case of server errors clear resplen or *resplen2.
30243 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30244 when there are multiple maps.
30245 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30246 (_dl_fini): Remove test here.
30248 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30250 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30253 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30254 bit from old_res_options.
30255 (gaih_inet): Likewise.
30258 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30261 * resolv/res_init.c (res_setoptions): Make the code more compact.
30264 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30268 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30270 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30273 * malloc/malloc.h: Declare malloc hook variables as volatile.
30275 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30279 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30280 raise in the comment.
30281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30283 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30285 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30288 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30289 grow the buffers more if it already has to be sufficient.
30290 (build_wcs_upper_buffer): Likewise.
30291 * posix/regexec.c (check_matching): Likewise.
30292 (clean_state_log_if_needed): Likewise.
30293 (extend_buffers): Don't enlarge buffers beyond size of the input
30295 Patches mostly by Emil Wojak <emil@wojak.eu>.
30296 * posix/bug-regex32.c: New file.
30297 * posix/Makefile (tests): Add bug-regex32.
30299 * locale/findlocale.c (_nl_find_locale): Return right away if
30300 _nl_explode_name failed.
30301 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30303 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30305 * debug/xtrace.sh: Unify messages.
30306 * malloc/memusage.sh: Likewise.
30309 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30310 time symbol from vDSO. Substitute with vsyscall if not available.
30311 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30314 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30315 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30316 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30317 Add sendmmsg and internal_sendmmsg.
30318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30319 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30320 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30322 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30323 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30326 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30329 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30330 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30336 * iconvdata/Makefile (tests): Add bug-iconv9.
30337 * iconvdata/bug-iconv9.c: New file.
30339 2011-05-27 Andreas Schwab <schwab@redhat.com>
30342 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30344 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30347 (struct user_regs_struct): Change intcs field back to cs.
30349 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30351 * po/ja.po: Update from translation team.
30353 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30356 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30357 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30359 2011-05-20 Andreas Schwab <schwab@redhat.com>
30361 * stdlib/longlong.h: Update from GCC.
30363 2011-05-23 Andreas Schwab <schwab@redhat.com>
30365 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30367 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30368 Add parameter name.
30369 (__sysconf): Pass it down.
30371 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30374 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30376 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30377 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30378 add in in __libc_use_alloca calls. Adjust callers.
30379 (glob): Use malloc in some situations.
30381 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30382 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30385 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30387 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30388 and CLOCK_BOOTTIME_ALARM.
30391 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30394 * string/_strerror.c (__strerror_r): Print negative errors as signed
30398 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30399 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30400 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30402 * configure.in: Fix typo in redirection and correct removal of test
30403 files in two cases.
30406 * locale/setlocale.c (new_composite_name): Fix test to check for
30407 identical name of all categories.
30410 * libio/filedoalloc.c (local_isatty): New function.
30411 (_IO_file_doallocate): Use local_isatty.
30412 * stdio-common/perror.c (perror): In case a new stream is used
30413 forward the stream error.
30414 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30417 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30422 * include/alloca.h (extend_alloca_account): Define.
30425 * posix/regex.h: Fix comments with documentation of user-accessible
30426 fields after compilation and describe correct free'ing of pattern
30427 after re_compile_pattern.
30428 Patch by Reuben Thomas <rrt@sc3d.org>.
30430 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30432 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30433 and -mno-altivec to prevent the compiler from using Altivec and/or
30434 VSX instructions when the corresponding registers are not available.
30436 2011-05-19 Andreas Schwab <schwab@redhat.com>
30438 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30440 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30442 * libio/freopen.c (freopen): Use __dup2, not dup2.
30443 * libio/freopen64.c (freopen64): Likewise.
30445 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30448 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30449 * math/Makefile (tests): Add test-powl.
30450 (CFLAGS-test-powl.c): Define.
30451 * math/test-powl.c: New file.
30453 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30455 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30457 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30460 * iconvdata/gb18030.c: Update to GB18020-2005.
30462 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30464 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30465 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30466 Patch by Aharon Robbins <arnold@skeeve.com>.
30469 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30473 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30474 through underflows.
30477 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30478 point to strings before performing equality test for error_one_per_line
30482 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30486 (struct user_fpregs_struct): Avoid __uint*_t types.
30489 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30490 symbol info. Use it instead of calling _dl_addr locally.
30491 (lock_and_info): New function.
30492 (tr_freehook): Call lock_and_info and pass symbol info as additional
30493 parameter to tr_where.
30494 (tr_mallochook): Likewise.
30495 (tr_reallochook): Likewise.
30496 (tr_memalignhook): Likewise.
30498 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30499 used and couldn't be at all thread-safe.
30501 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30503 * libio/freopen.c (freopen): Don't close old file descriptor
30504 before the new one is opened. Instead dup the new file descriptor
30505 to the old one after the new stream is created.
30506 * libio/freopen64.c (freopen64): Likewise.
30507 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30508 * libio/fileops.c (_IO_new_file_close_it): Handle new
30509 _IO_FLAGS2_NOCLOSE flag.
30510 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30511 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30512 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30513 _IO_FLAGS2_NOCLOSE flag.
30514 * include/unistd.h: Add hidden_proto for dup3.
30515 Define __have_dup3.
30516 * io/dup3.c: Define hidden symbol.
30517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30520 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30521 when an incomplete long option is used.
30522 * posix/tst-getopt_long1.c: New file.
30523 * posix/Makefile (tests): Add tst-getopt_long1.
30526 * scripts/config.guess: Update from autoconf-2.68.
30527 * scripts/config.sub: Likewise.
30530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30532 (has_cpuclock): ...this. New function.
30533 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30534 macro here based on has_cpuclock code.
30537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30538 First byte (not low byte) is now always NUL.
30539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30542 Use non-cancelable interfaces.
30545 * locale/iso-639.def: Add entry for Sorani.
30548 * include/stdlib.h: Move include protection to the right place.
30549 Define abort_msg_s. Declare __abort_msg with it.
30550 * stdlib/abort.c (__abort_msg): Adjust type.
30551 * assert/assert.c (__assert_fail_base): New function. Majority
30552 of code from __assert_fail. Allocate memory for __abort_msg with
30554 (__assert_fail): Now call __assert_fail_base.
30555 * assert/assert-perr.c: Remove bulk of implementation. Use
30556 __assert_fail_base.
30557 * include/assert.hL Declare __assert_fail_base.
30558 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30560 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30562 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30566 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30567 until all modules are registered in the DTV.
30568 * elf/Makefile: Add rules to build and run tst-tls19.
30569 * elf/tst-tls19.c: New file.
30570 * elf/tst-tls19mod1.c: New file.
30571 * elf/tst-tls19mod2.c: New file.
30572 * elf/tst-tls19mod3.c: New file.
30573 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30576 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30580 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30581 two-byte sequence errors.
30582 * iconvdata/Makefile (tests): Add bug-iconv8.
30583 * iconvdata/bug-iconv8.c: New file.
30586 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30589 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30592 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30593 (dummy_getcfa): New function.
30594 (init): Get _Unwind_GetCFA address, use dummy if not found.
30595 (backtrace_helper): In recursion check, also check whether CFA changes.
30596 (__backtrace): Completely initialize arg.
30598 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30599 storing incomplete byte sequence in state object. Avoid testing for
30600 guaranteed too small input if we know there is enough data available.
30602 2011-05-11 Andreas Schwab <schwab@redhat.com>
30604 * Makeconfig (+link-pie): Indent.
30605 * Rules (binaries-pie): Define if $(have-fpie) and
30607 (binaries-shared): Also filter out $(binaries-pie).
30608 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30609 * nscd/Makefile (others-pie): Add nscd.
30610 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30611 ($(objpfx)nscd): Remove command override.
30612 * login/Makefile (others-pie): Add pt_chown.
30613 ($(objpfx)pt_chown): Remove command override.
30614 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30615 remove command overrides.
30617 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30619 * libio/tst_putwc.c: Fix error messages.
30622 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30623 currently writing and seek to current position when not.
30624 * libio/Makefile (tests): Add bug-fclose1.
30625 * libio/bug-fclose1.c: New file.
30627 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30630 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30631 don't set DF_1_NODELETE here.
30632 (do_lookup_x): When entering new entry test for copy relocation
30633 and if necessary set DF_1_NODELETE flag.
30634 * elf/tst-unique4.cc: New file.
30635 * elf/tst-unique4.h: New file.
30636 * elf/tst-unique4lib.cc: New file.
30637 * elf/Makefile: Add rules to build and run tst-unique4.
30638 Patch by Piotr Bury <pbury@goahead.com>.
30640 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30643 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30646 * misc/mntent_r.c (addmntent): Flush the stream after the output
30649 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30650 (is_trusted_path_normalize): Skip initial colon. Append slash
30651 to empty buffer. Duplicate is_trusted_path code but allow
30652 constructed patch to be prefix.
30653 (is_dst): Allow $ORIGIN followed by /.
30654 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30655 Correct testing of result of is_trusted_path_normalize
30656 (decompose_rpath): Fix warning.
30658 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30661 * grp/initgroups.c (internal_getgrouplist): When we found the service
30662 list through the initgroups entry in nsswitch.conf do not always
30663 continue on a successful lookup. Don't always use the
30664 __nss_group_database value if it is set.
30665 * nss/nsswitch.conf (initgroups): Change action for successful db
30666 lookup to continue for compatibility.
30668 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30671 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30673 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30675 * iconvdata/tst-tables.sh: Likewise.
30676 * iconvdata/cp770.c: New file.
30677 * iconvdata/cp771.c: New file.
30678 * iconvdata/cp772.c: New file.
30679 * iconvdata/cp773.c: New file.
30680 * iconvdata/cp774.c: New file.
30681 * iconvdata/testdata/CP770: New file.
30682 * iconvdata/testdata/CP770..UTF8: New file.
30683 * iconvdata/testdata/CP771: New file.
30684 * iconvdata/testdata/CP771..UTF8: New file.
30685 * iconvdata/testdata/CP772: New file.
30686 * iconvdata/testdata/CP772..UTF8: New file.
30687 * iconvdata/testdata/CP773: New file.
30688 * iconvdata/testdata/CP773..UTF8: New file.
30689 * iconvdata/testdata/CP774: New file.
30690 * iconvdata/testdata/CP774..UTF8: New file.
30692 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30694 * iconvdata/gen-8bit-gap.sh: Likewise.
30695 * iconvdata/gen-8bit.sh: Likewise.
30697 * locale/iso-639.def: Add ary entry.
30700 * locale/C-translit.h.in: Add U20A1 transliteration.
30703 * locale/iso-639.def: Add wae entry.
30704 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30707 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30711 * locale/C-translit.h.in: Add entry for U20B9.
30712 Patch by pravin.d.s@gmail.com.
30714 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30717 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30718 ENAMETOOLONG use generic getcwd.
30719 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30720 in rtld. Use *stat64.
30721 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30722 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30723 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30724 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30725 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30726 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30727 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30728 __fstatat64 macros.
30729 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30730 * dirent/rewinddir.c: Add libc_hidden_def.
30731 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30732 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30734 * include/dirent.h (__alloc_dir): Add flags parameter.
30735 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30736 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30738 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30739 from fdopendir if O_CLOEXEC is already set.
30741 2011-03-15 Alan Modra <amodra@gmail.com>
30743 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30744 l_tls_firstbyte_offset non-zero. Save padding offset in
30745 l_tls_firstbyte_offset for later use.
30746 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30747 freeing static tls block.
30749 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30751 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30752 where #ifdef was intended. The intent is to prevent ARG_MAX from
30753 being defined by the kernel headers.
30755 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30758 * resolv/resolv.h: Define RES_NOTLDQUERY.
30759 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30760 no-tld-query and set RES_NOTLDQUERY.
30761 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30762 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30763 modern BIND to search name as TLD unless forbidden.
30765 2011-05-07 Petr Baudis <pasky@suse.cz>
30766 Ulrich Drepper <drepper@gmail.com>
30769 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30770 (is_trusted_path): ...to here.
30771 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30772 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30773 using is_trusted_path_normalize() in setuid scripts.
30775 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30778 __BEGIN/__END_DECLS.
30780 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30783 NSS_STATUS_NOTFOUND if no record was found.
30785 2011-05-05 Andreas Schwab <schwab@redhat.com>
30787 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30788 (headers-not-in-tirpc): Remove rpc/netdb.h
30789 * resolv/netdb.h: Revert last change.
30791 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30793 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30794 circular dependency between libgcc.a and libc.a.
30796 2011-05-05 Andreas Schwab <schwab@redhat.com>
30798 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30799 * nis/Makefile: Don't install rpcsvc/*.
30800 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30801 instead of <rpc/types.h>.
30802 (MAXHOSTNAMELEN): Define.
30804 2011-05-03 Andreas Schwab <schwab@redhat.com>
30806 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30808 2011-04-28 Maciej Babinski <mbabinski@google.com>
30811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30812 gethostbyname4_r when IPv6 results are possible.
30814 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30817 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30818 _PC_PIPE_BUF handling.
30820 2011-04-30 Bruno Haible <bruno@clisp.org>
30823 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30824 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30826 * inet/getnameinfo.c (getnameinfo): Likewise.
30828 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30830 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30831 to groups setting in database lookup.
30832 * nss/nsswitch.conf: Add initgroups entry.
30834 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30837 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30839 Patch by Eric Blake <eblake@redhat.com>.
30841 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30843 * sunrpc/Makefile (need-export-routines): Add svc_run.
30844 (routines): Remove svc_run.
30845 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30846 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30847 * sunrpc/svc_run.c (svc_run): Likewise.
30848 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30850 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30853 problem in reallocation in last patch.
30855 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30857 * sunrpc/Makefile: Move inclusion of Rules.
30859 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30861 * nss/nss_files/files-initgroups.c: New file.
30862 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30863 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30864 _nss_files_initgroups_dyn.
30866 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30868 * elf/elf.h (R_ARM_IRELATIVE): Define.
30870 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30872 * po/ru.po: Update from translation team.
30874 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30876 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30879 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30882 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30883 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30888 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30892 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30896 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30899 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30901 * stdlib/bug-getcontext.c: New file.
30902 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30904 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30906 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30907 instructions into .machine "z9-109".
30908 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30909 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30911 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30913 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30914 between environment variables and auxiliary vector.
30916 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30918 * Makefile: Add rules to build linkobj/libc.so.
30919 * include/libc-symbols.h: Define libc_hidden_nolink.
30920 * include/rpc/auth.h: Mark functions which are to be hidden.
30921 * include/rpc/auth_des.h: Likewise.
30922 * include/rpc/auth_unix.h: Likewise.
30923 * include/rpc/clnt.h: Likewise.
30924 * include/rpc/des_crypt.h: Likewise.
30925 * include/rpc/key_prot.h: Likewise.
30926 * include/rpc/pmap_clnt.h: Likewise.
30927 * include/rpc/pmap_prot.h: Likewise.
30928 * include/rpc/pmap_rmt.h: Likewise.
30929 * include/rpc/rpc_msg.h: Likewise.
30930 * include/rpc/svc.h: Likewise.
30931 * include/rpc/svc_auth.h: Likewise.
30932 * include/rpc/xdr.h: Likewise.
30933 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30934 * nss/Makefile: Likewise.
30935 * sunrpc/Makefile: Don't install headers. Build library with normal
30936 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30937 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30938 for the compat linking library. Remove use of INTDEF/INTUSE.
30939 * sunrpc/auth_none.c: Likewise.
30940 * sunrpc/auth_unix.c: Likewise.
30941 * sunrpc/authdes_prot.c: Likewise.
30942 * sunrpc/authuxprot.c: Likewise.
30943 * sunrpc/clnt_gen.c: Likewise.
30944 * sunrpc/clnt_perr.c: Likewise.
30945 * sunrpc/clnt_raw.c: Likewise.
30946 * sunrpc/clnt_simp.c: Likewise.
30947 * sunrpc/clnt_tcp.c: Likewise.
30948 * sunrpc/clnt_udp.c: Likewise.
30949 * sunrpc/clnt_unix.c: Likewise.
30950 * sunrpc/des_crypt.c: Likewise.
30951 * sunrpc/des_soft.c: Likewise.
30952 * sunrpc/get_myaddr.c: Likewise.
30953 * sunrpc/key_call.c: Likewise.
30954 * sunrpc/key_prot.c: Likewise.
30955 * sunrpc/netname.c: Likewise.
30956 * sunrpc/pm_getmaps.c: Likewise.
30957 * sunrpc/pm_getport.c: Likewise.
30958 * sunrpc/pmap_clnt.c: Likewise.
30959 * sunrpc/pmap_prot.c: Likewise.
30960 * sunrpc/pmap_prot2.c: Likewise.
30961 * sunrpc/pmap_rmt.c: Likewise.
30962 * sunrpc/publickey.c: Likewise.
30963 * sunrpc/rpc_cmsg.c: Likewise.
30964 * sunrpc/rpc_common.c: Likewise.
30965 * sunrpc/rpc_dtable.c: Likewise.
30966 * sunrpc/rpc_prot.c: Likewise.
30967 * sunrpc/rpc_thread.c: Likewise.
30968 * sunrpc/rtime.c: Likewise.
30969 * sunrpc/svc.c: Likewise.
30970 * sunrpc/svc_auth.c: Likewise.
30971 * sunrpc/svc_authux.c: Likewise.
30972 * sunrpc/svc_raw.c: Likewise.
30973 * sunrpc/svc_run.c: Likewise.
30974 * sunrpc/svc_simple.c: Likewise.
30975 * sunrpc/svc_tcp.c: Likewise.
30976 * sunrpc/svc_udp.c: Likewise.
30977 * sunrpc/svc_unix.c: Likewise.
30978 * sunrpc/svcauth_des.c: Likewise.
30979 * sunrpc/xcrypt.c: Likewise.
30980 * sunrpc/xdr.c: Likewise.
30981 * sunrpc/xdr_array.c: Likewise.
30982 * sunrpc/xdr_float.c: Likewise.
30983 * sunrpc/xdr_intXX_t.c: Likewise.
30984 * sunrpc/xdr_mem.c: Likewise.
30985 * sunrpc/xdr_rec.c: Likewise.
30986 * sunrpc/xdr_ref.c: Likewise.
30987 * sunrpc/xdr_sizeof.c: Likewise.
30988 * sunrpc/xdr_stdio.c: Likewise.
30990 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30993 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30994 * sysdeps/ia64/dl-tls.h: Likewise.
30995 * sysdeps/powerpc/dl-tls.h: Likewise.
30996 * sysdeps/s390/dl-tls.h: Likewise.
30997 * sysdeps/sh/dl-tls.h: Likewise.
30998 * sysdeps/sparc/dl-tls.h: Likewise.
30999 * sysdeps/x86_64/dl-tls.h: Likewise.
31000 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31002 2011-03-14 Andreas Schwab <schwab@redhat.com>
31004 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31005 rpath element also skip the following colon.
31006 (expand_dynamic_string_token): Add is_path parameter and pass
31007 down to DL_DST_REQUIRED and _dl_dst_substitute.
31008 (decompose_rpath): Call expand_dynamic_string_token with
31009 non-zero is_path. Ignore empty rpaths.
31010 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31013 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31018 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31021 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31022 Patch by Filipe David Manana <fdmanana@apache.org>.
31024 2011-04-07 Andreas Schwab <schwab@redhat.com>
31026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31027 Maintain aligned stack.
31028 (CHECK_RSP): Remove unused macro.
31030 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31032 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31033 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31035 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31037 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31039 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31041 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31044 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31045 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31046 * sysdeps/x86_64/memmove.c: New file.
31047 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31048 (memcpy): Renamed to ...
31049 (__new_memcpy): This.
31050 (memcpy): Provide GLIBC_2_14 memcpy.
31051 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31052 (memcpy): Provide GLIBC_2_2_5 memcpy.
31054 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31057 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31059 2011-03-30 Andreas Schwab <schwab@redhat.com>
31061 * misc/syncfs.c: New file.
31062 * misc/Makefile (routines): Add syncfs.
31063 * posix/unistd.h: Declare syncfs.
31064 * sysdeps/unix/syscalls.list: Add syncfs.
31066 2011-04-01 Andreas Schwab <schwab@redhat.com>
31068 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31075 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31078 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31088 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31089 sync_file_range.c with -fexceptions.
31090 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31091 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31092 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31093 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31094 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31097 sync_file_range as cancellation point
31098 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31099 now a wrapper around __call_sync_file_range with cancellation handling.
31100 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31102 function name to __call_sync_file_range.
31103 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31104 Add call_sync_file_range.
31106 2011-04-01 Andreas Schwab <schwab@redhat.com>
31108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31111 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31113 * iconv/iconv.h: Fix typo in comment.
31114 * io/fcntl.h: Likewise.
31115 * libio/stdio.h: Likewise.
31116 * posix/spawn.h: Likewise.
31117 * posix/unistd.h: Likewise.
31118 * stdlib/stdlib.h: Likewise.
31119 * time/time.h: Likewise.
31120 * wcsmbs/wchar.h: Likewise.
31122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31123 open_by_handle): Add.
31124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31125 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31126 Augment a few comments.
31127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31132 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31135 * io/fcntl.h (AT_EMPTY_PATH): Define.
31137 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31139 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31140 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31141 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31143 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31144 * Versions.def: Add GLIBC_2.14.
31145 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31148 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31152 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31154 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31157 * string/test-strncmp.c (do_page_test): New function.
31158 (check2): Likewise.
31159 (test_main): Call check2.
31160 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31162 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31166 Handle cache information in CPU leaf 4.
31167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31169 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31172 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31173 character representation.
31174 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31176 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31178 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31179 END(__isnan) to END(__isnanf) to match function entry point/label
31180 EALIGN(__isnanf,...).
31182 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31184 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31186 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31189 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31190 copy from the symbol referenced in the relocation to initialize the
31192 Patch by Piotr Bury <pbury@goahead.com>.
31193 * elf/Makefile: Add rules to build and tst-unique3.
31194 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31195 * elf/tst-unique3.cc: New file.
31196 * elf/tst-unique3.h: New file.
31197 * elf/tst-unique3lib.cc: New file.
31198 * elf/tst-unique3lib2.cc: New file.
31200 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31202 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31204 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31205 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31208 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31210 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31211 to-be-loaded object along a path to loader is ld.so.
31213 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31214 Ulrich Drepper <drepper@gmail.com>
31216 * sysdeps/x86_64/memset.S: After aligning destination, code
31217 branches to different locations depending on the value of
31218 misalignment, when multiarch is enabled. Fix this.
31220 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31222 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31223 Set _x86_64_preferred_memory_instruction for AMD processsors.
31224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31225 Set bit_Prefer_SSE_for_memop for AMD processors.
31227 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31229 * libio/fmemopen.c (fmemopen): Optimize a bit.
31231 2011-03-03 Andreas Schwab <schwab@redhat.com>
31233 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31235 2011-03-03 Roland McGrath <roland@redhat.com>
31237 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31239 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31241 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31242 __bzero_ultra1 instead of __memset_ultra1.
31244 2011-02-23 Andreas Schwab <schwab@redhat.com>
31245 Ulrich Drepper <drepper@gmail.com>
31248 * include/link.h (struct link_map): Add l_orig_initfini.
31249 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31250 returning unsuccessfully.
31251 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31252 close of a file loaded at startup, restore the original l_initfini
31254 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31255 list, store the pointer.
31256 * elf/Makefile ($(objpfx)noload-mem): New rule.
31257 (noload-ENV): Define.
31258 (tests): Add $(objpfx)noload-mem.
31259 * elf/noload.c: Include <memcheck.h>.
31260 (main): Call mtrace. Close all opened handles.
31262 2011-02-17 Andreas Schwab <schwab@redhat.com>
31265 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31266 dependencies are missing.
31268 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31270 Fix __if_freereq crash: Unlike the generic version which uses free,
31272 * sysdeps/mach/hurd/ifreq.h: New file.
31274 2011-01-27 Petr Baudis <pasky@suse.cz>
31275 Ulrich Drepper <drepper@gmail.com>
31278 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31279 to extend_alloca().
31280 * stdio-common/bug23.c: New file.
31281 * stdio-common/Makefile (tests): Add bug23.
31283 2010-09-28 Andreas Schwab <schwab@redhat.com>
31284 Ulrich Drepper <drepper@gmail.com>
31287 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31288 before performing relro protection. At old place add assertion
31289 to make sure nothing changed.
31291 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31292 Glauber de Oliveira Costa <glommer@gmail.com>
31294 * elf/elf.h: Add new ARM TLS relocs.
31296 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31299 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31301 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31303 * sysdeps/wordsize-64/tst-writev.c: New file.
31305 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31307 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31308 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31309 insns in _dl_start to prevent a TOC reference before relocs are
31312 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31315 * Makeconfig: Remove RANLIB definition.
31316 * Makerules: Don't use RANLIB.
31317 * aclocal.m4: Remove ranlib test.
31318 * configure.in: No need to check for ranlib.
31319 * elf/rtld-Rules: Don't use RANLIB.
31321 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31323 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31325 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31326 inclusion protection macro.
31328 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31329 SIGRTMIN and SIGRTMAX and print information in that case only when
31330 SIGRTMIN is defined.
31332 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31334 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31335 arginfo fn returning -1.
31337 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31338 and thousands string is zero terminated.
31340 2011-02-03 Andreas Schwab <schwab@redhat.com>
31342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31343 sysdeps/unix/sysv/linux/bits/socket.h.
31345 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31347 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31348 (__CPU_COUNT): Remove old macros.
31349 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31350 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31351 (__CPU_ALLOC, __CPU_FREE): Add macros.
31352 (__sched_cpualloc, __sched_cpufree): Add declarations.
31354 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31356 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31357 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31358 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31359 (readdhstai): Return value of addhstaiX call.
31360 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31361 (addgrbyX): Return value returned by cache_addgr.
31362 (readdgrbyname): Return value returned by addgrbyX.
31363 (readdgrbygid): Likewise.
31364 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31365 (addpwbyX): Return value returned by cache_addpw.
31366 (readdpwbyname): Return value returned by addhstbyX.
31367 (readdpwbyuid): Likewise.
31368 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31369 (addservbyX): Return value returned by cache_addserv.
31370 (readdservbyname): Return value returned by addservbyX:
31371 (readdservbyport): Likewise.
31372 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31373 (addhstbyX): Return value returned by cache_addhst.
31374 (readdhstbyname): Return value returned by addhstbyX.
31375 (readdhstbyaddr): Likewise.
31376 (readdhstbynamev6): Likewise.
31377 (readdhstbyaddrv6): Likewise.
31378 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31379 (readdinitgroups): Return value returned by addinitgroupsX.
31380 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31381 (prune_cache): Keep track of timeout value of re-added entries.
31382 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31383 * nscd/nscd.h: Adjust prototypes of readd* functions.
31385 2011-02-04 Roland McGrath <roland@redhat.com>
31387 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31388 (nis_stats): Likewise.
31389 * nis/nis_modify.c (nis_modify): Likewise.
31390 * nis/nis_remove.c (nis_remove): Likewise.
31391 * nis/nis_add.c (nis_add): Likewise.
31393 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31395 * posix/fnmatch_loop.c: Add some consts.
31397 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31399 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31402 * config.make.in (config-cflags-novzeroupper): Define.
31403 * configure.in: Substitute libc_cv_cc_novzeroupper.
31404 * elf/Makefile (AVX-CFLAGS): Define.
31405 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31406 (CFLAGS-tst-auditmod4a.c): Likewise.
31407 (CFLAGS-tst-auditmod4b.c): Likewise.
31408 (CFLAGS-tst-auditmod6b.c): Likewise.
31409 (CFLAGS-tst-auditmod6c.c): Likewise.
31410 (CFLAGS-tst-auditmod7b.c): Likewise.
31411 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31413 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31415 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31416 function to the callback.
31417 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31419 2011-02-02 Andreas Schwab <schwab@redhat.com>
31421 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31424 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31427 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31429 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31431 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31434 * elf/Makefile: Add rules to build and run new test.
31435 * elf/tst-initorder.c: New file.
31436 * elf/tst-initorder.exp: New file.
31437 * elf/tst-initordera1.c: New file.
31438 * elf/tst-initordera2.c: New file.
31439 * elf/tst-initordera3.c: New file.
31440 * elf/tst-initordera4.c: New file.
31441 * elf/tst-initorderb1.c: New file.
31442 * elf/tst-initorderb2.c: New file.
31443 * elf/tst-order-a1.c: New file.
31444 * elf/tst-order-a2.c: New file.
31445 * elf/tst-order-a3.c: New file.
31446 * elf/tst-order-a4.c: New file.
31447 * elf/tst-order-b1.c: New file.
31448 * elf/tst-order-b2.c: New file.
31449 * elf/tst-order-main.c: New file.
31450 New test case by George Gensure <werkt0@gmail.com>.
31452 2010-10-01 Andreas Schwab <schwab@redhat.com>
31454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31455 decoding ACE if AI_CANONIDN.
31457 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31459 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31461 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31463 * version.h (RELEASE): Bump for 2.13 release.
31464 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31466 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31470 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31471 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31472 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31474 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31475 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31477 * posix/getconf.c: Update copyright year.
31478 * catgets/gencat.c: Likewise.
31479 * csu/version.c: Likewise.
31480 * debug/catchsegv.sh: Likewise.
31481 * debug/xtrace.sh: Likewise.
31482 * elf/ldconfig.c: Likewise.
31483 * elf/ldd.bash.in: Likewise.
31484 * elf/sprof.c (print_version): Likewise.
31485 * iconv/iconv_prog.c: Likewise.
31486 * iconv/iconvconfig.c: Likewise.
31487 * locale/programs/locale.c: Likewise.
31488 * locale/programs/localedef.c: Likewise.
31489 * malloc/memusage.sh: Likewise.
31490 * malloc/mtrace.pl: Likewise.
31491 * nscd/nscd.c (print_version): Likewise.
31492 * nss/getent.c: Likewise.
31494 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31495 PF_CAIF, and PF_ALG.
31496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31498 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31500 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31501 (modules-names): Use them.
31502 (ifunc-test-modules, ifunc-pie-tests): Define.
31503 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31504 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31505 (test-extras): Likewise.
31506 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31507 $(compile-command.c).
31508 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31509 (all-built-dso): Define.
31510 (check-textrel.out, check-execstack.out): Depend on it.
31512 * configure.in: Don't override --enable-multi-arch.
31514 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31517 * nscd/hstcache.c (tryagain): Define.
31518 (cache_addhst): Return tryagain not notfound for temporary errors.
31519 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31522 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31526 to make the syscall.
31527 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31530 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31531 and fall back to matching as normal character if the string ends before
31532 the matching ']' is found. This is what POSIX requires.
31533 * posix/testfnm.c: Adjust test result.
31534 * posix/globtest.sh: Adjust test result. Add new test.
31535 * posix/tst-fnmatch.input: Likewise.
31536 * posix/tst-fnmatch2.c: Add new test.
31538 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31540 * elf/Makefile (check-execstack): Revert last change. Depend on
31542 (check-execstack.h): New target.
31543 (generated): Add check-execstack.h.
31544 * elf/check-execstack.c: Include "check-execstack.h".
31545 (main): Revert last change.
31546 (handle_file): Return zero if GNU_STACK is absent and
31547 DEFAULT_STACK_PERMS doesn't include PF_X.
31549 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31551 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31552 in child fails because the descriptor is already closed.
31553 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31554 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31555 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31558 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31562 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31563 temporary buffer used to handle multi lookups locally.
31564 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31566 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31568 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31571 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31573 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31574 alignment for SSE2.
31576 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31579 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31580 characters. When rounding increased number of integer digits recompute
31582 * stdio-common/tst-grouping.c: New file.
31583 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31585 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31587 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31588 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31590 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31592 * bits/select.h: Likewise.
31594 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31596 * po/ja.po: Update from translation team.
31598 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31601 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31602 implementation just like for lxstat, fxstatat, et al.
31604 2010-12-27 Jim Meyering <meyering@redhat.com>
31607 * posix/regexec.c (build_trtable): Return failure indication upon
31608 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31610 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31613 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31614 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31615 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31619 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31622 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31623 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31625 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31627 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31628 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31629 script has SORT_BY_INIT_PRIORITY.
31630 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31631 NO_CTORS_DTORS_SECTIONS is defined.
31632 * elf/soinit.c: Likewise.
31633 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31634 NO_CTORS_DTORS_SECTIONS is defined.
31635 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31636 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31637 * sysdeps/sh/init-first.c: Likewise.
31638 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31640 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31642 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31643 always use the slow path.
31645 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31647 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31648 similar rule which adds the sysdep directories to the header search in
31649 order to pick up the correct platform stackinfo.h.
31650 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31651 perform test if it is, otherwise return successfully without testing.
31652 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31653 DEFAULT_STACK_PERMS define in stackinfo.h.
31654 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31655 defined in stackinfo.h.
31656 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31657 DEFAULT_STACK_PERMS defined in stackinfo.h.
31658 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31659 * sysdeps/ia64/stackinfo.h: Likewise.
31660 * sysdeps/s390/stackinfo.h: Likewise.
31661 * sysdeps/sh/stackinfo.h: Likewise.
31662 * sysdeps/sparc/stackinfo.h: Likewise.
31663 * sysdeps/x86_64/stackinfo.h: Likewise.
31664 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31665 PF_X for powerpc64. Retain PF_X for powerpc32.
31667 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31669 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31671 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31672 GETDENTS_64BIT_ALIGNED.
31674 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31676 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31678 2010-12-10 Andreas Schwab <schwab@redhat.com>
31680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31683 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31684 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31686 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31687 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31689 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31692 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31695 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31697 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31699 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31701 * po/it.po: Update from translation team.
31703 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31708 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31710 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31712 2010-11-24 Andreas Schwab <schwab@redhat.com>
31714 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31716 (gaih_getanswer_slice): Likewise.
31718 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31722 2010-05-31 Petr Baudis <pasky@suse.cz>
31725 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31726 silently even in the chroot mode.
31728 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31730 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31731 last patch a bit. Pretty printing
31733 2010-05-31 Petr Baudis <pasky@suse.cz>
31736 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31737 initialization of skip_initgroups_dyn.
31739 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31742 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31744 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31746 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31748 2010-11-11 Andreas Schwab <schwab@redhat.com>
31750 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31751 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31752 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31753 ($(objpfx)tst-fnmatch-mem): New rule.
31754 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31755 * posix/tst-fnmatch.c (main): Call mtrace.
31757 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31760 Support Intel processor model 6 and model 0x2c.
31762 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31767 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31770 * string/test-strncasecmp.c (check_result): New function.
31771 (do_one_test): Use it.
31772 (check1): New function.
31773 (test_main): Use it.
31774 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31775 Support strcasecmp and strncasecmp.
31777 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31780 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31783 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31785 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31789 * sysdeps/x86_64/multiarch/bzero.S: New file.
31790 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31791 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31792 * sysdeps/x86_64/multiarch/memset.S: New file.
31793 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31795 Set bit_Prefer_SSE_for_memop for Intel processors.
31796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31798 (index_Prefer_SSE_for_memop): Define.
31799 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31801 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31803 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31804 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31806 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31809 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31810 (__x86_64_raw_data_cache_size_half): Likewise.
31811 (__x86_64_raw_shared_cache_size): Likewise.
31812 (__x86_64_raw_shared_cache_size_half): Likewise.
31814 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31815 (__x86_64_raw_data_cache_size_half): Likewise.
31816 (__x86_64_raw_shared_cache_size): Likewise.
31817 (__x86_64_raw_shared_cache_size_half): Likewise.
31818 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31819 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31820 and __x86_64_raw_shared_cache_size_half. Round
31821 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31822 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31823 to multiple of 256 bytes.
31825 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31829 of inacessible symlinks. Verify result of symlink before returning it.
31830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31831 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31833 2010-10-28 Erich Ritz <erichritz@gmail.com>
31835 * math/math.h (isinf): Fix typo in comment.
31837 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31839 * po/da.po: Update from translation team.
31841 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31843 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31844 is added to the list.
31846 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31847 Ulrich Drepper <drepper@gmail.com>
31849 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31850 the global list here. Move code to...
31851 (_dl_add_to_namespace_list): ...here. New function.
31852 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31853 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31854 * elf/dl-load.c (lose): Don't remove the element from the list.
31855 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31856 (_dl_map_object): Likewise.
31858 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31861 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31862 into all bytes of SSE register.
31863 Patch by Richard Li <richardpku@gmail.com>.
31865 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31868 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31871 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31873 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31874 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31881 2010-10-22 Andreas Schwab <schwab@redhat.com>
31883 * include/dlfcn.h (__RTLD_SECURE): Define.
31884 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31885 mode & __RTLD_SECURE instead.
31886 (open_path): Rename preloaded parameter to secure.
31887 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31888 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31889 * elf/dl-deps.c (openaux): Likewise.
31890 * elf/rtld.c (struct map_args): Remove is_preloaded.
31891 (map_doit): Don't use it.
31892 (dl_main): Likewise.
31893 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31894 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31896 2010-09-09 Andreas Schwab <schwab@redhat.com>
31898 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31899 (sysd-rules-targets): Remove duplicates.
31900 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31901 rtld-%.$o dependency.
31903 2010-10-18 Andreas Schwab <schwab@redhat.com>
31905 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31906 _dl_map_object do it.
31908 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31910 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31911 fast fma builtins, define the macros in the C99 standard.
31912 (FP_FAST_FMAF): Likewise.
31913 (FP_FAST_FMAL): Likewise.
31914 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31916 * bits/mathdef.h: Update copyright year.
31917 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31919 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31921 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31922 builtins, define the macros in the C99 standard.
31923 (FP_FAST_FMAF): Likewise.
31924 (FP_FAST_FMAL): Likewise.
31925 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31927 (FP_FAST_FMAF): Likewise.
31929 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31932 * math/libm-test.inc (fma_test): Some new testcases.
31933 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31935 y and infinite z. Do multiplication by C already in long double.
31936 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31938 y and infinite z. Do bitwise or of inexact bit into u.d.
31939 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31940 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31941 * sysdeps/i386/fpu/s_fma.S: Removed.
31942 * sysdeps/i386/fpu/s_fmal.S: Removed.
31944 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31947 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31949 computation is not scheduled after fetestexcept. Fix value
31950 of minimum denormal long double.
31952 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31955 * math/libm-test.inc (fma_test): Add some more tests.
31956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31959 2010-10-15 Andreas Schwab <schwab@redhat.com>
31961 * scripts/data/localplt-s390-linux-gnu.data: New file.
31962 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31964 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31967 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31968 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31970 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31972 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31974 if one of x and y is very large and the other is subnormal.
31975 * sysdeps/s390/fpu/s_fmaf.c: New file.
31976 * sysdeps/s390/fpu/s_fma.c: New file.
31977 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31978 * sysdeps/powerpc/fpu/s_fma.S: New file.
31979 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31980 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31981 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31983 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31986 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31989 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31990 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31991 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31992 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31993 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31996 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31999 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32000 * posix/bug-regex31.input: Add test case.
32002 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32004 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32005 * posix/bug-regex31.input: New file.
32008 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32009 (parse_sub_exp): Fix last change, use postorder.
32011 * posix/bug-regex31.c: New file.
32012 * posix/Makefile: Add rules to build and run bug-regex31.
32014 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32017 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32020 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32021 to have entries in sys_siglist.
32024 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32027 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32030 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32031 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32032 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32033 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32035 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32036 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32037 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32038 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32039 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32040 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32041 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32042 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32043 * math/ftestexcept.c (fetestexcept): Likewise.
32044 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32045 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32046 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32047 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32048 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32049 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32050 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32052 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32055 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32058 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32060 * string/bug-strstr1.c: New file.
32061 * string/Makefile: Add rules to build and run bug-strstr1.
32063 2010-10-05 Eric Blake <eblake@redhat.com>
32066 * string/str-two-way.h (two_way_long_needle): Always clear memory
32067 when skipping input due to the shift table.
32069 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32072 * malloc/mcheck.c: Handle large requests.
32075 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32076 for strncmp and strncasecmp.
32077 * string/stratcliff.c: Add tests for strcmp and strncmp.
32078 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32080 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32082 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32085 2010-09-30 Andreas Jaeger <aj@suse.de>
32087 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32088 (CGROUP_SUPER_MAGIC): Define.
32089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32090 Handle btrfs and cgroup file systems.
32091 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32094 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32096 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32097 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32099 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32102 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32103 trying to locate the ELF header.
32105 2010-09-27 Andreas Schwab <schwab@redhat.com>
32108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32109 Mask out sign-bit copies when constructing f_fsid.
32111 2010-09-24 Petr Baudis <pasky@suse.cz>
32113 * debug/stack_chk_fail_local.c: Add missing licence exception.
32114 * debug/warning-nop.c: Likewise.
32116 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32119 implementing getdents64 using getdents syscall, set d_type if
32120 __ASSUME_GETDENTS32_D_TYPE.
32122 2010-09-16 Andreas Schwab <schwab@redhat.com>
32124 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32125 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32127 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32130 * posix/unistd.h: Undo change of feature selection for ftruncate from
32133 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32135 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32138 2010-09-20 Andreas Schwab <schwab@redhat.com>
32140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32144 2010-09-14 Andreas Schwab <schwab@redhat.com>
32146 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32147 variables after CHECK_SP call.
32148 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32150 2010-09-13 Andreas Schwab <schwab@redhat.com>
32151 Ulrich Drepper <drepper@redhat.com>
32153 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32154 re-relocationg ld.so.
32155 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32156 _dl_init_paths call.
32157 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32160 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32162 * resolv/res_init.c (__res_vinit): Count the default server we added.
32164 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32165 Ulrich Drepper <drepper@redhat.com>
32168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32169 (____longjmp_chk): Use %ebx for saving value across system call.
32172 2010-09-06 Andreas Schwab <schwab@redhat.com>
32174 * manual/Makefile: Don't mix pattern rules with normal rules.
32176 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32178 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32180 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32181 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32182 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32183 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32187 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32190 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32191 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32193 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32195 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32196 * sysdeps/x86_64/addmul_1.S: Likewise.
32197 * sysdeps/x86_64/lshift.S: Likewise.
32198 * sysdeps/x86_64/mul_1.S: Likewise.
32199 * sysdeps/x86_64/rshift.S: Likewise.
32200 * sysdeps/x86_64/sub_n.S: Likewise.
32201 * sysdeps/x86_64/submul_1.S: Likewise.
32203 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32205 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32206 Define __sched_param instead of SCHED_* and sched_param when
32207 <bits/sched.h> is included with __need_schedparam defined.
32208 * bits/sched.h [__need_schedparam]
32209 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32210 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32211 (__defined_schedparam): Define to 1.
32212 (__sched_param): New structure, identical to sched_param.
32213 (__need_schedparam): Undefine.
32215 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32218 (epoll_create1): Declare.
32220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32222 2010-08-31 Andreas Schwab <schwab@redhat.com>
32225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32226 shifting retval into place.
32228 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32230 * nis/rpcsvc/nis.h: Update copyright notice.
32231 * nis/rpcsvc/nis.x: Likewise.
32232 * nis/rpcsvc/nis_callback.h: Likewise.
32233 * nis/rpcsvc/nis_callback.x: Likewise.
32234 * nis/rpcsvc/nis_object.x: Likewise.
32235 * nis/rpcsvc/nis_tags.h: Likewise.
32236 * nis/rpcsvc/yp.h: Likewise.
32237 * nis/rpcsvc/yp.x: Likewise.
32238 * nis/rpcsvc/ypupd.h: Likewise.
32239 * nis/yp_xdr.c: Likewise.
32240 * nis/ypupdate_xdr.c: Likewise.
32242 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32243 mainly the body of pmap_getport. Add parameters to specify timeouts.
32244 (pmap_getport): Use __libc_rpc_getport.
32245 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32246 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32247 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32249 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32254 2010-08-27 Roland McGrath <roland@redhat.com>
32256 * sysdeps/i386/i686/multiarch/Makefile
32257 (CFLAGS-varshift.c): New variable.
32259 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32261 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32262 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32266 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32268 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32270 * sysdeps/x86_64/strlen.S: Unroll the loop.
32271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32272 strlen-sse2 strlen-sse2-bsf.
32273 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32274 __strlen_no_bsf if bit_Slow_BSF is set.
32275 (__strlen_sse42): Removed.
32276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32277 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32279 2010-08-25 Roland McGrath <roland@redhat.com>
32281 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32282 * sysdeps/x86_64/multiarch/varshift.c: New file.
32283 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32284 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32285 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32288 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32291 strlen-sse2 strlen-sse2-bsf.
32292 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32293 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32294 (__strlen_sse2): Removed.
32295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32298 bit_Slow_BSF for Atom.
32299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32300 (index_Slow_BSF): Define.
32301 (HAS_SLOW_BSF): Define.
32303 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32306 * resolv/res_init.c (__res_vinit): When no server address at all
32307 is given default to loopback.
32309 2010-08-24 Roland McGrath <roland@redhat.com>
32311 * configure.in: Remove config-name.h generation.
32312 * configure: Regenerated.
32313 * config-name.in: File removed.
32314 * scripts/config-uname.sh: New file.
32315 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32316 ($(objdir)config-name.h): New target.
32318 * sunrpc/rpc_parse.h: Avoid nested comment.
32320 2010-08-24 Richard Henderson <rth@redhat.com>
32321 Ulrich Drepper <drepper@redhat.com>
32322 H.J. Lu <hongjiu.lu@intel.com>
32324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32326 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32327 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32328 _mm_alignr_epi8 with _mm_loadu_si128.
32329 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32330 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32331 (__m128i_shift_right): Removed.
32332 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32333 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32334 * sysdeps/x86_64/multiarch/varshift.h: New file.
32335 * sysdeps/x86_64/multiarch/varshift.S: New file.
32337 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32339 * configure.in: Move assembler checks to before sysdep dir checking.
32341 2010-08-20 Petr Baudis <pasky@suse.cz>
32343 * LICENSES: Sync the sunrpc license.
32345 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32347 * sunrpc/auth_des.c: Update copyright notice once again.
32348 * sunrpc/auth_none.c: Likewise.
32349 * sunrpc/auth_unix.c: Likewise.
32350 * sunrpc/authdes_prot.c: Likewise.
32351 * sunrpc/authuxprot.c: Likewise.
32352 * sunrpc/bindrsvprt.c: Likewise.
32353 * sunrpc/clnt_gen.c: Likewise.
32354 * sunrpc/clnt_perr.c: Likewise.
32355 * sunrpc/clnt_raw.c: Likewise.
32356 * sunrpc/clnt_simp.c: Likewise.
32357 * sunrpc/clnt_tcp.c: Likewise.
32358 * sunrpc/clnt_udp.c: Likewise.
32359 * sunrpc/clnt_unix.c: Likewise.
32360 * sunrpc/des_crypt.c: Likewise.
32361 * sunrpc/des_soft.c: Likewise.
32362 * sunrpc/get_myaddr.c: Likewise.
32363 * sunrpc/getrpcport.c: Likewise.
32364 * sunrpc/key_call.c: Likewise.
32365 * sunrpc/key_prot.c: Likewise.
32366 * sunrpc/openchild.c: Likewise.
32367 * sunrpc/pm_getmaps.c: Likewise.
32368 * sunrpc/pm_getport.c: Likewise.
32369 * sunrpc/pmap_clnt.c: Likewise.
32370 * sunrpc/pmap_prot.c: Likewise.
32371 * sunrpc/pmap_prot2.c: Likewise.
32372 * sunrpc/pmap_rmt.c: Likewise.
32373 * sunrpc/rpc/auth.h: Likewise.
32374 * sunrpc/rpc/auth_unix.h: Likewise.
32375 * sunrpc/rpc/clnt.h: Likewise.
32376 * sunrpc/rpc/des_crypt.h: Likewise.
32377 * sunrpc/rpc/key_prot.h: Likewise.
32378 * sunrpc/rpc/netdb.h: Likewise.
32379 * sunrpc/rpc/pmap_clnt.h: Likewise.
32380 * sunrpc/rpc/pmap_prot.h: Likewise.
32381 * sunrpc/rpc/pmap_rmt.h: Likewise.
32382 * sunrpc/rpc/rpc.h: Likewise.
32383 * sunrpc/rpc/rpc_des.h: Likewise.
32384 * sunrpc/rpc/rpc_msg.h: Likewise.
32385 * sunrpc/rpc/svc.h: Likewise.
32386 * sunrpc/rpc/svc_auth.h: Likewise.
32387 * sunrpc/rpc/types.h: Likewise.
32388 * sunrpc/rpc/xdr.h: Likewise.
32389 * sunrpc/rpc_clntout.c: Likewise.
32390 * sunrpc/rpc_cmsg.c: Likewise.
32391 * sunrpc/rpc_common.c: Likewise.
32392 * sunrpc/rpc_cout.c: Likewise.
32393 * sunrpc/rpc_dtable.c: Likewise.
32394 * sunrpc/rpc_hout.c: Likewise.
32395 * sunrpc/rpc_main.c: Likewise.
32396 * sunrpc/rpc_parse.c: Likewise.
32397 * sunrpc/rpc_parse.h: Likewise.
32398 * sunrpc/rpc_prot.c: Likewise.
32399 * sunrpc/rpc_sample.c: Likewise.
32400 * sunrpc/rpc_scan.c: Likewise.
32401 * sunrpc/rpc_scan.h: Likewise.
32402 * sunrpc/rpc_svcout.c: Likewise.
32403 * sunrpc/rpc_tblout.c: Likewise.
32404 * sunrpc/rpc_util.c: Likewise.
32405 * sunrpc/rpc_util.h: Likewise.
32406 * sunrpc/rpcinfo.c: Likewise.
32407 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32408 * sunrpc/rpcsvc/key_prot.x: Likewise.
32409 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32410 * sunrpc/rpcsvc/mount.x: Likewise.
32411 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32412 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32413 * sunrpc/rpcsvc/rex.x: Likewise.
32414 * sunrpc/rpcsvc/rstat.x: Likewise.
32415 * sunrpc/rpcsvc/rusers.x: Likewise.
32416 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32417 * sunrpc/rpcsvc/spray.x: Likewise.
32418 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32419 * sunrpc/rtime.c: Likewise.
32420 * sunrpc/svc.c: Likewise.
32421 * sunrpc/svc_auth.c: Likewise.
32422 * sunrpc/svc_authux.c: Likewise.
32423 * sunrpc/svc_raw.c: Likewise.
32424 * sunrpc/svc_run.c: Likewise.
32425 * sunrpc/svc_simple.c: Likewise.
32426 * sunrpc/svc_tcp.c: Likewise.
32427 * sunrpc/svc_udp.c: Likewise.
32428 * sunrpc/svc_unix.c: Likewise.
32429 * sunrpc/svcauth_des.c: Likewise.
32430 * sunrpc/xcrypt.c: Likewise.
32431 * sunrpc/xdr.c: Likewise.
32432 * sunrpc/xdr_array.c: Likewise.
32433 * sunrpc/xdr_float.c: Likewise.
32434 * sunrpc/xdr_mem.c: Likewise.
32435 * sunrpc/xdr_rec.c: Likewise.
32436 * sunrpc/xdr_ref.c: Likewise.
32437 * sunrpc/xdr_sizeof.c: Likewise.
32438 * sunrpc/xdr_stdio.c: Likewise.
32440 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32443 2010-08-19 Andreas Schwab <schwab@redhat.com>
32445 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32447 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32449 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32451 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32452 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32453 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32454 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32456 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32458 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32459 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32460 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32461 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32462 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32464 2010-07-26 Anton Blanchard <anton@samba.org>
32466 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32467 * malloc/arena.c (heap_trim): Likewise.
32469 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32471 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32474 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32476 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/i386/elf/Makefile: New file.
32480 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32482 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32483 from fanotify_init.
32484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32487 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32489 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32491 * sysdeps/multiarch/strcmp.S: Likewise.
32493 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32495 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32496 strncase_l-nonascii.
32497 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32498 Add strncase_l-ssse3.
32499 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32500 * sysdeps/x86_64/strcmp.S: Likewise.
32501 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32502 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32503 * sysdeps/x86_64/strncase.S: New file.
32504 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32505 * sysdeps/x86_64/strncase_l.S: New file.
32506 * string/Makefile (strop-tests): Add strncasecmp.
32507 * string/test-strncasecmp.c: New file.
32509 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32512 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32515 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32517 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32519 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32521 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32522 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32523 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32525 2010-05-01 Alan Modra <amodra@gmail.com>
32527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32528 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32529 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32530 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32531 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32532 tidying. Don't tail-call __sigjmp_save for static lib.
32533 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32535 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32536 (CALL_MCOUNT): Add eh info, and nop after bl.
32537 (TAIL_CALL_SYSCALL_ERROR): New macro.
32538 (PSEUDO_RET): Use it.
32539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32540 Correct save location of integer regs and cr.
32541 (_dl_profile_resolve): Correct cr save location. Delete nops
32542 after bl when SHARED. Reduce cfi size a little by better
32543 placement of cfi directives.
32544 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32545 make a stack frame. Instead use parm save area as a temp.
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32547 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32549 Don't make a stack frame for parent, use parm save area.
32550 Increase child stack frame to 112 bytes. Don't save unused reg,
32551 and adjust reg usage. Set up cfi on error recovery and
32552 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32554 (__makecontext): Add dummy nop after jump to exit.
32555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32556 Use correct parm save area and cr save, reduce stack frame.
32557 Correct cfi for possible PSEUDO_RET frame setup.
32558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32559 Branch to local label emitted by PSEUDO_RET rather than
32562 2010-08-12 Andreas Schwab <schwab@redhat.com>
32565 * locale/programs/locale.c (print_assignment): New function.
32566 (show_locale_vars): Use it.
32568 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32570 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32572 (struct statfs64): Likewise.
32573 (_STATFS_F_FLAGS): Define.
32574 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32575 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32576 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32577 (ST_VALID): Define locally.
32578 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32579 __statvfs_getflags, use the provided value.
32580 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32581 __ASSUME_STATFS_F_FLAGS.
32583 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32585 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32586 Add sys/fanotify.h.
32587 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32588 fanotify_mask for GLIBC_2.13.
32589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32590 fanotify_init and fanotify_mark.
32591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32592 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32596 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32597 prlimit64 for GLIBC_2.13.
32598 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32608 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32611 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32612 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32614 * nss/Makefile: Add rules to build and run tst-nss-test1.
32615 * shlib-versions: Add entry for libnss_test1.
32616 * nss/nss_test1.c: New file.
32617 * nss/tst-nss-test1.c: New file.
32619 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32620 (__nss_configure_lookup): Set appropriate entry in
32621 __nss_configure_lookup to true.
32622 * nss/nsswitch.h: Define enum with indeces of databases in
32623 databases and __nss_database_custom arrays. Declare
32624 __nss_database_custom.
32625 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32626 to avoid using nscd when custom rules are installed.
32627 * nss/getXXbyYY_r.c: Likewise.
32628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32630 * nss/nss_files/files-parse.c: Whitespace fixes.
32632 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32635 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32636 * posix/fnmatch_loop.c: Likewise.
32638 2010-07-17 Andi Kleen <ak@linux.intel.com>
32640 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32641 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32642 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32643 * Versions.def [GLIBC_2.13]: Add.
32645 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32648 Also fail if tpwd after pwuid call is NULL.
32650 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32652 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32653 when converting to ms.
32655 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32657 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32658 EOPNOTSUPP errors with ENOTTY.
32659 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32660 EOPNOTSUPP errors with ENOTTY.
32662 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32665 Add strcasecmp_l-ssse3.
32666 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32668 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32669 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32670 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32672 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32674 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32676 * string/Makefile (strop-tests): Add strcasecmp.
32677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32678 strcasecmp_l-nonascii.
32679 (gen-as-const-headers): Add locale-defines.sym.
32680 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32681 * sysdeps/x86_64/strcasecmp.S: New file.
32682 * sysdeps/x86_64/strcasecmp_l.S: New file.
32683 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32684 * sysdeps/x86_64/locale-defines.sym: New file.
32685 * string/test-strcasecmp.c: New file.
32687 * string/test-strcasestr.c: Test both ends of the range of characters.
32688 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32690 2010-07-29 Roland McGrath <roland@redhat.com>
32693 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32695 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32697 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32700 2010-07-27 Andreas Schwab <schwab@redhat.com>
32702 * manual/memory.texi (Malloc Tunable Parameters): Document
32705 2010-07-26 Roland McGrath <roland@redhat.com>
32708 * configure.in (-fgnu89-inline check): Set and substitute
32709 gnu89_inline, not libc_cv_gnu89_inline.
32710 * configure: Regenerated.
32711 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32713 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32715 * string/test-strnlen.c: New file.
32716 * string/Makefile (strop-tests): Add strnlen.
32717 * string/tester.c (test_strnlen): Add a few more test cases.
32718 * string/tst-strlen.c: Better error reporting.
32720 * sysdeps/x86_64/strnlen.S: New file.
32722 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32725 lower-latency instructions.
32727 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32729 * string/test-strcasestr.c: New file.
32730 * string/test-strstr.c: New file.
32731 * string/Makefile (strop-tests): Add strstr and strcasestr.
32732 * string/str-two-way.h: Don't undefine MAX.
32733 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32735 2010-07-21 Andreas Schwab <schwab@redhat.com>
32737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32738 strcasestr-nonascii.
32739 (CFLAGS-strcasestr-nonascii.c): Define.
32740 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32742 Remove unused attribute.
32744 2010-07-20 Roland McGrath <roland@redhat.com>
32746 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32747 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32748 ld.so.cache was broken. With it, there is no way to disable dsocaps
32749 like LD_HWCAP_MASK can disable hwcaps.
32751 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32753 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32755 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32757 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32758 call in strcasestr.
32759 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32760 __strcasestr_sse42_nonascii.
32761 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32762 strcasestr-nonascii.c.
32763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32765 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32772 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32774 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32777 2010-07-06 Andreas Schwab <schwab@redhat.com>
32780 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32783 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32786 _PC_PIPE_BUF using F_GETPIPE_SZ.
32788 2010-07-05 Roland McGrath <roland@redhat.com>
32790 * manual/arith.texi (Rounding Functions): Fix rint description
32791 implicit in round description.
32793 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32795 * elf/Makefile: Fix linking for a few tests to make recent linker
32798 2010-06-30 Andreas Schwab <schwab@redhat.com>
32800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32801 $(common-objpfx)libc_nonshared.a.
32803 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32805 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32806 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32807 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32808 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32809 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32810 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32811 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32812 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32827 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32828 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32829 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32830 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32831 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32832 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32833 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32834 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32835 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32836 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32837 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32838 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32854 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32856 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32857 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32858 * string/memmove.c (memmove): Renamed to ...
32859 (MEMMOVE): ...this. Default to memmove.
32860 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32861 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32864 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32865 mempcpy-ssse3-back memmove-ssse3-back.
32866 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32869 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32870 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32871 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32872 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32873 * sysdeps/x86_64/multiarch/memmove.c: New file.
32874 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32875 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32876 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32877 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32881 (index_Fast_Copy_Backward): Define.
32882 (HAS_ARCH_FEATURE): Define.
32883 (HAS_FAST_REP_STRING): Define.
32884 (HAS_FAST_COPY_BACKWARD): Define.
32886 2010-06-21 Andreas Schwab <schwab@redhat.com>
32888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32889 Restore proper fallback handling.
32891 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32894 * posix/group_member.c (__group_member): Correct checking loop.
32896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32897 OOM in getpwuid_r correctly. Return error number when the caller
32898 should return, otherwise -1.
32899 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32900 call returning > 0 value.
32901 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32903 2010-06-07 Andreas Schwab <schwab@redhat.com>
32905 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32906 libc_nonshared.a from targets in modules-names.
32908 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32910 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32913 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32920 2010-06-02 Andreas Schwab <schwab@redhat.com>
32922 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32924 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32926 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32935 2010-06-14 Roland McGrath <roland@redhat.com>
32937 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32939 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32941 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32942 __REDIRECT followed by __THROW.
32943 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32944 * posix/getopt.h (getopt): Likewise.
32946 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32948 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32949 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32950 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32952 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32953 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32955 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32959 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32963 Properly check family and model.
32965 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32967 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32969 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32971 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32973 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32975 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32978 2010-05-19 Andreas Schwab <schwab@redhat.com>
32980 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32983 2010-05-21 Andreas Schwab <schwab@redhat.com>
32985 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32986 and internal_recvmmsg.
32987 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32988 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32990 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32992 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32993 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32994 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32996 2010-05-20 Andreas Schwab <schwab@redhat.com>
32998 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33000 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33002 POWER7 optimizations.
33003 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33004 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33006 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33008 * version.h: Update for 2.13 development version.
33010 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33012 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33013 exceptions. Return 0.
33015 2010-05-07 Roland McGrath <roland@redhat.com>
33017 * elf/ldconfig.c (main): Add a const.
33019 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33021 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33022 (args_options): Add no-idn option.
33023 (ahosts_keys_int): Add idn_flags to ai_flags.
33024 (parse_option): Handle 'i' option to clear idn_flags.
33026 * malloc/malloc.c (_int_free): Possible race in the most recently
33027 added check. Only act on the data if no current modification
33030 See ChangeLog.17 for earlier changes.